/* ==========================================================================
   Stanza — marketing site
   Layout, spacing and motion mirror the reference design system;
   palette is Stanza blue. Fonts: Newsreader (display) + Geist (UI), OFL.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-opsz.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Neutrals (blue-tinted) */
  --dark: #1f2430;
  --dark-raise: #262c3a;
  --dark-line: #313949;
  --dark-shadow: #191d27;
  --light: #f9fafc;
  --white: #ffffff;
  --grey: #eceff3;
  --grey-2: #e1e6ec;
  --grey-3: #bfc6d1;
  --muted-dark: #a9b2c3;
  --muted-light: #5a6476;

  /* Stanza blue */
  --blue-900: #12306e;
  --blue-700: #2156c9;
  --blue-600: #2f6fdb;
  --blue-500: #3f7fe8;
  --blue-400: #5c93f0;
  --blue-300: #7cb4ff;
  --blue-100: #cfe0fa;
  --blue-50: #f2f7fd;
  --glow: rgba(64, 128, 232, 0.3);
  --glow-strong: rgba(70, 135, 240, 0.9);

  --ok: #1f9d63;
  --ok-bg: #e3f6ec;
  --warn: #b7791f;
  --warn-bg: #fdf1dc;

  --serif: "Newsreader", "Times New Roman", Georgia, serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 80px;

  --gutter: 48px;
  --header-h: 88px;
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1); /* power2.out */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--dark);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--light); color: var(--dark);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1536px; margin: 0 auto; padding: 0 var(--gutter); }
.container--md { max-width: 1200px; }
.container--sm { max-width: 896px; }
.u-dark { background: var(--dark); color: var(--light); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-variation-settings: "opsz" 72;
  font-weight: 400;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -1px;
}
.display--md { font-size: 64px; line-height: 1.1; letter-spacing: -2px; }
.h2 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 350;
  letter-spacing: -0.5px;
}
.h2--center { text-align: center; }
.h3 { font-size: 36px; line-height: 1.15; font-weight: 400; letter-spacing: -0.3px; }
.body-lg { font-size: 20px; line-height: 1.3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 1.2; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1px;
}
.eyebrow--dark { color: var(--blue-100); }
.eyebrow--light { color: var(--blue-600); }

.tag {
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 12px; line-height: 1; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.2px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--blue-500); color: var(--blue-50);
  vertical-align: middle;
  white-space: nowrap; flex: none;
}
.tag--glow {
  position: relative;
  padding: 7px 16px;
  font-size: 12.96px;
  box-shadow: 0 0 15px 0 rgba(84, 139, 236, 0.85);
  background:
    linear-gradient(var(--blue-500), var(--blue-500)) padding-box,
    linear-gradient(90deg, var(--blue-500), #eef1f6 50%, var(--blue-500)) border-box;
  border: 1px solid transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 8px 24px;
  border-radius: var(--radius-sm);
  font-size: 16px; line-height: 1.3; font-weight: 450; letter-spacing: 0.1px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn--sm { height: 40px; padding: 8px 20px; }
.btn--block { width: 100%; }
.btn--light { background: var(--light); color: var(--dark); }
.btn--light:hover { background: var(--grey-2); }
.btn--dark { background: var(--dark); color: var(--light); }
.btn--dark:hover { background: #343c4d; }
.btn--outline-light { border-color: var(--light); color: var(--light); background: var(--dark); }
.btn--outline-light:hover { background: #2f3646; }
.btn--outline-dark { border-color: var(--dark); color: var(--dark); background: var(--light); }
.btn--outline-dark:hover { background: var(--grey); }
.text-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 12px; font-size: 16px; transition: color .25s ease; }
.text-btn:hover { color: var(--blue-300); }
.arrow-link {
  display: inline-flex; gap: 4px; margin-top: 8px;
  font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: color .2s ease;
}
.arrow-link:hover { color: var(--blue-300); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark); color: var(--light);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; width: 152px; height: 24px; flex: none; }
.logo__icon { flex: none; color: var(--light); }
.logo__type {
  font-size: 26px; line-height: 1; font-weight: 500; letter-spacing: -0.6px;
  transform: translateY(-1px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), clip-path .35s var(--ease-out);
  clip-path: inset(0 0 0 0);
}
.header.is-scrolled .logo__type { opacity: 0; transform: translate(-12px, -1px); clip-path: inset(0 100% 0 0); }
.header.is-scrolled .logo:hover .logo__type { opacity: 1; transform: translateY(-1px); clip-path: inset(0 0 0 0); }

.nav { flex: 1; display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.nav__item { height: 100%; display: flex; align-items: center; }
.nav__link {
  display: flex; align-items: center; gap: 8px; height: 100%;
  padding: 0 6px; font-size: 16px; line-height: 1.4;
  transition: color .25s ease;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--muted-dark); }
.nav__chev { transition: transform .3s ease; }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__mobile-actions { display: none; }

.dropdown {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--dark);
  border-bottom: 1px solid rgba(249, 250, 252, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s ease-out, transform .3s ease-out, visibility 0s linear .3s;
}
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown__inner {
  max-width: 1536px; margin: 0 auto;
  padding: 47px var(--gutter) 48px 272px;
  display: grid; grid-template-columns: repeat(3, 309px);
}
.dropdown__col { padding: 0 32px; border-right: 1px solid rgba(249, 250, 252, 0.18); }
.dropdown__col:first-child { padding-left: 0; }
.dropdown__col:last-child { border-right: 0; }
.dropdown__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; text-transform: uppercase; color: var(--light);
  margin-bottom: 32px;
}
.dropdown__title svg { color: var(--muted-dark); }
.dropdown__col ul { display: grid; gap: 22px; }
.dropdown__link { display: grid; gap: 2px; }
.dropdown__link span { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.25; transition: color .2s ease; }
.dropdown__link small { font-size: 12px; color: var(--light); opacity: .85; }
.dropdown__link:hover span { color: var(--blue-300); }
.dropdown__link .tag { font-size: 11px; padding: 5px 10px; box-shadow: 0 0 12px rgba(84,139,236,.7); }
.dropdown__plain { gap: 26px !important; }
.dropdown__plain a { font-size: 16px; transition: color .2s ease; }
.dropdown__plain a:hover { color: var(--blue-300); }
.dropdown__plain + .arrow-link { margin-top: 30px; }
.dropdown__feature { display: grid; gap: 14px; }
.dropdown__feature-img {
  height: 150px; border-radius: var(--radius-sm); overflow: hidden; position: relative;
  background: radial-gradient(120% 120% at 100% 0%, #3f7fe8 0%, #1d3f86 45%, #182136 100%);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px;
  transition: transform .4s var(--ease-out);
}
.dropdown__feature:hover .dropdown__feature-img { transform: scale(1.025); }
.mini-record {
  display: block; font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #dfe9fb; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 10px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mini-record b { color: var(--blue-300); margin-right: 6px; font-weight: 500; }
.dropdown__feature-text { font-size: 14px; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header__contact { margin-left: 0; }
.burger { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: 32px; padding-bottom: 24px; position: relative; overflow: hidden; }
.hero__heading { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero__title { max-width: 900px; }
.hero__lead { max-width: 690px; font-size: 20px; line-height: 1.3; }
.hero__cta { margin-top: 24px; }

/* split-text intro */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split-word > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1s var(--ease-out), opacity 1s var(--ease-out); }
.is-ready .split-word > span { transform: none; opacity: 1; }
[data-intro] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.is-ready [data-intro] { opacity: 1; transform: none; }
.is-ready .hero__lead[data-intro] { transition-delay: .35s; }
.is-ready .hero__cta[data-intro] { transition-delay: .5s; }
.tabs { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out) .6s, transform 1s var(--ease-out) .6s; }
.is-ready .tabs { opacity: 1; transform: none; }

/* ---------- Tabs ---------- */
.tabs { margin-top: 48px; }
.tabs__menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tab-card {
  position: relative; display: block; text-align: left;
  border-radius: 12.5px; padding: 0.5px;
  background: linear-gradient(135deg, rgba(255,255,255,.45), rgba(31,36,48,0) 50%, rgba(255,255,255,.45));
  transition: box-shadow .4s ease;
}
.tab-card__hover {
  position: absolute; inset: 0; border-radius: 12.5px; opacity: 0;
  background: linear-gradient(110deg, var(--blue-300), #fbfdff 50%, var(--blue-300));
  transition: opacity .4s ease;
}
.tab-card:hover .tab-card__hover { opacity: .55; }
.tab-card.is-active { box-shadow: 0 0 25px 0 var(--glow); }
.tab-card.is-active .tab-card__hover { opacity: .35; }
.tab-card__inner {
  position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%;
  padding: 24px; border-radius: 12px; background: var(--dark);
  box-shadow: inset -10px -10px 20px -10px rgba(158, 171, 196, .07), inset 10px 10px 20px -9px var(--dark-shadow);
  min-height: 196px;
}
.tab-card__label { font-size: 16px; text-transform: uppercase; letter-spacing: .2px; }
.tab-card__title { display: flex; align-items: center; gap: 8px; font-size: 24px; line-height: 1.15; margin-bottom: -8px; }
.tab-card__text { font-size: 16px; line-height: 1.725; color: var(--light); max-width: 400px; }
.tab-card__progress { display: none; height: 4px; border-radius: 999px; background: var(--dark-line); overflow: hidden; margin-top: auto; }
.tab-card__progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue-500), var(--blue-300)); border-radius: inherit; }
.tab-card.is-active .tab-card__progress { display: block; }

.tabs__panels { margin-top: 15px; }
.stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden;
  background:
    radial-gradient(48% 62% at 50% 50%, rgba(23, 27, 37, 1) 0%, rgba(23, 27, 37, .85) 38%, rgba(23,27,37,0) 70%),
    radial-gradient(120% 120% at 50% 50%, #1f2430 30%, #26385e 70%, #34528f 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.stage.is-active { animation: stageIn .35s ease forwards; }
@keyframes stageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* step stack (left) */
.stage__steps {
  position: absolute; left: 8.6%; top: 21.5%; width: 15.2%;
  display: grid; gap: 8px; perspective: 600px;
}
.stage__steps li {
  height: 52px; display: flex; align-items: center; padding: 0 12px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 8px;
  font-size: 14px; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden;
  transition: all .6s var(--ease-out);
}
.stage__steps li:nth-child(1) { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.03); }
.stage__steps li:nth-child(2) { margin: 0 3%; opacity: .7; }
.stage__steps li:nth-child(3) { margin: 0 15%; opacity: .45; }
.stage__steps li:nth-child(4) { margin: 0 34%; opacity: .25; color: transparent; }
.stage__steps li:nth-child(5) { margin: 0 37%; opacity: .12; color: transparent; }

/* device */
.device {
  position: absolute; left: 50%; top: 50%;
  width: 48.7%; aspect-ratio: 654 / 436;
  transform: translate(-50%, -54%);
  padding: 8px; border-radius: 26px;
  background: linear-gradient(160deg, #3b4252, #262b37);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08);
}
.device__screen { display: grid; grid-template-columns: 1fr 1fr; height: 100%; border-radius: 19px; overflow: hidden; }
.device__left { background: #f3f7ff; color: var(--dark); padding: 7% 6%; position: relative; overflow: hidden; }
.device__right { background: linear-gradient(160deg, #2156c9, #12306e); color: #fff; padding: 7% 6%; position: relative; }
.device__brand { font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.device__brand em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.device__kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted-light); margin: 10px 0 16px; }
.device__kicker--light { color: rgba(255,255,255,.7); margin-top: 0; }
.device__nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 1px; }
.device__nav i { width: 24px; height: 24px; display: grid; place-items: center; font-style: normal; font-size: 12px; background: var(--blue-300); color: var(--blue-900); }
.device__nav i:first-child { border-radius: 4px 0 0 4px; }
.device__nav i:last-child { border-radius: 0 4px 4px 0; }

.records { display: grid; gap: 9px; }
.records li {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: 10px; background: #fff;
  box-shadow: 0 1px 0 rgba(31,36,48,.06), 0 4px 14px -8px rgba(31,36,48,.25);
  font-size: 12px;
}
.records b { font-weight: 600; font-size: 12px; }
.records code { font: 10.5px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pill, .state, .escrow__state { position: relative; display: inline-grid; font-style: normal; }
.pill i, .state i, .escrow__state i { grid-area: 1 / 1; font-style: normal; transition: opacity .4s ease, transform .4s ease; }
.pill i { font-size: 10.5px; padding: 4px 8px; border-radius: 999px; text-align: center; }
.pill i:first-child { background: var(--grey); color: var(--muted-light); }
.pill i:last-child { background: var(--ok-bg); color: var(--ok); opacity: 0; transform: scale(.85); }
.stage.is-active .pill i:first-child { animation: pillOut .4s ease forwards; }
.stage.is-active .pill i:last-child { animation: pillIn .4s ease forwards; }
.stage.is-active .records li:nth-child(1) .pill i { animation-delay: 1.2s; }
.stage.is-active .records li:nth-child(2) .pill i { animation-delay: 2.4s; }
.stage.is-active .records li:nth-child(3) .pill i { animation-delay: 3.6s; }
.stage.is-active .records li:nth-child(4) .pill i { animation-delay: 4.8s; }
@keyframes pillOut { to { opacity: 0; transform: scale(.85); } }
@keyframes pillIn { to { opacity: 1; transform: none; } }

.gauge { font-family: var(--serif); font-variation-settings: "opsz" 72; font-size: 76px; line-height: 1; letter-spacing: -2px; margin: 6px 0 18px; }
.gauge--sm { font-size: 64px; }
.bars { display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: 12px; }
.bars i { height: 6px; border-radius: 99px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--blue-300); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(.55); }
.stage.is-active .bars i::after { animation: barGrow 5s var(--ease-out) .8s forwards; }
@keyframes barGrow { to { transform: scaleX(1); } }

/* comply panel */
.device__left--shop { padding: 0; }
.shop { padding: 7% 6%; }
.shop__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.shop__bar b { font-size: 13px; letter-spacing: 2px; margin-right: auto; }
.shop__bar span { width: 26px; height: 6px; border-radius: 4px; background: var(--grey-2); }
.shop__hero { height: 34%; min-height: 70px; border-radius: 12px; background: linear-gradient(135deg, #cfe0fa, #9fbff2); padding: 12px; display: grid; align-content: end; gap: 6px; }
.shop__hero span { height: 8px; width: 60%; border-radius: 4px; background: rgba(255,255,255,.85); }
.shop__hero span + span { width: 36%; background: var(--blue-700); }
.shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.shop__grid span { aspect-ratio: 1; border-radius: 10px; background: var(--grey); }
.consent {
  position: absolute; left: 5%; right: 5%; bottom: 5%;
  background: #fff; border-radius: 14px; padding: 14px;
  box-shadow: 0 18px 40px -12px rgba(18,48,110,.45);
  transform: translateY(130%);
}
.stage.is-active .consent { animation: bannerUp .8s var(--ease-out) 1s forwards, bannerDown .6s ease-in 4.6s forwards; }
@keyframes bannerUp { to { transform: none; } }
@keyframes bannerDown { to { transform: translateY(130%); } }
.consent__title { font-size: 13px; font-weight: 600; }
.consent__text { font-size: 11px; color: var(--muted-light); margin: 4px 0 10px; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.consent__btns span { font-size: 11px; text-align: center; padding: 7px 0; border-radius: 8px; background: var(--grey); }
.consent__btns .consent__accept { background: var(--dark); color: #fff; }
.stage.is-active .consent__accept { animation: press .3s ease 4.1s; }
@keyframes press { 50% { transform: scale(.94); background: var(--blue-600); } }
.cursor {
  position: absolute; width: 18px; height: 18px; right: 30%; bottom: -30px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.5L16 20l-3 1.5-3.5-7.5L4 18z' fill='%231f2430' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0;
}
.stage.is-active .cursor { animation: cursorMove 1.4s var(--ease-out) 2.6s forwards; }
@keyframes cursorMove { 0% { opacity: 0; transform: translate(40px, 30px); } 30% { opacity: 1; } 100% { opacity: 1; transform: translate(-6px, -40px); } }
.scripts { display: grid; gap: 10px; }
.scripts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.state i { font-size: 10.5px; padding: 3px 8px; border-radius: 99px; }
.state i:first-child { background: var(--warn-bg); color: var(--warn); }
.state i:last-child { background: var(--ok-bg); color: var(--ok); opacity: 0; }
.state--stay i:last-child { background: var(--warn-bg); color: var(--warn); }
.stage.is-active .state i:first-child { animation: pillOut .4s ease 4.4s forwards; }
.stage.is-active .state i:last-child { animation: pillIn .4s ease 4.4s forwards; }
.stage.is-active .scripts li:nth-child(2) .state i { animation-delay: 4.6s; }
.stage.is-active .scripts li:nth-child(3) .state i { animation-delay: 4.8s; }
.consent-mode { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.75); }
.consent-mode b { color: var(--blue-300); font-weight: 500; opacity: 0; }
.stage.is-active .consent-mode b { animation: pillIn .4s ease 5.2s forwards; }

/* verify panel */
.checks { display: grid; gap: 8px; }
.checks li {
  position: relative; padding: 8px 10px 8px 34px; font-size: 12px; border-radius: 10px; background: #fff;
  box-shadow: 0 4px 14px -8px rgba(31,36,48,.25); color: var(--muted-light);
}
.checks li::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%;
  border: 1.5px solid var(--grey-3); background: #fff no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: all .3s ease;
}
.stage.is-active .checks li { animation: checkText .3s ease forwards; }
.stage.is-active .checks li::before { animation: checkOn .3s ease forwards; }
.stage.is-active .checks li:nth-child(1), .stage.is-active .checks li:nth-child(1)::before { animation-delay: .9s; }
.stage.is-active .checks li:nth-child(2), .stage.is-active .checks li:nth-child(2)::before { animation-delay: 1.6s; }
.stage.is-active .checks li:nth-child(3), .stage.is-active .checks li:nth-child(3)::before { animation-delay: 2.3s; }
.stage.is-active .checks li:nth-child(4), .stage.is-active .checks li:nth-child(4)::before { animation-delay: 3s; }
.stage.is-active .checks li:nth-child(5), .stage.is-active .checks li:nth-child(5)::before { animation-delay: 3.7s; }
.stage.is-active .checks li:nth-child(6), .stage.is-active .checks li:nth-child(6)::before { animation-delay: 4.6s; }
@keyframes checkOn { to { background-color: var(--ok); border-color: var(--ok); } }
@keyframes checkText { to { color: var(--dark); } }
.escrow { display: grid; gap: 12px; }
.escrow__state i { font-size: 12px; padding: 5px 10px; border-radius: 99px; justify-self: start; }
.escrow__state i:first-child { background: rgba(255,255,255,.14); }
.escrow__state i:last-child { background: var(--ok-bg); color: var(--ok); opacity: 0; }
.stage.is-active .escrow__state i:first-child { animation: pillOut .4s ease 5s forwards; }
.stage.is-active .escrow__state i:last-child { animation: pillIn .4s ease 5s forwards; }
.escrow__bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.escrow__bar i { display: block; height: 100%; background: var(--blue-300); transform-origin: 0 50%; transform: scaleX(0); }
.stage.is-active .escrow__bar i { animation: barGrow 4.2s var(--ease-out) .8s forwards; }
.escrow small { font-size: 11.5px; color: rgba(255,255,255,.7); line-height: 1.4; }

/* ==========================================================================
   Dark → light transition
   ========================================================================== */
.transition { position: relative; height: 900px; margin-top: -2px; background: var(--light); overflow: hidden; }
.transition__glow {
  position: absolute; left: -10%; right: -10%; top: 0; height: 100%;
  background: radial-gradient(92% 66% at 50% 0%,
    var(--dark) 0%, var(--dark) 55%,
    #252c40 62%, #2a3d6c 67%, #3a65c4 72%, #6b98ec 77%, #a9c6f6 82%, #dde8fb 88%, rgba(249,250,252,0) 95%);
  transform-origin: 50% 0;
}

/* ==========================================================================
   Text + media sections
   ========================================================================== */
.tm { padding: 120px 0; position: relative; }
.tm--light { background: var(--light); color: var(--dark); padding-top: 0; margin-top: -280px; }
.tm--dark { background: var(--dark); color: var(--light); padding-top: 0; padding-bottom: 80px; }
.tm--last { padding-bottom: 120px; }
.tm__layout { display: grid; grid-template-columns: 442fr 629fr; gap: 33px; align-items: center; }
.tm--media-left .tm__layout { grid-template-columns: 629fr 442fr; }
.tm__content { display: flex; flex-direction: column; align-items: flex-start; }
.tm__content .eyebrow { margin-bottom: 32px; }
.tm__content .h2 { margin-bottom: 16px; }
.tm__content .body-lg { margin-bottom: 32px; }
.tm--media-left .tm__content { padding-left: 2px; }
.tm__media { position: relative; aspect-ratio: 629 / 420; border-radius: var(--radius-md); overflow: hidden; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.icon-box {
  width: 44px; height: 44px; border-radius: var(--radius-xs); padding: 1px;
  background: linear-gradient(90deg, #5d93f0, #fff 50%, #5d93f0);
  box-shadow: 0 0 15px 0 rgba(64,128,232,.9);
  display: block;
}
.icon-box svg { width: 42px; height: 42px; padding: 9px; border-radius: var(--radius-xs); background: var(--dark); color: #fff; }
.feature__title { font-size: 24px; line-height: 1.15; font-weight: 500; letter-spacing: -0.24px; margin: 0 0 8px; }
.feature__text { font-size: 16px; line-height: 1.3; }

/* --- light media composition --- */
.media-light { background: linear-gradient(180deg, #eef1f6 0%, #e6eaf1 60%, #f1f3f7 100%); }
.media-light::before {
  content: ""; position: absolute; right: 8%; top: -12%; width: 50%; height: 60%;
  background: radial-gradient(closest-side, rgba(92,147,240,.45), rgba(92,147,240,0));
  filter: blur(10px);
}
.media-light::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -35%; height: 70%;
  background: radial-gradient(60% 50% at 40% 40%, rgba(255,255,255,.9), rgba(255,255,255,0));
}
.scene { position: absolute; inset: 0; perspective: 1400px; }
.scene--email > * { position: absolute; }
.email-card {
  left: 25%; top: 21%; width: 47%; height: 66%; z-index: 2;
  background: #fff; border-radius: 18px; padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(18,48,110,.35), 0 0 0 1px rgba(31,36,48,.04);
  transform: rotateX(18deg) rotateY(-18deg) rotateZ(10deg); transform-origin: 50% 50%;
  animation: floatA 7s ease-in-out infinite;
}
.email-card__top { display: flex; align-items: center; gap: 10px; }
.email-card__top b { display: block; font-size: 14px; }
.email-card__top small { font-size: 11px; color: var(--muted-light); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blue-500); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.chip-ok { margin-left: auto; font-size: 11px; padding: 4px 9px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); }
.email-card__subject { font-size: 17px; font-weight: 500; margin: 16px 0 10px; letter-spacing: -.2px; }
.email-card__auth { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.email-card__auth li { font: 10.5px/1 ui-monospace, Menlo, monospace; padding: 6px 8px; border-radius: 6px; background: var(--blue-50); color: var(--blue-900); }
.email-card__auth b { color: var(--ok); font-weight: 600; }
.email-card__line { display: block; height: 8px; border-radius: 4px; background: var(--grey); margin-top: 8px; }
.email-card__line--s { width: 60%; }
.float-card {
  background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(18,48,110,.35);
  transform: rotateX(18deg) rotateY(-18deg) rotateZ(10deg);
  z-index: 3;
}
.float-card--domain { left: 12%; top: 12%; padding: 14px 18px; font-size: 22px; font-weight: 600; letter-spacing: -.4px; animation: floatB 6s ease-in-out infinite; }
.float-card--domain em { font-family: var(--serif); font-weight: 400; }
.float-card--badge { left: 16%; top: 36%; width: 56px; height: 56px; display: grid; place-items: center; color: var(--blue-600); animation: floatB 6.5s ease-in-out .4s infinite; }
.float-card--prompt {
  right: 9%; top: 6%; width: 34%; min-height: 96px; padding: 14px 16px 30px;
  background: rgba(244,247,252,.92); backdrop-filter: blur(6px);
  font-size: 14px; line-height: 1.35; color: var(--dark);
  box-shadow: 0 0 40px rgba(92,147,240,.35), 0 18px 40px -16px rgba(18,48,110,.35);
  animation: floatA 8s ease-in-out .8s infinite;
}
.prompt-send { position: absolute; right: 12px; bottom: 10px; color: var(--muted-light); }
.typing::after { content: "|"; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float-card--report { left: 26%; bottom: 6%; padding: 12px 16px; display: grid; gap: 2px; animation: floatB 7s ease-in-out .2s infinite; }
.float-card--report small { font-size: 11px; color: var(--muted-light); }
.float-card--report b { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1; color: var(--blue-700); }
.float-card--report span { font-size: 11px; }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }

/* --- dark media compositions --- */
.media-dark { background: radial-gradient(90% 90% at 50% 60%, #263457 0%, #1f2430 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.media-dark--glow { background: transparent; box-shadow: none; overflow: visible; }
.scene--consent > *, .scene--gate > * { position: absolute; }
.browser {
  left: 12%; top: 14%; width: 62%; height: 72%;
  border-radius: 14px; overflow: hidden; background: #f3f6fb;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1);
  transform: rotateY(14deg) rotateX(6deg); transform-origin: 0 50%;
  animation: floatA 8s ease-in-out infinite;
}
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #e3e8f0; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3cad6; }
.browser__bar span { margin-left: 12px; font-size: 10.5px; color: var(--muted-light); background: #fff; padding: 3px 12px; border-radius: 6px; }
.browser__body { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.browser__body span { height: 54px; border-radius: 10px; background: #dfe6f1; }
.browser__body span:first-child { grid-column: 1 / -1; height: 70px; background: linear-gradient(135deg, #cfe0fa, #9fbff2); }
.browser__banner {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 3px;
  padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--dark);
  box-shadow: 0 10px 30px -10px rgba(18,48,110,.5);
  animation: bannerPulse 4s ease-in-out infinite;
}
.browser__banner b { font-size: 13px; }
.browser__banner small { font-size: 10.5px; color: var(--muted-light); }
.browser__btns { display: flex; gap: 6px; margin-top: 6px; }
.browser__btns i { font-style: normal; font-size: 10.5px; padding: 6px 12px; border-radius: 7px; background: var(--grey); }
.browser__btns i + i { background: var(--dark); color: #fff; }
@keyframes bannerPulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.glass-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(38, 46, 66, .72); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6), 0 0 30px -6px rgba(64,128,232,.35);
  color: #fff; font-size: 13px;
}
.glass-card svg { color: var(--blue-300); flex: none; }
.glass-card b { font-weight: 600; }
.glass-card span b { display: block; font-size: 15px; }
.glass-card--toggles { right: 7%; top: 10%; width: 36%; flex-direction: column; align-items: stretch; gap: 10px; animation: floatB 7s ease-in-out infinite; }
.glass-card--toggles p { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.7); }
.glass-card--toggles ul { display: grid; gap: 10px; }
.glass-card--toggles li { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.toggle { width: 30px; height: 18px; border-radius: 99px; background: rgba(255,255,255,.22); position: relative; transition: background .3s ease; }
.toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease-out); }
.toggle.is-on { background: var(--blue-500); }
.toggle.is-on::after { transform: translateX(12px); }
.toggle.is-locked { opacity: .6; }
.glass-card--blocked { right: 10%; bottom: 12%; animation: floatA 6s ease-in-out .6s infinite; }

.scene--gate::before {
  content: ""; position: absolute; left: 22%; top: 8%; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(70,135,240,.75), rgba(70,135,240,.2) 55%, rgba(70,135,240,0));
  filter: blur(18px);
}
.gate-card {
  left: 24%; top: 18%; width: 46%; padding: 20px;
  border-radius: 18px; background: #eef4ff; color: var(--dark);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  transform: rotateY(-16deg) rotateX(10deg) rotateZ(4deg);
  animation: floatA 8s ease-in-out infinite;
}
.gate-card__head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue-700); margin-bottom: 14px; }
.gate-card ul { display: grid; gap: 8px; }
.gate-card li { position: relative; padding: 10px 12px 10px 36px; border-radius: 10px; background: #fff; font-size: 13px; box-shadow: 0 6px 16px -10px rgba(18,48,110,.4); }
.gate-card li::before {
  content: ""; position: absolute; left: 12px; top: 50%; margin-top: -8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ok) no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.glass-card--escrow { right: 6%; top: 4%; transform: rotateY(-16deg) rotateZ(4deg); animation: floatB 7s ease-in-out .3s infinite; }
.glass-card--match { left: 10%; bottom: 8%; transform: rotateY(-12deg) rotateZ(4deg); animation: floatB 6.5s ease-in-out .9s infinite; }

/* section head */
.section-head { padding: 120px 0 120px; text-align: center; }
.section-head .display { max-width: 680px; margin: 0 auto; }

/* shine band */
.shine { position: relative; height: 176px; overflow: visible; }
.shine span {
  position: absolute; left: -12%; top: -160px; width: 52%; height: 420px;
  background: radial-gradient(closest-side, rgba(70,120,220,.55), rgba(70,120,220,.18) 55%, rgba(70,120,220,0));
  filter: blur(30px); pointer-events: none;
}

/* ==========================================================================
   Standards (customers row)
   ========================================================================== */
.customers { background: var(--light); padding: 80px 0 48px; }
.customers .h2 { max-width: 1272px; margin: 0 auto 48px; }
.logo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 1056px; margin: 0 auto; }
.logo-tile {
  position: relative; height: 80px; border-radius: var(--radius-md); background: #fff;
  display: grid; place-items: center; overflow: hidden;
}
.logo-tile span {
  grid-area: 1 / 1; font-size: 20px; font-weight: 600; letter-spacing: -.4px; color: var(--dark);
  opacity: 0; transform: translateY(18px); filter: blur(4px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
  white-space: nowrap;
}
.logo-tile span.is-on { opacity: 1; transform: none; filter: none; }
.logo-tile span.is-out { opacity: 0; transform: translateY(-18px); filter: blur(4px); }

/* ==========================================================================
   Proof slider
   ========================================================================== */
.proof { background: var(--light); padding-bottom: 48px; }
.slider { position: relative; }
.slider__track {
  display: flex; gap: 32px; padding: 0 var(--gutter); max-width: 1536px; margin: 0 auto;
  overflow: visible;
}
.slide {
  position: relative; flex: none; width: calc((100% - 96px - 64px - 699px) / 2 + 0px);
  min-width: 459px; height: 480px; border-radius: var(--radius-md); background: var(--grey);
  overflow: hidden; cursor: pointer;
  transition: width .5s ease, transform .5s ease;
}
.slider { overflow: hidden; }
.slide.is-active { width: 52%; max-width: 699px; cursor: default; }
.slide__content {
  position: relative; z-index: 1; height: 100%; padding: 40px 32px;
  display: flex; flex-direction: column; gap: 54px;
}
.slide__logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: var(--blue-700); min-height: 45px; }
.slide__title {
  font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 400;
  font-size: 32px; line-height: 1; letter-spacing: -0.6px; color: var(--dark);
  transition: font-size .5s ease, letter-spacing .5s ease;
}
.slide.is-active .slide__title { font-size: 56px; letter-spacing: -1.75px; }
.slide__shine {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform .6s ease;
  background:
    radial-gradient(60% 50% at 85% 100%, rgba(92,147,240,.45), rgba(92,147,240,0)),
    radial-gradient(40% 40% at 100% 70%, rgba(124,180,255,.35), rgba(124,180,255,0));
}
.slide:hover .slide__shine { opacity: 1; transform: scale(1.02); }
.slide__content.is-fading { opacity: 0; transition: opacity .5s ease-out; }
.slide__content.is-showing { opacity: 1; transition: opacity .5s ease-out .2s; }
.slider__bullets { display: flex; justify-content: center; gap: 12px; margin-top: 48px; }
.slider__bullets button { width: 12px; height: 12px; border-radius: 99px; background: var(--grey-2); transition: background .3s ease; }
.slider__bullets button[aria-selected="true"] { background: var(--grey-3); }
.proof__cta { display: flex; justify-content: center; margin-top: 48px; }

/* ==========================================================================
   Integrations
   ========================================================================== */
.integrations { background: var(--light); padding: 48px 0; }
.integrations__box {
  max-width: 1440px; margin: 0 var(--gutter); padding: 80px 0;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  text-align: center;
}
@media (min-width: 1537px) { .integrations__box { margin: 0 auto; max-width: 1440px; } }
.integrations__box .h3 { margin: 0 48px 48px; }
.marquee { display: flex; overflow: hidden; }
.marquee + .marquee { margin-top: 16px; }
.marquee__group { display: flex; gap: 16px; padding-right: 16px; flex: none; animation: marquee 70s linear infinite; }
.marquee--reverse .marquee__group { animation-name: marquee-reverse; animation-duration: 80s; }
.marquee:hover .marquee__group { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes marquee-reverse { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.int-item {
  flex: none; width: 200px; height: 80px; padding: 16px 28px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius-md); background: var(--light);
  transition: border-radius .3s ease-out, background-color .3s ease-out;
  color: var(--dark);
}
.int-item svg { width: 26px; height: 26px; flex: none; fill: currentColor; transition: fill .3s ease; }
.int-item span { font-size: 19px; font-weight: 600; letter-spacing: -.4px; white-space: nowrap; }
.int-item--text span { font-size: 21px; }
.int-item:hover { border-radius: 32px; background: var(--grey); }
.int-item:hover svg { fill: var(--brand); }
.integrations__cta { padding: 48px 48px 0; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { background: var(--light); padding: 72px 0 96px; }
.pricing__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 900px; margin: 0 auto 56px; }
.pricing__head .eyebrow { margin-bottom: 16px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 32px; border-radius: var(--radius-md); background: #fff;
  box-shadow: 0 0 0 1px rgba(31,36,48,.06);
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(31,36,48,.08), 0 24px 50px -30px rgba(18,48,110,.35); }
.plan__name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; }
.plan__name { white-space: nowrap; }
.plan__name .tag { font-size: 11px; padding: 5px 10px; }
.plan__price { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.plan__price span { font-family: var(--serif); font-variation-settings: "opsz" 72; font-size: 64px; line-height: 1; letter-spacing: -2px; }
.plan__price small { font-size: 14px; color: var(--muted-light); }
.plan__desc { font-size: 16px; color: var(--muted-light); min-height: 42px; }
.plan__list { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--grey-2); }
.plan__list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.35; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-50) no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%232f6fdb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan__time { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 14px; color: var(--muted-light); }
.plan--featured { background: var(--dark); color: var(--light); box-shadow: 0 0 25px 0 var(--glow); overflow: hidden; }
.plan--featured .plan__desc, .plan--featured .plan__price small, .plan--featured .plan__time { color: var(--muted-dark); }
.plan--featured .plan__list { border-top-color: var(--dark-line); }
.plan--featured .plan__list li::before { background-color: rgba(124,180,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%237cb4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__glow { position: absolute; right: -30%; top: -30%; width: 90%; height: 70%; background: radial-gradient(closest-side, rgba(70,135,240,.45), rgba(70,135,240,0)); pointer-events: none; }
.plan--featured > *:not(.plan__glow) { position: relative; }
.plan__form { margin: 0; }
.plan__form .btn:disabled { opacity: .7; cursor: progress; }
.pricing__error { text-align: center; margin-top: 24px; color: #b42318; font-size: 16px; }
.pricing__note { text-align: center; margin-top: 32px; font-size: 16px; color: var(--muted-light); }
.pricing__note a { color: var(--dark); border-bottom: 1px solid currentColor; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--light); padding: 24px 0 120px; }
.faq .h2 { margin-bottom: 40px; }
.faq__list { border-top: 1px solid var(--grey-2); }
.faq__item { border-bottom: 1px solid var(--grey-2); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 20px; line-height: 1.3; cursor: pointer;
}
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s ease; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__body { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.5; color: var(--muted-light); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; padding: 120px 0; text-align: center; }
.cta__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__scrim { position: absolute; inset: 0; background: linear-gradient(rgba(31,36,48,0) 36%, var(--dark)); }
.cta__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.cta .display { max-width: 1100px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer__top { padding-top: 80px; padding-bottom: 80px; }
.footer__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer__heading { font-size: 16px; line-height: 1; font-weight: 700; text-transform: uppercase; margin-bottom: 32px; letter-spacing: -.1px; }
.footer__menu { display: grid; gap: 16px; align-content: start; }
.footer__menu--tight { gap: 16px; }
.footer__menu a, .footer__drop > button { font-size: 16px; line-height: 1.3; transition: color .2s ease; }
.footer__menu a:hover, .footer__drop > button:hover { color: var(--blue-300); }
.footer__drop > button { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; margin: -5px 0; text-align: left; }
.footer__drop > button svg { transition: transform .3s ease; }
.footer__drop.is-open > button svg { transform: rotate(180deg); }
.footer__drop > ul { display: grid; gap: 12px; overflow: hidden; max-height: 0; opacity: 0; padding-left: 12px; transition: max-height .4s ease, opacity .3s ease, margin .3s ease; }
.footer__drop.is-open > ul { max-height: 400px; opacity: 1; margin-top: 16px; }
.footer__drop > ul a { font-size: 14px; color: var(--muted-dark); }
.footer__social { display: flex; gap: 8px; margin-top: 32px; }
.footer__social a { width: 24px; height: 24px; transition: color .2s ease; }
.footer__social a:hover { color: var(--blue-300); }
.footer__bottom { border-top: 1px solid rgba(249,250,252,.18); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer__legal a:hover { color: var(--blue-300); }

/* ==========================================================================
   Reveal on scroll (GSAP-like: y 50 → 0, opacity 0 → 1, 1s power2.out)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], [data-intro], .split-word > span, .tabs { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .dropdown__inner { padding-left: var(--gutter); grid-template-columns: repeat(3, 1fr); }
  .stage__steps li { font-size: 12px; height: 44px; }
}

@media (max-width: 991px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .header__inner { gap: 16px; }
  .logo { width: auto; }
  .logo__type { display: none; }
  .tab-card__title .tag { display: none; }
  .header__login, .header__contact { display: none; }
  .header__signup { height: 32px; padding: 6px 14px; font-size: 15px; border-radius: 10px; }
  .burger { display: grid; gap: 4px; width: 40px; height: 40px; place-content: center; margin-right: -8px; }
  .burger span { display: block; width: 18px; height: 2px; background: var(--light); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
  .header.is-menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header.is-menu-open .burger span:nth-child(2) { transform: scaleX(0); }
  .header.is-menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--dark); flex-direction: column; align-items: stretch;
    padding: 8px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s ease-out, transform .3s ease-out, visibility 0s linear .3s;
  }
  .header.is-menu-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; height: auto; gap: 0; }
  .nav__item { height: auto; flex-direction: column; align-items: stretch; border-bottom: 1px solid rgba(249,250,252,.12); }
  .nav__link { height: 60px; justify-content: space-between; padding: 0; font-size: 20px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; display: none; }
  .nav__item.is-open .dropdown { display: block; }
  .dropdown__inner { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 8px 0 28px; }
  .dropdown__col { padding: 0; border: 0; }
  .dropdown__title { margin-bottom: 18px; }
  .dropdown__feature-img { height: 120px; }
  .nav__mobile-actions { display: grid; gap: 12px; margin-top: 32px; }
  .nav__mobile-actions .text-btn { justify-content: center; }
  body.menu-open { overflow: hidden; }

  .display { font-size: 64px; }
  .display--md { font-size: 52px; }
  .h2 { font-size: 40px; }
  .tabs__menu { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 24px; scrollbar-width: none; }
  .tabs__menu::-webkit-scrollbar { display: none; }
  .tab-card { flex: 0 0 280px; scroll-snap-align: start; }
  .tab-card__inner { min-height: 0; }
  .tab-card__text { display: none; }
  .tabs__panels { margin-top: 0; }
  .stage { aspect-ratio: 4 / 3.2; }
  .stage__steps { display: none; }
  .device { width: 86%; }

  .tm__layout, .tm--media-left .tm__layout { grid-template-columns: 1fr; gap: 40px; }
  .tm__content { align-items: center; text-align: center; max-width: 640px; margin: 0 auto; }
  .tm--media-left .tm__media { order: 2; }
  .features { grid-template-columns: 1fr; gap: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .tm--light { margin-top: -200px; }
  .transition { height: 620px; }

  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .logo-row .logo-tile:nth-child(n+4) { display: none; }
  .slide { min-width: 0; width: 86vw !important; max-width: none !important; height: 420px; }
  .slide .slide__title, .slide.is-active .slide__title { font-size: 40px; letter-spacing: -1px; }
  .slider__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; }
  .slider__track::-webkit-scrollbar { display: none; }
  .slide { scroll-snap-align: center; }
  .integrations__box { margin: 0 16px; border-radius: 48px; padding: 56px 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--featured { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .display { font-size: 52px; line-height: 1; letter-spacing: -1px; }
  .display--md { font-size: 40px; line-height: 1.05; letter-spacing: -1px; }
  .h2 { font-size: 32px; line-height: 1.1; }
  .h3 { font-size: 28px; }
  .body-lg, .hero__lead { font-size: 17px; }
  .hero__cta { margin-top: 20px; }
  .tab-card { flex-basis: 265px; }
  .stage { aspect-ratio: auto; height: 400px; border-radius: 20px; }
  .device { width: 94%; aspect-ratio: auto; height: 340px; padding: 6px; border-radius: 20px; }
  .device__screen { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .device__right { padding: 16px; }
  .device__left { padding: 16px; }
  .device__right .gauge { font-size: 44px; margin: 2px 0 8px; }
  .device__right .bars, .device__right .scripts, .device__right .escrow small, .device__right .consent-mode { display: none; }
  .device__kicker { margin: 6px 0 10px; }
  .records li { grid-template-columns: 44px 1fr auto; padding: 7px 8px; }
  .checks li:nth-child(n+5), .records li:nth-child(4) { display: none; }
  .shop__grid { display: none; }
  .section-head { padding: 80px 0; }
  .tm__media { aspect-ratio: 1 / 1; }
  .gate-card { left: 12%; top: 16%; width: 70%; padding: 16px; }
  .gate-card li { font-size: 12px; padding: 8px 10px 8px 32px; }
  .glass-card { font-size: 11.5px; padding: 9px 12px; }
  .glass-card span b { font-size: 13px; }
  .glass-card--escrow { right: 4%; top: 2%; }
  .glass-card--match { left: 4%; bottom: 4%; }
  .browser { left: 6%; width: 74%; height: 66%; top: 18%; }
  .glass-card--toggles { top: 4%; right: 4%; }
  .glass-card--blocked { right: 4%; bottom: 6%; }
  .email-card { top: 24%; height: 56%; }
  .float-card--domain { left: 6%; top: 8%; font-size: 18px; padding: 10px 14px; }
  .float-card--badge { left: 6%; top: 30%; width: 44px; height: 44px; }
  .email-card { left: 14%; width: 66%; }
  .float-card--prompt { width: 44%; font-size: 12px; }
  .float-card--report { display: none; }
  .glass-card--toggles { width: 48%; }
  .features { gap: 28px; }
  .feature__title { font-size: 22px; }
  .customers { padding-top: 64px; }
  .logo-row { grid-template-columns: 1fr 1fr; }
  .logo-row .logo-tile:nth-child(3) { display: none; }
  .logo-tile span { font-size: 18px; }
  .slide { height: 360px; }
  .slide__content { padding: 28px 24px; gap: 32px; }
  .slide .slide__title, .slide.is-active .slide__title { font-size: 34px; }
  .int-item { width: 168px; height: 68px; padding: 12px 18px; }
  .int-item span { font-size: 16px; }
  .plan { padding: 24px; }
  .plan__price span { font-size: 52px; }
  .faq__item summary { font-size: 18px; }
  .cta { padding: 96px 0; }
  .footer__grid { grid-template-columns: 1fr; }
}
