/* ============================================================
   Mobbin — structural rebuild from the reference PDF.
   Tokens come from variables.css (linked first). Motion follows
   Emil Kowalski's rules: strong ease-out, gated hover, reduced-motion.
   ============================================================ */

:root {
  /* saans isn't web-available → Inter Variable is the spec's named substitute */
  --font-saans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-pure-canvas);
  color: var(--color-midnight-ink);
  font-family: var(--font-saans);
  font-size: var(--text-body);
  line-height: 1.5;
  font-feature-settings: "calt" 0, "dlig", "ss07";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }

/* ───────────────────────── Buttons ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: var(--text-body-sm);
  font-variation-settings: "wght" 600;
  letter-spacing: 0.1px;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
}
.btn--filled { background: var(--color-midnight-ink); color: var(--color-pure-canvas); }
.btn--outlined { background: var(--color-pure-canvas); color: var(--color-midnight-ink); border-color: var(--color-fog); box-shadow: var(--shadow-subtle); }
.btn--arrow svg { transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--filled:hover { box-shadow: rgba(64,64,64,0.16) 0 0 0 1px inset; transform: translateY(-1px); }
  .btn--outlined:hover { background: var(--color-mist); }
  .btn--arrow:hover svg { transform: translateX(3px); }
}

/* ───────────────────────── Top nav (floating pill) ───────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px 24px; transition: padding 240ms var(--ease-out); }
.nav__inner {
  max-width: 720px;
  margin: 0 auto;
  height: 52px;
  padding: 0 10px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(240, 240, 240, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(20, 20, 20, 0.04);
  border-radius: var(--radius-full);
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.nav.is-scrolled { padding-top: 8px; padding-bottom: 8px; }
.nav.is-scrolled .nav__inner { background: rgba(255,255,255,0.85); border-color: var(--color-fog); box-shadow: var(--shadow-xl); }
.nav__logo { display: inline-flex; align-items: center; gap: 8px; color: var(--color-midnight-ink); font-size: var(--text-body); font-variation-settings: "wght" 600; letter-spacing: -0.2px; transition: transform 160ms var(--ease-out); }
.nav__logo:active { transform: scale(0.96); }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__link { font-size: var(--text-body-sm); font-variation-settings: "wght" 440; color: var(--color-midnight-ink); transition: color 140ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--color-graphite); } }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__actions .btn { height: 40px; padding: 0 16px; }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 64px 24px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
/* Cycling icon specimen — clean, no background */
.hero__icon { position: relative; width: 72px; height: 72px; perspective: 600px; }
.hero__icon .brandicon {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.85) rotateX(45deg);
  filter: blur(3px);
  transition: opacity 480ms var(--ease-out), transform 520ms var(--ease-out), filter 480ms var(--ease-out);
}
.hero__icon .brandicon.is-active {
  opacity: 1;
  transform: scale(1) rotateX(0deg);
  filter: blur(0);
}

/* Brand icon (rounded square + glyph), reused in hero/stats/marquee */
.brandicon {
  display: inline-grid;
  place-items: center;
  border-radius: 22%;
  color: #fff;
  flex: none;
  overflow: hidden;
}
.brandicon svg { display: block; }
/* logos sit directly on the page — no tile background, border, or clipping */
.brandicon--logo { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.blogo { width: 100%; height: 100%; object-fit: contain; }
.blogo.knockout { mix-blend-mode: multiply; } /* knock white box out of a favicon */
/* fallback chip stays a rounded colored badge */
.brandicon--fallback { border-radius: 22%; overflow: hidden; }
.brandletter { color: #fff; line-height: 1; font-variation-settings: "wght" 652; }
.hero__title { margin: 0; font-size: var(--text-display); line-height: 1.0; letter-spacing: -0.88px; font-variation-settings: "wght" 652; }
.hero__subtitle { margin: 0; max-width: 560px; font-size: var(--text-subheading); line-height: 1.5; letter-spacing: 0.28px; color: var(--color-graphite); font-variation-settings: "wght" 440; }
.hero__cta { display: flex; gap: 12px; margin-top: 8px; }

/* Trust row (static, muted) */
.trust { margin-top: 24px; }
.trust__label { font-size: var(--text-body-sm); color: var(--color-ash); font-variation-settings: "wght" 440; margin: 0 0 20px; }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.trust__logo { font-size: var(--text-subheading); font-variation-settings: "wght" 600; color: var(--color-silver); letter-spacing: -0.2px; }

/* ───────────────────────── Product preview ───────────────────────── */
.preview { position: relative; width: 100%; max-width: 1000px; margin: 56px auto 0; }
.preview__frame {
  position: relative;
  background: var(--color-mist);
  border: 1px solid var(--color-fog);
  border-radius: var(--radius-3xl);
  padding: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.preview__floater {
  position: absolute;
  left: var(--fx); top: var(--fy);
  z-index: 2;
  animation: floaty 5s ease-in-out infinite;
}
.preview__floater .brandicon { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.14)); }
.preview__floater[data-float="2"] { animation-delay: -1.2s; }
.preview__floater[data-float="3"] { animation-delay: -2.4s; }
.preview__floater[data-float="4"] { animation-delay: -3.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* faux app chrome */
.app__bar { display: flex; align-items: center; gap: 16px; padding: 4px 4px 16px; }
.app__brand { display: flex; align-items: center; gap: 14px; }
.app__tabs { display: flex; gap: 12px; font-size: var(--text-body-sm); }
.app__tabs b { font-variation-settings: "wght" 600; }
.app__tabs span { color: var(--color-ash); }
.app__search { flex: 1; max-width: 360px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--radius-full); background: var(--color-pure-canvas); color: var(--color-ash); font-size: var(--text-body-sm); }
.app__right { display: flex; align-items: center; gap: 12px; }
.app__pill { padding: 5px 12px; border-radius: var(--radius-full); background: var(--color-pure-canvas); box-shadow: var(--shadow-subtle); font-size: var(--text-caption); font-variation-settings: "wght" 456; }
.app__avatar { width: 26px; height: 26px; border-radius: var(--radius-full); background: linear-gradient(135deg, #c2c2c2, #8a8a8a); }

.app__cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 8px 4px 20px; border-bottom: 1px solid var(--color-fog); text-align: left; }
.app__catcol h4 { margin: 0 0 10px; font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.2px; color: var(--color-ash); font-variation-settings: "wght" 400; }
.app__catcol a { display: block; padding: 3px 0; font-size: var(--text-body-sm); color: var(--color-midnight-ink); font-variation-settings: "wght" 440; }

.app__subtabs { display: flex; align-items: center; gap: 16px; padding: 16px 4px; }
.seg { display: inline-flex; background: var(--color-pure-canvas); border-radius: var(--radius-full); padding: 3px; box-shadow: var(--shadow-subtle); }
.seg__btn { border: 0; background: transparent; padding: 4px 12px; border-radius: var(--radius-full); font-size: var(--text-caption); color: var(--color-graphite); font-variation-settings: "wght" 456; }
.seg__btn--active { background: var(--color-midnight-ink); color: #fff; }
.app__sorts { display: flex; gap: 14px; font-size: var(--text-body-sm); }
.app__sorts b { font-variation-settings: "wght" 600; }
.app__sorts span { color: var(--color-ash); }
.app__filter { margin-left: auto; font-size: var(--text-body-sm); color: var(--color-graphite); }

.app__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 4px; }
.pcard { background: var(--color-pure-canvas); border: 1px solid var(--color-fog); border-radius: var(--radius-2xl); padding: 12px; transition: transform 200ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease; }
.pcard__shot { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--color-mist); }
.pcard__shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72); transition: transform 600ms var(--ease-out), filter 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pcard__shot img { filter: saturate(1); } }
.pcard__badge { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 3px 9px; border-radius: var(--radius-full); background: var(--color-midnight-ink); color: #fff; font-size: var(--text-caption); font-variation-settings: "wght" 600; box-shadow: 0 2px 6px rgba(0,0,0,0.18); }
.pcard__body { margin-top: 10px; }
.pcard__title { font-size: var(--text-body-sm); line-height: 1.3; font-variation-settings: "wght" 600; color: var(--color-midnight-ink); }
.pcard__sub { margin-top: 3px; font-size: var(--text-caption); color: var(--color-graphite); font-variation-settings: "wght" 440; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); border-color: var(--color-silver); }
  .pcard:hover .pcard__shot img { transform: scale(1.05); }
}

/* ───────────────────────── Feature sections ───────────────────────── */
.feature { max-width: var(--page-max-width); margin: 120px auto 0; padding: 0 24px; }
.feature__title { margin: 0 0 56px; text-align: center; font-size: var(--text-heading-lg); line-height: 1.05; letter-spacing: -0.39px; font-variation-settings: "wght" 652; }
.feature__row { display: grid; gap: 40px; }
.feature__row--2 { grid-template-columns: repeat(2, 1fr); }
.feature__row--3 { grid-template-columns: repeat(3, 1fr); }
.fcard { opacity: 0; transform: translateY(24px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); transition-delay: var(--d, 0ms); }
.fcard.is-in { opacity: 1; transform: translateY(0); }
.fcard__media {
  height: 340px;
  border-radius: var(--radius-3xl);
  background: var(--color-mist);
  border: 1px solid var(--color-fog);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 24px;
  transition: transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .fcard:hover .fcard__media { transform: translateY(-4px); } }
.fcard__label { margin: 0 0 6px; font-size: var(--text-subheading); font-variation-settings: "wght" 600; }
.fcard__desc { margin: 0; color: var(--color-graphite); font-size: var(--text-body-sm); line-height: 1.5; font-variation-settings: "wght" 440; max-width: 36ch; }

/* feature-card mocks (tiny slices of the extension UI) */
.mock { width: 82%; max-width: 300px; }
.mock__card { background: #fff; border: 1px solid var(--color-fog); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-subtle); }
.mock__thumb { height: 116px; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.mock__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mock__addr { font-size: 14px; font-variation-settings: "wght" 600; }
.mock__metaline { margin-top: 2px; font-size: 12px; color: var(--color-graphite); }
.mock__btn { margin-top: 12px; display: inline-flex; align-items: center; padding: 7px 14px; border: 0; border-radius: var(--radius-full); background: var(--color-midnight-ink); color: #fff; font-size: 12px; font-variation-settings: "wght" 600; font-family: inherit; cursor: pointer; transition: background-color 220ms ease, transform 140ms var(--ease-out); }
.mock__btn:active { transform: scale(0.97); }
.mock__btn.is-ok { background: #1a7f37; }
.mock__btnlabel { display: inline-flex; align-items: center; gap: 6px; }
.mock__spin { width: 12px; height: 12px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: mspin 0.7s linear infinite; }
@keyframes mspin { to { transform: rotate(360deg); } }
.mock--tones { width: 88%; max-width: 320px; }
.mock--tones .mock__card { padding: 16px; }
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mock__eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2px; color: var(--color-ash); font-variation-settings: "wght" 600; }
.mock__copy { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid var(--color-fog); border-radius: var(--radius-full); background: #fff; color: var(--color-midnight-ink); font-size: 11px; font-variation-settings: "wght" 600; font-family: inherit; cursor: pointer; transition: color 160ms ease, border-color 160ms ease; }
.mock__copylabel { display: inline-flex; align-items: center; gap: 5px; }
.mock__copy.is-copied { color: #1a7f37; border-color: rgba(26, 127, 55, 0.35); }
.mock--tones .mock__desc { margin-top: 12px; }
.mock__seg { position: relative; display: flex; background: var(--color-mist); border-radius: var(--radius-full); padding: 3px; }
/* sliding thumb glides between the three tones */
.mock__segthumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: var(--radius-full); background: var(--color-midnight-ink); z-index: 0; transition: transform 320ms var(--ease-out); }
.mock__tone { position: relative; z-index: 1; flex: 1; text-align: center; padding: 6px 4px; border: 0; background: transparent; font-size: 11px; color: var(--color-graphite); font-variation-settings: "wght" 456; font-family: inherit; cursor: pointer; transition: color 200ms ease; }
.mock__tone.is-on { color: #fff; font-variation-settings: "wght" 600; }
@media (hover: hover) and (pointer: fine) { .mock__tone:not(.is-on):hover { color: var(--color-midnight-ink); } }
.mock__desc { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--color-midnight-ink); font-variation-settings: "wght" 440; }
.mock__row { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--color-fog); border-radius: 12px; padding: 11px 13px; }
.mock__row + .mock__row { margin-top: 10px; }
.mock__ai { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-variation-settings: "wght" 600; }
.mock__ai img { border-radius: 5px; }
.mock__pill { padding: 3px 10px; border-radius: var(--radius-full); background: var(--color-mist); color: var(--color-graphite); font-size: 11px; font-variation-settings: "wght" 600; }
.mock__pill--ok { background: #e6f5ec; color: #1a7f37; }
.mock__strike { text-decoration: line-through; color: var(--color-ash); font-size: 13px; }

/* step-flow feature cards */
.fcard__step { display: block; margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--color-ash); font-variation-settings: "wght" 600; }
/* Step 1 — address field */
.mock__field { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--color-fog); border-radius: 10px; background: #fff; font-size: 14px; font-variation-settings: "wght" 456; }
.mock__field svg { color: var(--color-ash); flex: none; }
.mock__field span { flex: 1; }
/* Step 2 — options */
.mock__optlabel { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2px; color: var(--color-ash); font-variation-settings: "wght" 600; margin-bottom: 8px; }
.mock__opts { margin-top: 16px; }
.mock__opt { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; font-size: 13px; font-variation-settings: "wght" 456; }
.mock__opt + .mock__opt { border-top: 1px solid var(--color-fog); }
.mock__toggle { position: relative; width: 34px; height: 20px; flex: none; border: 0; border-radius: var(--radius-full); background: var(--color-silver); cursor: pointer; transition: background-color 220ms ease; }
.mock__toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: transform 220ms var(--ease-out); }
.mock__toggle.is-on { background: var(--color-midnight-ink); }
.mock__toggle.is-on::after { transform: translateX(14px); }
/* Step 3 — generate */
.mock__gen { display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px; border: 0; border-radius: 12px; background: var(--color-midnight-ink); color: #fff; font-size: 13px; font-variation-settings: "wght" 600; font-family: inherit; cursor: pointer; transition: transform 140ms var(--ease-out); }
.mock__gen:active { transform: scale(0.98); }
.mock__genlabel { display: inline-flex; align-items: center; gap: 7px; }
.mock__genout { margin: 14px 0 0; }
.mock__genout.is-gen { opacity: 0.35; }
@keyframes genIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mock__copy--wide { display: flex; width: 100%; justify-content: center; margin-top: 12px; }

/* ───────────────────────── Library stats (full-bleed, scroll-scrubbed) ─────────── */
.stats {
  position: relative;
  width: 100%;
  height: 220vh;            /* scroll distance for the scrub */
  margin-top: 80px;
}
.stats__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stats__label { position: relative; z-index: 1; margin: 0 0 24px; opacity: 0; font-size: var(--text-body); font-variation-settings: "wght" 600; }
.stats__nums { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.stats__line {
  font-size: var(--text-display);
  line-height: 1.05;
  letter-spacing: -0.6px;
  font-variation-settings: "wght" 652;
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}
.stats__num { font-variation-settings: "wght" 652; }

/* icons spread across the FULL viewport, behind the numbers */
.stats__icons { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stat-float {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  animation: floaty 3s ease-in-out infinite;
}
.stat-float .brandicon { filter: drop-shadow(0 8px 18px rgba(0,0,0,0.12)); }

/* ───────────────────────── Testimonials ───────────────────────── */
.testimonials { max-width: var(--page-max-width); margin: 120px auto 0; padding: 0 24px; }
.section-title { margin: 0 0 56px; text-align: center; font-size: var(--text-heading-lg); line-height: 1.05; letter-spacing: -0.39px; font-variation-settings: "wght" 652; }
.testimonials__grid { columns: 4; column-gap: 24px; }
.tcard { break-inside: avoid; margin-bottom: 24px; background: var(--color-pure-canvas); border: 1px solid var(--color-fog); border-radius: var(--radius-2xl); padding: 24px; opacity: 0; transform: translateY(20px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: var(--d, 0ms); }
.tcard.is-in { opacity: 1; transform: translateY(0); }
.tcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tcard__avatar { width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--color-mist); flex: none; display: grid; place-items: center; color: #fff; font-size: 13px; font-variation-settings: "wght" 600; letter-spacing: 0.2px; }
.tcard__name { font-size: var(--text-body-sm); font-variation-settings: "wght" 600; }
.tcard__company { font-size: var(--text-caption); color: var(--color-graphite); font-variation-settings: "wght" 400; }
.tcard__body { margin: 0; font-size: var(--text-body-sm); line-height: 1.5; color: var(--color-midnight-ink); font-variation-settings: "wght" 400; }

/* ───────────────────────── Pricing ───────────────────────── */
.pricing { max-width: var(--page-max-width); margin: 120px auto 0; padding: 0 24px; text-align: center; }
.pricing__sub { max-width: 560px; margin: 24px auto 0; color: var(--color-graphite); font-size: var(--text-body); line-height: 1.5; font-variation-settings: "wght" 440; }
.plan {
  max-width: 460px;
  margin: 48px auto 0;
  text-align: left;
  background: var(--color-pure-canvas);
  border: 1px solid var(--color-fog);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  padding: 40px;
}
.plan__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plan__name { font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.2px; color: var(--color-graphite); font-variation-settings: "wght" 600; }
.plan__price { display: flex; align-items: flex-end; gap: 6px; margin-top: 12px; }
.plan__amt { font-size: var(--text-heading-lg); line-height: 1; letter-spacing: -0.39px; font-variation-settings: "wght" 652; }
.plan__per { margin-bottom: 9px; color: var(--color-graphite); font-size: var(--text-body); font-variation-settings: "wght" 440; }
.plan__note { margin-top: 6px; color: var(--color-ash); font-size: var(--text-body-sm); font-variation-settings: "wght" 440; }
.plan__badge { flex: none; padding: 6px 12px; border-radius: var(--radius-full); border: 1px solid var(--color-fog); background: var(--color-mist); font-size: var(--text-caption); font-variation-settings: "wght" 600; }
.plan__features { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.plan__features li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-body-sm); line-height: 1.4; font-variation-settings: "wght" 456; }
.plan__features li svg { flex: none; margin-top: 1px; color: var(--color-midnight-ink); }
.plan__cta { width: 100%; margin-top: 28px; }
.plan__fine { margin: 12px 0 0; text-align: center; color: var(--color-ash); font-size: var(--text-caption); font-variation-settings: "wght" 440; }

/* ───────────────────────── Security ───────────────────────── */
.security { max-width: 900px; margin: 80px auto 0; padding: 0 24px; }
.security__card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--color-pure-canvas);
  border: 1px solid var(--color-fog);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  padding: 40px;
}
.security__icon { flex: none; width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--color-mist); color: var(--color-midnight-ink); display: grid; place-items: center; }
.security__title { margin: 0; font-size: var(--text-heading); line-height: 1.1; font-variation-settings: "wght" 652; }
.security__body { margin: 12px 0 0; max-width: 60ch; color: var(--color-graphite); font-size: var(--text-body-sm); line-height: 1.55; font-variation-settings: "wght" 440; }
.security__list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.security__list li { display: flex; align-items: center; gap: 8px; font-size: var(--text-body-sm); font-variation-settings: "wght" 456; }
.security__list li svg { color: var(--color-midnight-ink); }

/* ───────────────────────── CTA + marquee ───────────────────────── */
.cta { max-width: var(--page-max-width); margin: 120px auto 0; padding: 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta__title { margin: 0; font-size: var(--text-heading-lg); line-height: 1.05; letter-spacing: -0.39px; font-variation-settings: "wght" 652; }
.cta__subtitle { margin: 0; color: var(--color-graphite); font-size: var(--text-body); line-height: 1.5; font-variation-settings: "wght" 440; }
.cta__buttons { display: flex; gap: 12px; margin-top: 8px; }

/* full-bleed: .cta is viewport-centered and centers its children (align-items:center),
   so a 100vw child is already centered to the viewport — no extra transform needed. */
.logorows { width: 100vw; margin: 56px 0 0; display: flex; flex-direction: column; gap: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.logorow { display: flex; gap: 48px; width: max-content; }
.logorow--a { animation: marquee 48s linear infinite; }
.logorow--b { animation: marqueeR 56s linear infinite; }
.logorow--c { animation: marquee 64s linear infinite; }
@media (hover: hover) and (pointer: fine) { .logorows:hover .logorow { animation-play-state: paused; } }
.logo { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: var(--text-subheading); font-variation-settings: "wght" 600; color: var(--color-midnight-ink); }
.logo__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 16px; font-variation-settings: "wght" 652; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ───────────────────────── Footer (dark) ───────────────────────── */
.footer { margin-top: 120px; background: var(--color-midnight-ink); color: var(--color-pure-canvas); padding: 80px 24px 40px; }
.footer__inner { max-width: var(--page-max-width); margin: 0 auto; display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.footer__logo { color: #fff; }
.footer__tag { margin: 12px 0 0; max-width: 240px; color: var(--color-ash); font-size: var(--text-body-sm); font-variation-settings: "wght" 440; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__heading { margin: 0 0 16px; font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.2px; color: var(--color-graphite); font-variation-settings: "wght" 400; }
.footer__col a { display: block; padding: 6px 0; font-size: var(--text-body-sm); color: var(--color-ash); font-variation-settings: "wght" 440; transition: color 120ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: #fff; } }
.footer__bottom { max-width: var(--page-max-width); margin: 64px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: var(--text-caption); color: var(--color-graphite); font-variation-settings: "wght" 440; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { transition: color 120ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__legal a:hover { color: #fff; } }

/* ───────────────────────── Scroll progress ───────────────────────── */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--color-midnight-ink); transform: scaleX(0); transform-origin: 0 50%; z-index: 100; will-change: transform; }

/* ───────────────────────── Command palette (⌘K) ───────────────────────── */
.cmdk { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.cmdk[hidden] { display: none; }
.cmdk__backdrop { position: absolute; inset: 0; background: rgba(20,20,20,0.18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 200ms ease; }
.cmdk.is-open .cmdk__backdrop { opacity: 1; }
.cmdk__panel { position: relative; width: min(92vw, 560px); max-height: 60vh; display: flex; flex-direction: column; background: var(--color-pure-canvas); border: 1px solid var(--color-fog); border-radius: var(--radius-3xl); box-shadow: var(--shadow-xl); overflow: hidden; opacity: 0; transform: scale(0.96) translateY(-8px); transition: opacity 200ms var(--ease-out), transform 220ms var(--ease-out); }
.cmdk.is-open .cmdk__panel { opacity: 1; transform: scale(1) translateY(0); }
.cmdk__searchrow { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--color-fog); color: var(--color-ash); }
.cmdk__input { flex: 1; border: 0; outline: none; background: transparent; font-family: inherit; font-size: var(--text-subheading); font-variation-settings: "wght" 440; color: var(--color-midnight-ink); }
.cmdk__input::placeholder { color: var(--color-ash); }
.cmdk__esc { flex: none; padding: 3px 8px; border-radius: var(--radius-lg); background: var(--color-mist); color: var(--color-graphite); font-size: var(--text-caption); font-family: inherit; }
.cmdk__results { overflow-y: auto; padding: 8px; }
.cmdk__group { padding: 12px 12px 6px; font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.2px; color: var(--color-ash); }
.cmdk__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-2xl); font-size: var(--text-body); font-variation-settings: "wght" 440; cursor: pointer; transition: background-color 120ms ease; }
.cmdk__item[aria-selected="true"] { background: var(--color-mist); }
.cmdk__itemicon { width: 28px; height: 28px; border-radius: var(--radius-lg); flex: none; display: grid; place-items: center; background: var(--color-mist); color: var(--color-graphite); }
.cmdk__itemmeta { margin-left: auto; font-size: var(--text-caption); color: var(--color-ash); }
.cmdk__empty { padding: 28px 16px; text-align: center; color: var(--color-ash); font-size: var(--text-body-sm); }

/* ───────────────────────── App detail modal ───────────────────────── */
.modal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,20,20,0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 220ms ease; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: min(94vw, 880px); max-height: 88vh; display: flex; flex-direction: column; gap: 24px; padding: 24px; background: var(--color-pure-canvas); border-radius: var(--radius-3xl); box-shadow: var(--shadow-xl); overflow: hidden; opacity: 0; transform: scale(0.94) translateY(8px); transition: opacity 240ms var(--ease-out), transform 280ms var(--ease-spring); }
.modal.is-open .modal__panel { opacity: 1; transform: scale(1) translateY(0); }
.modal__close { position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: var(--radius-full); background: var(--color-mist); color: var(--color-midnight-ink); transition: transform 140ms var(--ease-out), background-color 140ms ease; }
.modal__close:hover { background: var(--color-fog); }
.modal__close:active { transform: scale(0.92); }
.modal__head { display: flex; align-items: center; gap: 16px; padding-right: 48px; }
.modal__appicon { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.modal__title { margin: 0; font-size: var(--text-heading); line-height: 1.1; font-variation-settings: "wght" 652; }
.modal__cat { margin: 2px 0 0; color: var(--color-graphite); font-size: var(--text-body-sm); font-variation-settings: "wght" 440; }
.modal__cta { margin-left: auto; }
.modal__screens { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }

/* install chooser — trial CTAs open this browser picker */
.modal__panel--install { width: min(94vw, 520px); gap: 20px; padding: 28px; }
.install__head { padding-right: 48px; }
.install__head .modal__title { font-size: 26px; }
.install__sub { margin: 8px 0 0; color: var(--color-graphite); font-size: var(--text-body-sm); line-height: 1.5; font-variation-settings: "wght" 440; }
.install__opts { display: flex; flex-direction: column; gap: 12px; }
.install__opt {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border: 1px solid var(--color-fog); border-radius: 16px; background: var(--color-pure-canvas);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.install__opt:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .install__opt:hover { background: var(--color-mist); border-color: var(--color-silver); }
  .install__opt:hover .install__arrow { transform: translateX(3px); color: var(--color-midnight-ink); }
}
.install__logos { display: flex; align-items: center; flex: none; gap: 5px; }
.install__logos .brandicon { background: transparent; }
.install__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.install__name { font-size: var(--text-body); font-variation-settings: "wght" 600; color: var(--color-midnight-ink); line-height: 1.2; }
.install__list { font-size: 12.5px; color: var(--color-graphite); font-variation-settings: "wght" 440; line-height: 1.4; }
.install__arrow { margin-left: auto; flex: none; color: var(--color-ash); transition: transform 200ms var(--ease-out), color 160ms ease; }
.install__foot { margin: 0; text-align: center; font-size: var(--text-caption); color: var(--color-ash); font-variation-settings: "wght" 440; }
@media (max-width: 560px) {
  .install__opt { padding: 15px 16px; gap: 12px; }
  .install__logos .brandicon:nth-child(n+5) { display: none; } /* keep the stack tidy on small screens */
}
.modal__screen { flex: none; width: 200px; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; border: 1px solid var(--color-fog); scroll-snap-align: start; opacity: 0; transform: translateY(12px); animation: screenIn 480ms var(--ease-out) forwards; animation-delay: calc(var(--si, 0) * 60ms); }
.modal__screen img { width: 100%; height: 100%; object-fit: cover; }
@keyframes screenIn { to { opacity: 1; transform: translateY(0); } }

body.no-scroll { overflow: hidden; }

/* ───────────────────────── Reveal on scroll / load ───────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out); transition-delay: var(--d, 0ms); will-change: transform, opacity; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.hero__icon.reveal { transform: translateY(20px) scale(0.9); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-spring); }
.hero__icon.reveal.is-in { transform: translateY(0) scale(1); }

/* Product preview grows in */
.reveal-preview { opacity: 0; transform: scale(0.92) translateY(48px); transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out); will-change: transform, opacity; }
.reveal-preview.is-in { opacity: 1; transform: scale(1) translateY(0); }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1024px) {
  .hero__title, .feature__title, .section-title, .cta__title, .stats__line { font-size: 44px; letter-spacing: -0.3px; }
  .feature__row--3 { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { columns: 2; }
  .app__cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .hero { padding-top: 48px; }
  .hero__title { font-size: 36px; }
  .hero__subtitle, .cta__subtitle { font-size: var(--text-body); }
  .feature__row--2, .feature__row--3 { grid-template-columns: 1fr; }
  .testimonials__grid { columns: 1; }
  .app__cats { grid-template-columns: 1fr 1fr; }
  .app__grid { grid-template-columns: 1fr 1fr; }
  .preview__floater { display: none; }
  .plan, .security__card { padding: 28px; }
  .security__card { flex-direction: column; gap: 20px; }
  .footer__inner { flex-direction: column; gap: 40px; }

  /* tighten the desktop 120px section rhythm so it isn't a mile of scroll */
  .feature, .testimonials, .pricing, .cta { margin-top: 72px; }
  .security { margin-top: 56px; }
  .preview { margin-top: 28px; }
  .feature__title, .section-title, .cta__title, .pricing__sub { margin-bottom: 32px; }

  /* Stats: pad + let the big numbers wrap instead of overflowing the viewport
     (which was pushing the whole page sideways). */
  .stats { height: 150vh; }
  .stats__sticky { padding: 0 20px; }
  .stats__line { font-size: 30px; line-height: 1.14; letter-spacing: -0.2px; overflow-wrap: anywhere; }
  /* Keep the floating brand icons on mobile, just tidier: shrink them so they
     don't clip the screen edges, and drop only the 3 middle-band icons (6-8)
     that would otherwise sit behind the vertically-centered numbers. The rest
     stay in the clear top & bottom strips, framing the stats. */
  .stats__icons .brandicon { width: 32px !important; height: 32px !important; }
  /* hide the middle-band trio (6-8, behind the numbers) + the far-right one
     (5, x:95%) that would clip the screen edge on a phone. */
  .stat-float:nth-child(5),
  .stat-float:nth-child(6),
  .stat-float:nth-child(7),
  .stat-float:nth-child(8) { display: none; }

  /* Preview faux-UI: wrap the top bar so the search + "trial" pill stop
     spilling out of the (clipped) frame; drop the search to its own row. */
  .preview__frame { padding: 14px; }
  .app__bar { flex-wrap: wrap; gap: 10px; }
  .app__search { order: 3; flex: 1 0 100%; max-width: none; margin: 0; }
  .app__subtabs { flex-wrap: wrap; gap: 10px; }
  .app__filter { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero { padding-top: 40px; }
  .hero__title { font-size: 32px; }
  .feature__title, .section-title, .cta__title { font-size: 30px; }
  .stats__line { font-size: 26px; }
  .app__cats, .app__grid { grid-template-columns: 1fr; }
  /* stack the paired CTAs full-width so they never overflow */
  .hero__cta, .cta__buttons { flex-direction: column; align-self: stretch; width: 100%; }
  .hero__cta .btn, .cta__buttons .btn { width: 100%; }
  .plan, .security__card { padding: 22px; }
  .install__head .modal__title { font-size: 22px; }
}

/* ───────────────────────── Reduced motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-preview, .tcard, .fcard, .hero__icon.reveal { opacity: 1 !important; transform: none !important; }
  .stats__label, .stats__line { opacity: 1 !important; transform: none !important; }
  .logorow, .preview__floater, .stat-float { animation: none !important; }
  .modal__screen { opacity: 1 !important; transform: none !important; animation: none !important; }
}
