/* ============================================================
   SyncSalez marketing site
   Visual register: quiet, editorial, warm-neutral canvas (a la grey.co).
   Mirror Blue is the only saturated color — used sparingly.
   ============================================================ */

/* Re-declare the local font with the right path (assets/fonts) */
@font-face {
  font-family: 'Google Sans';
  src: url('fonts/GoogleSans-VariableFont_GRAD_opsz_wght.ttf') format('truetype-variations'),
       url('fonts/GoogleSans-VariableFont_GRAD_opsz_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* SyncSalez brand — Mirror Blue 500 is the sole action colour */
  --mirror-blue-50:  #EFF4FE;
  --mirror-blue-100: #DCE7FD;
  --mirror-blue-500: #2463EB;
  --mirror-blue-600: #1D4FBC;
  --mirror-blue-700: #163B8D;
  --mirror-blue-900: #07142F;
  --dark-sea-green-500: #EC935E;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --mirror-blue-300: #95B7FA;
  --mirror-blue-400: #729FF7;
  --green-500: #0BB02F;
  --green-700: #076A1C;
  --crimson-500: #DE1135;

  /* white canvas, slate-50 alternate band, slate-900 dark transactional surfaces */
  --canvas:        #FFFFFF;
  --canvas-alt:    var(--slate-50);
  --canvas-deep:   var(--slate-900);
  --paper:         #FFFFFF;
  --paper-warm:    #FFFFFF;
  --ink:           var(--slate-900);                 /* Slate 900 — primary text */
  --ink-2:         rgba(15,23,42,0.6);               /* supporting text */
  --ink-3:         rgba(15,23,42,0.4);               /* placeholder / meta */
  --off-white:     #FCFCFC;                          /* on-primary / on-inverse text */
  --rule:          rgba(15,23,42,0.10);              /* border-1 */
  --rule-soft:     rgba(15,23,42,0.06);              /* border-subtle */

  /* canonical slate-tinted shadows (never black) */
  --shadow-xs:    0 1px 2px 0 rgba(15,23,42,0.04);
  --shadow-sm:    0 1px 3px 0 rgba(15,23,42,0.06), 0 1px 2px -1px rgba(15,23,42,0.04);
  --shadow-md:    0 4px 8px -2px rgba(15,23,42,0.08), 0 2px 4px -2px rgba(15,23,42,0.04);
  --shadow-lg:    0 12px 24px -4px rgba(15,23,42,0.10), 0 4px 8px -4px rgba(15,23,42,0.06);
  --shadow-card:  0 1px 0 0 rgba(15,23,42,0.04), 0 1px 3px 0 rgba(15,23,42,0.06);

  /* type */
  --font-display: 'Google Sans', system-ui, sans-serif;
  --font-ui:      'Google Sans', system-ui, sans-serif;
  --font-action:  'Urbanist', 'Google Sans', system-ui, sans-serif;
  --font-marketing: 'Manrope', 'Google Sans', system-ui, sans-serif;

  /* radii (4-pt grid) — design system canonical */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   18px;
  --r-2xl:  24px;
  --r-pill: 9999px;

  /* spacing (4-pt grid) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* layout */
  --max-w: 1280px;
  --gutter: 32px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.020em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--mirror-blue-500); color: #fff; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--lg { padding: 128px 0; }
.band-alt { background: var(--canvas-alt); }
.band-paper { background: var(--canvas-alt); }
.band-dark { background: var(--canvas-deep); color: var(--off-white); }
.band-blue { background: var(--mirror-blue-500); color: #fff; }

/* ============================================================
   FINAL CTA — text on the left, photo flush against the bottom-
   right corner of the blue frame at the SAME visual ratio across
   every viewport.

   Image positions to the SECTION (`.final-cta`), not the container
   — the container has gutters/max-width that would leave a gap on
   the right. The section is full-bleed, so right: 0 + bottom: 0
   pin the image to the actual blue frame corners. Width is in vw
   so the visual ratio stays identical at every breakpoint.
   ============================================================ */
.final-cta {
  overflow: hidden;
  /* .section already provides position: relative — the image
     resolves its absolute coordinates against this section. */
}
.final-cta__inner {
  /* Intentionally NOT position: relative. We want the image inside
     this DOM node to position against the section, not the .container. */
}
.final-cta__text {
  position: relative;
  z-index: 2;
  max-width: 52%;
}
.final-cta__image {
  position: absolute;
  right:  0;             /* flush against the section's right edge */
  bottom: 0;             /* flush against the section's bottom edge */
  width:  56vw;          /* fixed visual ratio — same at every viewport size */
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  user-select: none;
  z-index: 1;            /* below the text — overlap is fine, text wins */
}

/* Cap the image at very large viewports so it doesn't blow up
   beyond a sensible maximum. Still pinned bottom-right. */
@media (min-width: 1600px) {
  .final-cta__image { width: 896px; }
}

/* Mid-size devices (tablet / small laptop) — bump the image up so
   it doesn't feel underweight against the headline. Text column
   tightens to compensate; overlap is fine, text wins z-index. */
@media (max-width: 1100px) {
  .final-cta__image { width: 64vw; }
  .final-cta__text  { max-width: 50%; }
}

/* Tablet portrait — push it a bit further. */
@media (max-width: 900px) {
  .final-cta__image { width: 70vw; }
  .final-cta__text  { max-width: 50%; }
}

/* Mobile — image still anchored bottom-right, text gets more room
   so headlines breathe. */
@media (max-width: 720px) {
  .final-cta__image { width: 66vw; }
  .final-cta__text  { max-width: 54%; }
}

/* Small phones — image is hidden entirely. At this size the photo
   competes too aggressively with the headline; text gets the full
   width and the section reads as a clean blue panel. */
@media (max-width: 480px) {
  .final-cta__image { display: none; }
  .final-cta__text  { max-width: 100%; }
}

/* ============================================================
   TYPOGRAPHY (editorial, grey.co register)
   ============================================================ */
.eyebrow {
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 99px;
  background: var(--mirror-blue-500);
  display: inline-block;
}
.eyebrow--light { color: rgba(255,255,255,0.7); }

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
}
.h-1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.030em;
  margin: 0;
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin: 0;
}
.h-3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0;
}
.h-4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  margin: 0;
}
.lead {
  font-family: var(--font-marketing);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.008em;
  font-weight: 400;
  max-width: 56ch;
}
.body {
  font-family: var(--font-marketing);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 400;
}
.meta {
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* outlined editorial number */
.outline-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   BUTTONS  (grey.co: pill buttons with arrow)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { width: 22px; height: 22px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(2px); }
.btn--primary { background: var(--mirror-blue-500); color: #fff; }
.btn--primary:hover { background: var(--mirror-blue-600); }
.btn--primary .arr { background: rgba(255,255,255,0.18); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: rgba(15,23,42,0.04); }
.btn--invert { background: var(--off-white); color: var(--ink); }
.btn--invert .arr { background: rgba(15,23,42,0.08); }
.btn--sm { padding: 9px 14px 9px 16px; font-size: 13px; gap: 8px; }
.btn--sm .arr { width: 18px; height: 18px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-action); font-weight: 600;
  font-size: 14px; letter-spacing: 0.005em;
  color: var(--ink); padding-bottom: 3px;
  border-bottom: 1px solid var(--rule);
  transition: border-color .18s ease, color .18s ease;
}
.link-arrow:hover { color: var(--mirror-blue-500); border-color: var(--mirror-blue-500); }
.link-arrow .arr-i { transition: transform .18s ease; }
.link-arrow:hover .arr-i { transform: translate(2px,-2px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.nav__logo svg { height: 18px; width: auto; color: var(--mirror-blue-500); }
.nav__links {
  display: flex; align-items: center; gap: 4px;
  margin-left: 24px;
}
.nav__item {
  position: relative;
  padding: 8px 14px;
  font-family: var(--font-action);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__item:hover { background: rgba(15,23,42,0.05); }
.nav__item .chev { width: 12px; height: 12px; opacity: 0.5; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__login { font-family: var(--font-action); font-weight: 500; font-size: 14px; color: var(--ink); padding: 8px 14px; }
.nav__login:hover { color: var(--mirror-blue-500); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px); left: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 14px;
  min-width: 280px;
  box-shadow: 0 12px 40px -8px rgba(15,23,42,0.18), 0 4px 12px -4px rgba(15,23,42,0.08);
  display: none;
  z-index: 110;
}
.nav__item.has-dropdown { cursor: pointer; user-select: none; }
.nav__item.has-dropdown.is-open .dropdown { display: grid; }
.nav__item .chev { transition: transform .18s ease; }
.nav__item.has-dropdown.is-open .chev { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center;
  padding: 9px 12px;
  border-radius: 12px;
  font-family: var(--font-marketing);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.dropdown a:hover { background: rgba(36,99,235,0.08); color: var(--mirror-blue-500); }
.dropdown--two-col { grid-template-columns: 1fr 1fr; min-width: 460px; gap: 2px 8px; }

/* mobile nav: hamburger sits flush against the primary CTA */
.nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.nav__hamburger:hover { background: rgba(15,23,42,0.04); }
.nav__hamburger svg { display: block; transition: transform .2s ease; }
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta .nav__login { display: none; }
  .nav__cta { gap: 8px; }
  .nav__inner { gap: 12px; }
  .nav__hamburger { display: inline-flex; }
}

/* ============================================================
   FULLSCREEN MOBILE MENU OVERLAY
   ============================================================ */
body.menu-open { overflow: hidden; }
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
body.menu-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease;
}
.nav-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--rule-soft);
  flex-shrink: 0;
}
.nav-overlay__top .nav__logo { color: var(--ink); }
.nav-overlay__top .nav__logo svg { color: var(--mirror-blue-500); }
.nav-overlay__close {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .18s ease;
}
.nav-overlay__close:hover { background: rgba(15,23,42,0.04); }
.nav-overlay__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-overlay__group {
  border-bottom: 1px solid var(--rule-soft);
  padding: 4px 0 12px;
}
.nav-overlay__group:last-of-type { border-bottom: 0; }
.nav-overlay__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.nav-overlay__heading svg { width: 18px; height: 18px; transition: transform .2s ease; opacity: 0.4; }
.nav-overlay__group.is-open .nav-overlay__heading svg { transform: rotate(180deg); opacity: 1; }
.nav-overlay__sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 4px 12px;
}
.nav-overlay__group.is-open .nav-overlay__sub { display: flex; }
.nav-overlay__sub a {
  font-family: var(--font-marketing);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink-2);
  padding: 10px 4px;
  border-radius: 8px;
  letter-spacing: -0.005em;
  transition: color .15s ease, background-color .15s ease;
}
.nav-overlay__sub a:hover { color: var(--mirror-blue-500); }
.nav-overlay__leaf {
  display: block;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.nav-overlay__leaf:hover { color: var(--mirror-blue-500); }
.nav-overlay__foot {
  flex-shrink: 0;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-overlay__foot .btn { justify-content: center; width: 100%; }
.nav-overlay__login {
  text-align: center;
  font-family: var(--font-action);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  padding: 6px 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 56px 0 72px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: end;
}
.hero__title { margin-bottom: 28px; }
.hero__title em { font-style: normal; color: var(--ink-3); }
.hero__lead { margin-bottom: 36px; max-width: 50ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- Full-bleed image hero (Vectura-style) ---- */
.hero--image {
  padding: 12px 12px 0;
  position: relative;
}
.hero--image .hero__image {
  position: relative;
  width: 100%;
  height: calc(100vh - 92px);
  min-height: 620px;
  max-height: 880px;
  border-radius: 20px;
  overflow: hidden;
  background: #0F172A;
  isolation: isolate;
}
.hero--image .hero__image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.35) 0%, rgba(15,23,42,0.55) 60%, rgba(15,23,42,0.70) 100%),
    radial-gradient(60% 50% at 50% 50%, rgba(15,23,42,0) 0%, rgba(15,23,42,0.45) 100%);
}
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.hero__center {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero--image .hero__title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.030em;
  color: #FFFFFF;
  max-width: 18ch;
  text-wrap: balance;
}
.hero--image .hero__lead {
  margin: 0 auto 44px;
  max-width: 58ch;
  font-family: var(--font-marketing);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.005em;
}
.hero--image .hero__ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Pill-shaped CTAs over image */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 9999px;
  font-family: var(--font-action);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-pill--light {
  background: #FFFFFF;
  color: var(--ink);
}
.btn-pill--light:hover {
  background: var(--mirror-blue-500);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.btn-pill--dark {
  background: rgba(15,23,42,0.55);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-pill--dark:hover {
  background: rgba(15,23,42,0.75);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #6B86E8 0%, #4F6FE0 100%);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  background: rgba(252,252,252,0.94);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 28px -8px rgba(15,23,42,0.2);
  text-align: left;
}
.hero__badge--sync {
  bottom: 24px; left: 24px;
}
.hero__badge--sale {
  top: 24px; right: 24px;
}
.dot-pulse { width: 9px; height: 9px; border-radius: 99px; background: var(--green-500); position: relative; }
.dot-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 99px;
  background: var(--green-500);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { aspect-ratio: 3 / 4; }
  .hero--image { padding: 8px 8px 0; }
  .hero--image .hero__image {
    height: calc(100vh - 76px);
    min-height: 540px;
    border-radius: 14px;
  }
  .hero--image .hero__title { font-size: clamp(34px, 9vw, 52px); }
  .hero--image .hero__lead { font-size: 16px; margin-bottom: 32px; }
  .btn-pill { height: 50px; padding: 0 24px; font-size: 15px; }
  .hero__content { padding: 32px 16px; }
}

/* ============================================================
   SECTION HEADERS (large editorial intro for each band)
   ============================================================ */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-bottom: 56px;
  align-items: end;
}
.sec-head .meta-row { display: flex; align-items: baseline; gap: 16px; }
.sec-head .meta-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: 14px; color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 800px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   TWO-COL FEATURE BLOCKS
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-block--rev { direction: rtl; }
.feature-block--rev > * { direction: ltr; }
.feature-block .text h3 { margin-bottom: 20px; }
.feature-block .text p { margin: 0 0 24px; max-width: 48ch; }
.feature-block .visual {
  aspect-ratio: 5 / 4;
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 0 0 rgba(15,23,42,0.04), 0 1px 3px 0 rgba(15,23,42,0.05);
}
@media (max-width: 900px) {
  .feature-block, .feature-block--rev { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
}

/* ============================================================
   PHONE MOCK (for product visuals)
   ============================================================ */
.phone {
  width: 280px;
  aspect-ratio: 412 / 917;
  background: #0F172A;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 24px 48px -12px rgba(15,23,42,0.25), 0 8px 20px -4px rgba(15,23,42,0.12);
}
.phone__screen {
  width: 100%; height: 100%;
  background: var(--slate-50);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: var(--font-ui);
  position: relative;
}
.phone__statusbar {
  height: 22px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 18px 0;
  font-size: 11px; font-weight: 600;
  color: var(--slate-900);
}
.phone__statusbar--blue { color: #fff; background: var(--mirror-blue-500); }

.phone__appbar {
  background: var(--mirror-blue-500);
  color: #fff;
  padding: 10px 14px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.phone__appbar h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0; }

/* tiny POS/inventory rows for mock screens */
.mock-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(15,23,42,0.06);
  font-size: 12px;
}
.mock-row:last-child { border-bottom: 0; }
.mock-row .thumb {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--mirror-blue-50); color: var(--mirror-blue-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-action); font-weight: 700; font-size: 11px;
}
.mock-row .row-name { font-weight: 600; color: var(--slate-900); font-size: 11.5px; }
.mock-row .row-meta { color: var(--slate-500); font-size: 10.5px; }
.mock-row .row-amt { margin-left: auto; font-weight: 700; color: var(--slate-900); font-size: 11.5px; }

.mock-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin: 12px;
  box-shadow: 0 1px 0 rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.06);
}

/* ============================================================
   BIG CTA BAND
   ============================================================ */
.big-cta {
  text-align: center;
  padding: 128px 0;
}
.big-cta h2 { margin-bottom: 24px; }
.big-cta p { margin: 0 auto 36px; max-width: 56ch; }

/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 28px 0;
  background: var(--paper);
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 64px;
  animation: marquee 38s linear infinite;
  width: max-content;
  align-items: center;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
}
.marquee__item::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 99px;
  background: var(--ink-3);
  display: inline-block;
  margin-left: 64px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 24px;
  border: 1px solid var(--rule-soft);
}
.t-card .quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.t-card .quote .hl { background: linear-gradient(180deg, transparent 60%, rgba(36,99,235,0.18) 60%); padding: 0 2px; }
.t-card .person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-card .avatar { width: 44px; height: 44px; border-radius: 99px; background: var(--mirror-blue-500); color: #fff; font-family: var(--font-action); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.t-card .who { font-family: var(--font-marketing); font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.3; }
.t-card .where { font-family: var(--font-marketing); font-size: 13px; color: var(--ink-2); margin-top: 2px; }

@media (max-width: 880px) { .t-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto;
  gap: 4px;
}
.toggle button {
  border: 0; background: transparent;
  padding: 8px 18px;
  font-family: var(--font-action); font-weight: 600; font-size: 14px;
  border-radius: 999px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.toggle button.is-on { background: var(--ink); color: var(--off-white); }
.toggle .save { font-size: 11px; padding: 2px 7px; border-radius: 99px; background: var(--mirror-blue-50); color: var(--mirror-blue-700); font-weight: 700; }
.toggle button.is-on .save { background: rgba(252,252,252,0.18); color: var(--off-white); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.price-card.is-feat { background: var(--ink); color: var(--off-white); border-color: var(--ink); }
.price-card.is-feat .price-name { color: var(--off-white); }
.price-card.is-feat .price-sub { color: rgba(252,252,252,0.65); }
.price-card.is-feat .price-num { color: var(--off-white); }
.price-card.is-feat .price-feat li { color: rgba(252,252,252,0.85); }
.price-card.is-feat .price-feat li::before { background: rgba(252,252,252,0.4); }
.price-name { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
.price-sub { font-family: var(--font-marketing); font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.price-num { font-family: var(--font-display); font-weight: 500; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.price-num small { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.price-feat { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.price-feat li {
  font-family: var(--font-marketing); font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
  position: relative; padding-left: 22px;
}
.price-feat li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px; background: var(--ink-3); border-radius: 99px;
}
.price-card.is-feat .badge {
  font-family: var(--font-action); font-weight: 700; font-size: 11px;
  background: var(--mirror-blue-500); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  align-self: flex-start; letter-spacing: 0.04em; text-transform: uppercase;
}

@media (max-width: 1100px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq__list { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: transparent; border: 0;
  padding: 22px 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: 19px; letter-spacing: -0.02em;
  color: var(--ink); text-align: left;
}
.faq__q .pm { width: 32px; height: 32px; border-radius: 99px; background: rgba(15,23,42,0.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .18s ease, transform .25s ease; }
.faq__item.is-open .faq__q .pm { background: var(--ink); color: var(--off-white); transform: rotate(45deg); }
.faq__a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.faq__a-inner { padding: 0 0 22px; max-width: 60ch; }
.faq__a-inner p { font-family: var(--font-marketing); font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.faq__item.is-open .faq__a { max-height: 300px; }

@media (max-width: 800px) { .faq__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   QUIZ HOOK / RESOURCES CARDS
   ============================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.r-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--rule-soft);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 300px;
}
.r-card .num { font-family: var(--font-display); font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.r-card h4 { margin-top: auto; }
.r-card p { font-family: var(--font-marketing); font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }
@media (max-width: 880px) { .cards-3 { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--canvas-deep);
  color: rgba(252,252,252,0.85);
  padding: 96px 0 32px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(252,252,252,0.12);
}
.footer__brand-blurb {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--off-white);
  max-width: 30ch;
  margin: 16px 0 24px;
  font-weight: 500;
}
.footer h5 { font-family: var(--font-action); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(252,252,252,0.5); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-family: var(--font-marketing); font-size: 14px; color: rgba(252,252,252,0.78); }
.footer ul a:hover { color: var(--off-white); }
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(80px, 18vw, 240px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(252,252,252,0.10);
  margin: 64px 0 24px;
  white-space: nowrap;
  overflow: hidden;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-marketing); font-size: 13px; color: rgba(252,252,252,0.55);
}
.footer__socials { display: flex; gap: 8px; }
.footer__socials a {
  width: 36px; height: 36px; border-radius: 99px;
  background: rgba(252,252,252,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(252,252,252,0.7);
}
.footer__socials a:hover { background: rgba(252,252,252,0.14); color: var(--off-white); }
.footer__locale { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(252,252,252,0.16); }

@media (max-width: 1000px) { .footer__top { flex-direction: column; gap: 40px; } }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 90;
  padding: 10px 12px;
  background: var(--ink); color: var(--off-white);
  border-radius: 999px;
  font-family: var(--font-action); font-weight: 600; font-size: 14px;
  align-items: center; justify-content: space-between;
  transition: background-color .25s ease, color .25s ease;
}
/* Contextual states — toggled by stickyCtaCtl() in site.js based on
   which band the CTA is sitting in front of.
   • on-dark : slate-900 surfaces → flip to brand blue
   • on-blue : mirror-blue surfaces → flip to white pill with ink text
   The default slate-900 pill stays untouched on light canvas sections. */
.sticky-cta.sticky-cta--on-dark {
  background: var(--mirror-blue-500);
  color: #FFFFFF;
}
.sticky-cta.sticky-cta--on-blue {
  background: #FFFFFF;
  color: var(--ink);
}
@media (max-width: 720px) { .sticky-cta { display: flex; } }

/* ============================================================
   UTILITIES
   ============================================================ */
.center { text-align: center; }
.mxa { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-12 { margin-top: 12px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-12 { margin-bottom: 12px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* tag chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(36,99,235,0.08);
  color: var(--mirror-blue-700);
  font-family: var(--font-action); font-weight: 600; font-size: 12px;
}
.chip--warm { background: rgba(236,147,94,0.12); color: var(--dark-sea-green-500); }
.chip--green { background: rgba(11,176,47,0.10); color: var(--green-700); }
.chip--dark { background: rgba(15,23,42,0.08); color: var(--ink); }

/* pull-quote callouts (in feature pages) */
.callout {
  background: var(--paper);
  border-left: 3px solid var(--mirror-blue-500);
  padding: 24px 28px;
  border-radius: 0 16px 16px 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; line-height: 1.3; letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============================================================
   QUIZ — Is SyncSalez right for your shop?
   States are switched by `data-state` on `.quiz`:
     intro  → show .quiz__view--intro
     active → show .quiz__view--active
     result → show .quiz__view--result
   ============================================================ */
.quiz {
  background: var(--mirror-blue-500);
  color: #fff;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.quiz__view { display: none; }
.quiz[data-state="intro"]  .quiz__view--intro,
.quiz[data-state="active"] .quiz__view--active,
.quiz[data-state="result"] .quiz__view--result { display: block; }

/* ---- Intro ---- */
.quiz__view--intro {
  display: none;
}
.quiz[data-state="intro"] .quiz__view--intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.quiz__meta { color: rgba(255,255,255,0.7); }
.quiz__dot {
  background: #fff; width: 6px; height: 6px;
  border-radius: 99px; margin-right: 8px; display: inline-block;
}
.quiz__title { color: #fff; margin-bottom: 20px; }
.quiz__lead {
  color: rgba(255,255,255,0.85);
  max-width: 42ch;
  margin-bottom: 32px;
}
.quiz__preview {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.16);
}
.quiz__preview-meta {
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.quiz__preview-q {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
}
.quiz__preview-options { display: flex; flex-direction: column; gap: 8px; }
.quiz__preview-options > div {
  background: rgba(255,255,255,0.10);
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quiz__preview-more {
  background: transparent !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.55);
  padding: 4px 16px !important;
}

/* ---- Active question ---- */
.quiz__view--active { max-width: 720px; margin: 0 auto; }
.quiz__progress { margin-bottom: 28px; }
.quiz__progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.quiz__progress-label {
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}
.quiz__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color .15s ease, background-color .15s ease;
}
.quiz__back:hover { color: #fff; background: rgba(255,255,255,0.10); }
.quiz__back:disabled { opacity: 0.3; cursor: not-allowed; }
.quiz__progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.16);
  border-radius: 99px;
  overflow: hidden;
}
.quiz__progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 99px;
  width: 16.66%; /* 1/6 = q1 */
  transition: width .35s cubic-bezier(.4,0,.2,1);
}

.quiz__q-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.024em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 24px;
}

.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz__option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.10);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .12s ease;
}
.quiz__option:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
}
.quiz__option:active { transform: scale(.99); }
.quiz__option.is-picked {
  background: #fff;
  color: var(--mirror-blue-700);
  border-color: #fff;
}
.quiz__option-arr { opacity: 0.55; transition: transform .2s ease, opacity .15s ease; }
.quiz__option:hover .quiz__option-arr { opacity: 1; transform: translateX(2px); }
.quiz__option.is-picked .quiz__option-arr { opacity: 1; }

/* ---- Result ---- */
.quiz__view--result { display: none; }
.quiz[data-state="result"] .quiz__view--result {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.quiz__result-meta {
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.quiz__result-meta::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 99px;
  background: #fff;
}
.quiz__result-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.026em;
  color: #fff;
  margin: 0 0 20px;
}
.quiz__result-body {
  font-family: var(--font-marketing);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  max-width: 50ch;
  margin: 0 0 28px;
}
.quiz__result-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.quiz__result-feature {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 14px 14px;
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.quiz__result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.quiz__retake {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  padding: 14px 4px;
  margin-top: 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .15s ease;
}
.quiz__retake:hover { color: #fff; }

.quiz__plan-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}
.quiz__plan-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #fff;
  color: var(--mirror-blue-700);
  border-radius: 9999px;
  font-family: var(--font-action);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
}
.quiz__plan-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
.quiz__plan-price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}
.quiz__plan-price small {
  font-family: var(--font-marketing);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-left: 6px;
}
.quiz__plan-note {
  font-family: var(--font-marketing);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0;
}
.quiz__plan-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15,23,42,0.20);
  margin-top: 4px;
}
.quiz__plan-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ============================================================
   QUIZ — RESULT MEDIA (replaces .quiz__plan-card; no pricing).
   Used for Results 2/3/4 where a vertical persona image anchors
   the recommendation visually next to the body copy + CTA.
   ============================================================ */
.quiz__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
}
.quiz__media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15,23,42,0.20);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 48px -24px rgba(15,23,42,0.45);
}
.quiz__media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.quiz__media-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.quiz__media-meta {
  font-family: var(--font-action);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.quiz__media-line {
  font-family: var(--font-marketing);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
}

/* ============================================================
   QUIZ — ANIMATED GAUGE (replaces the persona image).
   A 270° dial whose fill amount and colour are driven by the
   visitor's quiz score. The gradient is selected per tier
   (.gauge--service / --light / --standard / --growth / --priority)
   and the fill peak is set per-instance via --gauge-target.
   ============================================================ */
@property --gauge-target {
  syntax: '<number>';
  inherits: true;
  initial-value: 28;
}
.quiz__media-frame--gauge {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  /* Override the base .quiz__media-frame's portrait aspect-ratio so
     the frame collapses to the SVG's natural size (no empty padding). */
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
}
.gauge {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  --gauge-target: 28;
}
/* Ticks adopt the quiz panel's background colour so they punch clean
   gaps through the colored band without leaving visible slivers. */
.gauge__ticks { stroke: var(--mirror-blue-500); }
.gauge__fill {
  animation: quiz-gauge-fill 2.2s cubic-bezier(0.22, 1, 0.36, 1) 1 both;
}
.gauge__head {
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
  animation: quiz-gauge-head 2.2s cubic-bezier(0.22, 1, 0.36, 1) 1 both;
}

/* Tier-specific glow on the fill — matches the gradient temperature
   so the warm/hot tiers radiate and the cool tiers stay restrained. */
.gauge--service  .gauge__fill { filter: drop-shadow(0 0  9px rgba( 70, 120, 230, 0.45)); }
.gauge--light    .gauge__fill { filter: drop-shadow(0 0  9px rgba(255, 200, 160, 0.40)); }
.gauge--standard .gauge__fill { filter: drop-shadow(0 0 10px rgba(255, 130,  50, 0.50)); }
.gauge--growth   .gauge__fill { filter: drop-shadow(0 0 12px rgba(255, 100,  30, 0.55)); }
.gauge--priority .gauge__fill { filter: drop-shadow(0 0 14px rgba(255,  40,  40, 0.60)); }

@keyframes quiz-gauge-fill {
  0%   { stroke-dashoffset: 100; }
  10%  { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: var(--gauge-target); }
}
@keyframes quiz-gauge-head {
  0%   { stroke-dashoffset: 100; opacity: 0; }
  10%  { stroke-dashoffset: 100; opacity: 0; }
  22%  { opacity: 1; }
  100% { stroke-dashoffset: var(--gauge-target); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .gauge__fill {
    animation: none;
    stroke-dashoffset: var(--gauge-target);
  }
  .gauge__head {
    animation: none;
    stroke-dashoffset: var(--gauge-target);
    opacity: 1;
  }
}

/* Single-column result layout when there is no media aside
   (Results 1 = service lead, 5 = light fit). */
.quiz.quiz--no-aside .quiz__view--result {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* Secondary CTA on Result 2 — translucent ghost button on blue */
.quiz__cta-secondary {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.quiz__cta-secondary:hover {
  background: rgba(255,255,255,0.16);
}

/* Responsive collapse for the quiz */
@media (max-width: 800px) {
  .quiz[data-state="intro"] .quiz__view--intro,
  .quiz[data-state="result"] .quiz__view--result {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .quiz__result-features { grid-template-columns: 1fr; }
  .quiz__media { order: -1; }
  .quiz__media-frame { aspect-ratio: 5 / 4; }
}
@media (max-width: 520px) {
  .quiz { padding: 28px 22px; border-radius: 18px; }
  .quiz__q-title { font-size: 22px; }
  .quiz__option { padding: 12px 14px; font-size: 14px; }
}

/* ============================================================
   WAITLIST MODAL — capture-mode field hiding.
   The trigger that opens the modal can switch capture mode via
   data-quiz-capture; the modal hides irrelevant fields.
   ============================================================ */
.waitlist[data-capture="email"] [data-field="phone"],
.waitlist[data-capture="email"] [data-field="location"],
.waitlist[data-capture="email"] [data-field="category"],
.waitlist[data-capture="phone"] [data-field="location"],
.waitlist[data-capture="phone"] [data-field="category"] { display: none; }

/* ============================================================
   PERSONA FIGURE — full-bleed edge-to-edge photo, fixed 70vh tall
   ============================================================ */
.persona-figure {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
}
.persona-figure img {
  width: 100%;
  height: 70vh;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   PAGE LOADER — vertical feature dial
   Pure CSS animation chain:
     0.0s → 3.2s   spin track up through features with symmetric ease-
                   in-out cubic so the scroll feels smooth and
                   deliberate, decelerating gently into "SyncSalez".
     3.2s → 3.7s   hold on SyncSalez (500ms).
     3.7s → 4.7s   viewport scales up + fades over 1s while the white
                   bg fades, revealing the page beneath.
   JS removes the element from the DOM at ~4.8s.
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 8vw, 84px);
  line-height: 1.2;
  letter-spacing: -0.030em;
  color: var(--ink);
  /* fade the white bg on exit */
  animation: loader-fade 1000ms cubic-bezier(.22, 1, .36, 1) 3700ms forwards;
}

.loader__viewport {
  height: 1.2em;
  overflow: hidden;
  /* Slot-machine feathered edges — fades items as they enter/exit */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 72%, transparent 100%);
  /* zoom the lettering out on exit */
  animation: loader-zoom 1000ms cubic-bezier(.22, 1, .36, 1) 3700ms forwards;
  transform-origin: 50% 50%;
}

.loader__track {
  display: flex;
  flex-direction: column;
  /* end position = (N-1) × 1.2em where N is the number of items.
     Currently 11 items (10 features + brand) → SyncSalez lands at -12em.
     Symmetric ease-in-out cubic — gentle start, gentle landing,
     no super-fast middle. */
  animation: loader-spin 3.2s cubic-bezier(.65, 0, .35, 1) forwards;
}

.loader__item {
  height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 12px;
}

@keyframes loader-spin {
  from { transform: translateY(0); }
  to   { transform: translateY(-12em); }
}
@keyframes loader-fade {
  from { opacity: 1; visibility: visible; }
  to   { opacity: 0; visibility: hidden; }
}
@keyframes loader-zoom {
  from { transform: scale(1);    opacity: 1; }
  to   { transform: scale(2.4);  opacity: 0; }
}

body.loader-active { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .loader__track {
    animation: none;
    transform: translateY(-12em);  /* land directly on SyncSalez */
  }
  .loader        { animation: loader-fade 250ms ease 800ms forwards; }
  .loader__viewport {
    animation: loader-fade 250ms ease 800ms forwards;
    transform: none;
  }
}

/* ============================================================
   HIDE ALL SCROLLBARS (scroll still works — only the visual is gone)
   ============================================================ */
* {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE / old Edge */
}
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ============================================================
   WAITLIST MODAL
   ============================================================ */
.waitlist {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.waitlist[aria-hidden="false"] { display: flex; animation: wl-fade .2s ease-out; }
body.waitlist-open { overflow: hidden; }

.waitlist__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.waitlist__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px -20px rgba(15,23,42,0.40), 0 12px 32px -8px rgba(15,23,42,0.20);
  animation: wl-rise .28s cubic-bezier(.2,.7,.2,1);
}
@keyframes wl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wl-rise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.waitlist__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--slate-50);
  border: 1px solid var(--rule-soft);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.waitlist__close:hover { background: var(--rule-soft); color: var(--ink); }

.waitlist__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(36,99,235,0.08);
  border: 1px solid rgba(36,99,235,0.16);
  color: var(--mirror-blue-500);
  border-radius: 9999px;
  font-family: var(--font-action);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.waitlist__pill .dot-pulse { width: 7px; height: 7px; background: var(--mirror-blue-500); }
.waitlist__pill .dot-pulse::after { background: var(--mirror-blue-500); }

.waitlist__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 12px;
}
.waitlist__lead {
  font-family: var(--font-marketing);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.waitlist__lead a { color: var(--mirror-blue-500); }

/* Form */
.waitlist__form { display: flex; flex-direction: column; gap: 16px; }

/* Side-by-side field pair (first + last name).
   Uses CSS Grid for mathematically equal columns; collapses to a single
   column below 480px to match the modal's existing mobile breakpoint. */
.waitlist__form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.waitlist__form .field-row > .field { min-width: 0; }
@media (max-width: 480px) {
  .waitlist__form .field-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-action);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field input,
.field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-marketing);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2364748B' stroke-width='1.7' stroke-linecap='round'><path d='M3 4.5l3 3 3-3'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--mirror-blue-500);
  box-shadow: 0 0 0 3px rgba(36,99,235,0.16);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--crimson-500);
  box-shadow: 0 0 0 3px rgba(222,17,53,0.12);
}
.field__hint {
  font-family: var(--font-marketing);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}

.waitlist__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  margin-top: 8px;
  padding: 0 24px;
  background: var(--mirror-blue-500);
  color: #fff;
  border: 0;
  border-radius: 9999px;
  font-family: var(--font-action);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.waitlist__submit:hover { background: var(--mirror-blue-600); transform: translateY(-1px); }
.waitlist__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.waitlist__submit-loading { display: none; align-items: center; gap: 10px; }
.waitlist__submit.is-loading .waitlist__submit-text { display: none; }
.waitlist__submit.is-loading .waitlist__submit-loading { display: inline-flex; }

.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 9999px;
  animation: wl-spin .8s linear infinite;
}
@keyframes wl-spin { to { transform: rotate(360deg); } }

.waitlist__note {
  font-family: var(--font-marketing);
  font-size: 12px;
  color: var(--ink-3);
  margin: 4px 0 0;
  text-align: center;
}

.waitlist__view[data-view="success"],
.waitlist__view[data-view="error"] { text-align: center; padding-top: 8px; }
.waitlist__view[data-view="success"] .btn,
.waitlist__view[data-view="error"] .btn { margin-top: 16px; }

.waitlist__icon {
  width: 56px; height: 56px;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.waitlist__icon--ok { background: rgba(76,175,80,0.12); color: var(--green-500); }
.waitlist__icon--err { background: rgba(222,17,53,0.10); color: var(--crimson-500); }

@media (max-width: 560px) {
  .waitlist { padding: 12px; }
  .waitlist__panel { padding: 32px 22px 24px; border-radius: 18px; }
  .waitlist__title { font-size: 26px; }
}

/* ============================================================
   RESPONSIVE LAYER
   Layered at the end so it wins the cascade against earlier rules
   without rewriting them. Mobile-first additions, plus targeted
   overrides for inline grids that can't be touched in HTML.
   ============================================================ */

/* Prevent any element from creating a horizontal scrollbar at any size */
html, body { overflow-x: hidden; max-width: 100%; }

/* Fluid gutter + section padding so the design breathes everywhere
   from 320px phones to 4K monitors */
:root {
  --gutter: clamp(16px, 4vw, 32px);
}
.section    { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section--lg    { padding: clamp(72px, 10vw, 128px) 0; }

/* Headings — tighten the lower clamp bound so very small screens
   don't get truncated or wrap awkwardly */
@media (max-width: 600px) {
  .h-display { font-size: clamp(36px, 11vw, 56px); line-height: 1.04; letter-spacing: -0.030em; }
  .h-1       { font-size: clamp(30px, 9vw, 44px); line-height: 1.06; }
  .h-2       { font-size: clamp(26px, 7.5vw, 36px); line-height: 1.10; }
  .h-3       { font-size: clamp(20px, 5.5vw, 26px); }
}

/* Inline 4-column grids (about-team, etc) — collapse to 2 then 1 */
@media (max-width: 900px) {
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 520px) {
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* Inline 3-column grids — collapse to 1 column on phones */
@media (max-width: 720px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* Inline 2-column grids (both `1fr 1fr` and `repeat(2,1fr)` syntaxes)
   should stack on phones. Exception: tiny pieces grids (e.g.
   `.pieces-grid` at 148px wide) which are mini-illustrations inside
   phone mockups — those carry their own fixed width and shouldn't
   collapse. */
@media (max-width: 640px) {
  [style*="grid-template-columns:1fr 1fr"]:not(.pieces-grid),
  [style*="grid-template-columns: 1fr 1fr"]:not(.pieces-grid),
  [style*="grid-template-columns:repeat(2,1fr)"]:not(.pieces-grid),
  [style*="grid-template-columns: repeat(2, 1fr)"]:not(.pieces-grid) {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Hero — keep dramatic on desktop, tighten on small phones */
@media (max-width: 600px) {
  .hero--image { padding: 8px 8px 0; }
  .hero--image .hero__image {
    height: auto;
    min-height: clamp(480px, 78vh, 640px);
    max-height: none;
    border-radius: 14px;
  }
  .hero__content { padding: 56px 20px; }
  .hero--image .hero__title { font-size: clamp(32px, 8.5vw, 44px); margin-bottom: 20px; max-width: none; }
  .hero--image .hero__lead { font-size: 15px; line-height: 1.55; max-width: 38ch; margin-bottom: 32px; }
  .hero--image .hero__ctas { gap: 10px; width: 100%; }
  .hero--image .hero__ctas .btn-pill { width: 100%; max-width: 320px; height: 52px; }
}

/* Marquee — slow it down a touch on phones so it isn't dizzying */
@media (max-width: 600px) {
  .marquee__track { animation-duration: 32s; }
  .marquee__item { font-size: 14px; }
}

/* Feature blocks — already collapse to 1col at 900, but make sure the
   visual side never overflows on tiny screens */
@media (max-width: 600px) {
  .feature-block .visual,
  .feature-block--rev .visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .phone {
    width: min(280px, 80vw);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Sec-head heading + lead alignment on small screens */
@media (max-width: 700px) {
  .sec-head .meta-num,
  .sec-head .meta-row { margin-bottom: 8px; }
  .sec-head h2 { word-break: break-word; }
}

/* Pricing toggle — make tap target comfortable on phones */
@media (max-width: 600px) {
  .toggle button { min-height: 44px; padding: 8px 16px; }
}

/* FAQ — reduce question font and add comfortable tap target */
@media (max-width: 600px) {
  .faq__q { padding: 18px 0; gap: 14px; min-height: 52px; }
  .faq__q span:first-child { font-size: 17px; line-height: 1.35; }
  .faq__a-inner { padding: 0 0 18px; }
  .faq__a-inner p { font-size: 14px; }
}

/* Big-cta band — never let the hero CTA buttons go full-edge */
@media (max-width: 700px) {
  .big-cta { padding: clamp(56px, 10vw, 96px) 0; }
  .big-cta .container > [style*="display:flex"][style*="justify-content:center"] {
    flex-direction: column;
    align-items: center;
  }
  .big-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* Footer — go from 5-col → 2-col @ 1000 (already) → 1-col @ 480 */
@media (max-width: 480px) {
  .footer__top { flex-direction: column !important; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* Sticky bottom-right CTA — keep clear of the bottom on phones */
@media (max-width: 720px) {
  .sticky-cta { right: 12px; bottom: 12px; padding: 12px 18px; font-size: 14px; }
}

/* Waitlist modal — prevent iOS Safari auto-zoom (input ≥16px) and
   make the modal scrollable when keyboard is open */
.field input,
.field select {
  font-size: 16px;  /* iOS won't zoom on focus when ≥16px */
}
@media (max-width: 480px) {
  .waitlist { padding: 8px; align-items: flex-start; padding-top: 24px; }
  .waitlist__panel { padding: 28px 20px 22px; max-height: calc(100dvh - 32px); }
  .waitlist__title { font-size: 24px; }
  .waitlist__lead { font-size: 14px; margin-bottom: 22px; }
  .waitlist__close { top: 10px; right: 10px; width: 32px; height: 32px; }
  .waitlist__pill { font-size: 11px; padding: 5px 10px; margin-bottom: 14px; }
}

/* Standalone pricing page card list — readable on phones */
@media (max-width: 600px) {
  .price-card { padding: 28px 22px; }
  .price-num { font-size: 34px; }
  .price-num small { font-size: 13px; }
  .price-feat li { font-size: 14px; }
}

/* Coming-soon page hero block + 3-up cards — already handled by global
   inline-grid override above, but tighten heading wrap */
@media (max-width: 600px) {
  .section--lg + .section .container > [style*="display:grid;grid-template-columns:repeat(3"] { gap: 16px !important; }
}

/* Modal CTA in band-blue / band-dark sections — center stack */
@media (max-width: 600px) {
  .band-blue .btn, .band-dark .btn { padding-left: 22px; padding-right: 22px; }
}

/* About-page team avatars — when 4-col collapses, keep them 1:1 and centered */
@media (max-width: 520px) {
  .container [style*="grid-template-columns:repeat(4,1fr)"] > div {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Feature pages — keep how-it-works 2-col on tablets, stack on phones.
   Captured above by the generic 1fr 1fr → 1fr at 640px, but enforce */
@media (max-width: 640px) {
  .features-offline .container > [style*="display:grid;grid-template-columns:1fr 1fr"],
  .features-theft .container > [style*="display:grid;grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Feature-block visual demos (theft-visual, stock-visual, etc.) carry
   inline padding of 32-48px and contain fixed-width 200px sub-cards.
   On phones the parent gets full-bleed but those numbers still overflow.
   Shrink padding aggressively and let inner cards auto-size. */
@media (max-width: 700px) {
  .feature-block .visual,
  .feature-block--rev .visual {
    padding: 24px 16px !important;
  }
}
@media (max-width: 520px) {
  .feature-block .visual,
  .feature-block--rev .visual {
    padding: 20px 12px !important;
  }
  /* Two-up card visuals — shrink to fit instead of stacking, looks
     better as a side-by-side comparison on small screens */
  .theft-visual { gap: 10px !important; }
  .theft-visual > div {
    width: calc(50% - 5px) !important;
    padding: 12px !important;
  }
  .theft-visual > div [style*="font-size:24px"] { font-size: 18px !important; }
  /* Stock visual — center the carton illustration */
  .stock-visual > * { max-width: 100%; }
  /* Store visual — stack the connector boxes */
  .store-visual {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  /* Branches visual — black panel content, give it room */
  .branches-visual { padding: 18px !important; }
}

/* Checkout / lookup mini-visuals (in 2-col feature blocks) — already
   collapse via the global 1fr 1fr override, but ensure the inner
   aspect-ratio frame doesn't blow out. */
@media (max-width: 640px) {
  .checkout-visual, .lookup-visual {
    aspect-ratio: 4 / 3 !important;
  }
}

/* Stat / phone in offline-sales demo — keep proportional */
@media (max-width: 520px) {
  .phone { width: min(260px, 78vw) !important; }
  .phone__screen { font-size: 13px; }
}

/* ============================================================
   QUIZ MODAL — overlay + panel that holds the quiz card.
   The quiz no longer lives inline. It opens via [data-action="quiz"]
   which sets aria-hidden="false" on #quiz-modal.
   ============================================================ */
.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 4vw, 64px) clamp(12px, 3vw, 32px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility 0s linear .22s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.quiz-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .22s ease, visibility 0s linear 0s;
}
.quiz-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 47, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.quiz-modal__panel {
  position: relative;
  width: min(1100px, 100%);
  margin: auto;
  border-radius: 24px;
  background: transparent;
  transform: translateY(12px) scale(0.985);
  transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1);
}
.quiz-modal[aria-hidden="false"] .quiz-modal__panel {
  transform: translateY(0) scale(1);
}
.quiz-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .12s ease;
}
.quiz-modal__close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}
body.quiz-modal-open {
  overflow: hidden;
}

/* ============================================================
   QUIZ — LIGHT THEME OVERRIDE
   Re-themes the quiz card for a primary white modal surface.
   Activated by adding `quiz--light` alongside `.quiz`.
   ============================================================ */
.quiz.quiz--light {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 32px 64px -28px rgba(15, 23, 42, 0.30);
}
.quiz--light .quiz__meta { color: var(--ink-2); }
.quiz--light .quiz__dot { background: var(--mirror-blue-500); }
.quiz--light .quiz__title { color: var(--ink); }
.quiz--light .quiz__lead { color: var(--ink-2); }

/* Intro preview card — soften to slate-50 surface */
.quiz--light .quiz__preview {
  background: var(--slate-50);
  border: 1px solid var(--rule);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.quiz--light .quiz__preview-meta { color: var(--ink-3); }
.quiz--light .quiz__preview-q { color: var(--ink); }
.quiz--light .quiz__preview-options > div {
  background: #fff;
  border: 1px solid var(--rule-soft);
  color: var(--ink);
}
.quiz--light .quiz__preview-more { color: var(--ink-3); }

/* Active question — progress + back button + question copy */
.quiz--light .quiz__progress-label { color: var(--ink-3); }
.quiz--light .quiz__back { color: var(--ink-2); }
.quiz--light .quiz__back:hover { color: var(--ink); background: var(--slate-50); }
.quiz--light .quiz__progress-bar { background: var(--slate-100); }
.quiz--light .quiz__progress-fill { background: var(--mirror-blue-500); }
.quiz--light .quiz__q-title { color: var(--ink); }

/* Options — light cards with slate borders */
.quiz--light .quiz__option {
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--ink);
}
.quiz--light .quiz__option:hover {
  background: var(--mirror-blue-50);
  border-color: var(--mirror-blue-500);
}
.quiz--light .quiz__option.is-picked {
  background: var(--mirror-blue-500);
  color: #fff;
  border-color: var(--mirror-blue-500);
}

/* Result — meta, copy, plan card, retake */
.quiz--light .quiz__result-meta { color: var(--ink-3); }
.quiz--light .quiz__result-meta::before { background: var(--mirror-blue-500); }
.quiz--light .quiz__result-title { color: var(--ink); }
.quiz--light .quiz__result-body { color: var(--ink-2); }
.quiz--light .quiz__result-feature {
  background: var(--slate-50);
  border: 1px solid var(--rule);
  color: var(--ink);
}
.quiz--light .quiz__retake { color: var(--ink-2); }
.quiz--light .quiz__retake:hover { color: var(--ink); }

.quiz--light .quiz__plan-card {
  background: var(--slate-50);
  border: 1px solid var(--rule);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.quiz--light .quiz__plan-name,
.quiz--light .quiz__plan-price { color: var(--ink); }
.quiz--light .quiz__plan-price small,
.quiz--light .quiz__plan-note { color: var(--ink-2); }
.quiz--light .quiz__plan-tag {
  background: var(--mirror-blue-500);
  color: #fff;
}

/* Media frame — keep as a slate placeholder */
.quiz--light .quiz__media-frame {
  background: var(--slate-50);
  border: 1px solid var(--rule);
  box-shadow: 0 16px 32px -20px rgba(15, 23, 42, 0.20);
}
/* Gauge frame in the light theme is bare — no container card, border,
   or shadow. The dial sits directly on the modal's white surface. */
.quiz--light .quiz__media-frame--gauge {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.quiz--light .quiz__media-meta { color: var(--ink-2); }
.quiz--light .quiz__media-line { color: var(--ink-3); }

/* Gauge ticks — soft muted stroke. Sits on top of the colored band
   as quiet dividers rather than punching all the way through. */
.quiz--light .gauge__ticks { stroke: var(--rule); }

/* Centered label inside the dial. Position is calibrated to the dial's
   geometric centre — the arc is drawn around viewBox (110, 110), which
   maps to 50% across and ~56% down of the gauge frame. */
.quiz__media-frame--gauge { position: relative; }
.gauge__label {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.024em;
  color: var(--ink);
  width: 64%;
  max-width: 220px;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
}
.quiz--light .gauge__head { filter: none; }
/* Glow tints follow the same cool-to-emerald palette — restrained on
   the unsuitable end, fuller on the priority match. */
.quiz--light .gauge--service  .gauge__fill { filter: drop-shadow(0 0  6px rgba( 74, 111, 165, 0.28)); }
.quiz--light .gauge--light    .gauge__fill { filter: drop-shadow(0 0  6px rgba( 91, 155, 213, 0.32)); }
.quiz--light .gauge--standard .gauge__fill { filter: drop-shadow(0 0  7px rgba( 60, 180, 160, 0.38)); }
.quiz--light .gauge--growth   .gauge__fill { filter: drop-shadow(0 0  8px rgba( 76, 175,  80, 0.45)); }
.quiz--light .gauge--priority .gauge__fill { filter: drop-shadow(0 0 10px rgba( 27, 122,  62, 0.50)); }

/* Result CTA — primary white surface needs a filled mirror-blue button
   for the main waitlist CTA, and a slate ghost for the secondary. */
.quiz--light .quiz__cta-secondary {
  background: var(--slate-50);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.quiz--light .quiz__cta-secondary:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}

/* Active intro CTA — invert was white-on-blue; flip to filled blue */
.quiz--light .quiz__view--intro .btn--invert {
  background: var(--mirror-blue-500);
  color: #fff;
}
.quiz--light .quiz__view--intro .btn--invert:hover {
  background: var(--mirror-blue-600);
}
.quiz--light .quiz__view--result .btn--invert {
  background: var(--mirror-blue-500);
  color: #fff;
}
.quiz--light .quiz__view--result .btn--invert:hover {
  background: var(--mirror-blue-600);
}

/* ============================================================
   QUIZ MODAL — RESPONSIVE
   Three breakpoints: tablet (≤900), mobile (≤720), small (≤480).
   The modal scales typography, padding, and the gauge proportionally
   and lets long CTA text wrap so nothing clips on narrow screens.
   ============================================================ */

/* Tablet — pull the panel slightly tighter, drop result/intro to one
   column once 1.1fr/0.9fr starts crowding. */
@media (max-width: 900px) {
  .quiz-modal { padding: clamp(12px, 2.5vw, 32px); }
  .quiz-modal__panel { width: 100%; }
}

/* Mobile — modal goes full-bleed; reset chrome, allow scrolling. */
@media (max-width: 720px) {
  .quiz-modal {
    padding: 0;
    align-items: stretch;
  }
  .quiz-modal__backdrop { backdrop-filter: blur(2px); }
  .quiz-modal__panel {
    width: 100%;
    border-radius: 0;
    min-height: 100dvh;
    margin: 0;
  }
  .quiz.quiz--light {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    min-height: 100dvh;
    padding: 64px 20px 32px;
  }
  .quiz-modal__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  /* Stacked layouts */
  .quiz[data-state="intro"] .quiz__view--intro,
  .quiz[data-state="result"] .quiz__view--result {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .quiz__result-features { grid-template-columns: 1fr; gap: 8px; }

  /* Long quiz/result button text must wrap, not clip */
  .quiz__result-actions { flex-direction: column; align-items: stretch; }
  .quiz__result-actions .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    width: 100%;
    justify-content: center;
  }
  .quiz__result-actions .btn .arr { flex-shrink: 0; }

  /* Gauge — cap size + put it above the result text */
  .quiz__media { order: -1; }
  .quiz__media-frame--gauge {
    max-width: 320px;
    margin: 0 auto;
  }
  .gauge__label {
    font-size: clamp(16px, 5.4vw, 24px);
    width: 60%;
  }

  /* Tighten result typography so it fits comfortably */
  .quiz__result-title { font-size: clamp(24px, 6.5vw, 32px); }
  .quiz__result-body  { font-size: 15px; max-width: none; }
  .quiz__q-title      { font-size: clamp(22px, 5.6vw, 28px); }

  /* Intro preview card slimmer on mobile */
  .quiz__preview { padding: 22px; }
  .quiz__preview-q { font-size: 18px; }
}

/* Small phones — final tightening */
@media (max-width: 480px) {
  .quiz.quiz--light { padding: 56px 16px 28px; }
  .quiz__result-title { font-size: 24px; }
  .quiz__result-body  { font-size: 14.5px; }
  .quiz__option { padding: 12px 14px; font-size: 14px; }
  .quiz__media-frame--gauge { max-width: 280px; }
  .gauge__label { font-size: 18px; }
  .quiz-modal__close {
    top: 10px;
    right: 10px;
  }
}

/* Reduced motion — respect user preference globally */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none !important; }
  .dot-pulse::after { animation: none !important; }
  .quiz-modal { transition: none; }
  .quiz-modal__panel { transition: none; }
}

/* ============================================================
   THEME TOGGLE BUTTON — sits in .nav__cta beside Get started.
   Single 40×40 pill; sun icon shows in dark mode, moon in light.
   ============================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.theme-toggle:hover {
  background: rgba(15,23,42,0.04);
  transform: translateY(-1px);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--mirror-blue-500);
  outline-offset: 2px;
}
.theme-toggle svg { display: block; width: 18px; height: 18px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle:hover { background: rgba(248,250,252,0.06); }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (max-width: 980px) {
  .theme-toggle { width: 36px; height: 36px; }
  .theme-toggle svg { width: 16px; height: 16px; }
}

/* ============================================================
   DARK THEME — marketing site overrides
   The site.css :root shadows the design-system tokens with its
   own short names (--canvas, --ink, --rule, etc). We re-flip them
   here, plus patch the high-traffic hardcoded values that don't
   read from a token (nav background, hover tints, status chips).
   ============================================================ */
[data-theme="dark"] {
  --canvas:      var(--slate-900);     /* page bg */
  --canvas-alt:  var(--slate-800);     /* alt bands */
  --canvas-deep: #07142F;              /* deeper than canvas in dark mode (mirror-blue-900) */
  --paper:       var(--slate-800);     /* card surfaces */
  --paper-warm:  var(--slate-800);

  --ink:    var(--slate-50);
  --ink-2:  rgba(248,250,252,0.65);
  --ink-3:  rgba(248,250,252,0.45);
  --rule:       rgba(248,250,252,0.10);
  --rule-soft:  rgba(248,250,252,0.06);

  --shadow-xs:    0 1px 2px 0 rgba(0,0,0,0.40);
  --shadow-sm:    0 1px 3px 0 rgba(0,0,0,0.45), 0 1px 2px -1px rgba(0,0,0,0.30);
  --shadow-md:    0 4px 8px -2px rgba(0,0,0,0.50), 0 2px 4px -2px rgba(0,0,0,0.30);
  --shadow-lg:    0 12px 24px -4px rgba(0,0,0,0.55), 0 4px 8px -4px rgba(0,0,0,0.35);
  --shadow-card:  0 1px 0 0 rgba(248,250,252,0.04), 0 1px 3px 0 rgba(0,0,0,0.40);

  color-scheme: dark;
}

/* Nav: translucent slate instead of translucent white */
[data-theme="dark"] .nav {
  background: rgba(15,23,42,0.78);
  border-bottom-color: rgba(248,250,252,0.08);
}
[data-theme="dark"] .nav__item:hover { background: rgba(248,250,252,0.06); }
[data-theme="dark"] .nav__hamburger { border-color: var(--rule); }
[data-theme="dark"] .nav__hamburger:hover { background: rgba(248,250,252,0.06); }

/* Dropdowns + ghost button hover tints */
[data-theme="dark"] .dropdown {
  background: var(--slate-800);
  border-color: rgba(248,250,252,0.08);
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.6), 0 4px 12px -4px rgba(0,0,0,0.4);
}
[data-theme="dark"] .dropdown a:hover { background: rgba(36,99,235,0.18); color: var(--mirror-blue-300, #95B7FA); }
[data-theme="dark"] .btn--ghost:hover { background: rgba(248,250,252,0.06); }
[data-theme="dark"] .btn--invert { background: var(--slate-50); color: var(--slate-900); }
[data-theme="dark"] .btn--invert .arr { background: rgba(15,23,42,0.10); }

/* Mobile overlay */
[data-theme="dark"] .nav-overlay { background: var(--slate-900); }
[data-theme="dark"] .nav-overlay__close:hover { background: rgba(248,250,252,0.06); }

/* Chips that hardcoded slate-900 alpha */
[data-theme="dark"] .chip--dark { background: rgba(248,250,252,0.10); color: var(--slate-50); }

/* Faq plus icon background flips so the sigil stays visible */
[data-theme="dark"] .faq__item.is-open .faq__q .pm { background: var(--slate-50); color: var(--slate-900); }

/* Selection highlight stays brand */
[data-theme="dark"] ::selection { background: var(--mirror-blue-500); color: #fff; }
