/* ============================================================
   GVC — Ged Van Cooper · single-page site
   Built from Figma "GVC - Website" (Home light/dark desktop, light mobile)
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/space-mono-400.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Launch fonts: Space Mono and Archivo (open licence), served from /fonts.
     When the NT Bau Mono and Oddlini web licences are bought, add their .woff2 files to /fonts,
     add two @font-face rules below, and put their names first in these two lines. */
  --font-mono: "Space Mono", ui-monospace, monospace;
  --font-body: "Archivo", system-ui, sans-serif;

  --black-500: #000000;
  --white-500: #ffffff;
  --grey-50: #f9f9f9;
  --grey-100: #ededed;
  --black-50: #e6e6e6;
  --nav-shadow: 0 12px 20px rgba(0, 0, 0, 0.04);

  --container: 1216px;
  --gutter: 112px;
  --radius-card: 32px;
  --radius-pill: 144px;
}

[data-theme="light"] {
  --bg: var(--white-500);
  --fg: var(--black-500);
  --pill-bg: var(--black-50);
  --pill-active-bg: var(--white-500);
  --pill-active-fg: var(--black-500);
  --soft-bg: var(--grey-50);
  --card-bg: var(--grey-100);
  --band-bg: var(--black-500);
  --band-fg: var(--white-500);
  --solid-bg: var(--black-500);
  --solid-fg: var(--white-500);
  --icon-filter: none;
  --icon-on-solid: none; /* arrow-cta.svg is white */
  --mark-filter: none;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: var(--black-500);
  --fg: var(--white-500);
  --pill-bg: #222222;
  --pill-active-bg: var(--white-500);
  --pill-active-fg: var(--black-500);
  --soft-bg: #222222;
  --card-bg: #222222;
  --band-bg: var(--white-500);
  --band-fg: var(--black-500);
  --solid-bg: var(--white-500);
  --solid-fg: var(--black-500);
  --icon-filter: invert(1);
  --icon-on-solid: invert(1);
  --mark-filter: invert(1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-stretch: 125%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 8px 16px; border-radius: 24px;
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type scale (Figma text styles) ---------- */
.display-xl, .display-m, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-stretch: normal;
}
.display-m { font-size: 84px; line-height: 1.3; letter-spacing: -0.01em; }
.h1 { font-size: 64px; line-height: 1.1; letter-spacing: -0.01em; }
.h2 { font-size: 48px; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: 32px; line-height: 1.3; letter-spacing: -0.01em; }
.h4 { font-size: 24px; line-height: 1.3; letter-spacing: -0.01em; }
.h5 { font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; }
/* Brand rule: NT Bau Mono is for titles and is always set in capitals.
   Oddlini is for paragraphs and keeps normal sentence case. */
.display-xl, .display-m, .h1, .h2, .h3, .h4, .h5,
.hero__tags, .hero__previously, .pill, .more, .marquee__track,
.page-hero__eyebrow, .package__badge, .note-line, .footer__bar {
  text-transform: uppercase;
}
.body-xl { font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; }
.body-l { font-size: 16px; line-height: 24px; letter-spacing: -0.01em; }

.icon { width: 13px; height: 15px; filter: var(--icon-filter); flex: none; }
.icon--right { transform: rotate(-90deg); }
.icon--diag { transform: rotate(-135deg); }

/* ---------- Header ---------- */
.header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding-top: 97px;
}
.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.header__logo img { width: 208px; height: auto; filter: var(--mark-filter); }

.nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  height: 56px; padding-inline: 5px;
  background: var(--pill-bg);
  border-radius: 80px;
  box-shadow: var(--nav-shadow);
}
.nav__tap {
  display: flex; align-items: center; height: 46px; padding: 16px;
  border-radius: 48px;
  font-size: 16px; line-height: 24px; letter-spacing: -0.01em; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}
.nav__tap:hover { background: color-mix(in srgb, var(--pill-active-bg) 50%, transparent); }
.nav__tap.is-active { background: var(--pill-active-bg); color: var(--pill-active-fg); }

.theme-toggle {
  position: relative; width: 107px; height: 56px; padding: 5px;
  border: 0; border-radius: 80px; cursor: pointer;
  background: var(--pill-bg); box-shadow: var(--nav-shadow);
}
.theme-toggle__knob {
  display: block; width: 47px; height: 46px; border-radius: 48px;
  background: var(--white-500);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
[data-theme="dark"] .theme-toggle__knob { transform: translateX(50px); }

.menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 260px; padding-bottom: 133px; }
.hero__bg {
  position: absolute; top: 0; right: 0;
  width: max(min(977px, 67.85vw), calc((100vw - 1440px) / 2 + 977px)); aspect-ratio: 1 / 1;
  pointer-events: none; user-select: none;
  /* soften the left and bottom edges so the loop blends into the page */
  -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 18%, #000 52%), linear-gradient(to top, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, transparent 18%, #000 52%), linear-gradient(to top, transparent 0, #000 16%);
          mask-composite: intersect;
}
.hero__video { display: none; width: 100%; height: 100%; object-fit: cover; }
[data-theme="light"] .hero__video--light { display: block; filter: brightness(1.012); }
[data-theme="dark"] .hero__video--dark { display: block; }
.hero__inner { position: relative; }
.hero__name { margin: 0; }
.hero__name img { width: 832px; max-width: 100%; height: auto; filter: var(--mark-filter); }

.hero__tags {
  display: flex; gap: 35px; margin-top: 35px;
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.4; letter-spacing: -0.01em;
}
.hero__blurb { max-width: 604px; margin-top: 16px; }
.hero__previously {
  margin-top: 16px;
  font-family: var(--font-mono); font-stretch: normal;
  font-size: 14px; line-height: 24px; letter-spacing: -0.01em; text-transform: uppercase;
  opacity: .6;
}
.hero__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 45px; }
.hero__talk a { display: inline-block; }
.hero__talk a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Pills (scroll down, CTA) */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 32px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.4; letter-spacing: -0.01em;
  transition: transform .2s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill--soft { background: var(--soft-bg); }
.pill--solid { background: var(--solid-bg); color: var(--solid-fg); min-width: 344px; }
.pill--solid .icon { filter: var(--icon-on-solid); }

/* ---------- Services ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-head__text { display: flex; flex-direction: column; gap: 11px; max-width: 507px; }
.more {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.4; letter-spacing: -0.01em;
}
.more:hover span { text-decoration: underline; text-underline-offset: 4px; }

.cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px; row-gap: 49px; margin-top: 40px;
}
.card .h4 { margin-top: 24px; }
.card .body-l { margin-top: 6px; }

.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 592 / 500; border-radius: var(--radius-card);
}
.card__media { background: #8da1c1; } /* steel, shown while art loads */
.card__base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__dither { position: absolute; inset: 0; overflow: hidden; }
/* the Figma artwork is a 2x2 sheet with white seams between the quarters;
   a slight zoom keeps those seams outside the rounded frame */
.card__dither { transform: scale(1.04); }
.card__dither img { position: absolute; max-width: none; }
.card__media--1 .card__dither img { left: 0; top: 0; width: 268.53%; height: 204.8%; }
.card__media--2 .card__dither img { left: -172.25%; top: -8.63%; width: 285%; height: 217.36%; }
.card__media--3 .card__dither img { left: -5.73%; top: -109.21%; width: 280%; height: 213.55%; }
.card__media--4 .card__dither img { left: -185.96%; top: -108.97%; width: 286%; height: 218.12%; }

/* Six-door grid (home) */
.cards--six { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.card__title { display: flex; align-items: center; gap: 10px; }
.card--link { display: block; }
.card--link .card__media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card--link:hover .card__media .card__dither img { transform: scale(1.04); }
.card--link .card__title .icon { transition: transform .2s ease; }
.card--link:hover .card__title .icon { transform: rotate(-90deg) translateY(3px); }
.card__media--5 { background: #8da1c1; }
.card__media--5 .card__dither { transform: rotate(180deg) scale(1.04); }
.card__media--5 .card__dither img { left: 0; top: 0; width: 268.53%; height: 204.8%; }
.card__media--cta {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: 32px; background: var(--card-bg);
}
.pill--sm { min-width: 0; align-self: flex-start; padding: 18px 24px; font-size: 16px; margin-top: 8px; }

/* ============================================================
   Sub-pages (audience doors)
   ============================================================ */
.page-hero { position: relative; padding-top: 240px; padding-bottom: 96px; }
.page-hero__eyebrow {
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 20px; line-height: 1.4; letter-spacing: -0.01em;
}
.page-hero__title { margin-top: 16px; max-width: 1000px; }
.page-hero__lead { margin-top: 24px; max-width: 640px; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }
.page-hero__bg {
  /* full-bleed: breaks out of the container to span the whole viewport */
  --art-w: max(760px, 55vw);
  position: absolute; z-index: -1; top: 0; left: 50%;
  width: 100vw; height: calc(var(--art-w) * 0.874); transform: translateX(-50%);
  background-repeat: no-repeat; background-position: right top; background-size: var(--art-w) auto;
  pointer-events: none;
  /* the fade is sized to the artwork itself: flush to the top and right edges,
     dissolving into the page on its left and bottom edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to top, transparent 0, #000 45%);
  -webkit-mask-size: var(--art-w) calc(var(--art-w) * 0.874);
  -webkit-mask-position: right top; -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to top, transparent 0, #000 45%);
          mask-size: var(--art-w) calc(var(--art-w) * 0.874);
          mask-position: right top; mask-repeat: no-repeat;
          mask-composite: intersect;
}
[data-theme="light"] .page-hero__bg { opacity: .6; }
[data-theme="dark"] .page-hero__bg { opacity: .38; }
[data-page="small-business"] .page-hero__bg { background-image: url("assets/hero-art-small-business.webp"); }
[data-page="agencies"] .page-hero__bg { background-image: url("assets/hero-art-agencies.webp"); }
[data-page="enterprise"] .page-hero__bg { background-image: url("assets/hero-art-enterprise.webp"); }
[data-page="tech-vendors"] .page-hero__bg { background-image: url("assets/hero-art-tech-vendors.webp"); }
[data-page="advisory"] .page-hero__bg { background-image: url("assets/hero-art-advisory.webp"); }


.section { margin-top: 128px; }
.section-title { display: flex; flex-direction: column; gap: 11px; max-width: 640px; }

.pain-list { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: 0; list-style: none; }
.pain-list li {
  display: flex; gap: 12px; align-items: baseline; padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
}
.pain-list li::before { content: "/"; font-family: var(--font-mono); opacity: .5; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.feature {
  display: flex; flex-direction: column; gap: 12px; min-height: 280px;
  padding: 40px 41px 42px 42px; border-radius: var(--radius-card); background: var(--card-bg);
}
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature__num { align-self: flex-end; }
.feature h3 { margin-top: 48px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; counter-reset: step; }
.step { padding-top: 24px; border-top: 2px solid var(--fg); }
.step .h4 { margin-bottom: 8px; }
.note-line { margin-top: 32px; font-family: var(--font-mono); font-stretch: normal; font-size: 16px; line-height: 1.5; opacity: .7; text-transform: uppercase; }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.tools__group .h5 { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li {
  padding: 8px 14px; border-radius: 48px; background: var(--card-bg);
  font-size: 14px; line-height: 20px; letter-spacing: -0.01em;
}

.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.package {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 36px; border-radius: var(--radius-card); background: var(--card-bg);
}
.package--featured { background: var(--solid-bg); color: var(--solid-fg); }
.package__badge {
  align-self: flex-start; margin-bottom: 4px; padding: 4px 12px; border-radius: 48px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: -0.01em;
  background: var(--solid-fg); color: var(--solid-bg);
}
.package__price { margin-top: 18px; }
.package__setup { opacity: .7; }
.package__for { margin-top: 18px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.package__promise { margin-top: 18px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.package__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.package__list li { position: relative; padding-left: 18px; }
.package__list li::before { content: "/"; position: absolute; left: 0; font-family: var(--font-mono); opacity: .5; }
.package__list + .package__for { margin-top: auto; padding-top: 18px; }
.package__list { margin-bottom: 18px; }
.fineprint { margin-top: 20px; font-size: 14px; line-height: 20px; opacity: .7; }

.sub-cta { margin-top: 128px; }

/* ---------- About ---------- */
.about { margin-top: 128px; }
.about__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 509px));
  justify-content: space-between; row-gap: 52px; margin-top: 42px;
}
.about__item .h3 { display: flex; align-items: flex-start; gap: 8px; }
.about__item .h3 .dot { margin-top: .6em; }
.dot { width: 4px; height: 4px; border-radius: 24px; background: currentColor; flex: none; }
.about__item .body-l { margin-top: 24px; padding-left: 12px; }

/* ---------- Marquee ---------- */
.marquee {
  margin-top: 123px; height: 249px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--band-bg); color: var(--band-fg);
}
.marquee__track {
  display: flex; white-space: nowrap; width: max-content;
  font-family: var(--font-mono); font-weight: 500; font-stretch: normal;
  font-size: 140px; line-height: 1.1; letter-spacing: -0.02em;
  animation: marquee 40s linear infinite;
}
.marquee__track span { padding-right: .35em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- How it works ---------- */
.how { margin-top: 52px; }
.how__head { display: flex; align-items: flex-end; gap: 81px; }
.how__rule { display: flex; flex-direction: column; gap: 9px; max-width: 320px; }
.how__cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px; margin-top: 69px;
}
.how-card {
  display: flex; flex-direction: column;
  aspect-ratio: 592 / 500; border-radius: var(--radius-card);
  padding: 47px 41px 42px 42px;
  background: var(--card-bg);
}
.how-card__num { align-self: flex-end; }
.how-card__art {
  position: relative; overflow: hidden; mix-blend-mode: darken;
  margin: 76px auto 32px; flex: none;
}
.how-card__art img { position: absolute; max-width: none; width: 222.86%; height: 145.65%; top: -23.15%; }
.how-card__art--1 { width: 40.71%; aspect-ratio: 241 / 185; }
.how-card__art--1 img { left: -5.15%; }
.how-card__art--2 { width: 43.75%; aspect-ratio: 796 / 609; margin-top: 66px; }
.how-card__art--2 img { left: -117.9%; }
[data-theme="dark"] .how-card__art { mix-blend-mode: lighten; }
[data-theme="dark"] .how-card__art img { filter: invert(1); }
.how-card__text { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
/* Side-by-side cards: share rows so BUILD IT / RUN IT titles line up */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .how__cards { grid-template-rows: auto 1fr auto auto; row-gap: 0; }
    .how-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
    .how-card__num { justify-self: end; }
    .how-card__text { display: contents; }
    .how-card__text h3 { align-self: end; margin-bottom: 6px; }
  }
}

/* ---------- Footer ---------- */
.footer { margin-top: 104px; padding-bottom: 57px; }
.footer__cta { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer__note { max-width: 460px; margin-bottom: 14px; }
.footer__email { margin-top: 12px; opacity: .7; }
.footer__email:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-top: 62px;
  font-family: var(--font-mono); font-stretch: normal;
  font-size: 14px; line-height: 22px; letter-spacing: -0.01em; text-transform: uppercase;
}
.footer__links { display: flex; gap: 40px; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .display-m { font-size: 64px; }
  .h1 { font-size: 52px; }
  .marquee { height: 180px; }
  .marquee__track { font-size: 100px; }
  .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .how-card { padding: 32px; }
  .how-card__art, .how-card__art--2 { margin-top: 32px; margin-bottom: 24px; }
  .header__logo img { width: 160px; }
}

@media (max-width: 1100px) {
  .cards--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__media--cta { aspect-ratio: auto; min-height: 100%; padding: 24px; }
  .packages { grid-template-columns: 1fr; max-width: 560px; }
  .feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { padding-top: 180px; }
  .header { padding-top: 32px; }
  .nav { gap: 4px; }
  .nav__tap { padding: 12px; font-size: 14px; }
  .header__logo img { width: 150px; }
  .hero { padding-top: 180px; }
  .how-card { aspect-ratio: auto; }
}

/* ---------- Compact header: hamburger below 900px ---------- */
@media (max-width: 900px) {
  .header__inner { height: 44px; }
  .header__logo img { width: 120px; }
  .nav, .header__inner > .theme-toggle { display: none; }
  .menu-btn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--solid-bg);
  }
  .menu-btn span { width: 16px; height: 2px; border-radius: 2px; background: var(--solid-fg); transition: transform .2s ease, opacity .2s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 4px;
    margin: 12px 16px 0; padding: 8px;
    background: var(--pill-bg); border-radius: 24px; box-shadow: var(--nav-shadow);
  }
  .mobile-menu a {
    padding: 14px 16px; border-radius: 16px;
    font-size: 16px; text-transform: uppercase;
  }
  .mobile-menu a:active { background: var(--pill-active-bg); color: var(--pill-active-fg); }
  .mobile-menu__theme {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 8px 8px 16px; font-size: 16px;
  }
  .theme-toggle--menu { width: 80px; height: 44px; padding: 4px; box-shadow: none; background: var(--bg); }
  .theme-toggle--menu .theme-toggle__knob { width: 36px; height: 36px; background: var(--fg); }
  [data-theme="dark"] .theme-toggle--menu .theme-toggle__knob { transform: translateX(36px); }

}

/* ============================================================
   Mobile (Figma: Home – Light Mode – Mobile, 375)
   ============================================================ */
@media (max-width: 760px) {
  :root { --gutter: 16px; --radius-card: 24px; }

  .h2 { font-size: 24px; }
  .h3 { font-size: 20px; }
  .h4 { font-size: 20px; }
  .h1 { font-size: 32px; }
  .display-m { font-size: 44px; }
  .body-xl { font-size: 16px; }
  .body-l { font-size: 14px; line-height: 20px; }

  .header { padding-top: 16px; }
  .header__logo img { width: 89px; }

  .hero { padding-top: 110px; padding-bottom: 72px; }
  .hero__bg {
    width: 100vw; opacity: .85;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 62%);
            mask-image: linear-gradient(to bottom, #000 30%, transparent 62%);
  }
  .hero__tags { gap: 16px; margin-top: 16px; font-size: 12px; justify-content: space-between; }
  .hero__blurb { margin-top: 20px; }
  .hero__previously { font-size: 11px; line-height: 18px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 28px; }
  .hero__talk .body-xl { font-size: 14px; }
  .hero__foot .pill { align-self: flex-end; }

  .pill { padding: 10px 16px; font-size: 14px; }
  .pill--solid { min-width: 0; width: 100%; padding: 24px; font-size: 14px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head__text { gap: 16px; max-width: none; }
  .more { font-size: 14px; }

  .cards { grid-template-columns: 1fr; row-gap: 32px; margin-top: 24px; }
  .card .h4 { margin-top: 16px; }

  .about { margin-top: 72px; }
  .about__grid { grid-template-columns: 1fr; row-gap: 20px; margin-top: 16px; }
  .about__item .body-l { margin-top: 10px; }

  .marquee { margin-top: 64px; height: 100px; }
  .marquee__track { font-size: 48px; }

  .how { margin-top: 24px; }
  .how__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .how__rule .h5 { font-size: 14px; }
  .how__cards { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .how-card { aspect-ratio: auto; padding: 24px; }
  .how-card__num { font-size: 18px; }
  .how-card__art--1 { width: 50%; }
  .how-card__art--2 { width: 54%; }

  .cards--six, .cards--four { grid-template-columns: 1fr; }
  .card__media--cta { aspect-ratio: auto; padding: 24px; }
  .page-hero { padding-top: 120px; padding-bottom: 48px; }
  .page-hero__eyebrow { font-size: 14px; }
  .page-hero__actions .pill--solid { width: auto; }
  .page-hero__bg {
    --art-w: 110vw;
  }
  .section, .sub-cta { margin-top: 72px; }
  .pain-list, .feature-grid, .feature-grid--3, .steps, .tools { grid-template-columns: 1fr; }
  .feature-grid, .steps, .tools, .packages { margin-top: 24px; gap: 16px; }
  .feature { min-height: 0; padding: 24px; }
  .feature h3 { margin-top: 24px; }
  .feature { gap: 8px; }
  .package { padding: 24px; }
  .footer { margin-top: 72px; padding-bottom: 32px; }
  .footer__bar { flex-direction: column; gap: 8px; margin-top: 40px; font-size: 12px; }
  .footer__links a, .more, .hero__talk a, .footer__email, .header__logo { display: inline-flex; align-items: center; min-height: 44px; }
  .skip { padding: 12px 16px; }
}

@media (max-width: 360px) {
  .hero__tags { flex-direction: column; gap: 0; }
}

@media (max-width: 360px) {
  .display-m { font-size: 34px; }
}

/* ---------- Hidden landing pages (for/<industry>/) ---------- */
.lp-header__actions { display: flex; align-items: center; gap: 16px; }
.pill--header { min-width: 0; padding: 16px 22px; font-size: 14px; }
.lp-previously { margin-top: 32px; font-family: var(--font-mono); font-stretch: normal; font-size: 14px; line-height: 1.5; text-transform: uppercase; opacity: .7; }

.lp-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; }
.lp-about__text { display: flex; flex-direction: column; gap: 20px; }

.faq { margin-top: 32px; border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.faq__item { border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-mono); font-size: 24px; line-height: 1; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { max-width: 720px; padding-bottom: 24px; }

.sticky-cta { display: none; }

@media (max-width: 900px) {
  .lp .lp-header__actions .theme-toggle { display: block; }
}
@media (max-width: 760px) {
  .pill--header { display: none; }
  .lp-about { grid-template-columns: 1fr; gap: 16px; }
  .lp .footer { padding-bottom: 32px; }
  .sticky-cta {
    display: block; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--bg); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .pill--solid { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
