/* ==========================================================================
   NxtGen Digital – site stylesheet (single file, no build step)

   Mobile-first. Breakpoints (see README → "Responsive standard"):
     base      phone (320–599)
     600px     large phone / small tablet: footer 2×2
     768px     tablet portrait: two-column "What we do" / "Network", principles 2+1
     1024px    tablet landscape and small desktop: two-column hero, 4-up strip,
               2-up cards, 3-up steps with horizontal connector, 2-up principles,
               full nav (hamburger below this)
     1200px    desktop: values tuned against the 1440px design reference
               (clients/nxtgen-digital/reference/page1-homepage-full-1440.png)
     1264px    the 1200px container reaches full width: fixed hero/footer columns
   Type scales smoothly between them with clamp().
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL – see fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg-0: #070a16;
  --bg-1: #0b1020;
  --bg-2: #121a33;
  --card: #18223f;
  --card-border: #28314c;
  --ph-fill: #182043;
  --ph-stripe-a: #192145;
  --ph-stripe-b: #1d2650;
  --light: #f4f5fb;
  --white: #ffffff;
  --light-border: #e9ebf5;
  --purple: #7b3ff2;
  --blue: #18a8f5;
  --grad: linear-gradient(90deg, #7b3ff2, #18a8f5);
  --grad-tile: linear-gradient(90deg, #7b3ff2, #18a8f5);
  --text-on-dark: #ffffff;
  --muted: #b8bfd8;
  --muted-2: #9aa3c4;
  --ink: #0b1020;
  --body-light: #3d4460;
  --eyebrow-dark: #18a8f5;
  --eyebrow-light: #7b3ff2; /* exact colour sampled from the PDF */

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-card: 16px;
  --radius-tile: 14px;
  --glow: 0 10px 30px rgba(123, 63, 242, 0.35);
  --shadow-img: 0 30px 70px rgba(0, 0, 0, 0.45);

  --container: 1200px;
  --gutter: 20px;
  --section-y: clamp(64px, 3.8vw + 50px, 96px);

  /* Fluid type (phone → desktop) */
  --fs-h1: clamp(38px, 2.9vw + 28px, 52px);
  --fs-h2: clamp(30px, 1.6vw + 24.2px, 40px);
  --fs-lead: clamp(17px, 0.36vw + 15.7px, 20px);
  --fs-body: clamp(16px, 0.12vw + 15.6px, 17px);
  --fs-h3-card: clamp(24px, 0.48vw + 22.3px, 28px);
  --fs-h3-small: clamp(20px, 0.25vw + 19px, 22px);
  --fs-cta: clamp(34px, 1.43vw + 28.9px, 46px);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg-1);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[role="list"], .list-reset { list-style: none; padding: 0; margin: 0; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--light :focus-visible { outline-color: var(--purple); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--bg1 { background: var(--bg-1); }
.section--bg2 { background: var(--bg-2); }
.section--light { background: var(--light); color: var(--ink); }

/* ---------- DejaVu Sans glyph icons ----------
   The PDF's icons are DejaVu Sans glyphs (▭ ✎ ◎ ◉ ⌂ ♥ ✓ ◇). Each inline <svg class="glyph g-*">
   holds the exact outline with a viewBox tight to the ink, so its size is the glyph's ink box
   at font-size --gs (font units / 2048 × --gs). Colour comes from `color`. */
.glyph { --gs: 24px; fill: currentColor; flex: none; }
.g-rect-screen { width: calc(var(--gs) * 1563 / 2048); height: calc(var(--gs) * 756 / 2048); }
.g-pencil      { width: calc(var(--gs) * 1301 / 2048); height: calc(var(--gs) * 1301 / 2048); }
.g-bullseye,
.g-fisheye     { width: calc(var(--gs) * 1563 / 2048); height: calc(var(--gs) * 1578 / 2048); }
.g-house       { width: calc(var(--gs) * 1008 / 2048); height: calc(var(--gs) * 1220 / 2048); }
.g-heart       { width: calc(var(--gs) * 1473 / 2048); height: calc(var(--gs) * 1492 / 2048); }
.g-check       { width: calc(var(--gs) * 1060 / 2048); height: calc(var(--gs) * 1092 / 2048); }
.g-diamond     { width: calc(var(--gs) * 1563 / 2048); height: calc(var(--gs) * 1568 / 2048); }
.g-hash         { width: calc(var(--gs) * 1401 / 2048); height: calc(var(--gs) * 1470 / 2048); }
.g-square-lines { width: calc(var(--gs) * 1563 / 2048); height: calc(var(--gs) * 1568 / 2048); }
.g-star         { width: calc(var(--gs) * 1570 / 2048); height: calc(var(--gs) * 1490 / 2048); }
.g-command      { width: calc(var(--gs) * 1554 / 2048); height: calc(var(--gs) * 1554 / 2048); }
.g-snowflake    { width: calc(var(--gs) * 1352 / 2048); height: calc(var(--gs) * 1493 / 2048); }
.g-square-in-square { width: calc(var(--gs) * 1563 / 2048); height: calc(var(--gs) * 1568 / 2048); }
.g-circle       { width: calc(var(--gs) * 2068 / 2048); height: calc(var(--gs) * 2088 / 2048); }
.g-chevron      { width: calc(var(--gs) * 876 / 2048); height: calc(var(--gs) * 514 / 2048); }

/* ---------- Eyebrow, headings, text ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--eyebrow-dark);
  margin-bottom: 14px;
}
.section--light .eyebrow { color: var(--eyebrow-light); }
/* keep eyebrows from inheriting .prose paragraph styles */
.prose .eyebrow { font-size: 12px; line-height: 1.4; color: var(--eyebrow-dark); }
.section--light .prose .eyebrow { color: var(--eyebrow-light); }

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section--light .h2 { color: var(--ink); }

.text-center { text-align: center; }

.prose p { color: var(--muted); font-size: var(--fs-body); line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.section--light .prose p { color: var(--body-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  max-width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--glow);
}
.btn--secondary {
  background: var(--blue);
  color: var(--ink);
}
.btn--white {
  background: var(--white);
  color: #4b1fb8;
}
.btn--outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* Phone: hero/CTA buttons go full width when they can't sit side by side */
@media (max-width: 599px) {
  .btn { padding: 0 20px; }
  .hero .btn-row .btn,
  .cta-card .btn-row .btn { flex: 1 1 100%; }
  .way-card .btn { align-self: stretch; }
}
@media (min-width: 600px) {
  .btn { white-space: nowrap; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.site-header__logo { display: block; }
.site-header__logo img { width: 104px; height: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}
.site-nav__link:hover { color: var(--blue); }
.site-nav__link[aria-current="page"] { color: var(--blue); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
}
.site-nav__cta { min-height: 50px; padding: 0 26px; }

/* With JS, collapse the nav into a hamburger below 1024px (phones and tablet portrait).
   Without JS the links simply stay visible (progressive enhancement). */
@media (max-width: 1023px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
    padding: 8px 0 20px;
  }
  .js .site-nav__link {
    display: flex;
    min-height: 56px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .js .site-nav__link[aria-current="page"]::after { right: auto; width: 64px; bottom: -1px; }
  .js .site-nav__list li:last-child { padding-top: 16px; }
  .js .site-nav__cta { width: 100%; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 360px at 8% 100%, rgba(123, 63, 242, 0.30), rgba(123, 63, 242, 0) 70%),
    var(--bg-1);
  padding-block: 48px 64px;
}
.hero__shape {
  /* 800×417 at ≥1440 (as in the PDF); scales down on smaller screens, always anchored top right */
  position: absolute;
  top: 0; right: 0;
  width: min(800px, max(400px, 55.56vw));
  height: auto;
  max-width: none;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero__title {
  font-size: var(--fs-h1);
  letter-spacing: -0.016em;
  line-height: 1.14;
  margin-bottom: 20px;
}
.hero__title span { display: block; }
.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero__media { width: 100%; max-width: 560px; }
.hero__media img {
  width: 100%;
  aspect-ratio: 540 / 520;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-img);
}

/* ---------- Feature strip ---------- */
.features {
  background: var(--bg-2);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.features__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 auto; padding: 0;
}
.features__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}
.features__item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.06); padding-left: 0; }
.features__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.icon-outline {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
}
.icon-outline .glyph { --gs: 22px; }

/* ---------- Two-column split ---------- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

/* ---------- Shopfront photo (What we do) ---------- */
.shopfront {
  /* Focal point of the portrait photo inside the landscape box: keep the window screen in view.
     Adjust this one value if the crop needs moving (x% y%). */
  --shopfront-focus: 50% 40%;
  aspect-ratio: 564 / 380;
  border-radius: var(--radius-card);
  border: 1px solid rgba(123, 63, 242, 0.35);
  background: var(--ph-fill);
  box-shadow: var(--shadow-img);
  overflow: hidden;
}
.shopfront picture,
.shopfront img {
  width: 100%;
  height: 100%;
}
.shopfront img {
  object-fit: cover;
  object-position: var(--shopfront-focus);
}

/* ---------- Striped placeholder (network map) ---------- */
.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(123, 63, 242, 0.35);
  background:
    linear-gradient(135deg, rgba(11, 16, 32, 0) 30%, rgba(11, 16, 32, 0.35) 100%),
    repeating-linear-gradient(45deg, var(--ph-stripe-a) 0 22px, var(--ph-stripe-b) 22px 44px),
    var(--ph-fill);
  color: #a9b0d6;
  overflow: hidden;
}
.placeholder--map { aspect-ratio: 564 / 420; }
.placeholder--map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 180px at 38% 42%, rgba(123, 63, 242, 0.38), rgba(123, 63, 242, 0) 75%),
    radial-gradient(220px 190px at 68% 60%, rgba(24, 168, 245, 0.30), rgba(24, 168, 245, 0) 75%);
  pointer-events: none;
}
.placeholder__inner { position: relative; max-width: 420px; }
.placeholder__icon {
  --gs: 34px; /* ◎ ink ≈ 26px, as in the PDF */
  margin: 0 auto 14px;
  color: #a9b0d6;
}
.placeholder__label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: #a9b0d6;
}
.placeholder__note {
  font-size: 12px;
  line-height: 1.5;
  color: #a9b0d6;
  margin-top: 2px;
}
.placeholder__title {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0;
  line-height: 1.35;
}
.placeholder__title .dot { margin-inline: 0.3em; }

/* ---------- Two ways cards ---------- */
.section-head { margin-bottom: 32px; }
.section-head .h2 { margin-bottom: 0; }

.ways {
  display: grid;
  gap: 24px;
}
.way-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--purple);
  border-radius: var(--radius-card);
  padding: 32px 24px;
}
.way-card--blue { border-top-color: var(--blue); }
.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px; height: 58px;
  border-radius: var(--radius-tile);
  background: var(--grad-tile);
  color: var(--white);
  margin-bottom: 18px;
}
.icon-tile .glyph { --gs: 24px; }
.way-card .icon-tile { margin-bottom: 21px; }
.way-card h3 {
  font-size: var(--fs-h3-card);
  font-weight: 700;
  margin-bottom: 11px;
  color: var(--white);
}
.way-card__intro { color: #c9cee3; font-size: var(--fs-body); margin-bottom: 18px; }
.way-card .btn { min-height: 56px; }
.way-card .checklist { margin-bottom: 29px; }

.checklist { list-style: none; margin: 0 0 30px; padding: 0; align-self: stretch; }
.checklist li {
  position: relative;
  padding-left: 36px;
  color: #dfe3f3;
  font-size: var(--fs-body);
  line-height: 1.65;
}
.checklist li + li { margin-top: 12px; }
/* Round badge with the DejaVu ✓ glyph (same outline as reference/round2/icons/check.svg) */
.checklist li::before,
.checklist li::after {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 24px; height: 24px;
}
.checklist li::before {
  border-radius: 50%;
  background: #18355a;
}
.checklist li::after {
  /* ✓ at font-size 13px: ink 6.7 × 6.9px, sitting slightly high in the badge as in the PDF */
  left: 8.6px; top: 8.3px;
  width: 6.7px; height: 6.9px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='307 -1290 1060 1092'%3E%3Cpath transform='scale(1,-1)' d='M453 654Q492 654 512 590Q552 470 569 470Q582 470 596 490Q877 940 1116 1218Q1178 1290 1313 1290Q1345 1290 1356.0 1284.0Q1367 1278 1367 1269Q1367 1255 1334 1214Q948 750 618 234Q595 198 524 198Q452 198 439 204Q405 219 359 357Q307 510 307 549Q307 591 377 630Q420 654 453 654Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='307 -1290 1060 1092'%3E%3Cpath transform='scale(1,-1)' d='M453 654Q492 654 512 590Q552 470 569 470Q582 470 596 490Q877 940 1116 1218Q1178 1290 1313 1290Q1345 1290 1356.0 1284.0Q1367 1278 1367 1269Q1367 1255 1334 1214Q948 750 618 234Q595 198 524 198Q452 198 439 204Q405 219 359 357Q307 510 307 549Q307 591 377 630Q420 654 453 654Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.checklist--light li { color: #1b2240; }
.checklist--light li::before { background: #d3e9fa; }

/* ---------- How it works ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}
/* Phone + tablet portrait: steps stack, circle on the left, vertical connector between circles */
.step {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
  text-align: left;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 36.5px; width: 3px;
  top: 38px; bottom: -78px; /* from this circle's centre to the next one's (gap 40 + radius 38) */
  background: linear-gradient(180deg, #7b3ff2, #18a8f5);
  opacity: 0.6;
}
.step__num {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--bg-1);
  box-shadow: 0 0 0 7px var(--bg-2), 0 0 22px 7px rgba(24, 168, 245, 0.08);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  color: var(--blue);
  line-height: 1;
}
.step h3 {
  font-size: var(--fs-h3-small);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
  margin: 6px 0 10px;
}
.step p {
  color: #c9cee3;
  font-size: var(--fs-body);
  line-height: 1.65;
}

/* ---------- Who we are / Why ---------- */
.prose .about__lead-out {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.prose .about__want {
  margin: 14px 0 19px;
  font-weight: 600;
  color: var(--ink);
}
.checklist--light { margin-bottom: 12px; }
.prose .about__close { margin-top: 16px; color: var(--body-light); }

/* ---------- Van banner + principles ---------- */
.banner {
  margin-top: 56px;
}
.banner img {
  width: 100%;
  aspect-ratio: 1200 / 400;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: 0 36px 90px -12px rgba(11, 16, 32, 0.45), 0 0 24px rgba(11, 16, 32, 0.14);
}
.principles-head { margin-top: 64px; margin-bottom: 30px; }
.principles {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0; padding: 0;
}
.principle {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(11, 16, 32, 0.05);
  padding: 32px 28px 40px;
}
.principle .icon-tile { margin-bottom: 20px; }
.principle .icon-tile .glyph { --gs: 25px; }
.principle .icon-tile .g-heart { --gs: 17.5px; }
.principle h3 {
  font-size: var(--fs-h3-small);
  font-weight: 700;
  line-height: 25px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0;
}
.principle p { color: var(--body-light); font-size: var(--fs-body); line-height: 1.65; }

/* ---------- Network ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 18px 0 0; padding: 0;
}
.chip {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  background: #0c2239;
  color: var(--blue);
}
.chip--purple { background: #1b173f; color: #a78bfa; }

/* ---------- CTA ---------- */
.cta-card {
  border-radius: 22px;
  padding: 56px 24px;
  text-align: center;
  background:
    linear-gradient(120deg, #3e2192 0%, #7a3ef0 42%, #4f7af2 72%, #1ca4f5 100%);
}
.cta-card h2 {
  font-size: var(--fs-cta);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-card p {
  font-size: clamp(17px, 0.24vw + 16.1px, 19px);
  line-height: 1.7;
  color: var(--white);
  max-width: 1040px;
  margin: 0 auto 28px;
}
.cta-card .btn-row { justify-content: center; }
.cta-card .btn { min-height: 60px; padding: 0 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-0);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 56px;
  color: #c9cee3;
}
.footer__grid {
  display: grid;
  gap: 36px;
  padding-bottom: 48px;
}
.footer__logo { display: block; width: fit-content; }
.footer__logo img { width: 121px; height: auto; margin-bottom: 20px; }
.footer__tag {
  font-weight: 600;
  color: var(--white);
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 18px;
}
.footer__blurb { font-size: 17px; line-height: 1.65; color: #c9cee3; max-width: 320px; }
.footer__heading {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c9cee3;
  margin-bottom: 18px;
}
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li + li { margin-top: 12.5px; }
.footer__links a,
.footer__links span { font-size: 17px; line-height: 1.65; color: #dfe3f3; }
.footer__links a:hover { color: var(--blue); }
.footer__links .is-accent { color: var(--blue); }
.footer__links .is-accent:hover { color: #6cc8f8; }
.footer__small {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #8a93b5;
  max-width: 240px;
}
.footer__small--italic { font-style: italic; max-width: 220px; margin-top: 14px; font-size: 13.5px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
}
.footer__bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 26px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #8a93b5;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  list-style: none;
  margin: 0; padding: 0;
}
.footer__legal a,
.footer__legal button {
  color: var(--blue);
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  font-family: inherit;
}
.footer__legal a:hover,
.footer__legal button:hover { text-decoration: underline; }

/* Touch layouts (phones, tablets up to landscape 1024+): every footer link / button gets a ≥44px tap target */
@media (max-width: 1199px), (pointer: coarse) {
  .footer__links a,
  .footer__links span,
  .footer__legal a,
  .footer__legal button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }
  .footer__links a { justify-content: flex-start; }
  .footer__links li + li { margin-top: 0; }
  .footer__heading { margin-bottom: 8px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 150;
  max-width: 560px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  color: #dfe3f3;
  font-size: 16px;
  line-height: 1.6;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
}
.cookie-banner a { color: var(--blue); text-decoration: underline; }
.cookie-banner .btn-row { margin-top: 16px; gap: 10px; }
.cookie-banner .btn { min-height: 48px; padding: 0 24px; font-size: 15px; flex: 1 1 auto; }
@media (min-width: 600px) {
  .cookie-banner .btn { flex: 0 0 auto; }
}

/* ---------- Simple inner pages (product / contact / legal) ---------- */
.page-hero {
  background:
    radial-gradient(520px 360px at 8% 100%, rgba(123, 63, 242, 0.25), rgba(123, 63, 242, 0) 70%),
    var(--bg-1);
  padding-block: clamp(48px, 2vw + 40px, 64px) 56px;
}
.page-hero h1 { font-size: clamp(34px, 0.8vw + 31px, 40px); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; }
.stub { max-width: 820px; }
.stub h2 { font-size: clamp(22px, 0.3vw + 21px, 24px); margin: 36px 0 10px; }
.stub h2:first-child { margin-top: 0; }
.stub p, .stub li { color: var(--muted); }
.stub ul { padding-left: 20px; margin-top: 8px; }
.stub a { color: var(--blue); text-decoration: underline; }
.todo {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(24, 168, 245, 0.12);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.legal { max-width: 820px; }
.legal h2 { font-size: clamp(22px, 0.3vw + 21px, 24px); margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; margin: 22px 0 8px; color: var(--white); }
.legal p, .legal li { color: var(--muted); }
.legal ul, .legal ol { padding-left: 20px; margin: 8px 0 16px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal .updated { margin-top: 0; }
.confirm {
  display: inline;
  padding: 0 0.15em;
  border-radius: 3px;
  background: rgba(255, 196, 0, 0.18);
  color: #f3d37a;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.legal-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}
.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
}
.legal th {
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.contact-cards { display: grid; gap: 24px; margin-top: 8px; }
.contact-cards .way-card { scroll-margin-top: 100px; }

/* ==========================================================================
   600px – large phones / small tablets
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer__bar { flex-direction: row; justify-content: space-between; align-items: center; }
  .way-card { padding: 40px; }
  .cta-card { padding: 64px 40px; }
}

/* ==========================================================================
   768px – tablet portrait
   ========================================================================== */
@media (min-width: 768px) {
  .eyebrow, .prose .eyebrow { font-size: 13px; }

  /* Hero stays stacked; the image sits beneath the copy at a controlled width */
  .hero { padding-block: 64px 80px; }
  .hero__media { max-width: 600px; }

  .features__item { padding: 26px 20px; font-size: 17px; gap: 16px; }
  .icon-outline { width: 48px; height: 48px; }
  .icon-outline .glyph { --gs: 24px; }

  /* What we do + Network: text | image side by side (image column ≈ 45vw, matching `sizes`) */
  .sec-what .split,
  .sec-network .split { grid-template-columns: minmax(0, 1fr) 45vw; gap: 32px; }

  /* Steps: vertical list, larger */
  .step { column-gap: 28px; }

  /* Principles 2 + 1 */
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:last-child { grid-column: 1 / -1; }

  .contact-cards { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   1024px – tablet landscape / small desktop
   ========================================================================== */
@media (min-width: 1024px) {
  :root {
    --fs-h1: clamp(50px, 5.2vw, 64px);
  }

  /* Full nav */
  .site-header__inner { min-height: 87px; }
  .site-header__logo img { width: 121px; }
  .site-nav__list { gap: 0 40px; }
  .site-nav { position: relative; top: -2px; }
  .site-nav__link { min-height: 70px; padding-top: 2px; }
  .site-nav__link[aria-current="page"]::after { bottom: 13px; }

  /* Hero: two columns */
  .hero { padding-block: 100px 110px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; }
  .hero__media { max-width: none; }
  .hero__copy { padding-top: 4px; }
  .hero .eyebrow { margin-bottom: 15px; }
  .hero__title { margin-bottom: 23px; }
  .hero__lead { margin-bottom: 30px; }
  .hero .btn { min-height: 56px; padding: 0 30px; }
  .hero .btn-row { gap: 16px; }

  /* Feature strip: 4-up */
  .features__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .features__item,
  .features__item:nth-child(odd),
  .features__item:nth-child(-n+2) {
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 34px 12px 34px 16px;
  }
  .features__item:first-child { padding-left: 19px; }
  .features__item:last-child { border-right: 0; }

  .eyebrow, .prose .eyebrow { margin-bottom: 18px; }
  .section-head { margin-bottom: 46px; }

  .sec-what .split,
  .sec-network .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .split--about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }

  /* Cards: 2-up */
  .ways { grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }

  /* Steps: 3-up with the horizontal connector */
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .steps::before {
    content: "";
    position: absolute;
    top: 37px; height: 3px;
    /* from the left edge of circle 1's halo to the right edge of circle 3's halo */
    left: calc((100% - 56px) / 6 - 45.5px);
    right: calc((100% - 56px) / 6 - 45.5px);
    background: var(--grad);
    opacity: 0.6;
  }
  .step { display: block; text-align: center; }
  .step:not(:last-child)::after { content: none; }
  .step__num { margin: 0 auto 21px; }
  .step h3 { margin: 0 0 11px; }
  .step p { max-width: 345px; margin-inline: auto; }
  .section-head--steps { margin-bottom: 42px; }

  /* Principles: 3-up */
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .principle:last-child { grid-column: auto; }
  .principle { padding: 33px 33px 40px; }

  .cta-card { padding: 72px 64px; border-radius: 28px; }

  .site-footer { padding-top: 80px; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 80px; }
}

/* ==========================================================================
   1200px – desktop: spacing measured against the 1440px PDF render
   ========================================================================== */
@media (min-width: 1200px) {
  .h2 { line-height: 46px; }

  .features__item,
  .features__item:nth-child(odd),
  .features__item:nth-child(-n+2) { padding-top: 33px; padding-bottom: 35px; gap: 18px; }

  /* What we do */
  .sec-what .eyebrow { margin-bottom: 15px; }
  .sec-what .h2 { margin-bottom: 19px; }
  .sec-what .split { grid-template-columns: minmax(0, 1fr) 564px; gap: 66px; }
  .sec-what .prose { margin-bottom: 10px; }

  /* Two ways */
  .sec-ways { padding-top: 101px; }
  .sec-ways .eyebrow { margin-bottom: 16px; }
  .sec-ways .section-head { margin-bottom: 45px; }
  .way-card { padding: 41px 40px 40px; }

  /* How it works */
  .sec-how { padding-block: 101px 111px; }
  .sec-how .eyebrow { margin-bottom: 16px; }
  .step h3 { margin-bottom: 10px; }

  /* Who / why */
  .sec-about { padding-top: 101px; }
  .split--about { gap: 72px; }
  .split--about > .prose:first-child .eyebrow { margin-bottom: 15px; }
  .split--about .h2 { margin-bottom: 19px; }
  .split--about h3.eyebrow { margin-bottom: 16px; }
  .prose .about__lead-out { font-size: 20px; }
  .checklist--light { margin-bottom: 0; }
  .prose .about__close { margin-top: 11px; }
  .banner { margin-top: 73px; }
  .principles-head { margin-top: 76px; margin-bottom: 36px; }
  .principle { min-height: 394px; }

  /* Network */
  .sec-network .split { grid-template-columns: minmax(0, 1fr) 564px; gap: 66px; }
  .sec-network .prose { margin-top: 4px; }
  .sec-network .chips { margin-top: 14px; }

  /* Let's talk */
  .cta-card { padding: 71px 80px 40px; min-height: 366px; }
  .cta-card h2 { margin-bottom: 21px; }
  .cta-card p { margin-bottom: 26px; }

  /* Footer */
  .site-footer { padding-top: 82px; }
  .footer__grid { padding-bottom: 74px; }
  .footer__tag { margin-bottom: 15px; }
  .footer__grid > :first-child { margin-top: -2px; }
  .footer__heading { margin-bottom: 23px; }
  .footer__bar { padding-block: 26px 30px; }
}

/* The container is a full 1200px from here: fixed columns as in the PDF */
@media (min-width: 1264px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 540px; gap: 60px; }
  .footer__grid { grid-template-columns: 400px 268px 312px minmax(0, 1fr); gap: 0; }
  .footer__grid > :first-child { padding-right: 40px; }
  .footer__links { max-width: 180px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}

/* ==========================================================================
   PRODUCT PAGE (design page 2)
   ========================================================================== */
.tg-local { background-image: linear-gradient(90deg, #7b3ff2, #6c52f2); }
.tg-biz   { background-image: linear-gradient(90deg, #5b6af2, #18a8f5); }
.hero--product .hero__media img { aspect-ratio: 540 / 497; }

/* Split helpers */
.split > * { min-width: 0; }
.split--media-left .placeholder { order: 2; }

/* Advert loop illustration (10 slots at 36°, partner slot on top) */
.loop-figure { display: grid; justify-items: center; gap: 18px; }
.loop {
  container-type: inline-size;
  position: relative;
  width: min(424px, 100%);
  aspect-ratio: 1;
}
.loop__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 51.4%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px dashed rgba(24, 168, 245, 0.55);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  font-size: clamp(11px, 3.5cqw, 15px);
  line-height: 1.5;
  color: #c9cee3;
}
.loop__slots { list-style: none; margin: 0; padding: 0; }
.loop__slot {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 17.6%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  text-align: center;
  border-radius: 10px;
  background: #1c2443;
  border: 1px solid #2c3556;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-size: clamp(9px, 2.6cqw, 12px);
  font-weight: 600;
  line-height: 1.25;
  color: #c9cee3;
}
.loop__slot--host {
  background: linear-gradient(160deg, #8a4bf5, #6a3be8);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 0 26px rgba(123, 63, 242, 0.55);
}
.loop-figure figcaption,
.report figcaption {
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  color: #8a93b5;
  text-align: center;
}

/* Checklist with a bold lead-in */
.checklist--lead strong { color: var(--white); font-weight: 600; }
.checklist--tight li + li { margin-top: 8px; }

/* Callout (Limited places) */
.prose .callout {
  margin: 26px 0 30px;
  padding: 22px 26px;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--purple);
  color: #c9cee3;
}
.callout strong { color: var(--white); font-weight: 600; }

/* Screen Partner photo placeholder */
.placeholder--host { aspect-ratio: 564 / 478; }
.placeholder--host .placeholder__icon { --gs: 32px; }
.placeholder--host .placeholder__label { font-size: 15px; }

/* Monthly report mock-up */
.report { display: grid; }
.report__card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: 28px 30px 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.report__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px solid #e3e6f1;
}
.report__title { font-weight: 600; font-size: 16px; }
.report__brand { font-family: var(--font-head); font-weight: 800; color: var(--purple); font-size: 16px; }
.report__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 0 0 16px;
}
.report__grid div { background: #f3f4fa; border-radius: 12px; padding: 18px 18px 16px; }
.report__grid dt { font-size: 13px; color: #5a6180; }
.report__grid dd {
  margin: 6px 0 0;
  font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1.1;
  color: var(--purple);
}
.report figcaption { text-align: left; color: #6b7394; }

/* Small outline icons (kept as a shared utility) */
.icon-outline--sm { width: 44px; height: 44px; border-width: 1.5px; border-radius: 9px; margin-bottom: 16px; }
.icon-outline--sm .glyph { --gs: 20px; }

/* FAQ */
.sec-faq .section-head { margin-bottom: 40px; }
.faq { max-width: 856px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(11, 16, 32, 0.04);
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px;
  padding: 16px 26px;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 {
  font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.45; letter-spacing: 0;
  color: var(--ink);
}
.faq__icon {
  position: relative; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--purple);
}
.faq__icon::before,
.faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 2px; margin: -1px 0 0 -5px;
  background: var(--white); border-radius: 1px;
  transition: transform 0.2s ease;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p {
  padding: 0 26px 22px;
  margin-top: -4px;
  color: var(--body-light);
  font-size: 16px;
  line-height: 1.65;
}
.faq__item .note { color: #5a6180; }
.faq__item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-card); }

/* ==========================================================================
   CONTACT PAGE (design page 3)
   ========================================================================== */
.contact-hero { position: relative; text-align: center; display: grid; justify-items: center; }
.contact-hero .hero__lead { max-width: 640px; margin-bottom: 18px; }
.contact-hero__note { color: var(--muted-2); font-size: 15px; line-height: 1.6; max-width: 1140px; margin-bottom: 32px; }
.form-switch {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: #17203d;
  border: 1px solid #222b4a;
}
.form-switch__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px; color: var(--white);
}
.form-switch__link.is-active { background: var(--grad); box-shadow: var(--glow); }
.form-switch__link:not(.is-active):hover { background: rgba(255, 255, 255, 0.06); }

.forms { display: grid; gap: 28px; align-items: start; }
.form-card {
  position: relative;
  scroll-margin-top: 100px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 32px 22px;
  overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #7b3ff2, #9b6bf6);
}
.form-card--blue::before { background: linear-gradient(90deg, #18a8f5, #5cc4fa); }
.form-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.form-card__head .icon-tile { width: 54px; height: 54px; margin: 0; }
.form-card__head .icon-tile .glyph { --gs: 22px; }
.form-card h2 { font-size: clamp(26px, 0.8vw + 22px, 32px); line-height: 1.15; }
.form-card__intro { color: #c9cee3; font-size: 16px; line-height: 1.65; margin-bottom: 26px; }

.fields { display: grid; gap: 18px 16px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label,
.field legend { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.4; padding: 0; }
.req { color: var(--blue); }
.opt { color: var(--muted-2); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #2a3354;
  background: #0d1328;
  color: var(--white);
  font: inherit;
  font-size: 16px; /* ≥16px stops iOS zooming on focus */
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field ::placeholder { color: #7f88aa; opacity: 1; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 168, 245, 0.3); }
.field [aria-invalid="true"] { border-color: #ff7a90; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select:invalid { color: #7f88aa; }
.select option { color: var(--white); background: #0d1328; }
.select__chev { --gs: 22px; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #c9cee3; pointer-events: none; }
.field__error { color: #ff9aab; font-size: 14px; line-height: 1.4; }

.choices__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.choice {
  position: relative;
  display: flex; gap: 12px; align-items: flex-start;
  min-height: 64px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid #2a3354;
  background: #0d1328;
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--purple); background: #1b1844; }
.choice input,
.tick input { accent-color: var(--purple); width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.choice__text { display: grid; gap: 2px; font-size: 14px; line-height: 1.4; color: #c9cee3; }
.choice__text strong { color: var(--white); font-weight: 600; }
.towns__row { display: flex; flex-wrap: wrap; gap: 0 28px; }
.tick { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: #dfe3f3; cursor: pointer; }
.towns .tick input { accent-color: var(--blue); }
.field--check { grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--purple); }
.field--check label { font-weight: 400; color: #c9cee3; font-size: 14px; line-height: 1.6; }
.field--check label a { color: var(--blue); text-decoration: underline; }
.field--check .field__error { grid-column: 1 / -1; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot__req { font-size: 13px; font-style: italic; color: var(--muted-2); }
.form-foot .btn { min-height: 52px; }
.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(24, 168, 245, 0.35);
  background: rgba(24, 168, 245, 0.08);
  color: #dfe3f3;
  font-size: 15px;
  line-height: 1.6;
}
.form-status:focus { outline: none; }
.enquiry-form.is-sent .fields,
.enquiry-form.is-sent .form-foot { display: none; }

/* Other ways to reach us */
.split--reach { align-items: start; }
.info-cards { display: grid; gap: 16px; margin: 26px 0 0; }
.info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 22px 22px 24px;
}
.info-card dt { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.info-card dd { margin: 0; font-weight: 600; font-size: 17px; color: var(--white); }
.info-card__note { display: block; margin-top: 8px; font-size: 13px; font-style: italic; font-weight: 400; color: var(--muted-2); }
.card-photo img {
  width: 100%;
  aspect-ratio: 531 / 408;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-img);
}
.reach-ph { display: grid; gap: 24px; margin-top: 40px; }
.placeholder--wide { min-height: 220px; }
.placeholder--wide .placeholder__icon { --gs: 30px; }
.reach-ph .placeholder--map { aspect-ratio: auto; }
.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.social-row > p:first-child { color: #dfe3f3; font-size: 16px; }
.social-row__note { font-size: 13px; font-style: italic; color: #8a93b5; }

/* ---------- Product + contact: tablet and up ---------- */
@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full, .field--other { grid-column: 1 / -1; }
  .form-card { padding: 40px 34px; }
  .info-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .reach-ph { grid-template-columns: 1fr 1fr; }
}
/* 768–1023: the two-column text|media sections on these pages stack (they are cramped at tablet portrait) */
@media (min-width: 768px) and (max-width: 1023px) {
  .sec-screens .split, .sec-hosts .split, .sec-advertisers .split, .split--reach { grid-template-columns: 1fr; }
  .report, .placeholder--host, .card-photo { max-width: 600px; width: 100%; justify-self: center; }
  .split--media-left .placeholder { order: 0; }
}
@media (min-width: 1024px) {
  .sec-screens .split,
  .sec-advertisers .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .sec-hosts .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .split--media-left .placeholder { order: -1; }
  .split--reach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .forms { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero--contact { padding-block: 72px 66px; }
}
@media (min-width: 1200px) {
  .hero--product { padding-block: 92px 102px; }
  .hero--product .hero__grid { grid-template-columns: minmax(0, 1fr) 540px; gap: 60px; }
  .sec-screens { padding-block: 101px 96px; }
  .sec-screens .split { grid-template-columns: minmax(0, 1fr) 520px; gap: 80px; align-items: center; }
  .sec-hosts { padding-block: 132px 132px; }
  .sec-hosts .split { grid-template-columns: 564px minmax(0, 1fr); gap: 72px; }
  .sec-advertisers .split { grid-template-columns: minmax(0, 1fr) 564px; gap: 72px; align-items: start; }
  .sec-advertisers .report { margin-top: 6px; }
  .sec-faq { padding-block: 100px 104px; }
  .faq { gap: 14px; }
  .hero--contact { padding-block: 75px 66px; }
  .contact-hero .hero__lead { margin-bottom: 20px; }
  .forms { grid-template-columns: 1fr 1fr; gap: 30px; }
  .form-card { padding: 46px 46px 48px; }
  .sec-forms { padding-block: 60px 92px; }
  .sec-reach { padding-block: 100px 92px; }
  .split--reach { grid-template-columns: minmax(0, 1fr) 532px; gap: 54px; }
  .card-photo { margin-top: 4px; }
}

/* Touch layouts: tap targets on the new pages */
@media (max-width: 1199px), (pointer: coarse) {
  .field--check label a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- Round 3 fixes ---------- */
[hidden] { display: none !important; }
.hero__title span span { display: inline; }
.hero--contact .hero__title > .text-gradient { display: inline; }
@media (min-width: 1200px) {
  .sec-screens .split { grid-template-columns: 540px minmax(0, 1fr); gap: 80px; }
  .faq__item summary { padding: 24px 28px 12px; }
  .faq__item:not([open]) summary { padding-bottom: 24px; }
  .faq__item p { padding: 0 28px 26px; margin-top: 0; }
}
@media (min-width: 1200px) {
  .sec-hosts { padding-block: 103px 103px; }
  .sec-faq + .sec-talk { padding-block: 85px 85px; }
}
@media (min-width: 1200px) {
  .placeholder--wide, .reach-ph .placeholder--map { aspect-ratio: 595 / 255; min-height: 0; }
}
/* Phones: form switch as two full-width segments; services 2-up */
@media (max-width: 599px) {
  .form-switch { display: grid; grid-template-columns: 1fr; width: 100%; border-radius: 28px; }
  .form-switch__link { padding: 0 16px; }
}

/* ==========================================================================
   MOTION (on by default) – options 1 Soft rise, 2 Curtain-up hero, 4 Signature line, 5 Living network.
   html.motion is added in <head> only when prefers-reduced-motion is NOT set; html.motion-ready and
   .rv are added by js/main.js, so if the script fails nothing below the hero is hidden, and the
   <head> failsafe reveals the hero after 1.6s. Only opacity/transform/clip-path animate (no CLS).
   ========================================================================== */
:root {
  --m-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --m-ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);
}
/* ---------- M1 · Soft rise: scroll reveals with a gentle stagger ---------- */
html.motion-ready .rv {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.8s var(--m-ease) var(--d, 0ms), transform 0.8s var(--m-ease) var(--d, 0ms);
}
html.motion-ready .rv.is-in { opacity: 1; transform: none; }

/* ---------- M2 · Curtain-up hero: refined page-load sequence (with font-swap guard) ---------- */
html.motion .site-header { opacity: 0; transition: opacity 0.6s var(--m-ease); }
html.motion .hero .eyebrow,
html.motion .hero .hero__lead,
html.motion .hero .btn-row,
html.motion .hero .contact-hero__note,
html.motion .hero .form-switch {
  opacity: 0; transform: translate3d(0, 12px, 0);
  transition: opacity 0.7s var(--m-ease), transform 0.7s var(--m-ease);
}
html.motion .hero__title > span,
html.motion .hero--contact .hero__title {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 0.35em, 0);
  transition: clip-path 0.9s var(--m-ease), transform 0.9s var(--m-ease), opacity 0.5s linear;
}
html.motion .hero__media {
  transform: scale(1.03);
  transition: transform 1.8s var(--m-ease) 0.2s;
}
html.motion .hero__shape { opacity: 0; transition: opacity 2.2s ease 0.2s; }
/* in */
html.motion.hero-in .site-header,
html.motion.hero-in .hero__shape { opacity: 1; }
html.motion.hero-in .hero .eyebrow { opacity: 1; transform: none; transition-delay: 0.05s; }
html.motion.hero-in .hero__title > span,
html.motion.hero-in .hero--contact .hero__title { opacity: 1; clip-path: inset(0 0 -0.2em 0); transform: none; }
html.motion.hero-in .hero__title > span:nth-child(1), html.motion.hero-in .hero--contact .hero__title { transition-delay: 0.15s; }
html.motion.hero-in .hero__title > span:nth-child(2) { transition-delay: 0.27s; }
html.motion.hero-in .hero__title > span:nth-child(3) { transition-delay: 0.39s; }
html.motion.hero-in .hero .hero__lead { opacity: 1; transform: none; transition-delay: 0.55s; }
html.motion.hero-in .hero .contact-hero__note { opacity: 1; transform: none; transition-delay: 0.65s; }
html.motion.hero-in .hero .btn-row,
html.motion.hero-in .hero .form-switch { opacity: 1; transform: none; transition-delay: 0.72s; }
html.motion.hero-in .hero__media { opacity: 1; transform: none; }

/* ---------- M4 · Signature line: purple-to-blue line draws in under each eyebrow ---------- */
html.motion-ready .eyebrow { position: relative; }
html.motion-ready .eyebrow::after {
  content: "";
  position: absolute; left: 0; bottom: -8px;
  width: 44px; height: 2px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1s var(--m-ease) 0.25s;
}
html.motion-ready .text-center .eyebrow::after,
html.motion-ready .contact-hero .eyebrow::after { left: calc(50% - 22px); transform-origin: center; }
html.motion-ready .eyebrow.is-in::after { transform: scaleX(1); }
html.motion-ready .site-nav__link[aria-current="page"]::after { animation: m4-grow 0.9s var(--m-ease) 0.4s both; transform-origin: left center; }
@keyframes m4-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- M5 · Living network: the advert loop plays; How it works connector fills ---------- */
/* Product page: each slot lights in turn (1.2s apart, like the screen cycling), ring turns slowly */
html.motion-ready .loop__ring { border-color: transparent; }
html.motion-ready .loop__ring::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px dashed rgba(24, 168, 245, 0.55);
  animation: m5-spin 80s linear infinite;
}
html.motion-ready .loop__slot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  border: 1px solid rgba(24, 168, 245, 0.9);
  box-shadow: 0 0 22px rgba(24, 168, 245, 0.45);
  opacity: 0;
  animation: m5-light 12s var(--m-ease) infinite;
  animation-delay: calc(var(--i) * 1.2s);
}
html.motion-ready .loop__slot--host::after { border-color: rgba(255, 255, 255, 0.8); box-shadow: 0 0 30px rgba(123, 63, 242, 0.8); }
html.motion-ready .loop:not(.is-in) .loop__slot::after { animation-play-state: paused; }
@keyframes m5-spin { to { transform: rotate(360deg); } }
@keyframes m5-light { 0% { opacity: 0; } 3% { opacity: 1; } 10% { opacity: 1; } 16% { opacity: 0; } 100% { opacity: 0; } }
/* Homepage: How it works – connector line fills, then the numbered circles settle in sequence */
html.motion-ready .steps::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.6s var(--m-ease) 0.2s; }
html.motion-ready .steps.is-in::before { transform: scaleX(1); }
html.motion-ready .step:not(:last-child)::after { transform: scaleY(0); transform-origin: top center; transition: transform 1.2s var(--m-ease) 0.3s; }
html.motion-ready .steps.is-in .step:not(:last-child)::after { transform: scaleY(1); }
html.motion-ready .step__num { opacity: 0; transform: scale(0.82); transition: opacity 0.6s var(--m-ease), transform 0.7s var(--m-ease-spring); }
html.motion-ready .steps.is-in .step__num { opacity: 1; transform: none; }
html.motion-ready .steps.is-in .step:nth-child(1) .step__num { transition-delay: 0.15s; }
html.motion-ready .steps.is-in .step:nth-child(2) .step__num { transition-delay: 0.75s; }
html.motion-ready .steps.is-in .step:nth-child(3) .step__num { transition-delay: 1.35s; }


@media (prefers-reduced-motion: reduce) {
  .rv, .hero *, .step__num { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .loop__slot::after, .loop__ring::before { animation: none !important; }
}

/* ==========================================================================
   ROUND 4 – Contact: one form at a time (tabs) + airier form layout
   ========================================================================== */
/* Tabs only make sense with JS; without it both forms show and the switch is hidden */
html:not(.js) .form-switch { display: none; }
/* Before main.js runs, show only the form the tabs will select (avoids a layout shift) */
html.js:not(.has-tabs) #advertise { display: none; }
html.js.tab-adv:not(.has-tabs) #advertise { display: block; }
html.js.tab-adv:not(.has-tabs) #host { display: none; }
.form-switch__link { border: 0; background: transparent; cursor: pointer; font-family: var(--font-body); min-height: 52px; padding: 0 28px; }
.form-switch__link:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.forms,
.has-tabs .forms { grid-template-columns: minmax(0, 1fr) !important; max-width: 720px; margin-inline: auto; gap: 32px; }
.form-card[hidden] { display: none !important; }
.form-card:focus { outline: none; }
.form-card.is-fading { animation: tab-fade 0.45s var(--m-ease, ease) both; }
@keyframes tab-fade { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form-card.is-fading { animation: none; } }

.form-card { padding: 32px 24px 28px; border-radius: 24px; }
.form-card__head { gap: 18px; margin-bottom: 14px; }
.form-card__head .icon-tile { width: 56px; height: 56px; }
.form-card h2 { font-size: clamp(26px, 1vw + 22px, 34px); }
.form-card__intro { font-size: 16px; line-height: 1.7; margin-bottom: 30px; max-width: 560px; }

.fields { grid-template-columns: minmax(0, 1fr) !important; gap: 22px 20px; }
.field { gap: 9px; }
.field label, .field legend { font-size: 15px; font-weight: 600; letter-spacing: 0.005em; }
.field legend { margin-bottom: 10px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select { min-height: 52px; padding: 13px 16px; }
.field textarea { min-height: 112px; padding: 14px 16px; line-height: 1.55; }
.field__error { margin-top: 2px; }

/* Choice radio cards (unused after the package field was removed; left in place) */
.choices__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.choice { align-items: center; gap: 14px; min-height: 72px; padding: 16px 18px; border-radius: 14px; transition: border-color .15s ease, background-color .15s ease; }
.choice:hover { border-color: #3a4570; }
.choice input { margin: 0; width: 20px; height: 20px; }
.choice__text { font-size: 14px; gap: 3px; }
.choice__text strong { font-size: 15px; }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Towns: tidy checkbox rows */
.towns__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin-bottom: 10px; }
.tick { min-height: 52px; padding: 0 16px; gap: 12px; border: 1px solid #2a3354; border-radius: 12px; background: #0d1328; font-size: 15px; width: 100%; }
.tick:has(input:checked) { border-color: var(--blue); background: #0f2238; }
.tick:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.tick input { margin: 0; }

/* Consent + submit */
.field--check { margin-top: 6px; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid #222b4a; column-gap: 14px; }
.field--check input { margin-top: 2px; }
.field--check label { font-size: 15px; line-height: 1.6; }
.form-foot { margin-top: 30px; padding-top: 24px; border-top: 1px solid #222b4a; flex-direction: column-reverse; align-items: stretch; gap: 14px; }
.form-foot .btn { width: 100%; min-height: 56px; font-size: 17px; }
.form-foot__req { text-align: center; }
.form-status { margin-top: 0; padding: 22px 24px; font-size: 16px; }

@media (min-width: 768px) {
  .form-card { padding: 44px 48px 44px; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 20px; }
  .field--full, .field--other { grid-column: 1 / -1; }
  .choices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .form-foot .btn { width: auto; padding: 0 34px; }
  .form-foot__req { text-align: left; }
  .towns__row { grid-template-columns: repeat(2, minmax(0, 220px)); }
}
@media (min-width: 1200px) {
  .sec-forms { padding-block: 72px 104px; }
  .form-card { padding: 48px 52px 48px; }
}

/* ---------- Round 5: real contact details + layouts with "hidden until supplied" items removed ---------- */
/* Contact links: "Jack (Director)" label above the number */
.who, .footer__links .who { display: block; min-height: 0; min-width: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted-2); line-height: 1.4; }
.footer__contact { max-width: none !important; }
.footer__contact a { color: #dfe3f3; overflow-wrap: anywhere; }
.footer__contact a:hover .who { color: var(--muted-2); }
@media (max-width: 1199px), (pointer: coarse) {
  .footer__contact a { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 4px; }
  .footer__contact li + li { margin-top: 6px; }
}
.info-card dd a { display: flex; flex-direction: column; justify-content: center; min-height: 48px; color: var(--white); overflow-wrap: anywhere; }
.info-card dd a + a { margin-top: 10px; }
.info-card dd a:hover { color: var(--blue); }
.info-card dd a:hover .who { color: var(--muted-2); }

/* A text|media section whose media is hidden: one centred, readable column */
.container.split.split--solo { grid-template-columns: minmax(0, 760px); justify-content: center; }

/* Footer with the "Follow us" column hidden: three balanced columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer__grid--3 > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footer__grid.footer__grid--3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1264px) {
  .footer__grid.footer__grid--3 { grid-template-columns: 460px minmax(0, 1fr) 320px; }
}

/* ---------- Site credit (below the footer) ---------- */
.site-credit { background: var(--bg-0); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0 26px; }
.site-credit .container { display: flex; justify-content: center; }
.site-credit__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; min-width: 44px; padding: 6px 12px; border-radius: 10px;
  color: #9aa3c4; text-decoration: none; transition: color 0.2s ease;
}
.site-credit__logo { opacity: 0.8; transition: opacity 0.2s ease; }
.site-credit__link:hover { color: #dfe3f3; }
.site-credit__link:hover .site-credit__logo,
.site-credit__link:focus-visible .site-credit__logo { opacity: 1; }
.site-credit__link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.site-credit__text { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; line-height: 1; }
.site-credit__logo { display: block; height: 22px; width: auto; }
@media (min-width: 1024px) { .site-credit { padding: 26px 0 30px; } }
@media (prefers-reduced-motion: reduce) { .site-credit__link, .site-credit__logo { transition: none; } }

/* Mailto fallback note under enquiry forms */
.form-mail-hint {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--muted, #5a6180);
  line-height: 1.45;
}
