/* ==========================================================================
   Haztra marketing site
   Designed at 1920px, centred 1640px content width, fluid below.
   ========================================================================== */

/* ---------- Fonts (Plus Jakarta Sans, SIL OFL – hosted locally) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --white: #FFFFFF;
  --ink: #36383D;
  --ink-soft: #5B5E66;
  --purple: #6B4CE6;
  --purple-dark: #5A3BD6;
  --purple-mid: #A78BF2;
  --lav-50: #F8F5FF;
  --lav-100: #F1ECFF;
  --lav-200: #E6DEFF;
  --lav-300: #D6CAFB;
  --line: #E4DDF8;

  --container: 1640px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: clamp(76px, 6vw, 116px);
  --radius-sm: 14px;
  --radius: 28px;
  --radius-lg: 44px;
  --shadow-soft: 0 24px 60px -24px rgba(107, 76, 230, .28);
  --shadow-card: 0 10px 30px -14px rgba(60, 40, 140, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 14.4px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--purple); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625em;
  font: 600 1em/1 var(--font); border-radius: 14px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 12px 26px -12px rgba(107, 76, 230, .7); }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(107, 76, 230, .75); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--purple); }
.btn-outline:hover { background: var(--lav-100); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { font-size: 14px; padding: 0.78em 1.5em; border-radius: 10px; }
.btn-lg { font-size: clamp(14px, 1vw, 18px); padding: 1em 2.25em; border-radius: clamp(10px, .8vw, 14px); min-width: min(100%, 12em); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: #fff; }
.header-row { display: grid; grid-template-columns: 1fr auto; align-items: center; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.375em; justify-self: start; }
.brand-logo { display: block; height: clamp(38px, 3vw, 56px); width: auto; }
.primary-nav {
  display: flex; position: fixed; inset: 0; z-index: 80; overflow-y: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: clamp(30px, 5vh, 64px);
  padding: clamp(96px, 12vh, 150px) var(--gutter) clamp(42px, 7vh, 80px);
  color: #fff; background: linear-gradient(145deg, #241744 0%, #5130bd 48%, #8e72ee 100%);
  opacity: 0; visibility: hidden; pointer-events: none;
  clip-path: circle(0 at calc(100% - var(--gutter) - 24px) 36px);
  transition: clip-path .65s var(--ease), opacity .25s ease, visibility 0s .65s;
}
.primary-nav::before { content: ""; position: fixed; width: min(54vw, 700px); aspect-ratio: 1; right: -12vw; bottom: -28vw; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255, 255, 255, .025), 0 0 0 160px rgba(255, 255, 255, .02); pointer-events: none; }
.menu-open .primary-nav { opacity: 1; visibility: visible; pointer-events: auto; clip-path: circle(150% at calc(100% - var(--gutter) - 24px) 36px); transition-delay: 0s; }
.nav-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, .85fr) minmax(360px, 1fr); align-items: end; gap: clamp(64px, 9vw, 160px); width: min(100%, 1320px); }
.nav-intro { align-self: center; padding-bottom: clamp(20px, 4vh, 54px); }
.nav-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(22px, 4vh, 44px); font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.nav-kicker span { width: 32px; height: 1px; background: currentColor; }
.nav-statement { font-size: clamp(2.7rem, 5vw, 5.7rem); line-height: .95; font-weight: 800; letter-spacing: -.065em; color: #fff; }
.nav-statement em { font-style: normal; color: #cdbfff; }
.nav-summary { max-width: 30em; margin-top: clamp(22px, 3vh, 36px); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .68); }
.nav-menu { display: flex; flex-direction: column; align-items: flex-start; }
.nav-links { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(2px, .7vh, 10px); counter-reset: nav-item; }
.nav-links li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 14px; counter-increment: nav-item; }
.nav-links li::before { content: "0" counter(nav-item); align-self: center; font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .42); }
.nav-links a { position: relative; display: block; overflow: hidden; padding: .12em .28em; border-radius: 14px; font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.12; font-weight: 800; letter-spacing: -.045em; transition: color .2s, background-color .2s, transform .25s var(--ease); }
.nav-links a::after { display: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; background: rgba(255, 255, 255, .12); transform: translateX(8px); }
.nav-label { display: block; height: 1.12em; overflow: hidden; line-height: 1.12; }
.nav-label > span { display: block; height: 1.12em; white-space: nowrap; transition: transform .4s var(--ease); }
.nav-links a:hover .nav-label > span, .nav-links a:focus-visible .nav-label > span { transform: translateY(-100%); }
.nav-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: min(100%, 420px); margin-top: clamp(22px, 3vh, 36px); }
.nav-actions .btn { min-width: 150px; font-size: 14px; padding: .95em 1.5em; }
.primary-nav .btn-outline { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); }
.primary-nav .btn-primary { color: var(--purple-dark); background: #fff; box-shadow: 0 18px 38px -18px rgba(20, 10, 55, .8); }
.primary-nav .nav-demo-btn { justify-content: space-between; gap: 20px; width: 100%; padding: 13px 13px 13px 18px !important; border: 1px solid rgba(255, 255, 255, .24); border-radius: 16px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: 0 18px 40px -22px rgba(16, 7, 48, .8); backdrop-filter: blur(12px); }
.primary-nav .nav-demo-btn:hover, .primary-nav .nav-demo-btn:focus-visible { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .48); }
.nav-demo-btn .btn-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.nav-demo-btn .btn-copy small { font-size: 10px; line-height: 1; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .56); }
.nav-demo-btn .btn-copy strong { font-size: 15px; line-height: 1.25; font-weight: 700; }
.nav-demo-btn .btn-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--purple); transition: transform .4s var(--ease), background-color .25s, color .25s, box-shadow .25s; }
.nav-demo-btn:hover .btn-icon, .nav-demo-btn:focus-visible .btn-icon { transform: translate(3px, -3px) scale(1.06); background: #fff; color: var(--purple-dark); box-shadow: 0 10px 20px -10px rgba(20, 8, 60, .8); }
.nav-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .48); }
.nav-note span { width: 7px; height: 7px; border-radius: 50%; background: #cdbfff; box-shadow: 0 0 0 5px rgba(205, 191, 255, .12); }
.menu-toggle {
  position: relative; z-index: 100; display: block; justify-self: end; width: 48px; height: 48px; border: 0;
  background: var(--purple); border-radius: 50%; cursor: pointer; color: #fff;
  box-shadow: 0 12px 24px -12px rgba(107, 76, 230, .8);
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.site-header.is-scrolled .menu-toggle { position: fixed; top: clamp(14px, 2vw, 24px); right: var(--gutter); }
.menu-toggle:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(107, 76, 230, .85); }
.menu-toggle:active { transform: translateY(0); }
.menu-bars { position: relative; display: block; width: 24px; height: 18px; margin: auto; }
.menu-bars i { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-bars i:nth-child(1) { top: 0; } .menu-bars i:nth-child(2) { top: 8px; } .menu-bars i:nth-child(3) { top: 16px; }
.menu-open .menu-bars i:nth-child(1) { top: 8px; transform: rotate(45deg); }
.menu-open .menu-bars i:nth-child(2) { opacity: 0; }
.menu-open .menu-bars i:nth-child(3) { top: 8px; transform: rotate(-45deg); }
body.nav-open { overflow: hidden; }

@media (min-width: 1181px) {
  .site-header:not(.is-scrolled) .header-row { grid-template-columns: 1fr auto 1fr; }
  .site-header:not(.is-scrolled) .primary-nav { display: contents; position: static; color: inherit; background: none; opacity: 1; visibility: visible; pointer-events: auto; clip-path: none; transition: none; }
  .site-header:not(.is-scrolled) .primary-nav::before { content: none; }
  .site-header:not(.is-scrolled) .nav-shell, .site-header:not(.is-scrolled) .nav-menu { display: contents; }
  .site-header:not(.is-scrolled) .nav-intro, .site-header:not(.is-scrolled) .nav-note { display: none; }
  .site-header:not(.is-scrolled) .nav-links { flex-direction: row; gap: clamp(18px, 2.4vw, 44px); }
  .site-header:not(.is-scrolled) .nav-links li { display: block; }
  .site-header:not(.is-scrolled) .nav-links li::before { display: none; }
  .site-header:not(.is-scrolled) .nav-links a { padding: 10px 2px; border-radius: 0; font-size: clamp(12.8px, .84vw, 16px); line-height: 1; font-weight: 600; letter-spacing: normal; transition: color .2s; }
  .site-header:not(.is-scrolled) .nav-links a:hover, .site-header:not(.is-scrolled) .nav-links a:focus-visible { color: var(--purple); background: none; transform: none; }
  .site-header:not(.is-scrolled) .nav-actions { flex-direction: row; justify-self: end; gap: 12px; width: auto; margin-top: 0; }
  .site-header:not(.is-scrolled) .nav-actions .btn { width: auto; min-width: 0; }
  .site-header:not(.is-scrolled) .primary-nav .btn-outline { color: var(--ink); background: #fff; border-color: var(--purple); }
  .site-header:not(.is-scrolled) .primary-nav .nav-demo-btn { gap: 10px; padding: .58em .7em .58em 1.25em !important; border: 2px solid transparent; border-radius: 10px; color: #fff; background: var(--purple); box-shadow: 0 12px 26px -12px rgba(107, 76, 230, .7); backdrop-filter: none; }
  .site-header:not(.is-scrolled) .nav-demo-btn .btn-copy small { display: none; }
  .site-header:not(.is-scrolled) .nav-demo-btn .btn-icon { width: 30px; height: 30px; background: rgba(255, 255, 255, .16); color: #fff; }
  .site-header:not(.is-scrolled) .primary-nav .nav-demo-btn:hover, .site-header:not(.is-scrolled) .primary-nav .nav-demo-btn:focus-visible { background: var(--purple-dark); }
  .site-header:not(.is-scrolled) .menu-toggle {
    position: fixed; top: clamp(14px, 2vw, 24px); right: clamp(16px, 1.5vw, 28px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateX(calc(100% + var(--gutter) + 28px));
    transition: transform .45s var(--ease), opacity .25s ease, visibility 0s .45s, background-color .2s, box-shadow .2s;
  }
  .site-header.is-scrolled .menu-toggle {
    right: clamp(16px, 1.5vw, 28px); opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition: transform .45s var(--ease), opacity .25s ease, visibility 0s, background-color .2s, box-shadow .2s;
  }
  .site-header.is-scrolled .menu-toggle:hover { transform: translateY(-1px); }
}

@media (max-width: 900px) {
  .nav-shell { grid-template-columns: 1fr; gap: 28px; }
  .nav-intro { display: none; }
  .nav-menu { width: 100%; }
  .nav-links a { font-size: clamp(2rem, 8vw, 3.4rem); }
}

@media (max-width: 520px) {
  .primary-nav { align-items: flex-start; }
  .nav-links { align-items: flex-start; }
  .nav-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .menu-toggle { width: 44px; height: 44px; }
  .menu-bars { width: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-nav { transition: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; overflow-y: visible; padding-top: clamp(24px, 3vw, 60px); }
.hero-copy { position: relative; z-index: 2; text-align: center; }
.eyebrow { font-size: clamp(10.4px, 0.84vw, 16px); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--purple); }
.hero-title { margin-top: clamp(14px, 1.6vw, 30px); font-size: clamp(1.52rem, 6.88vw, 120px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.hero-title .line { display: block; }
.accent { color: var(--purple); }

/* Rotating headline word. All words share one grid cell, so the box is always as wide as the longest word. */
/* The box matches the CURRENT word (width set by site.js); words are absolute, so outgoing words never affect layout. */
.hero-title .line-rot { white-space: nowrap; }
.rotator { position: relative; display: inline-block; vertical-align: baseline; text-align: left; white-space: nowrap; transition: width .4s var(--ease); }
.rotator.no-anim { transition: none; }
.rot-strut { visibility: hidden; } /* in-flow, gives the box its line height and baseline; also the no-JS width */
.rot-word { position: absolute; left: 0; top: 0; opacity: 0; visibility: hidden; transform: translateY(.4em); transition: opacity .45s ease, transform .45s var(--ease), visibility 0s linear .45s; }
.rot-word.is-current { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rot-word.is-leaving { opacity: 0; transform: translateY(-.4em); }
html:not(.js) .rot-extra { display: none; }
@media (prefers-reduced-motion: reduce) { .rot-extra { display: none; } .rot-word, .rotator { transition: none; } }
.hero-lede { margin: clamp(20px, 2.2vw, 40px) auto 0; max-width: 55em; text-wrap: balance; font-size: clamp(14.4px, 1.52vw, 28.8px); line-height: 1.35; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 1.6vw, 30px); margin-top: clamp(28px, 3vw, 56px); }
.hero-cta { position: relative; isolation: isolate; overflow: hidden; justify-content: space-between; gap: 20px; padding: .72em .75em .72em 1.65em; }
.hero-cta::before { content: ""; position: absolute; z-index: -1; inset: -2px; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .26) 48%, transparent 76%); transform: translateX(-120%) skewX(-18deg); transition: transform .65s var(--ease); }
.hero-cta:hover::before, .hero-cta:focus-visible::before { transform: translateX(120%) skewX(-18deg); }
.hero-cta-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; transition: transform .4s var(--ease), background-color .25s, color .25s, box-shadow .25s; }
.hero-cta-primary .hero-cta-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.hero-cta-primary:hover .hero-cta-icon, .hero-cta-primary:focus-visible .hero-cta-icon { transform: translateX(4px); background: #fff; color: var(--purple-dark); box-shadow: 0 8px 18px -10px rgba(25, 12, 75, .8); }
.hero-cta-demo .hero-cta-icon { background: var(--purple); color: #fff; transform: rotate(-45deg); }
.hero-cta-demo:hover .hero-cta-icon, .hero-cta-demo:focus-visible .hero-cta-icon { transform: translate(3px, -3px) rotate(-45deg); background: var(--purple-dark); box-shadow: 0 9px 20px -10px rgba(107, 76, 230, .9); }

.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; display: block; background: linear-gradient(160deg, #F3EEFF 0%, #E7DEFF 100%); }
.blob-left  { left: -14%; top: 34%; width: 52%; height: 38%; border-radius: 60% 40% 55% 45% / 70% 60% 40% 30%; animation: drift 14s ease-in-out infinite alternate; }
.blob-right { right: -12%; top: 22%; width: 48%; height: 30%; border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%; opacity: .85; animation: drift 17s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(2%, -4%, 0) rotate(3deg); } }

/* ---------- Product preview ---------- */
.product { position: relative; z-index: 2; margin-top: clamp(40px, 5vw, 96px); padding-bottom: clamp(10px, 1.5vw, 24px); }
.product-frame {
  container-type: inline-size; position: relative;
  padding: 1.5cqw; border-radius: clamp(24px, 2.8vw, 54px);
  background: linear-gradient(145deg, rgba(255,255,255,.95), #E9E1FF 55%, #DCD0FF);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255,255,255,.7);
}
.product::after { /* soft fade into the next section */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 18%; z-index: -1;
  background: linear-gradient(to top, #fff, rgba(255,255,255,0));
}

.dash {
  --u: clamp(7.5px, 1.05cqw, 17px);
  font-size: calc(var(--u) * 0.8); display: grid; grid-template-columns: 18.75em 1fr;
  background: #fff; border-radius: 3.75em; overflow: hidden; color: var(--ink); line-height: 1.3;
  box-shadow: 0 1px 0 rgba(107,76,230,.08);
}
.dash-side { padding: 2.75em 2em; background: linear-gradient(180deg, #FAF8FF, #F4F0FF); }
.dash-brand { display: flex; align-items: center; gap: 0.375em; font-weight: 800; font-size: 1.7em; letter-spacing: -.035em; margin-bottom: 2em; }
.dash-brand img { width: 2.125em; height: 2.125em; }
.dash-side ul { display: grid; gap: 0.563em; }
.dash-side li { display: flex; align-items: center; gap: 1em; padding: 1em 1.25em; border-radius: 1.125em; font-size: 1.12em; font-weight: 500; }
.dash-side li .icon { width: 1.563em; height: 1.563em; flex: none; }
.dash-side li.is-active { background: var(--lav-200); font-weight: 700; color: var(--ink); }

.dash-main { padding: 3em 23.75em 3em 3.25em; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25em; }
.dash-kicker { font-size: .95em; font-weight: 700; color: var(--purple); }
.dash-title { font-size: 2.1em; font-weight: 800; letter-spacing: -.025em; margin-top: 0.25em; }
.dash-sub { font-size: .95em; color: var(--ink-soft); margin-top: 0.375em; }
.dash-sub span { color: var(--purple); font-weight: 600; }
.dash-select { display: flex; align-items: center; gap: 1em; padding: 1.063em 1.5em; border: 1px solid var(--line); border-radius: 1.125em; font-size: 1em; color: var(--purple); white-space: nowrap; background: #fff; }
.dash-select .icon { width: 1.5em; height: 1.5em; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 1.5em; padding: 1.625em 1.875em; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5em; margin-top: 2.5em; }
.stat-label { display: flex; justify-content: space-between; align-items: center; font-size: .95em; font-weight: 600; margin-bottom: 1em; }
.stat-label .icon { width: 1.437em; height: 1.437em; color: var(--ink-soft); opacity: .7; }
.pill { display: inline-block; background: var(--lav-200); color: var(--purple); font-weight: 700; font-size: 1.5em; padding: 0.375em 1.25em; border-radius: 0.75em; }
.stat-value { font-size: 2.2em; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-note { font-size: .95em; color: var(--ink-soft); margin-top: 0.375em; }
.meter { height: 0.813em; margin-top: 0.875em; border-radius: 1.25em; background: var(--lav-200); overflow: hidden; }
.meter i { display: block; width: calc(var(--v) * 1%); height: 100%; border-radius: 1.25em; background: var(--purple); }

.dash-charts { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.5em; margin-top: 1.5em; }
.card-title { font-size: 1.05em; font-weight: 700; margin-bottom: 1.25em; }
.domains li { display: grid; grid-template-columns: 8.125em 1fr 3.75em; align-items: center; gap: 1em; font-size: .95em; margin-bottom: 0.938em; }
.domains li:last-child { margin-bottom: 0; }
.track { height: 1.125em; border-radius: 1.25em; background: var(--lav-100); overflow: hidden; }
.track i { display: block; width: calc(var(--v) * 1%); height: 100%; border-radius: 1.25em; background: linear-gradient(90deg, var(--purple), var(--purple-mid)); }
.dv { text-align: right; color: var(--ink-soft); }
.dist-body { display: flex; align-items: center; gap: 2em; }
.donut { position: relative; width: 13.75em; flex: none; aspect-ratio: 1; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 6.2; stroke-dasharray: 0 100; stroke-dashoffset: 0; }
.seg-high { stroke: var(--purple); } .seg-mod { stroke: var(--purple-mid); } .seg-low { stroke: var(--lav-300); }
.donut-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.donut-label strong { font-size: 2.2em; font-weight: 800; letter-spacing: -.03em; }
.donut-label span { font-size: .9em; color: var(--ink-soft); }
.legend { display: grid; gap: 1em; font-size: .95em; flex: 1; }
.legend li { display: flex; align-items: center; gap: 0.75em; }
.legend b { margin-left: auto; font-weight: 500; color: var(--ink-soft); }
.legend i { width: 1em; height: 1em; border-radius: 50%; flex: none; }
.k-high { background: var(--purple); } .k-mod { background: var(--purple-mid); } .k-low { background: var(--lav-300); }

/* Phones */
.phone {
  --p: calc(var(--w) / 100); /* 1% of the phone width */
  container-type: inline-size; position: relative; width: var(--w); aspect-ratio: 9 / 19;
  padding: calc(var(--p) * 3.2); border-radius: calc(var(--p) * 17); background: linear-gradient(160deg, #2a2745, #15132a);
  box-shadow: 0 40px 70px -26px rgba(40, 24, 110, .55), inset 0 0 0 calc(var(--p) * 1.2) #3b3760, 0 0 0 1px rgba(255,255,255,.3);
}
.phone-screen { position: relative; height: 100%; font-size: 3.36cqw; line-height: 1.3; background: #fff; border-radius: 14cqw; overflow: hidden; padding: 0 6cqw; color: var(--ink); }
.phone-notch { position: absolute; left: 50%; top: 2.6cqw; width: 30cqw; height: 8cqw; border-radius: 6cqw; background: #14122a; transform: translateX(-50%); z-index: 2; }
.status { display: flex; justify-content: space-between; align-items: center; padding-top: 3.6cqw; font-size: .85em; }
.status b { font-weight: 700; margin-left: 2cqw; }
.status i { width: 9cqw; height: 3cqw; border-radius: 1cqw; background: var(--ink); opacity: .85; margin-right: 1cqw; }

.phone-mini { --w: 19.5cqw; position: absolute; z-index: 3; right: -2.2%; top: 23%; animation: float 7s ease-in-out infinite; }
.phone-mini .phone-screen { font-size: 3.68cqw; padding: 0 7cqw; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.caption { margin-top: clamp(14px, 1.2vw, 24px); text-align: center; font-style: italic; font-size: clamp(10.4px, 0.8vw, 14.4px); color: var(--ink); }

/* ---------- How it works (interactive walkthrough) ---------- */
.how { padding: clamp(56px, 6vw, 120px) 0 clamp(20px, 3vw, 60px); }
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 110px); align-items: center; }
.how-copy h2 { margin-top: clamp(12px, 1.2vw, 22px); font-size: clamp(1.6rem, 3.2vw, 60.8px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; }
.how-intro { margin-top: 18px; max-width: 37.5em; font-size: 14.4px; line-height: 1.6; color: var(--ink-soft); }
.how-steps { display: grid; gap: 12px; margin-top: clamp(24px, 2.4vw, 44px); }
.how-step { border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.how-step-head { display: flex; align-items: center; gap: 16px; margin: 0; padding: 18px 20px; font: inherit; border-radius: 22px; }
.how-step-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--lav-100); color: var(--purple); transition: background-color .3s, color .3s; }
.how-step-text { display: block; min-width: 0; }
.how-step-title { display: block; font-size: clamp(17.6px, 1.28vw, 22.4px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.how-step-summary { display: block; margin-top: 2px; font-size: 13.6px; line-height: 1.5; color: var(--ink-soft); }
.how-step-more { display: grid; grid-template-rows: 1fr; }
.how-step-more > div { min-height: 0; overflow: hidden; }
.how-step-detail { padding: 0 20px 20px 88px; font-size: 13.6px; line-height: 1.6; }
.how-note { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-soft); }

.how-pager { --step-progress: 33.333%; display: grid; grid-template-columns: auto minmax(80px, 150px) 52px; align-items: center; gap: 18px; width: min(100%, 420px); margin-top: 24px; }
.how-pager[hidden] { display: none; }
.how-pager-copy { display: flex; flex-direction: column; gap: 4px; min-width: 112px; }
.how-pager-count { font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: .12em; color: var(--ink-soft); }
.how-pager-count strong { font-size: 14px; color: var(--purple); }
.how-pager-target { overflow: hidden; font-size: 13px; line-height: 1.25; font-weight: 700; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.how-pager-rail { height: 3px; overflow: hidden; border-radius: 10px; background: var(--lav-200); }
.how-pager-rail i { display: block; width: var(--step-progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--purple-mid)); transition: width .45s var(--ease); }
.how-next { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: #fff; background: linear-gradient(135deg, var(--purple) 0%, #8062ec 100%); border: 0; border-radius: 50%; box-shadow: 0 14px 26px -13px rgba(85, 54, 204, .8); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.how-next:hover, .how-next:focus-visible { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 32px -14px rgba(85, 54, 204, .95); }
.how-next:active { transform: none; }
.how-next-icon { display: grid; place-items: center; transition: transform .4s var(--ease); }
.how-next:hover .how-next-icon, .how-next:focus-visible .how-next-icon { transform: translateX(4px); }
.how-next.is-restart .how-next-icon { transform: rotate(180deg); }
.how-next.is-restart:hover .how-next-icon, .how-next.is-restart:focus-visible .how-next-icon { transform: translateX(-4px) rotate(180deg); }
.how-next .icon { color: inherit; }

/* enhanced (JS) behaviour */
.how.is-enhanced .how-step-head { cursor: pointer; }
.how.is-enhanced .how-step:hover { background: var(--lav-50); }
.how.is-enhanced .how-step-head:focus-visible { outline: 3px solid var(--purple); outline-offset: -3px; }
.how.is-enhanced .how-step-more { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s; }
.how.is-enhanced .how-step.is-active { background: var(--lav-50); border-color: rgba(107, 76, 230, .45); box-shadow: 0 14px 34px -22px rgba(107, 76, 230, .6); }
.how.is-enhanced .how-step.is-active .how-step-more { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
.how.is-enhanced .how-step.is-active .how-step-icon { background: var(--purple); color: #fff; }

/* stage + stacked panels */
.how-stage { padding: clamp(16px, 2vw, 40px) clamp(14px, 3vw, 56px) 0 0; }
.how-stack { --ox: clamp(14px, 1.7vw, 32px); --oy: clamp(12px, 1.4vw, 26px); display: grid; gap: 20px; }
.how-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-soft); }
.how-panel-inner { padding: clamp(20px, 2.2vw, 36px); }
.hp-kicker { font-size: 11.2px; font-weight: 700; color: var(--purple); }
.hp-title { margin-top: 4px; font-size: clamp(16px, 1.2vw, 20.8px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.hp-label { margin-top: 22px; font-size: 11.2px; font-weight: 600; color: var(--ink-soft); }
.hp-questions, .hp-actions { display: grid; margin-top: 10px; }
.hp-questions { gap: 10px; }
.hp-questions li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 12.8px; line-height: 1.4; }
.hp-questions li span:not(.hp-grip) { flex: 1 1 17.5em; min-width: 0; }
.hp-questions em { font-style: normal; font-size: 10.4px; font-weight: 600; color: var(--purple); background: var(--lav-100); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.hp-grip { flex: none; width: 10px; height: 16px; background: radial-gradient(circle, var(--lav-300) 1.6px, transparent 2px) 0 0 / 5px 5.4px; }
.hp-add { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; padding: 14px; border: 1.5px dashed var(--lav-300); border-radius: 14px; font-size: 12.8px; font-weight: 600; color: var(--purple); }
.hp-plus { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--lav-100); }
.hp-plus::before, .hp-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 2px; background: var(--purple); transform: translate(-50%, -50%); }
.hp-plus::after { transform: translate(-50%, -50%) rotate(90deg); }

.hp-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--lav-50); }
.hp-link-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--lav-200); color: var(--purple); }
.hp-link-text { flex: 1 1 10em; min-width: 0; font-size: 12.8px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-chip { font-size: 10.4px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--purple); color: #fff; white-space: nowrap; }
.hp-chip-soft { background: var(--lav-200); color: var(--purple); }
.hp-quiz { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; }
.hp-progress { height: 4px; border-radius: 4px; background: var(--lav-200); overflow: hidden; }
.hp-progress i { display: block; width: 22%; height: 100%; background: var(--purple); }
.hp-count { margin-top: 14px; font-size: 11.2px; font-weight: 600; color: var(--purple); }
.hp-q { margin-top: 4px; font-size: clamp(13.6px, 1.04vw, 16.8px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.hp-options { display: grid; gap: 2px; margin-top: 12px; }
.hp-options li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 12.8px; }
.hp-options li.is-selected { background: var(--lav-100); font-weight: 600; }
.hp-radio { position: relative; flex: none; width: 18px; height: 18px; border: 1.5px solid #9a9aa6; border-radius: 50%; }
.is-selected .hp-radio { border-color: var(--purple); }
.is-selected .hp-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--purple); }

.hp-bars { display: grid; gap: 14px; margin-top: 18px; }
.hp-bars li { display: grid; grid-template-columns: 8.125em 1fr 3.75em; align-items: center; gap: 12px; font-size: 12px; }
.hp-bars b { font-weight: 500; text-align: right; color: var(--ink-soft); }
.hp-track { height: 12px; border-radius: 12px; background: var(--lav-100); overflow: hidden; }
.hp-track i { display: block; width: calc(var(--v) * 1%); height: 100%; border-radius: 12px; background: linear-gradient(90deg, var(--purple), var(--purple-mid)); transform-origin: left; transition: transform .8s var(--ease) .25s; }
.hp-actions li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12.8px; }
.hp-actions li:last-child { border-bottom: 0; }
.hp-box { flex: none; width: 20px; height: 20px; border: 2px solid var(--lav-300); border-radius: 6px; }
.how-caption { margin-top: 18px; }

/* stacked-card mode, applied only once JS has initialised */
.how.is-enhanced .how-stack { gap: 0; }
.how.is-enhanced .how-panel { grid-area: 1 / 1; transform-origin: bottom left; transition: transform .45s var(--ease), opacity .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease); }
.how.is-enhanced .how-panel[data-pos="0"] { z-index: 3; transform: none; opacity: 1; }
.how.is-enhanced .how-panel[data-pos="1"] { z-index: 2; transform: translate(var(--ox), calc(var(--oy) * -1)) scale(.97); opacity: .9; background: var(--lav-50); box-shadow: 0 18px 40px -26px rgba(107, 76, 230, .35); }
.how.is-enhanced .how-panel[data-pos="2"] { z-index: 1; transform: translate(calc(var(--ox) * 2), calc(var(--oy) * -2)) scale(.94); opacity: .7; background: var(--lav-100); box-shadow: none; }
.how.is-enhanced .how-panel-inner { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.how.is-enhanced .how-panel[data-pos="0"] .how-panel-inner { opacity: 1; visibility: visible; transition: opacity .3s ease .15s, visibility 0s; }
.how.is-enhanced .how-panel:not([data-pos="0"]) .hp-track i { transform: scaleX(0); }
.how.is-enhanced .how-panel:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .how.is-enhanced .how-panel[data-pos="1"], .how.is-enhanced .how-panel[data-pos="2"] { transform: none; opacity: 0; }
}
@media (max-width: 980px) {
  .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .how-stage { max-width: 760px; width: 100%; }
}
@media (max-width: 700px) {
  .how-stack { --ox: 10px; --oy: 9px; }
  .how-stage { padding: 20px 20px 0 0; }
  .how-intro, .how-step-summary, .how-step-detail { font-size: 12.8px; }
  .how-step-head { padding: 16px; gap: 14px; }
  .how-step-icon { width: 46px; height: 46px; border-radius: 14px; }
  .how-step-detail { padding: 0 16px 18px 16px; }
  .how-pager { grid-template-columns: auto minmax(48px, 1fr) 52px; width: 100%; gap: 14px; }
  .how-panel { border-radius: 22px; }
  .hp-bars li { grid-template-columns: 7em 1fr 3.5em; gap: 10px; }
}


/* ---------- Participation ---------- */
.participation { padding: clamp(60px, 7vw, 140px) 0 clamp(40px, 4vw, 80px); overflow: hidden; }
.part-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 4vw, 80px); }
.part-copy h2 { font-size: clamp(1.6rem, 5.6vw, 83.2px); line-height: 1.03; font-weight: 800; letter-spacing: -.045em; max-width: 8.75em; }
.part-copy p { margin-top: clamp(18px, 2vw, 40px); max-width: 18.75em; font-size: clamp(14.4px, 1.52vw, 28.8px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.stores { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.2vw, 24px); margin-top: clamp(28px, 3vw, 60px); }
.store { display: inline-flex; align-items: center; gap: 14px; background: #000; color: #fff; padding: 14px 28px 14px 20px; border-radius: 16px; border: 1px solid #3a3a3a; transition: transform .25s var(--ease), box-shadow .25s; }
.store:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.5); }
.store svg { width: clamp(26px, 2.1vw, 40px); height: auto; }
.store small { display: block; font-size: clamp(8px, 0.64vw, 11.2px); letter-spacing: .02em; line-height: 1.2; }
.store strong { display: block; font-size: clamp(14.4px, 1.24vw, 24px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.part-visual { position: relative; display: grid; place-items: center; min-height: 0; }
.blob-part { width: 72%; aspect-ratio: 1 / 1.05; border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; right: 4%; top: 8%; z-index: 0; animation: drift 16s ease-in-out infinite alternate; }
.phone-lg { --w: clamp(240px, 24vw, 460px); z-index: 1; animation: float 8s ease-in-out infinite; }
.phone-lg .phone-screen { display: flex; flex-direction: column; font-size: 3.44cqw; }
.q-brand { display: flex; align-items: center; justify-content: center; gap: 2cqw; margin-top: 8cqw; font-weight: 800; font-size: 1.25em; letter-spacing: -.035em; }
.q-brand img { width: 8cqw; height: 8cqw; }
.q-progress { height: .5cqw; margin: 6cqw -6cqw 0; background: var(--line); }
.q-progress i { display: block; width: 22%; height: 100%; margin-left: 6cqw; background: var(--purple); }
.q-count { margin-top: 5cqw; font-size: .95em; font-weight: 500; color: var(--purple); }
.q-text { margin-top: 3cqw; font-size: 1.3em; line-height: 1.22; font-weight: 800; letter-spacing: -.025em; }
.q-options { margin-top: 5cqw; display: grid; }
.q-options li { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 2cqw; font-size: .93em; border-bottom: 1px solid #F0ECFA; }
.q-options li.is-selected { background: var(--lav-100); border-radius: 2cqw; border-color: transparent; font-weight: 500; }
.radio { width: 4.4cqw; height: 4.4cqw; flex: none; border: 1.5px solid #9a9aa6; border-radius: 50%; position: relative; }
.is-selected .radio { border-color: var(--purple); }
.is-selected .radio::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: var(--purple); }
.q-next { margin-top: auto; margin-bottom: 8cqw; display: flex; align-items: center; justify-content: center; gap: 2cqw; padding: 3.6cqw; border-radius: 3cqw; background: var(--purple); color: #fff; font-weight: 700; font-size: 1em; }
.q-next .icon { width: 1.375em; height: 1.375em; }

/* ---------- Pricing band ---------- */
.pricing { padding: clamp(16px, 2vw, 40px) 0 clamp(40px, 5vw, 90px); }
.pricing-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(24px, 3vw, 56px) clamp(24px, 4vw, 76px); background: linear-gradient(100deg, var(--lav-100), #EAE2FF); border-radius: var(--radius); }
.pricing-band h2 { font-size: clamp(1.52rem, 2.8vw, 54.4px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.pricing-band p { margin-top: 0.625em; font-size: clamp(12.8px, 1.2vw, 23.2px); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding-top: clamp(20px, 3vw, 60px); overflow: hidden; }
.final-cta h2 { font-size: clamp(1.52rem, 5.6vw, 83.2px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.final-cta p { margin: clamp(14px, 1.4vw, 28px) auto 0; font-size: clamp(14.4px, 1.52vw, 28.8px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
/* ---------- FAQ ---------- */
.faq { padding: clamp(60px, 8vw, 150px) 0 clamp(20px, 3vw, 60px); text-align: left; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 140px); align-items: start; }
.faq .eyebrow { margin: 0; font-size: clamp(10.4px, 0.84vw, 16px); font-weight: 700; letter-spacing: .22em; line-height: 1.4; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head h2 { margin-top: clamp(12px, 1.2vw, 22px); font-size: clamp(1.6rem, 3.68vw, 70.4px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 56px; padding: clamp(20px, 2vw, 38px) 0; cursor: pointer; list-style: none;
  font-size: clamp(14.4px, 1.24vw, 24px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--purple); }
.faq-item summary:focus-visible { outline-offset: 2px; border-radius: 12px; }
.faq-icon { position: relative; flex: none; width: clamp(36px, 2.6vw, 48px); aspect-ratio: 1; border-radius: 50%; background: var(--lav-100); transition: background-color .25s, transform .35s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40%; height: 2px; border-radius: 2px; background: var(--purple); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background-color .25s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--purple); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { margin: 0; max-width: 45em; padding: 0 clamp(0px, 4vw, 72px) clamp(22px, 2.2vw, 40px) 0; font-size: clamp(12.8px, 1vw, 19.2px); line-height: 1.6; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] p { animation: faq-in .45s var(--ease); }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
}

.wordmark-wrap { container-type: inline-size; margin-top: clamp(20px, 3vw, 60px); }
.wordmark { font-size: 23.56cqw; line-height: .9; font-weight: 800; letter-spacing: -.05em; text-align: center; white-space: nowrap; color: #A98CF0; background: linear-gradient(180deg, #B49AF4, #9F80EE); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; padding-bottom: 0.05em; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(10px, 1.2vw, 22px) 0 clamp(18px, 2vw, 34px); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: clamp(14px, 1.4vw, 26px); border-top: 1px solid var(--line); font-size: clamp(10.4px, 0.8vw, 13.6px); }
.footer-links { display: flex; gap: clamp(20px, 3vw, 56px); }
.footer-links a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(40px, 6vw, 120px) 0; }
.legal-body { max-width: 65em; }
.legal h1 { font-size: clamp(1.92rem, 4vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.legal h2 { font-size: 1.28rem; font-weight: 700; margin-top: 2.5em; letter-spacing: -.02em; }
.legal p { margin-top: 1em; font-size: 0.9rem; color: var(--ink); }
.legal .muted { color: var(--ink-soft); }
.legal a:not(.btn) { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.legal .btn { margin-top: 1.875em; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal-up { transform: translateY(48px) scale(.985); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-title .line { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .hero-title .line.in { opacity: 1; transform: none; }

.js .meter i, .js .track i { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .5s; }
.js .reveal.in .meter i, .js .reveal.in .track i { transform: scaleX(1); }
.js .track li:nth-child(2) i { transition-delay: .6s; }
.js .donut circle { transition: stroke-dasharray 1.3s var(--ease) .7s, stroke-dashoffset 0s; }
.js .reveal.in .donut circle, .js .donut.in circle { stroke-dasharray: var(--len) calc(100 - var(--len)); stroke-dashoffset: var(--off); }
/* The dashboard stays visible; only its graphs wait for their dedicated viewport trigger. */
.js .product-frame.graphs-ready .meter i, .js .product-frame.graphs-ready .track i { transform: scaleX(1); }
.js .product-frame.graphs-ready .donut circle { stroke-dasharray: var(--len) calc(100 - var(--len)); stroke-dashoffset: var(--off); }
.no-js-fallback .donut circle, html:not(.js) .donut circle { stroke-dasharray: var(--len) calc(100 - var(--len)); stroke-dashoffset: var(--off); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-title .line { opacity: 1; transform: none; }
  .js .meter i, .js .track i { transform: none; }
  .js .donut circle { stroke-dasharray: var(--len) calc(100 - var(--len)); stroke-dashoffset: var(--off); }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .part-grid { grid-template-columns: 1fr; text-align: center; }
  .part-copy h2, .part-copy p { margin-inline: auto; }
  .stores { justify-content: center; }
  .phone-lg { --w: min(70vw, 340px); }
}
@media (max-width: 760px) {
  .product-frame { padding: 10px; border-radius: 26px; }
  .dash { --u: 13px; grid-template-columns: 1fr; border-radius: 20px; }
  .dash-side { display: none; }
  .dash-main { padding: 18px 16px 150px; }
  .dash-head { flex-direction: column; }
  .dash-select { display: none; }
  .dash-title { font-size: 1.6em; }
  .dash-stats, .dash-charts { grid-template-columns: 1fr; gap: 12px; }
  .stat { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .stat .stat-label { grid-column: 1 / -1; }
  .stat .meter { grid-column: 1 / -1; }
  .stat .stat-note { grid-column: 2; margin: 0; }
  .dist-body { flex-direction: column; align-items: flex-start; }
  .legend { width: 100%; }
  .phone-mini { --w: 130px; right: 6px; bottom: -28px; top: auto; }
  .pricing-band { flex-direction: column; align-items: flex-start; }
  .footer-row { flex-direction: column; gap: 10px; text-align: center; }
  .btn-lg { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; width: min(100%, 420px); margin-inline: auto; }
}
@media (max-width: 420px) {
  .eyebrow { letter-spacing: .14em; }
  .store { padding: 12px 20px 12px 14px; }
}

/* keep the step list a constant height while switching (var set by site.js) */
.how.is-enhanced .how-step-detail { min-height: var(--how-detail-h, 0); }
.how:not(.is-enhanced) .how-grid { align-items: start; }

/* ---------- Workspace & privacy ---------- */
.space { padding: clamp(56px, 6vw, 120px) 0 clamp(24px, 3vw, 60px); }
.space-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 110px); align-items: center; }
.space-copy h2 { font-size: clamp(1.6rem, 3.2vw, 60.8px); line-height: 1.06; font-weight: 800; letter-spacing: -.04em; max-width: 9em; }
.space-lede { margin-top: 16px; max-width: 30em; font-size: 14.4px; line-height: 1.6; color: var(--ink-soft); }
.space-list { margin-top: clamp(22px, 2.4vw, 44px); border-top: 1px solid var(--line); }
.space-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.space-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--lav-100); color: var(--purple); }
.space-list h3 { font-size: clamp(17.6px, 1.28vw, 22.4px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.space-list p { margin-top: 4px; max-width: 28em; font-size: 13.6px; line-height: 1.6; color: var(--ink-soft); }

.space-visual { position: relative; padding: 20px clamp(0px, 2vw, 36px) 176px clamp(16px, 3vw, 56px); }
.blob-space { left: 14%; right: 0; top: 0; bottom: 140px; width: auto; aspect-ratio: auto; z-index: 0; border-radius: 52% 48% 56% 44% / 48% 54% 46% 52%; animation: drift-soft 16s ease-in-out infinite alternate; }
@keyframes drift-soft { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(1%, -1.5%, 0) rotate(1.5deg); } }
.ws-card { position: relative; z-index: 1; width: 90%; margin-left: auto; padding: clamp(18px, 1.8vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-soft); }
.ws-top { display: flex; align-items: center; justify-content: space-between; }
.ws-title { font-size: clamp(16px, 1.2vw, 20px); font-weight: 800; letter-spacing: -.03em; }
.ws-chip { font-size: 10.4px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); background: var(--lav-100); padding: 5px 11px; border-radius: 99px; }
.ws-rows { display: grid; gap: 10px; margin-top: 16px; }
.ws-rows li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; }
.ws-av { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--lav-200); color: var(--purple); font-size: 13.6px; font-weight: 800; }
.ws-name { flex: 1; min-width: 0; font-size: 13.6px; font-weight: 700; line-height: 1.3; }
.ws-name small { display: block; margin-top: 2px; font-size: 11.2px; font-weight: 500; color: var(--ink-soft); }
.ws-rows em { font-style: normal; font-size: 11.2px; font-weight: 700; padding: 4px 11px; border-radius: 99px; white-space: nowrap; }
.st-open { background: var(--purple); color: #fff; }
.st-draft { background: var(--lav-100); color: var(--purple); }
.st-closed { background: #fff; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }

.pv-card { position: absolute; z-index: 2; left: clamp(16px, 3vw, 56px); bottom: 30px; width: min(40%, 240px); padding: 16px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 26px 50px -22px rgba(60, 40, 140, .4); }
.pv-label { font-size: 11.2px; font-weight: 700; color: var(--purple); }
.pv-avatar { position: relative; display: grid; place-items: center; width: 100%; height: 86px; margin-top: 10px; border-radius: 14px; background: var(--lav-50); overflow: hidden; }
.pv-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 245, 255, 0) 0%, rgba(241, 236, 255, .55) 100%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask-image: linear-gradient(180deg, transparent 15%, #000 80%); mask-image: linear-gradient(180deg, transparent 15%, #000 80%); }
.pv-line { display: block; height: 8px; margin-top: 12px; border-radius: 8px; background: var(--lav-200); }
.pv-line-short { width: 60%; margin-top: 8px; background: var(--lav-100); }
.space-caption { position: absolute; left: 0; right: 0; bottom: 2px; margin: 0; text-align: center; z-index: 0; }

@media (max-width: 980px) {
  .space-grid { grid-template-columns: 1fr; gap: 36px; }
  .space-visual { max-width: 640px; width: 100%; }
}
@media (max-width: 700px) {
  .space-list li { gap: 14px; padding: 18px 0; }
  .space-icon { width: 42px; height: 42px; }
  .space-visual { padding: 16px 0 196px; }
  .blob-space { left: 8%; right: 0; bottom: 160px; }
  .ws-card { width: 100%; }
  .pv-card { left: 4%; bottom: 34px; width: min(60%, 220px); }
}

/* Workspace section, desktop: illustration on the left, copy on the right (DOM and mobile order unchanged) */
@media (min-width: 981px) {
  .space-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .space-visual { order: -1; }
}

/* ==========================================================================
   Polish pass: readable supporting text, tighter rhythm, refined previews.
   Headline and heading sizes are untouched; only supporting text is raised.
   ========================================================================== */

/* ---------- Readability ---------- */
body { font-size: 16px; }
.btn-sm { font-size: 14px; }
.btn-lg { font-size: clamp(14px, 1vw, 18px); }
.eyebrow, .faq .eyebrow { font-size: clamp(12px, .84vw, 16px); }
.hero-lede, .part-copy p, .final-cta p { font-size: clamp(16px, 1.52vw, 28.8px); }
.how-intro, .space-lede { font-size: clamp(16px, 1vw, 18px); }
.how-step-summary, .how-step-detail, .space-list p { font-size: 16px; }
.how-note { font-size: 14px; }
.faq-item summary { font-size: clamp(16px, 1.24vw, 24px); }
.faq-item p { font-size: clamp(16px, 1vw, 19.2px); }
.footer-row { font-size: 14px; }
.caption { font-size: clamp(12px, .8vw, 14.4px); }
.legal p { font-size: 1rem; }
.store small { font-size: 10.4px; }

/* preview panels (how it works, workspace): small labels raised to >= 12px */
.hp-kicker, .hp-label { font-size: 12.8px; }
.hp-count { font-size: 13px; }
.hp-chip, .ws-chip { font-size: 12px; }
.hp-questions li, .hp-actions li, .hp-add, .ws-name, .hp-link-text { font-size: 14.4px; }
.hp-options li { font-size: 14.4px; }
.hp-bars li { font-size: 14px; }
.ws-name small, .ws-rows em, .pv-label { font-size: 12.5px; }
.hp-questions em { font-size: 12.5px; }
.ws-card .ws-title { font-size: clamp(17px, 1.2vw, 20px); }

/* hero dashboard preview: labels a touch larger (layout em-lengths unaffected) */
.dash { --u: clamp(8.5px, 1.05cqw, 17px); }
.dash-kicker, .dash-sub, .stat-label, .stat-note, .domains li, .legend, .dash-select { font-size: 1.12em; }
.dash-side li { font-size: 1.2em; }
.card-title { font-size: 1.15em; }
.donut-label span { font-size: 1em; }

/* ---------- Vertical rhythm: ~80-112px between major sections (56-72px on mobile) ---------- */
.how { padding: clamp(56px, 5.6vw, 100px) 0 0; }
.space { padding: clamp(56px, 5.6vw, 100px) 0 0; }
.participation { padding: clamp(56px, 5.6vw, 100px) 0 0; }
.pricing { padding: clamp(56px, 5.6vw, 100px) 0 0; }
.final-cta { padding-top: clamp(56px, 5.6vw, 100px); }
.faq { padding: clamp(56px, 5.6vw, 100px) 0 0; }
.wordmark-wrap { margin-top: clamp(28px, 3vw, 56px); }
.product { margin-top: clamp(32px, 3.4vw, 64px); padding-bottom: 0; }

/* ---------- How it works: balanced heading, fuller panels ---------- */
.how-copy h2 { text-wrap: balance; }
.hp-scale { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hp-scale li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--lav-100); color: var(--purple); }
.hp-sum { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hp-sum span { font-size: 13px; color: var(--ink-soft); padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; }
.hp-sum b { margin-left: 4px; font-weight: 700; color: var(--purple); }

/* ---------- Phones: shared participant screen ---------- */
.phone { aspect-ratio: 9 / 18; }
.phone-screen { display: flex; flex-direction: column; }
.phone-mini { --w: 21cqw; top: 12%; right: -2.2%; }
.phone-mini .phone-screen { font-size: 4.3cqw; padding: 0 6cqw; }
.phone-lg .phone-screen { font-size: 3.44cqw; }
.q-brand { margin-top: 7cqw; }
.q-count { font-size: .95em; }
.q-options { margin-top: 4cqw; }
.q-options li { padding: 2.4cqw 2cqw; }
.q-foot { display: flex; gap: 3cqw; margin-top: auto; margin-bottom: 7cqw; padding-top: 4cqw; }
.q-back, .q-next { display: flex; align-items: center; justify-content: center; gap: 2cqw; margin: 0; padding: 3.4cqw; border-radius: 3cqw; font-weight: 700; font-size: 1em; }
.q-back { flex: 0 0 34%; color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--lav-300); }
.q-next { flex: 1; }

/* ---------- Free offer ---------- */
.pricing-band { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.pricing-copy .pricing-fine { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.pricing-fine { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pricing-demo-link { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; padding: 5px 6px 5px 12px; color: var(--purple); font-weight: 700; border: 1px solid rgba(107, 76, 230, .28); border-radius: 999px; background: rgba(255, 255, 255, .55); transition: color .25s, background-color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.pricing-demo-link::before { content: ""; position: absolute; z-index: -1; inset: -1px; background: linear-gradient(110deg, transparent 20%, rgba(107, 76, 230, .12) 48%, transparent 76%); transform: translateX(-120%) skewX(-18deg); transition: transform .65s var(--ease); }
.pricing-demo-link:hover, .pricing-demo-link:focus-visible { color: var(--purple-dark); background: #fff; border-color: rgba(107, 76, 230, .5); transform: translateY(-2px); box-shadow: 0 12px 22px -16px rgba(85, 54, 204, .8); }
.pricing-demo-link:hover::before, .pricing-demo-link:focus-visible::before { transform: translateX(120%) skewX(-18deg); }
.pricing-demo-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: var(--purple); transform: rotate(-45deg); transition: transform .4s var(--ease), background-color .25s; }
.pricing-demo-link:hover .pricing-demo-icon, .pricing-demo-link:focus-visible .pricing-demo-icon { transform: translate(2px, -2px) rotate(-45deg); background: var(--purple-dark); }

@media (max-width: 980px) {
  .pricing-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dash { --u: 15px; }
  .phone-mini { --w: min(66vw, 240px); position: relative; top: auto; right: auto; margin: -64px auto 0; }
  .phone-mini .phone-screen { font-size: 4.8cqw; }
}

/* phone proportions: less dead space, same styling for both previews */
.phone-lg { aspect-ratio: 9 / 16.4; }
.phone-mini { aspect-ratio: 9 / 17.2; }
.phone-lg .phone-screen { font-size: 3.9cqw; }
.phone-lg .q-options li { padding: 2.9cqw 2cqw; }
.phone-lg .q-brand { margin-top: 8cqw; }
.phone-lg { aspect-ratio: 9 / 16; }
.phone-lg .phone-screen { font-size: 4.7cqw; }
.phone-lg .q-options li { padding: 3.2cqw 2.2cqw; }
.phone-mini { aspect-ratio: 9 / 16.6; }
.phone-mini .phone-screen { font-size: 5cqw; }
.phone-mini .q-options li { padding: 2.6cqw 2cqw; }
@media (max-width: 760px) { .phone-mini .phone-screen { font-size: 5.2cqw; } }
.pricing-band .pricing-copy p:not(.pricing-fine) { font-size: clamp(16px, 1.2vw, 23.2px); }
@media (max-width: 700px) { .final-cta p br { display: none; } }
.pv-card { bottom: 20px; }
@media (max-width: 760px) { .phone-mini { margin-bottom: 14px; } }

/* ---------- Pricing band: at-a-glance counters (no cards) ---------- */
.pricing-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); }
.stats li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.stat-val { display: block; font-size: clamp(40px, 4.2vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--purple); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-text { font-size: clamp(26px, 2.2vw, 42px); padding-top: .2em; }
.stat-lbl { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.stat-lbl small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 980px) { .pricing-band { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .stats li { gap: 6px; }
}
.stat-val [data-count-to] { display: inline-block; min-width: .62em; }
