/* Shopper Mogul company site. Colours follow the logo and the Next Gen deck: navy, orange, teal. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --navy: #14203b; --navy-2: #1c2b4d; --orange: #f6a33a; --orange-ink: #1a1408; --teal: #2a9d84;
  --bg: #ffffff; --bg-alt: #f3f5f9; --ink: #16213a; --muted: #5b6579; --line: #e1e6ee; --panel: #ffffff;
  --shadow: 0 10px 30px rgba(20, 32, 59, .12); --link: #1f6fb2;
  --top-bg: #ffffff; --top-ink: #3a4558; --top-ink-hover: #0f1830; --top-line: #e1e6ee;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
/* Dark: chosen with the header's sun/moon button (theme.js sets html[data-theme]), or the device's own setting until then. */
html[data-theme="dark"] { --bg: #0f1626; --bg-alt: #151e31; --ink: #e8edf5; --muted: #9aa6ba; --line: #26324a; --panel: #1a2438;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45); --link: #79b8ee; --top-bg: var(--navy); --top-ink: #d7deea; --top-ink-hover: #fff;
  --top-line: rgba(255, 255, 255, .08); color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) { --bg: #0f1626; --bg-alt: #151e31; --ink: #e8edf5; --muted: #9aa6ba; --line: #26324a; --panel: #1a2438;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45); --link: #79b8ee; --top-bg: var(--navy); --top-ink: #d7deea; --top-ink-hover: #fff;
    --top-line: rgba(255, 255, 255, .08); color-scheme: dark; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.sub { max-width: 720px; margin: 0 auto 2.2em; color: var(--muted); font-size: 1.1rem; }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--teal); margin-bottom: .6em; }
.note { color: var(--muted); max-width: 820px; margin: 2em auto 0; }
.small { font-weight: 400; opacity: .75; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
section { padding: 88px 0; }
.band { background: var(--bg-alt); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .4em; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.btn-orange { background: var(--orange); color: var(--orange-ink); }
.btn-orange:hover { background: #ffb44f; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-line { color: var(--ink); border-color: var(--line); background: var(--panel); }
.btn-line:hover { border-color: var(--teal); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--top-bg); border-bottom: 1px solid var(--top-line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { height: 26px; width: auto; }
/* Two logos: dark lettering on the light header, light lettering on the dark one. */
.brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-light { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .brand .logo-light { display: none; }
  html:not([data-theme]) .brand .logo-dark { display: block; }
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a, .link-quiet { color: var(--top-ink); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.top .btn { white-space: nowrap; }
.nav a:hover, .link-quiet:hover { color: var(--top-ink-hover); }
.top-actions { display: flex; align-items: center; gap: 18px; }
.theme-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--top-ink); cursor: pointer; }
.theme-btn:hover { color: var(--top-ink-hover); background: var(--top-line); }
.theme-btn svg { width: 21px; height: 21px; }
.theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: block; }
html[data-theme="dark"] .theme-btn .moon { display: none; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #22396a 0%, var(--navy) 60%); color: #fff; padding: 72px 0 84px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.badge { display: inline-block; background: rgba(246, 163, 58, .15); color: var(--orange); border: 1px solid rgba(246, 163, 58, .4); padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: .3em 0 .35em; }
.lead { font-size: 1.2rem; color: #c9d3e3; max-width: 560px; }
.facts { list-style: none; padding: 0; margin: 1.4em 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #aab6ca; font-size: .95rem; }
.facts b { color: #fff; }
.hero-shot { margin: 0; }
.hero-shot img { border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.hero-shot figcaption { color: #93a1b8; font-size: .85rem; margin-top: 10px; }

/* Clients */
.clients { padding: 30px 0; border-bottom: 1px solid var(--line); text-align: center; }
.clients p { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.client-names { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); opacity: .8; }

/* 30 seconds */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--orange-ink); font-weight: 800; margin-bottom: 12px; }
.steps li:nth-child(even) .num { background: var(--teal); color: #fff; }
.steps p { color: var(--muted); margin: 0; }

/* Features */
.features h2 { margin-bottom: 1.4em; }
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-family: var(--display); font-size: 2rem; font-weight: 700; }
.feature-text > p { color: var(--muted); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: .7em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.shot { margin: 0; }
.shot img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.shot figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }

/* Facilitators */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cards-list { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cards-list li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.cards-list p { color: var(--muted); margin: 0; font-size: .95rem; }
.stack { position: relative; padding-bottom: 80px; }
.stack .shot.small { position: absolute; right: -10px; bottom: 0; width: 46%; }

/* Events */
.timeline { list-style: none; padding: 0; margin: 2.2em 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: t; }
.timeline li { position: relative; padding: 42px 20px 0; border-top: 3px solid var(--line); counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; top: -20px; left: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; border: 3px solid var(--bg); }
.timeline li:nth-child(3)::before { background: var(--orange); color: var(--orange-ink); }
.timeline p { color: var(--muted); }

/* Who it's for */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.panel h3 { font-family: var(--display); font-size: 1.7rem; }
.panel > p { color: var(--muted); }

/* Platform */
.tiles { list-style: none; padding: 0; margin: 2em 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tiles li { border-top: 3px solid var(--teal); padding-top: 16px; }
.tiles li:nth-child(even) { border-top-color: var(--orange); }
.tiles p { color: var(--muted); margin: 0; }

/* Partners */
.partners { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 420px)); justify-content: center; gap: 24px; }
.partner-region { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: .4em; }
.partner-links { font-size: .95rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about p { color: var(--muted); }

/* Closing call to action */
.closing { background: var(--navy); color: #fff; }
.closing-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.closing h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.closing .lead { color: var(--orange); font-size: 1.35rem; }
.contact-line { color: #aab6ca; }
.contact-line a { color: #fff; }
.quote { margin: 0; display: grid; gap: 16px; max-width: 460px; justify-self: end; }
.quote img { border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.quote blockquote { margin: 0; font-size: 1.25rem; font-style: italic; line-height: 1.5; }
.quote blockquote p { margin: 0; }
.quote figcaption { color: #8b9ab3; font-size: .85rem; }

/* Footer */
.foot { background: #0c1424; color: #9aa6ba; padding: 36px 0; font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot-logo { height: 20px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #c9d3e3; text-decoration: none; }
.foot a:hover { color: #fff; }
.copy { margin: 0 0 0 auto; }

/* Narrower screens */
@media (max-width: 1180px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 1020px) {
  .hero-in, .feature, .split, .about, .closing-in, .two { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .feature { margin-bottom: 64px; }
  .quote { justify-self: start; }
  .steps, .tiles { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 60px 0; }
  .hero { padding: 44px 0 56px; }
  .brand img { height: 20px; }
  .link-quiet { display: none; }
  .steps, .tiles, .cards-list, .timeline { grid-template-columns: 1fr; }
  .stack { padding-bottom: 0; }
  .stack .shot.small { position: static; width: 70%; margin-top: 16px; }
  .copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Plain pages (privacy, not found) */
.wrap.narrow { max-width: 760px; }
.page-title { font-size: 3rem; }
.note.left { margin: 2em 0 0; }

/* Section backgrounds alternate; the timeline's number rings match whichever one they sit on */
section { --sbg: var(--bg); }
.band { --sbg: var(--bg-alt); }
.timeline li::before { border-color: var(--sbg); }
.wide-shot { margin: 48px auto 0; max-width: 1000px; }
.wide-shot figcaption { text-align: center; }

/* Six directors */
.directors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.directors li { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.directors img { width: 64px; height: 64px; border-radius: 50%; flex: none; background: var(--bg-alt); }
.directors h3 { margin-bottom: .1em; }
.directors .tagline { color: var(--teal); font-weight: 600; font-size: .9rem; margin-bottom: .5em; }
.directors p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
@media (max-width: 1020px) { .directors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .directors { grid-template-columns: 1fr; } }

/* Demo request form (on the navy closing section, in a light card) */
.closing-in { align-items: start; }
.closing-text { color: #c9d3e3; max-width: 520px; }
.closing .quote { justify-self: start; max-width: 380px; margin-top: 12px; }
.closing .quote blockquote { font-size: 1.1rem; }
.form-card { background: #fff; color: #16213a; border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.form-card h3 { font-family: var(--display); font-size: 1.9rem; margin-bottom: .6em; }
.enquiry p { margin: 0 0 14px; }
.enquiry label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.enquiry .opt { font-weight: 400; color: #6b7587; }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; font: inherit; font-size: 1rem; color: #16213a; background: #fff; border: 1px solid #cdd5e1; border-radius: 8px; padding: 10px 12px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.enquiry textarea { resize: vertical; min-height: 84px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 4px 0 14px; min-height: 65px; }
.form-error { color: #b42318; background: #fdecea; border-radius: 8px; padding: 8px 12px; }
.form-small { font-size: .85rem; color: #6b7587; margin-bottom: 0 !important; }
.form-small a, .form-thanks a:not(.btn) { color: #1f6fb2; }
.form-thanks { padding: 8px 0; outline: none; }
.form-thanks p { color: #3d475a; }
.form-card .contact-line { color: #6b7587; font-size: .9rem; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #e1e6ee; }
.form-card .contact-line a { color: #1f6fb2; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } .form-card { padding: 20px; } }
