/* ==========================================================================
   Vizme: design system and page styles
   Light and dark schemes, system font with optical sizing, size-specific
   tracking, translucent chrome, springs driven from assets/js/main.js.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --dim: #86868b;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #ebebf0;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);

  --brand: #5148f5;
  --brand-ink: #3d33d6;
  --brand-soft: rgba(81, 72, 245, .09);
  --violet: #8a4dff;
  --pink: #ff5a8a;
  --coral: #ff7a45;
  --mint: #0fa97b;
  --amber: #e8a317;
  --wa: #1c9c50;
  --wa-bright: #25d366;
  --tg: #229ed9;

  --grad: linear-gradient(115deg, #4d5bff 0%, #8a4dff 52%, #ff5a8a 100%);
  --grad-soft: linear-gradient(115deg, rgba(77, 91, 255, .12), rgba(138, 77, 255, .1) 52%, rgba(255, 90, 138, .1));

  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .86);
  --glass-edge: rgba(255, 255, 255, .7);

  --shadow-sm: 0 1px 2px rgba(15, 15, 40, .05), 0 2px 8px rgba(15, 15, 40, .04);
  --shadow-md: 0 2px 6px rgba(15, 15, 40, .05), 0 14px 36px rgba(15, 15, 40, .08);
  --shadow-lg: 0 6px 16px rgba(15, 15, 40, .06), 0 34px 90px rgba(30, 24, 90, .18);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(88px, 11vw, 150px);
  --header-h: 64px;

  color-scheme: light dark;
  accent-color: var(--brand);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-2: #0d0d10;
    --bg-3: #19191e;
    --card: #131316;
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --ink-3: #98989f;
    --line: rgba(255, 255, 255, .1);
    --line-2: rgba(255, 255, 255, .18);
    --brand: #8f88ff;
    --brand-ink: #b4afff;
    --brand-soft: rgba(143, 136, 255, .14);
    --grad-soft: linear-gradient(115deg, rgba(77, 91, 255, .2), rgba(138, 77, 255, .16) 52%, rgba(255, 90, 138, .14));
    --glass: rgba(18, 18, 22, .66);
    --glass-strong: rgba(24, 24, 28, .84);
    --glass-edge: rgba(255, 255, 255, .08);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .4), 0 14px 36px rgba(0, 0, 0, .5);
    --shadow-lg: 0 6px 16px rgba(0, 0, 0, .5), 0 34px 90px rgba(0, 0, 0, .6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.52;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(81, 72, 245, .22); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1em; height: 1em; flex: none; }
.brandico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}
.sec { padding-block: var(--sec); position: relative; }
.sec-tint { background: var(--bg-2); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .lede { margin-top: 18px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.0625rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.display {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.2vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -.024em;
  font-weight: 700;
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.018em;
  font-weight: 600;
}
.h4 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.012em; font-weight: 650; }
.dim { color: var(--dim); }
.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -.012em;
  color: var(--ink-2);
  max-width: 640px;
  text-wrap: pretty;
}
.muted { color: var(--ink-3); }
.small { font-size: .875rem; line-height: 1.45; letter-spacing: .004em; }
.tiny { font-size: .78rem; line-height: 1.4; letter-spacing: .012em; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink);
  --b-ink: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--b-bg); color: var(--b-ink);
  font-size: 1rem; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform 120ms ease-out, background-color 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}
.btn:hover { box-shadow: 0 6px 20px rgba(20, 20, 50, .18); }
.btn:active { transform: scale(.97); transition: transform 100ms ease-out; }
.btn-primary { --b-bg: var(--ink); --b-ink: var(--bg); }
.btn-brand { --b-bg: var(--brand); --b-ink: #fff; }
.btn-ghost {
  --b-bg: transparent; --b-ink: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn-ghost:hover { --b-bg: var(--bg-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-light { --b-bg: #fff; --b-ink: #111; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn .icon { width: 1.05em; height: 1.05em; }

.textlink {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--brand); font-weight: 600; text-decoration: none;
}
.textlink:hover { text-decoration: underline; }
.textlink .icon { width: .95em; height: .95em; transition: translate 200ms ease; }
.textlink:hover .icon { translate: 3px 0; }

.linkbtn {
  border: 0; background: none; padding: 0;
  color: var(--brand); font-weight: 600; cursor: pointer;
}
.linkbtn:hover { text-decoration: underline; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: transparent; color: var(--ink);
  transition: background-color 160ms ease, transform 100ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn:disabled:active { transform: none; }

/* ---------- Header (translucent material) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background-color 240ms ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  opacity: 0; transition: opacity 240ms ease;
}
.site-header::after {
  /* Scroll edge effect instead of a hard divider */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 55%, transparent), transparent);
  opacity: 0; transition: opacity 240ms ease;
}
.site-header.is-scrolled::before,
.site-header.is-scrolled::after,
.site-header.is-solid::before { opacity: 1; }

.nav { display: flex; align-items: center; height: 100%; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 2px 8px rgba(90, 70, 255, .3); }
.wordmark { font-size: 1.375rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; letter-spacing: -.005em;
  color: var(--ink-2); text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-plain {
  padding: 8px 12px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: 999px;
}
.nav-plain:hover { color: var(--ink); }
.menu-btn { display: none; }

@media (max-width: 1020px) {
  .nav-links, .nav-plain { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 420px) {
  .nav-cta .btn-sm { display: none; }
}
@media (min-width: 1021px) {
  /* Logo left, menu centred, actions right */
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav > .brand { justify-self: start; }
  .nav-links { margin-left: 0; }
  .nav-cta { justify-self: end; margin-left: 0; }
}

/* ---------- Menu sheet (dialog) ---------- */
.menu {
  margin: 0; padding: 0; border: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  inset: 0; background: transparent; overflow: hidden;
  --p: 0;
}
.menu::backdrop { background: transparent; }
.menu-scrim {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .28);
  opacity: var(--p);
}
.menu-sheet {
  position: absolute; top: 8px; left: 8px; right: 8px;
  padding: 10px 14px 14px;
  border-radius: var(--r-xl);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-edge);
  transform-origin: calc(100% - 40px) 24px;
  touch-action: none;
  will-change: transform;
}
.menu-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 6px 8px; }
.menu-links { display: grid; padding: 6px 0 14px; }
.menu-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 10px; border-radius: 14px;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none;
}
.menu-links a:active { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.menu-links a .icon { color: var(--ink-3); width: 1em; height: 1em; }
.menu-grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line-2); margin: 14px auto 0; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero-head { text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .875rem; font-weight: 500; color: var(--ink-2); letter-spacing: -.005em;
}
.pill-dot {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow-sm);
}
.pill-dot img { width: 14px; height: 14px; border-radius: 4px; }
.hero-head .display { margin: 24px auto 0; max-width: 15ch; }
.hero-head .lede { margin: 24px auto 0; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; align-items: center; margin-top: 34px; }
.hero-actions .textlink { font-size: 1.0625rem; min-height: 44px; }

.stage {
  position: relative;
  margin-top: clamp(48px, 6vw, 72px);
  height: clamp(540px, 48vw, 640px);
  border-radius: clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  overflow: hidden;
  isolation: isolate;
}
.stage-phones {
  position: absolute; left: 0; right: 0; top: clamp(44px, 5vw, 64px);
  display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 3vw, 40px);
}
.stage .phone { --ty: 0px; --s: 1; transform: translate3d(0, var(--ty), 0) scale(var(--s)); transform-origin: 50% 0; flex: none; }
.stage .phone-side { --s: .9; margin-top: 46px; }
.stage .phone-main { z-index: 2; }
.stage-labels {
  position: absolute; left: 0; right: 0; top: clamp(14px, 1.6vw, 20px);
  display: flex; justify-content: center; gap: clamp(16px, 3vw, 40px);
}
.stage-labels span { width: 304px; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--ink-3); letter-spacing: .005em; }

/* iOS style notification */
.ios-note {
  position: absolute; z-index: 3;
  width: 300px; padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12), inset 0 0 0 .5px rgba(0, 0, 0, .06);
  color: #1d1d1f;
  text-align: left;
}
.ios-note-top { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: #6e6e73; letter-spacing: .02em; }
.ios-note-top img { width: 20px; height: 20px; border-radius: 5px; }
.ios-note-top b { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #3a3a3c; }
.ios-note-top span { margin-left: auto; }
.ios-note p { font-size: .84rem; line-height: 1.35; margin-top: 6px; letter-spacing: -.005em; }
.ios-note p b { display: block; font-weight: 600; }
.ios-note-1 { left: clamp(12px, 3vw, 44px); bottom: 36px; }
.ios-note-2 { right: clamp(12px, 3vw, 44px); bottom: 36px; }

/* ---------- Device + mock shared ---------- */
.mock {
  color-scheme: light;
  --m-bg: #ffffff;
  --m-bg-2: #f4f4f7;
  --m-ink: #18181b;
  --m-ink-2: #52525b;
  --m-ink-3: #8a8a93;
  --m-line: rgba(0, 0, 0, .08);
  color: var(--m-ink);
}
.phone {
  position: relative;
  width: 304px;
  height: 632px;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(160deg, #2b2b30, #0d0d10 40%, #1c1c20);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 0 0 1px rgba(0, 0, 0, .25);
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 42px;
  background: #fff;
}
.island {
  position: absolute; top: 11px; left: 50%; translate: -50% 0; z-index: 4;
  width: 96px; height: 28px; border-radius: 20px; background: #000;
}
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  height: 50px; padding: 0 26px 0 32px;
  font-size: .8125rem; font-weight: 650; letter-spacing: -.01em; color: var(--m-ink);
}
.statusbar .sb-r { display: flex; gap: 5px; align-items: center; }
.statusbar svg { height: 11px; width: auto; }

/* App screens inside the phones (UI only) */
.phone .statusbar { position: relative; z-index: 3; color: #111; }
.ui { position: relative; height: calc(100% - 50px); overflow: hidden; background: #fff; color: #111; }
.ui-store { padding: 4px 14px 0; }
.ui-pad { padding: 8px 16px 0; }
.st-head { text-align: center; padding-top: 6px; }
.st-name { font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.st-handle { font-size: .7rem; color: #8a8a93; margin-top: 1px; }
.st-bio { font-size: .74rem; color: #52525b; line-height: 1.4; margin: 6px auto 0; max-width: 230px; }
.st-social { display: flex; justify-content: center; gap: 14px; margin: 10px 0 12px; color: #3f3f46; }
.st-social svg { width: 15px; height: 15px; fill: currentColor; }
.st-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: #f2f2f5; margin-bottom: 10px; }
.st-tabs span { flex: 1; text-align: center; font-size: .7rem; font-weight: 600; padding: 6px 0; border-radius: 999px; color: #6e6e73; }
.st-tabs span.on { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.mono {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: #eef0ff; color: #3d33d6;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.mono-lg { width: 72px; height: 72px; font-size: 1.4rem; }
.th { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; }
.th svg { width: 20px; height: 20px; }
.th-amber { background: #fff3df; color: #b45309; }
.th-blue { background: #e8efff; color: #2f55d4; }
.th-green { background: #e2f6ed; color: #0b7a57; }
.th-tg { background: #e6f4fb; }
.th-tg svg { fill: #229ed9; }
.pg-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pg-item {
  display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 16px;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), inset 0 0 0 1px rgba(0, 0, 0, .07);
}
.pg-txt { min-width: 0; flex: 1; }
.pg-txt b { display: block; font-size: .76rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-txt span { display: block; font-size: .66rem; color: #8a8a93; margin-top: 1px; }
.pg-price { flex: none; font-size: .68rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #111; color: #fff; }
.pg-price.free { background: #f2f2f5; color: #111; }
.ui-foot { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .64rem; color: #a1a1aa; }
.ui-foot img { width: 12px; height: 12px; border-radius: 3px; }
.ui-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.ui-top b { display: block; font-size: .84rem; letter-spacing: -.01em; }
.ui-top small { display: block; font-size: .68rem; color: #8a8a93; }
.ui-prod { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; text-align: left; }
.ui-prod b { display: block; font-size: .82rem; font-weight: 650; letter-spacing: -.01em; }
.ui-prod small { display: block; font-size: .68rem; color: #8a8a93; margin-top: 1px; }
.ui-lines { display: grid; gap: 5px; padding: 10px 12px; border-radius: 12px; background: #f5f5f7; margin-bottom: 12px; }
.ui-lines div { display: flex; justify-content: space-between; font-size: .74rem; color: #52525b; font-variant-numeric: tabular-nums; }
.ui-lines div.total { color: #111; font-weight: 700; font-size: .8rem; border-top: 1px solid rgba(0, 0, 0, .08); padding-top: 6px; margin-top: 2px; }
.ui-label { font-size: .68rem; color: #8a8a93; font-weight: 600; margin-bottom: 6px; }
.ui-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.ui-methods span { padding: 8px 4px; border-radius: 10px; text-align: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.ui-methods span.on { box-shadow: inset 0 0 0 2px #111; }
.ui-methods b { display: block; font-size: .74rem; }
.ui-methods small { display: block; font-size: .6rem; color: #8a8a93; margin-top: 1px; }
.ui-btn { min-height: 44px; border-radius: 12px; background: #111; color: #fff; display: grid; place-items: center; font-weight: 650; font-size: .86rem; }
.ui-fine { font-size: .62rem; color: #8a8a93; line-height: 1.4; margin-top: 10px; text-align: center; }
.ui-secure { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .62rem; color: #8a8a93; margin-top: 8px; }
.ui-secure svg { width: 11px; height: 11px; }
.ui-done { text-align: center; padding-top: 28px; }
.done-check { display: grid; place-items: center; flex: none; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #0fa97b; color: #fff; }
.done-check svg { width: 30px; height: 30px; }
.done-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.done-sub { font-size: .74rem; color: #8a8a93; margin: 2px 0 16px; }
.ui-done .ui-prod { padding: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.done-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; text-align: left; }
.done-list li { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: #3f3f46; }
.done-list svg { width: 14px; height: 14px; color: #0fa97b; flex: none; }

/* ---------- Logo strip ---------- */
.logos { padding-block: 28px 8px; }
.logos-label { text-align: center; color: var(--ink-3); font-size: .875rem; letter-spacing: .005em; margin-bottom: 22px; }
.logos-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px clamp(24px, 4vw, 48px);
}
.logo-item {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink-3); font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  transition: color 200ms ease;
}
.logo-item svg { width: 22px; height: 22px; fill: currentColor; transition: fill 200ms ease; }
.logo-item:hover { color: var(--ink); }
.logo-item:hover svg { fill: var(--bc, currentColor); }
.logo-item .upi {
  font-weight: 800; letter-spacing: -.01em; font-size: 1.05rem;
}

/* ---------- Buyer journey (How Vizme works) ---------- */
.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy device" "control control";
  column-gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(20px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.jr-stage { display: contents; }
.jr-copy { grid-area: copy; max-width: 520px; }
.jr-device { grid-area: device; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.jr-device.is-dragging { cursor: grabbing; }
.jr-control { grid-area: control; margin-top: clamp(28px, 4vw, 44px); }
.jr-k { font-size: .875rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.jr-title { font-family: var(--display); font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.022em; font-weight: 700; margin-top: 10px; text-wrap: balance; }
.jr-text { color: var(--ink-2); font-size: 1.0625rem; margin-top: 14px; }
.jr-does { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.jr-does-k { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.jr-does ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jr-does li { display: flex; align-items: flex-start; gap: 10px; font-size: .975rem; }
.jr-does li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--mint); }
.jr-phone { width: 300px; height: 620px; }
.jr-view { height: calc(100% - 50px); overflow: hidden; }
.jr-strip { display: flex; height: 100%; will-change: transform; }
.jr-s { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; background: #fff; color: #111; }

/* screen 1: social profile */
.jr-profile { padding: 2px 14px 0; }
.sp-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 0 10px; }
.sp-top b { font-size: .92rem; letter-spacing: -.01em; }
.sp-ic svg { width: 18px; height: 18px; }
.sp-head { display: flex; align-items: center; gap: 14px; }
.sp-av { width: 64px; height: 64px; font-size: 1.15rem; }
.sp-stats { flex: 1; display: flex; justify-content: space-around; text-align: center; }
.sp-stats span { font-size: .62rem; color: #6e6e73; }
.sp-stats b { display: block; font-size: .88rem; color: #111; }
.sp-name { font-size: .8rem; font-weight: 700; margin-top: 10px; }
.sp-bio { font-size: .72rem; color: #3f3f46; line-height: 1.4; margin-top: 2px; }
.sp-link { position: relative; display: inline-flex; align-items: center; gap: 5px; margin: 6px 0 0 -6px; padding: 3px 6px; border-radius: 8px; font-size: .74rem; font-weight: 600; color: #2f55d4; background: rgba(47, 85, 212, .08); }
.sp-link svg { width: 12px; height: 12px; }
.sp-tap { position: absolute; right: -8px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(47, 85, 212, .22); }
@media (prefers-reduced-motion: no-preference) {
  .sp-tap { animation: sptap 1.6s ease-out 3; }
}
@keyframes sptap { 0% { scale: .4; opacity: .9; } 100% { scale: 1.6; opacity: 0; } }
.sp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.sp-btns span { padding: 7px; border-radius: 9px; text-align: center; font-size: .72rem; font-weight: 600; background: #f2f2f5; }
.sp-btns span:first-child { background: #2f55d4; color: #fff; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin: 12px -14px 0; }
.sp-post { aspect-ratio: 1; display: flex; align-items: flex-end; padding: 8px; }
.sp-post b { font-size: .62rem; line-height: 1.25; font-weight: 700; color: #1d1d1f; }

/* screen 2: lead magnet */
.jr-lead { padding: 8px 18px 0; }
.lead-cover { position: relative; overflow: hidden; height: 150px; padding: 16px; border-radius: 16px; display: flex; flex-direction: column; justify-content: flex-end; background: #111; color: #fff; }
.lead-cover::after { content: ""; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .08); }
.lead-k { position: absolute; top: 14px; left: 16px; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a1a1aa; }
.lead-cover b { font-size: 1.05rem; line-height: 1.2; letter-spacing: -.015em; max-width: 80%; }
.lead-cover small { font-size: .66rem; color: #a1a1aa; margin-top: 4px; }
.lead-h { font-size: .98rem; font-weight: 700; letter-spacing: -.015em; margin-top: 16px; }
.lead-p { font-size: .74rem; color: #6e6e73; margin-top: 2px; }
.lead-field { margin-top: 12px; padding: 9px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.lead-field small { display: block; font-size: .62rem; font-weight: 600; color: #8a8a93; }
.lead-field b { font-size: .8rem; }
.lead-check { display: flex; align-items: center; gap: 8px; margin: 10px 0 14px; font-size: .74rem; }
.lead-check span { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: #111; color: #fff; }
.lead-check svg { width: 12px; height: 12px; }
.lead-toast { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding: 9px; border-radius: 12px; background: #e9f8f1; color: #0b7a57; font-size: .72rem; font-weight: 650; }
.lead-toast svg { width: 14px; height: 14px; }

/* screen 3: lock screen notifications */
.jr-lock { padding: 14px 12px 0; text-align: center; background: linear-gradient(180deg, #eef0f5, #e3e5ed); }
.ls-date { font-size: .8rem; font-weight: 600; color: #3f3f46; }
.ls-time { font-family: var(--display); font-size: 4.2rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #111; }
.ls-list { display: grid; gap: 8px; margin-top: 28px; text-align: left; }
.ls-n { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, .82); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.ls-app { width: 32px; height: 32px; flex: none; border-radius: 8px; display: grid; place-items: center; }
.ls-app svg { width: 17px; height: 17px; }
.ls-mail { background: #2f55d4; color: #fff; }
.ls-wa { background: #25d366; }
.ls-t { min-width: 0; flex: 1; }
.ls-t b { display: block; font-size: .74rem; }
.ls-t small { display: block; font-size: .7rem; line-height: 1.3; color: #3f3f46; }
.ls-n time { align-self: flex-start; font-size: .62rem; color: #8a8a93; }

/* screen 5: Telegram group */
.jr-group { display: flex; flex-direction: column; }
.gr-top { display: flex; align-items: center; gap: 10px; padding: 6px 14px 12px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
.gr-top b { display: block; font-size: .84rem; }
.gr-top small { display: block; font-size: .66rem; color: #8a8a93; }
.gr-top > svg { margin-left: auto; width: 20px; height: 20px; }
.gr-av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e6f4fb; color: #127bb0; font-size: .74rem; font-weight: 700; }
.gr-msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #eef3f7; }

/* slider */
.jr-rail { position: relative; height: 32px; margin: 0 10%; touch-action: none; cursor: pointer; }
.jr-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; overflow: hidden; border-radius: 4px; background: var(--line-2); }
.jr-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--ink); }
.jr-dot { position: absolute; top: 50%; left: calc(var(--i) * 25%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--line-2); transition: background-color 200ms ease, box-shadow 200ms ease; }
.jr-dot.is-past { background: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.jr-knob {
  position: absolute; top: 50%; left: 0;
  width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .1);
  cursor: grab; will-change: transform; transition: scale 120ms ease-out;
}
.jr-knob.is-pressed { scale: 1.12; cursor: grabbing; }
.jr-knob:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.jr-stops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 12px; }
.jr-stop {
  display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border: 0; border-radius: 12px; background: none;
  color: var(--ink-3); transition: color 200ms ease, transform 100ms ease-out; -webkit-tap-highlight-color: transparent;
}
.jr-stop:hover { color: var(--ink-2); }
.jr-stop:active { transform: scale(.96); }
.jr-stop[aria-pressed="true"] { color: var(--ink); }
.jr-stop-n { font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.jr-stop-l { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 900px) {
  .journey { grid-template-columns: minmax(0, 1fr); grid-template-areas: "device" "control" "copy"; justify-items: center; }
  .jr-control { width: 100%; }
  .jr-copy { width: 100%; max-width: none; margin-top: 28px; }
}
@media (max-width: 560px) {
  .jr-phone { width: 280px; height: 580px; }
  .jr-stop-l { font-size: .78rem; }
  .jr-stop-n { font-size: .66rem; }
}
@media (max-width: 360px) {
  .jr-stop { padding-inline: 0; }
  .jr-stop-l { font-size: .72rem; letter-spacing: -.02em; }
}

/* ---------- Split feature layout ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.split.flip > :first-child { order: 2; }
.split-copy .lede { margin-top: 18px; }
.points { display: grid; gap: 18px; margin-top: 32px; }
.point { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.point-ic {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--bg-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 650; font-size: .95rem;
}
.point-ic svg { width: 18px; height: 18px; }
.point b { display: block; font-weight: 650; letter-spacing: -.012em; }
.point p { color: var(--ink-2); font-size: .975rem; margin-top: 2px; }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
}

/* ---------- Overview grid ---------- */
.ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ov {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px; border-radius: var(--r-lg);
  background: var(--card); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: transform 120ms ease-out, box-shadow 220ms ease;
  -webkit-tap-highlight-color: transparent;
}
.ov:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line-2); }
.ov:active { transform: scale(.98); }
.ov-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.ov-ic svg { width: 22px; height: 22px; }
.ov b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.016em; }
.ov p { color: var(--ink-2); font-size: .96rem; }
.ov-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; font-size: .92rem; }
.ov-more svg { width: 15px; height: 15px; transition: translate 200ms ease; }
.ov:hover .ov-more svg { translate: 3px 0; }
@media (max-width: 900px) { .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ov-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps (solution tabs) ---------- */
.steps { display: grid; gap: 10px; margin-top: 32px; }
.step {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px 18px; border: 0; border-radius: var(--r-md);
  text-align: left; color: var(--ink); background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 100ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.step:hover { background: var(--bg-2); }
.step:active { transform: scale(.985); }
.step[aria-selected="true"] { background: var(--card); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line-2); }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 200ms ease, color 200ms ease; }
.step[aria-selected="true"] .step-n { background: var(--ink); color: var(--bg); box-shadow: none; }
.step-t b { display: block; font-weight: 650; letter-spacing: -.012em; }
.step-t small { display: block; color: var(--ink-3); font-size: .9rem; margin-top: 2px; }
.step-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.step-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink); }

/* ---------- App window mock ---------- */
.win { border-radius: var(--r-xl); overflow: hidden; background: var(--m-bg); color: var(--m-ink); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--m-line); }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #f5f5f7; border-bottom: 1px solid var(--m-line); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4d4d8; }
.win-url {
  flex: 1; min-width: 0; margin-right: 44px; text-align: center;
  padding: 5px 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--m-line);
  font-size: .75rem; color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sol-stack { display: grid; padding: 22px; }
.sol-panel { grid-area: 1 / 1; }
.js .sol-panel + .sol-panel { opacity: 0; visibility: hidden; }
.no-js .sol-panel + .sol-panel { display: none; }
.sol-h { font-size: 1rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 14px; }
.sol-file { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #f5f5f7; margin-bottom: 12px; }
.sol-file b { display: block; font-size: .86rem; }
.sol-file small { display: block; font-size: .74rem; color: #8a8a93; }
.file-badge { width: 40px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: #2f55d4; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .04em; flex: none; }
.sol-ok { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #0fa97b; color: #fff; flex: none; }
.sol-ok svg { width: 14px; height: 14px; }
.sol-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; }
.sol-field { padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); margin-bottom: 10px; }
.sol-field small { display: block; font-size: .68rem; color: #8a8a93; font-weight: 600; }
.sol-field b { display: block; font-size: .86rem; margin-top: 2px; }
.sol-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sol-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; background: #e2f6ed; color: #0b7a57; font-size: .72rem; font-weight: 650; }
.sol-chips svg { width: 12px; height: 12px; }
.sol-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.sol-btn { padding: 9px 16px; border-radius: 10px; background: #111; color: #fff; font-size: .8rem; font-weight: 650; }
.sol-btn.ghost { background: #fff; color: #111; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sol-panel .ui-top b { font-size: .92rem; }
.sol-panel .ui-prod b { font-size: .92rem; }
.sol-panel .ui-prod small, .sol-panel .ui-top small { font-size: .74rem; }
.sol-panel .ui-lines div { font-size: .82rem; }
.sol-panel .ui-lines div.total { font-size: .88rem; }
.sol-panel .ui-methods b { font-size: .8rem; }
.sol-panel .ui-btn { min-height: 46px; font-size: .92rem; }
.sol-panel .ui-fine { font-size: .7rem; }
.sol-success { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: #e9f8f1; margin-bottom: 12px; }
.sol-success .done-check { width: 44px; height: 44px; margin: 0; }
.sol-success .done-check svg { width: 22px; height: 22px; }
.sol-success b { display: block; font-size: .96rem; letter-spacing: -.01em; }
.sol-success small { display: block; font-size: .76rem; color: #3f6f5c; }
.sol-log { list-style: none; margin: 0; padding: 0; }
.sol-log li { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.sol-log li:last-child { border-bottom: 0; }
.sol-log b { display: block; font-size: .86rem; letter-spacing: -.005em; }
.sol-log small { display: block; font-size: .74rem; color: #8a8a93; }
.sol-log time { margin-left: auto; font-size: .72rem; color: #8a8a93; font-variant-numeric: tabular-nums; }
.log-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #f5f5f7; color: #111; flex: none; }
.log-ic svg { width: 16px; height: 16px; }

/* ---------- Course builder ---------- */
.cb { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 380px; }
.cb-side { padding: 18px 14px; background: #fafafa; border-right: 1px solid var(--m-line); }
.cb-title { font-size: .92rem; font-weight: 700; letter-spacing: -.012em; }
.cb-sub { font-size: .72rem; color: #8a8a93; margin: 2px 0 14px; }
.cb-mod { margin-bottom: 14px; }
.cb-mod-h { font-size: .7rem; font-weight: 700; color: #52525b; margin-bottom: 6px; }
.cb-mod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.cb-mod li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: .74rem; }
.cb-mod li svg { width: 13px; height: 13px; flex: none; }
.cb-mod li.done svg { color: #0fa97b; }
.cb-mod li.now { background: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.cb-mod li.lock { color: #8a8a93; }
.cb-mod li span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-mod li em { margin-left: auto; font-style: normal; font-size: .68rem; color: #8a8a93; flex: none; }
.cb-mod-muted { opacity: .6; }
.cb-mod-n { font-size: .72rem; color: #8a8a93; }
.cb-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.cb-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; padding: 18px; border-radius: 14px; color: #fff; background: linear-gradient(160deg, #1c1c1e, #2c2c30); }
.cb-lesson { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a1a1aa; }
.cb-lesson-h { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; max-width: 46%; }
.cb-play { position: absolute; left: 66%; top: 46%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.cb-play svg { width: 22px; height: 22px; margin-left: 3px; color: #fff; }
.cb-bar { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; font-size: .66rem; color: #d4d4d8; font-variant-numeric: tabular-nums; }
.cb-track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.cb-track i { display: block; width: 37%; height: 100%; border-radius: 4px; background: #fff; }
.cb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cb-stats div { padding: 10px 12px; border-radius: 12px; background: #f5f5f7; }
.cb-stats b { display: block; font-size: 1.05rem; letter-spacing: -.02em; }
.cb-stats small { font-size: .68rem; color: #8a8a93; }
.cb-note { font-size: .66rem; color: #a1a1aa; }
@media (max-width: 640px) {
  .cb { grid-template-columns: minmax(0, 1fr); }
  .cb-side { border-right: 0; border-bottom: 1px solid var(--m-line); }
}

/* ---------- Locked content demo ---------- */
.lock-card {
  max-width: 460px; margin-inline: auto;
  border-radius: var(--r-xl);
  background: var(--m-bg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--m-line);
  overflow: hidden;
}
.lock-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    radial-gradient(60% 70% at 30% 30%, #ffd8b8, transparent 70%),
    radial-gradient(60% 70% at 80% 80%, #c9b8ff, transparent 70%),
    linear-gradient(160deg, #ffe9d6, #efe6ff);
}
.lock-scene { position: absolute; inset: 0; transition: filter 120ms linear; }
.lock-doc { background: #eceef3; }
.docpage { position: absolute; inset: 18px 18px 0; padding: 18px 20px; border-radius: 10px 10px 0 0; background: #fff; color: #18181b; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.doc-k { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8a93; }
.doc-h { font-size: 1rem; font-weight: 700; letter-spacing: -.015em; margin: 6px 0 10px; }
.doc-p { font-size: .74rem; line-height: 1.5; color: #3f3f46; margin-bottom: 8px; }
.doc-p b { color: #111; }
.lock-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(20, 20, 24, .6); color: #fff;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .75rem; font-weight: 650; letter-spacing: .01em;
}
.lock-badge svg { width: 13px; height: 13px; }
.lock-play {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .78); color: #18181b;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.lock-play svg { width: 24px; height: 24px; margin-left: 3px; }
.lock-body { padding: 20px 22px 6px; }
.lock-kicker { font-size: .8rem; color: var(--m-ink-3); font-weight: 600; }
.lock-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.lock-text { color: var(--m-ink-2); font-size: .94rem; margin-top: 8px; transition: filter 120ms linear; }
.lock-meta { display: flex; gap: 14px; margin-top: 12px; font-size: .8rem; color: var(--m-ink-3); }
.lock-meta span { display: inline-flex; align-items: center; gap: 5px; }
.lock-meta svg { width: 14px; height: 14px; }

.slider {
  --x: 0px;
  position: relative; margin: 18px 22px 0; height: 62px; border-radius: 999px;
  background: #f1f0f6; box-shadow: inset 0 0 0 1px var(--m-line);
  overflow: hidden;
}
.slider-fill {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--x) + 62px);
  border-radius: 999px; background: linear-gradient(90deg, rgba(77, 91, 255, .16), rgba(138, 77, 255, .22));
}
.slider-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding-left: 52px;
  font-weight: 650; letter-spacing: -.01em; color: #3f3f46; font-size: .98rem;
  pointer-events: none;
}
.slider-knob {
  position: absolute; top: 5px; left: 5px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 16px rgba(81, 72, 245, .35);
  transform: translate3d(var(--x), 0, 0);
  touch-action: none; cursor: grab;
  -webkit-tap-highlight-color: transparent;
}
.slider-knob:active { cursor: grabbing; }
.slider-knob svg { width: 22px; height: 22px; }
.slider-knob.is-pressed { scale: .95; }
.lock-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px 20px; font-size: .8rem; color: var(--m-ink-3); }
.lock-foot .linkbtn { color: #4038d8; font-size: .8rem; }
.lock-card.is-open .slider { background: #e7f8f0; }
.lock-card.is-open .slider-label { color: #0b7a57; padding-left: 0; padding-right: 52px; }

/* ---------- Dark band (Telegram) ---------- */
.band-dark {
  background: #08080b;
  color: #f5f5f7;
  color-scheme: dark;
  --ink: #f5f5f7; --ink-2: #c9c9cf; --ink-3: #8e8e96;
  --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .18);
  --card: #141418;
  --brand: #8f88ff; --brand-soft: rgba(143, 136, 255, .14);
  overflow: clip;
}
.band-dark .eyebrow { color: #5fc4f2; }
.band-dark .lede { margin-top: 20px; }

.tg-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  font-size: .875rem; font-weight: 600; letter-spacing: -.005em;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
}
.chip svg { width: 15px; height: 15px; color: var(--mint); }
.tg-actions { margin-top: 30px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.tg-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 18px; align-items: start; }
.timeline {
  list-style: none; margin: 0; padding: 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.tl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: .8125rem; color: #a1a1aa; font-weight: 600; }
.tl-step {
  position: relative;
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px;
  padding: 10px 0;
  opacity: .32;
  transition: opacity 300ms ease;
}
.tl-step.is-on { opacity: 1; }
.tl-step:not(:last-child)::after {
  content: ""; position: absolute; left: 16px; top: 46px; bottom: -8px; width: 2px;
  background: rgba(255, 255, 255, .12);
}
.tl-step.is-done:not(:last-child)::after { background: linear-gradient(#229ed9, rgba(34, 158, 217, .2)); }
.tl-ic {
  position: relative; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #1c1c22; color: #9ca3af; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: background-color 260ms ease, color 260ms ease;
}
.tl-step.is-on .tl-ic { background: var(--c, #229ed9); color: #fff; box-shadow: none; }
.tl-ic svg { width: 16px; height: 16px; }
.tl-t { font-weight: 650; font-size: .95rem; letter-spacing: -.01em; color: #f5f5f7; line-height: 1.3; }
.tl-s { font-size: .8125rem; color: #a1a1aa; margin-top: 2px; }
.tl-when { font-size: .72rem; color: #71717a; margin-top: 3px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.tl-branch {
  margin-top: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 90, 138, .08); box-shadow: inset 0 0 0 1px rgba(255, 90, 138, .2);
  font-size: .8125rem; color: #fbcfe0;
  display: flex; gap: 10px; align-items: flex-start;
}
.tl-branch svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: #ff8fb1; }

.tg-chat {
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg);
  margin-top: 46px;
}
.tg-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f7f8fa; border-bottom: 1px solid var(--m-line); }
.tg-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.tg-av img { width: 20px; height: 20px; }
.tg-top b { display: block; font-size: .875rem; letter-spacing: -.01em; color: var(--m-ink); }
.tg-top > span > span { font-size: .72rem; color: var(--m-ink-3); }
.tg-top .tg-logo { margin-left: auto; width: 22px; height: 22px; fill: #229ed9; }
.tg-msgs {
  min-height: 330px; padding: 14px 12px 16px;
  display: flex; flex-direction: column; gap: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 158, 217, .07) 0 2px, transparent 3px) 0 0 / 22px 22px,
    #eef3f7;
}
.bubble {
  max-width: 88%; padding: 9px 12px; border-radius: 16px 16px 16px 6px;
  background: #fff; color: #18181b; font-size: .8125rem; line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
  transform-origin: 0% 100%;
}
.bubble.me { align-self: flex-end; border-radius: 16px 16px 6px 16px; background: #dff3ff; transform-origin: 100% 100%; }
.bubble b { font-weight: 650; }
.bubble .bl { display: block; margin-top: 6px; padding: 7px 10px; border-radius: 10px; background: #eaf6fd; color: #127bb0; font-weight: 650; font-size: .78rem; text-align: center; }
.bubble .bt { display: block; font-size: .66rem; color: #9ca3af; text-align: right; margin-top: 3px; }
.sys { align-self: center; font-size: .7rem; color: #64748b; background: rgba(255, 255, 255, .7); padding: 4px 10px; border-radius: 999px; transform-origin: 50% 50%; }
.js [data-seq-item] { opacity: 0; }

@media (max-width: 1020px) {
  .tg-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tg-stage { grid-template-columns: minmax(0, 1fr); }
  .tg-chat { margin-top: 0; }
}

/* ---------- WhatsApp ---------- */
.seg {
  position: relative; display: inline-flex; flex-wrap: nowrap; gap: 2px;
  padding: 4px; border-radius: 999px;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg-thumb {
  position: absolute; top: 0; left: 0; width: 0; height: 0;
  border-radius: 999px; background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  will-change: transform, width;
}
.seg [role="tab"] {
  position: relative; z-index: 1;
  border: 0; background: transparent; border-radius: 999px;
  padding: 9px 16px; white-space: nowrap;
  font-size: .9rem; font-weight: 600; letter-spacing: -.008em; color: var(--ink-3);
  transition: color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.seg [role="tab"][aria-selected="true"] { color: var(--ink); }
.seg [role="tab"]:active { scale: .97; }
@media (max-width: 560px) {
  .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 24px; overflow: visible; }
  .seg [role="tab"] { padding: 10px 8px; font-size: .875rem; }
}

.wa-stage { display: grid; justify-items: center; gap: 22px; }
.wa-phone {
  width: min(100%, 380px);
  border-radius: 34px; overflow: hidden;
  background: #efeae2; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--m-line);
}
.wa-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #0b5c4a; color: #fff; }
.wa-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: #ddd; }
.wa-av img { width: 100%; height: 100%; object-fit: cover; }
.wa-av.mono { display: grid; place-items: center; background: #eef0ff; color: #3d33d6; }
.wa-top b { display: block; font-size: .9rem; letter-spacing: -.01em; }
.wa-top > span > span { font-size: .72rem; opacity: .8; }
.wa-top .wa-logo { margin-left: auto; width: 22px; height: 22px; fill: #25d366; }
.wa-body {
  position: relative; min-height: 380px; padding: 16px 12px 18px;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 0, 0, .025) 0 2px, transparent 3px) 0 0 / 26px 26px,
    #efeae2;
}
.wa-panel { display: flex; flex-direction: column; gap: 8px; }
.wa-panel[hidden] { display: none; }
.wbub {
  max-width: 86%; padding: 8px 10px 6px; border-radius: 4px 14px 14px 14px;
  background: #fff; color: #111b21; font-size: .84rem; line-height: 1.42;
  box-shadow: 0 1px .5px rgba(0, 0, 0, .13);
  transform-origin: 0% 0%;
}
.wbub.me { align-self: flex-end; background: #d9fdd3; border-radius: 14px 4px 14px 14px; transform-origin: 100% 0%; }
.wbub .wt { display: block; text-align: right; font-size: .66rem; color: #667781; margin-top: 2px; }
.wbtn { display: block; margin: 8px -10px -6px; padding: 10px; border-top: 1px solid rgba(0, 0, 0, .08); text-align: center; color: #027eb5; font-weight: 600; font-size: .84rem; }
.wbtn + .wbtn { margin-top: 6px; }
.wdoc { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; background: #f5f6f6; margin-bottom: 4px; }
.wdoc span.pdf { width: 30px; height: 36px; border-radius: 4px; background: #e5484d; color: #fff; display: grid; place-items: center; font-size: .6rem; font-weight: 800; }
.wdoc b { font-size: .8rem; display: block; }
.wdoc small { font-size: .7rem; color: #667781; }
.wa-date { align-self: center; font-size: .7rem; color: #54656f; background: #fff; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(0, 0, 0, .1); }
.wa-optin { align-self: center; font-size: .7rem; color: #54656f; background: #fff7d6; padding: 6px 10px; border-radius: 8px; text-align: center; max-width: 92%; }
.wa-note { text-align: center; max-width: 380px; }

/* ---------- Email sequence ---------- */
.seq-card {
  border-radius: var(--r-xl); padding: clamp(18px, 3vw, 28px);
  background: var(--card); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.seq-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.seq-top b { font-weight: 650; letter-spacing: -.012em; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 650; padding: 5px 10px; border-radius: 999px;
  background: rgba(15, 169, 123, .12); color: var(--mint);
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.seq { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.seq-item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; }
.seq-item:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 52px; bottom: -10px; width: 2px; background: var(--line);
}
.seq-ic {
  position: relative; z-index: 1;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.seq-ic.c { background: var(--ink); color: var(--bg); box-shadow: none; }
.seq-ic svg { width: 18px; height: 18px; }
.seq-item b { display: block; font-size: .95rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.seq-item > div > span { display: block; font-size: .8125rem; color: var(--ink-3); margin-top: 1px; }
.seq-tag { font-size: .72rem; font-weight: 650; padding: 4px 9px; border-radius: 999px; background: var(--bg-2); color: var(--ink-3); white-space: nowrap; }
.seq-wait { padding: 2px 0 2px 54px; font-size: .78rem; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.seq-wait svg { width: 14px; height: 14px; }
.seq-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; padding-left: 54px; }
.seq-branch { padding: 12px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.seq-branch b { display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 650; }
.seq-branch b svg { width: 14px; height: 14px; }
.seq-branch span { display: block; font-size: .78rem; color: var(--ink-3); margin-top: 3px; }
.seq-branch.yes b { color: var(--mint); }
.seq-branch.no b { color: var(--coral); }
@media (max-width: 480px) {
  .seq-split { grid-template-columns: 1fr; padding-left: 0; }
  .seq-item { grid-template-columns: 40px minmax(0, 1fr); }
  .seq-tag { display: none; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.bx {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 32px);
  background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 6px;
  min-height: 300px;
}
.bx h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.bx p.bx-t { color: var(--ink-2); font-size: .975rem; max-width: 420px; }
.bx-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; }
.bx-ic svg { width: 20px; height: 20px; }
.bx-vis { margin-top: auto; padding-top: 22px; }
.bx-course { grid-column: span 7; grid-row: span 2; }
.bx-sessions { grid-column: span 6; }
.bx-events { grid-column: span 6; }
.bx-landing { grid-column: span 4; }
.bx-coupons { grid-column: span 4; }
.bx-insights { grid-column: span 4; }
@media (max-width: 1020px) {
  .bx-course { grid-column: span 12; grid-row: auto; }
  .bx-sessions, .bx-events { grid-column: span 6; }
  .bx-landing, .bx-coupons, .bx-insights { grid-column: span 6; }
  .bx-insights { grid-column: span 12; }
}
@media (max-width: 680px) {
  .bento > .bx { grid-column: span 12; }
}

/* course player */
.course {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px;
  border-radius: 20px; padding: 12px; background: var(--m-bg-2);
  box-shadow: inset 0 0 0 1px var(--m-line);
}
.course-video {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10;
  background: #ddd;
}
.course-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-video .vbar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.course-video .vbar i { display: block; width: 62%; height: 100%; border-radius: 4px; background: #fff; }
.course-video .vplay { position: absolute; left: 12px; top: 12px; font-size: .7rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .3); padding: 4px 8px; border-radius: 999px; }
.course-side b { display: block; font-size: .875rem; font-weight: 700; letter-spacing: -.01em; }
.course-prog { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-size: .72rem; color: var(--m-ink-3); font-weight: 600; }
.course-prog .bar { flex: 1; height: 6px; border-radius: 6px; background: #e4e4ea; overflow: hidden; }
.course-prog .bar i { display: block; height: 100%; width: 38%; background: var(--grad); border-radius: 6px; }
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lessons li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; background: #fff; font-size: .76rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--m-line); }
.lessons li svg { width: 14px; height: 14px; flex: none; }
.lessons li.done svg { color: var(--mint); }
.lessons li.now { box-shadow: inset 0 0 0 1.5px #8a4dff; }
.lessons li.now svg { color: #8a4dff; }
.lessons li.lock { color: var(--m-ink-3); }
.lessons li em { margin-left: auto; font-style: normal; color: var(--m-ink-3); font-weight: 500; }
@media (max-width: 560px) { .course { grid-template-columns: 1fr; } }
@media (min-width: 1021px) {
  .bx-course .course { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 14px; }
  .bx-course .course-video { aspect-ratio: 16 / 8.2; }
  .bx-course .lessons { grid-template-columns: 1fr 1fr; }
}

/* sessions */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  border: 0; padding: 10px 6px; border-radius: 12px;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .82rem; font-weight: 650; color: var(--ink);
  transition: transform 100ms ease-out, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
.slot:active { transform: scale(.95); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.slot:disabled { color: var(--ink-3); text-decoration: line-through; cursor: default; opacity: .6; }
.slot-day { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: .82rem; font-weight: 650; color: var(--ink-2); }
.slot-msg { margin-top: 10px; font-size: .8125rem; color: var(--ink-3); min-height: 1.4em; display: flex; align-items: center; gap: 6px; }
.slot-msg.ok { color: var(--mint); font-weight: 600; }
.slot-msg svg { width: 15px; height: 15px; }

/* ticket */
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(120deg, #1d1b3a, #3b1f5c);
  color: #fff;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; right: 86px; width: 16px; height: 16px; border-radius: 50%; background: var(--card);
}
.ticket::before { top: -8px; }
.ticket::after { bottom: -8px; }
.ticket b { display: block; font-size: .95rem; letter-spacing: -.01em; }
.ticket span { display: block; font-size: .76rem; color: #c4b5fd; margin-top: 2px; }
.ticket .seats { border-left: 1.5px dashed rgba(255, 255, 255, .25); padding-left: 16px; text-align: center; }
.ticket .seats strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.ticket .seats small { font-size: .66rem; color: #c4b5fd; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.seat-bar { margin-top: 12px; height: 6px; border-radius: 6px; background: var(--bg-3); overflow: hidden; }
.seat-bar i { display: block; height: 100%; width: 76%; border-radius: 6px; background: var(--grad); }
.seat-cap { display: flex; justify-content: space-between; margin-top: 6px; font-size: .75rem; color: var(--ink-3); font-weight: 600; }

/* landing wireframe */
.wire { border-radius: 16px; padding: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.wire i { display: block; height: 8px; border-radius: 6px; background: var(--bg-3); }
.wire .w-hero { height: 58px; border-radius: 10px; background: var(--grad-soft); display: grid; place-items: center; }
.wire .w-hero span { width: 50%; height: 8px; border-radius: 6px; background: color-mix(in srgb, var(--brand) 50%, transparent); }
.wire .w-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.wire .w-row i { height: 30px; border-radius: 8px; }
.wire .w-btn { height: 22px; border-radius: 999px; background: var(--ink); width: 46%; justify-self: center; }

/* coupon */
.coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-radius: 16px;
  background: repeating-linear-gradient(135deg, rgba(255, 122, 69, .08) 0 10px, rgba(255, 122, 69, .14) 10px 20px);
  box-shadow: inset 0 0 0 1.5px rgba(255, 122, 69, .45);
}
.coupon code { font-family: var(--mono); font-weight: 700; font-size: 1rem; letter-spacing: .04em; color: var(--ink); }
.coupon span { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.invoice-line { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-2); padding: 6px 2px; border-bottom: 1px dashed var(--line-2); }
.invoice-line:last-child { border-bottom: 0; font-weight: 700; color: var(--ink); }

/* insights */
.spark { width: 100%; height: 90px; }
.spark .area { fill: url(#sparkFill); }
.spark .line { fill: none; stroke: url(#flowGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.kpis { display: flex; gap: 22px; margin-bottom: 8px; }
.kpis div b { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
.kpis div span { font-size: .72rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Stack comparison ---------- */
.stack {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center;
}
.stack-col { border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); }
.stack-before { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.stack-after { background: var(--card); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.stack-col h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 16px; }
.stack-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stack-list li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .92rem; font-weight: 550; color: var(--ink-2);
}
.stack-list li svg { width: 16px; height: 16px; color: var(--ink-3); }
.stack-before li { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-3) 60%, transparent); }
.stack-arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); }
.stack-arrow svg { width: 22px; height: 22px; }
.stack-after .brand { margin-bottom: 18px; }
.stack-after ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.stack-after li { display: flex; gap: 10px; align-items: flex-start; font-size: .975rem; }
.stack-after li svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 1px; }
@media (max-width: 860px) {
  .stack { grid-template-columns: minmax(0, 1fr); }
  .stack-arrow { justify-self: center; rotate: 90deg; }
}

/* ---------- Creators ---------- */
.creator-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.ctab {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; padding: 10px 16px; border-radius: 999px;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; font-size: .94rem; color: var(--ink-2); letter-spacing: -.008em;
  transition: background-color 180ms ease, color 180ms ease, transform 100ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.ctab:active { transform: scale(.96); }
.ctab[aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
@media (max-width: 700px) {
  .creator-tabs {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
    margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 6px;
    scrollbar-width: none; scroll-snap-type: x proximity;
  }
  .creator-tabs::-webkit-scrollbar { display: none; }
  .ctab { flex: none; scroll-snap-align: start; }
}
.ctab svg { width: 17px; height: 17px; }
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.path-step {
  position: relative; padding: 22px; border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}
.path-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -12px; width: 10px; height: 10px; z-index: 2;
  border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2);
  rotate: 45deg; translate: 0 -50%;
}
.path-k { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.path-step b { display: block; font-size: 1.05rem; letter-spacing: -.015em; margin-top: 10px; line-height: 1.3; }
.path-step > span:not(.path-ic) { display: block; font-size: .875rem; color: var(--ink-3); margin-top: 6px; }
.path-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); margin-top: 14px; }
.path-ic svg { width: 19px; height: 19px; }
.cpanel[hidden] { display: none; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr 1fr; }
  .path-step:nth-child(2)::after { display: none; }
}
@media (max-width: 520px) {
  .path { grid-template-columns: minmax(0, 1fr); }
  .path-step::after { display: none; }
}

/* ---------- Trust + checkout ---------- */
.checkout {
  max-width: 420px; margin-inline: auto;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--m-bg); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--m-line);
}
.co-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--m-line); }
.co-head .wa-av { width: 40px; height: 40px; }
.co-head b { display: block; font-size: .95rem; letter-spacing: -.01em; color: var(--m-ink); }
.co-head > span > span { font-size: .75rem; color: var(--m-ink-3); display: inline-flex; align-items: center; gap: 4px; }
.co-head > span > span svg { width: 13px; height: 13px; color: var(--mint); }
.co-body { padding: 18px 20px 20px; display: grid; gap: 14px; }
.co-item { display: flex; gap: 12px; align-items: center; }
.co-item .th { width: 50px; height: 50px; border-radius: 13px; }
.co-item b { font-size: .95rem; display: block; letter-spacing: -.01em; color: var(--m-ink); }
.co-item > span:last-child > span { font-size: .78rem; color: var(--m-ink-3); }
.co-lines { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--m-bg-2); }
.co-lines div { display: flex; justify-content: space-between; font-size: .84rem; color: var(--m-ink-2); }
.co-lines div.total { color: var(--m-ink); font-weight: 700; font-size: .95rem; padding-top: 6px; border-top: 1px solid var(--m-line); margin-top: 2px; }
.co-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.co-methods span {
  padding: 10px 6px; border-radius: 12px; text-align: center; font-size: .78rem; font-weight: 650;
  box-shadow: inset 0 0 0 1px var(--m-line); color: var(--m-ink-2);
}
.co-methods span.on { box-shadow: inset 0 0 0 2px #5148f5; color: #3d33d6; background: rgba(81, 72, 245, .06); }
.co-consent { font-size: .74rem; color: var(--m-ink-3); line-height: 1.45; }
.co-consent u { color: var(--m-ink-2); text-decoration-color: rgba(0, 0, 0, .25); }
.co-pay { min-height: 50px; border-radius: 14px; background: #18181b; color: #fff; display: grid; place-items: center; font-weight: 650; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .72rem; color: var(--m-ink-3); }
.co-secure svg { width: 13px; height: 13px; }
.pay-logos { display: flex; justify-content: center; gap: 14px; align-items: center; color: var(--m-ink-3); padding-bottom: 2px; }
.pay-logos svg { width: 30px; height: 20px; fill: currentColor; }
.pay-logos .upi { font-weight: 800; font-size: .9rem; letter-spacing: -.01em; }
.pay-logos .rupay { font-weight: 800; font-size: .82rem; letter-spacing: -.01em; }

.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.trust-item {
  padding: 20px; border-radius: var(--r-lg); background: var(--card);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}
.trust-item .point-ic { margin-bottom: 12px; }
.trust-item b { display: block; font-weight: 650; letter-spacing: -.012em; }
.trust-item p { color: var(--ink-2); font-size: .92rem; margin-top: 4px; }
@media (max-width: 560px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details {
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 200ms ease;
}
.faq details[open] { box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-2); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.012em;
  cursor: pointer;
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat,
    var(--bg-2);
  transition: rotate 220ms ease;
}
.faq details[open] > summary::before {
  rotate: 45deg;
}
.faq .ans { padding: 0 20px 20px 54px; color: var(--ink-2); }
.faq .ans p + p { margin-top: 10px; }
.faq details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}
.faq details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content {
    transition: block-size, content-visibility;
    transition-duration: .32s;
    transition-timing-function: cubic-bezier(.2, .7, .2, 1);
    transition-behavior: allow-discrete;
  }
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  text-align: center;
  background: #0b0b10;
  color: #fff;
  color-scheme: dark;
}
.cta .h2 { color: #fff; }
.cta .lede { color: rgba(255, 255, 255, .78); margin: 18px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.cta .btn-ghost { --b-ink: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.cta .btn-ghost:hover { --b-bg: rgba(255, 255, 255, .1); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 32px; background: var(--bg-2); color: var(--ink-2); font-size: .9rem; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 40px; padding-bottom: 36px; }
.ft-brand p { margin-top: 14px; max-width: 360px; color: var(--ink-3); }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ft-h { font-size: .8125rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: .005em; }
.ft-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft-cols a { text-decoration: none; color: var(--ink-2); }
.ft-cols a:hover { color: var(--ink); text-decoration: underline; }
.ft-company {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: .86rem;
}
.ft-company b { display: block; color: var(--ink); font-size: .8125rem; margin-bottom: 4px; }
.ft-company address { font-style: normal; }
.ft-company a { color: var(--ink-2); }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-3); }
.ft-legal-links { display: flex; flex-wrap: wrap; gap: 6px 0; }
.ft-legal-links a { color: var(--ink-2); text-decoration: none; padding: 0 10px; border-left: 1px solid var(--line-2); line-height: 1; }
.ft-legal-links a:first-child { border-left: 0; }
.ft-legal-links a:hover { text-decoration: underline; }
.ft-region { margin-left: auto; }
@media (max-width: 640px) {
  .ft-legal-links { gap: 8px 18px; }
  .ft-legal-links a { padding: 0; border-left: 0; line-height: 1.4; }
  .ft-region { margin-left: 0; }
}
@media (max-width: 900px) {
  .ft-top { grid-template-columns: minmax(0, 1fr); }
  .ft-company { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .ft-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: clip; }
.page-hero .display { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.page-hero .lede { margin-top: 20px; }
.page-hero.center { text-align: center; }
.page-hero.center .lede { margin-inline: auto; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.facts div { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin-top: 4px; font-weight: 550; color: var(--ink); }
@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div:nth-child(odd) { border-right: 0; }
}

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}
.card h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; margin-top: 12px; }
.card p { color: var(--ink-2); margin-top: 6px; font-size: .96rem; }
.card .rows { display: grid; gap: 10px; margin-top: 16px; }
.card .row { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.card .row svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; margin-top: 2px; }
.card .row a { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .cards-2 { grid-template-columns: minmax(0, 1fr); } }

/* Contact page */
.ct { padding-top: 0; }
.ct-chan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ct-card h2, .ct-box h2, .ct-grv h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.ct-card h2 { margin-top: 14px; }
.ct-link { margin-top: 4px; padding-block: 6px; font-weight: 600; color: var(--brand-ink); text-decoration: none; overflow-wrap: anywhere; }
.ct-link:hover, .ct-tel:hover { text-decoration: underline; }
.ct-tel { margin-top: -4px; padding-block: 6px; font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.card.ct-card p { margin-top: 4px; font-size: .9rem; color: var(--ink-3); max-width: 30ch; }
.ct-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.ct-box h2 { margin-bottom: 10px; }
.ct-hours > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ct-hours > div:last-child { border-bottom: 0; }
.ct-hours dt { color: var(--ink-2); }
.ct-hours dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.ct-hours dd.off { color: var(--ink-3); font-weight: 500; }
.card.ct-box .ct-note { margin-top: 12px; font-size: .85rem; color: var(--ink-3); }
.card.ct-box .ct-k { margin-top: 0; font-size: .9rem; font-weight: 700; color: var(--ink); }
.ct-addr { margin-top: 4px; font-style: normal; color: var(--ink-2); line-height: 1.65; }
.ct-ids { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.ct-ids dt, .ct-grv-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.ct-ids dd { margin-top: 2px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.ct-grv {
  margin-top: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg);
  background: var(--brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 20%, transparent);
}
.ct-grv h2 { color: var(--brand-ink); }
.ct-grv > p { margin-top: 8px; color: var(--ink-2); max-width: 78ch; }
.ct-grv-list { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 14px 36px; justify-content: start; margin-top: 18px; }
.ct-grv-list dd { margin-top: 3px; font-weight: 600; color: var(--ink); }
.ct-grv-list a { color: var(--ink); }
.ct-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding-block: 8px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.ct-more .icon { width: 16px; height: 16px; }
.ct-more:hover { text-decoration: underline; }
@media (max-width: 1020px) { .ct-grv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ct-chan { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .ct-info { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .ct-grv-list { grid-template-columns: minmax(0, 1fr); }
  .ct-hours > div { flex-direction: column; gap: 2px; }
  .ct-hours dd { text-align: left; }
}

/* Get started form */
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 14px; border: 0;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1rem; color: var(--ink);
  transition: box-shadow 160ms ease, background-color 160ms ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: var(--card); box-shadow: inset 0 0 0 2px var(--brand); }
.field input:user-invalid { box-shadow: inset 0 0 0 2px #e5484d; }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.form-note { font-size: .82rem; color: var(--ink-3); }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }

/* ---------- Get started page ---------- */
.gs { padding: clamp(40px, 6vw, 88px) 0 var(--sec); }
.gs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.gs-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.gs-title { font-size: clamp(2.5rem, 5.2vw, 4.2rem); margin-top: 10px; }
.gs-head .lede { margin-top: 18px; max-width: 34em; }
.gs-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.gs-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; }
.gs-n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums;
}
.gs-steps b { display: block; font-weight: 650; letter-spacing: -.01em; }
.gs-steps p { margin-top: 2px; font-size: .95rem; color: var(--ink-2); }
.gs-help { display: grid; gap: 6px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.gs-help-k { font-weight: 650; margin-bottom: 2px; }
.gs-help-row { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.gs-help-row svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.gs-help-row a { padding-block: 4px; font-weight: 600; color: var(--ink); text-decoration: none; }
.gs-help-row a:hover { text-decoration: underline; }
.gs-help-row.muted { color: var(--ink-3); }
.gs-card { padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.gs-form { gap: 18px; }
.gs-form-head h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.card .gs-form-head p { margin-top: 2px; font-size: .95rem; color: var(--ink-3); }
.field .opt { margin-left: 4px; font-size: .8rem; font-weight: 500; color: var(--ink-3); }
.affix {
  display: flex; align-items: stretch; border-radius: 14px;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 160ms ease, background-color 160ms ease;
}
.affix:focus-within { background: var(--card); box-shadow: inset 0 0 0 2px var(--brand); }
.affix-pre { display: flex; align-items: center; padding-left: 14px; font-size: 1rem; color: var(--ink-3); white-space: nowrap; user-select: none; }
.field .affix input, .field .affix input:focus { min-width: 0; padding-left: 6px; background: transparent; box-shadow: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .affix:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #e5484d; }
.field .affix input[aria-invalid="true"] { box-shadow: none; }
.err { font-size: .82rem; font-weight: 500; color: #d1242f; }
.err:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: 12px; background: rgba(229, 72, 77, .09); color: #b42318; font-size: .9rem; }
.form-error a { color: inherit; font-weight: 600; }
.gs-done { display: grid; justify-items: center; padding: clamp(24px, 6vw, 56px) 8px; text-align: center; }
.gs-done[hidden], .gs-form[hidden] { display: none; }
.gs-done-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: #fff; box-shadow: 0 10px 30px rgba(15, 169, 123, .3); }
.gs-done-ic svg { width: 30px; height: 30px; }
.gs-done h2 { margin-top: 20px; font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; letter-spacing: -.02em; outline: none; }
.card .gs-done p { max-width: 36ch; margin-top: 10px; color: var(--ink-2); }
.gs-done-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 24px; }
@media (prefers-color-scheme: dark) {
  .err { color: #ff8f8f; }
  .form-error { color: #ffb3b3; background: rgba(229, 72, 77, .16); }
}
@media (max-width: 900px) {
  /* Phones and tablets: heading, then the form, then the steps */
  .gs-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gs-intro { display: contents; }
  .gs-head { order: 1; }
  .gs-card { order: 2; }
  .gs-steps { order: 3; margin-top: 12px; }
  .gs-help { order: 4; margin-top: 0; }
}
@media (max-width: 480px) {
  .gs-card { padding: 20px 16px; border-radius: var(--r-md); }
}

/* Legal */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: var(--sec); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.toc summary { display: flex; align-items: center; justify-content: space-between; list-style: none; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { display: none; width: 16px; height: 16px; transition: rotate 220ms ease; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: block; padding: 6px 10px; border-radius: 9px;
  font-size: .875rem; color: var(--ink-2); text-decoration: none; line-height: 1.35;
}
.toc a:hover { background: var(--bg-2); color: var(--ink); }
.toc a.is-active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--ink-3); font-size: .9rem; }
.legal-meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal-meta svg { width: 15px; height: 15px; }

.prose { max-width: 760px; font-size: 1.0125rem; line-height: 1.68; color: var(--ink-2); }
.prose h2 {
  font-size: 1.45rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; color: var(--ink);
  margin: 48px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; letter-spacing: -.012em; font-weight: 650; color: var(--ink); margin: 26px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--brand-ink); font-weight: 550; }
.prose .callout {
  margin: 20px 0; padding: 16px 18px; border-radius: 16px;
  background: var(--brand-soft); color: var(--ink);
  font-size: .975rem;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 650; background: var(--bg-2); }
.prose .tbl { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); margin: 8px 0 20px; }
.prose .tbl table { margin: 0; }
.prose address { font-style: normal; }
.contact-box { margin-top: 10px; padding: 18px 20px; border-radius: 16px; background: var(--bg-2); color: var(--ink); }
.contact-box p { margin: 0 0 4px; }
.contact-box p:last-child { margin: 0; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; padding: 4px 16px; border-radius: 16px; background: var(--bg-2); }
  .toc summary { margin: 0; padding: 12px 0; min-height: 44px; cursor: pointer; }
  .toc summary .icon { display: block; }
  .toc details[open] > summary .icon { rotate: 90deg; }
  .toc ol { padding-bottom: 12px; }
}
@media (min-width: 901px) {
  .toc summary { pointer-events: none; }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv {
    opacity: 0;
    translate: 0 28px;
    transition: opacity .9s cubic-bezier(.2, .7, .2, 1), translate .9s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--d, 0s);
  }
  .js .rv.in { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 0; transition: opacity .4s ease; transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; }
}

/* ---------- Responsive hero ---------- */
@media (max-width: 1100px) {
  .stage .phone-side { --s: .84; }
}
@media (max-width: 900px) {
  .stage .phone-side { display: none; }
  .stage-labels span:not(:nth-child(2)) { display: none; }
  .ios-note-1 { top: auto; bottom: 56px; left: 50%; margin-left: -360px; }
  .ios-note-2 { top: 14%; bottom: auto; right: 50%; margin-right: -360px; }
}
@media (max-width: 700px) {
  .ios-note { width: 250px; padding: 10px 12px; }
  .ios-note-1 { left: 12px; margin-left: 0; top: auto; bottom: 26px; }
  .ios-note-2 { display: none; }
  .stage { height: 560px; }
}
@media (max-width: 380px) {
  .stage .phone { --s: .92; }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-transparency: reduce) {
  .site-header::before, .menu-sheet, .ios-note, .pc-kind, .lock-badge, .lock-play {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .site-header::before { background: var(--bg); }
  .menu-sheet { background: var(--card); }
  .ios-note { background: #fff; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(0, 0, 0, .4); --line-2: rgba(0, 0, 0, .6); --ink-3: #4b4b52; }
  .site-header::before { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ios-note, .menu-sheet { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn-ghost { box-shadow: inset 0 0 0 2px var(--ink); }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --line: rgba(255, 255, 255, .45); --line-2: rgba(255, 255, 255, .65); --ink-3: #c2c2c8; }
}
@media (forced-colors: active) {
  .btn, .step, .jr-stop, .ctab, .slot, .seg [role="tab"] { border: 1px solid ButtonText; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .menu, .site-footer .ft-cols, .cta, .toc, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-grid { display: block; }
}
