/* VYRL marketing site: shared styles.
   Themes: Night (default) and Daylight. Auto follows prefers-color-scheme;
   <html data-theme="light|dark"> forces one (set by /assets/site.js). */

/* ---------- Tokens: Night ---------- */
:root {
  color-scheme: dark;
  --bg: #0a0908;
  --bg-2: #0e0c0a;
  --surface: #15130f;
  --surface-2: #1b1814;
  --surface-3: #2a2620;
  --line: #3d372f;
  --line-2: #5b5347;
  --text: #fdfbf7;
  --text-2: #efeae2;
  --muted: #cbc4b8;
  --dim: #a8a093;
  --accent: #d9b878;
  --accent-ink: #e2c48d;
  --new: #d4d7dd;
  --amber: #fbbf24;
  --violet: #c4b5fd;
  --green: #4ade80;
  --red: #f87171;

  --btn-bg: #d9b878;
  --btn-text: #0a0a0b;
  --btn-bg-hover: #e8cd96;
  --header-bg: rgba(10, 9, 8, 0.74);
  --glow: rgba(217, 184, 120, 0.16);
  --glow-2: rgba(212, 215, 221, 0.06);
  --grid-line: rgba(255, 246, 230, 0.05);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --card-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 60%);
  --gold: #d9b878;
  --gold-ink: #e2c48d;
  --gold-grad: linear-gradient(90deg, #f3e3c0, #d9b878 55%, #c9a35d);
  --silver: #d4d7dd;
  --chart-1: #d9b878;
  --chart-2: #9a9286;
  --chart-3: #d4d7dd;
  --chart-4: #5b5347;
  --chart-5: #3d372f;
  --bubble-ai-bg: #ffffff;
  --bubble-ai-text: #0a0a0b;
  --bubble-me-bg: #26262d;
  --bubble-me-text: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --gutter: 16px;
  --maxw: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Tokens: Daylight ---------- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f5f4f1;
    --bg-2: #ffffff;
    --surface: #ffffff;
    --surface-2: #faf9f6;
    --surface-3: #ebe8e2;
    --line: #dbd6cd;
    --line-2: #aca598;
    --text: #0b0a08;
    --text-2: #28241f;
    --muted: #4d473f;
    --dim: #5f584e;
    --accent: #7a5c24;
    --accent-ink: #7a5c24;
    --new: #4b5563;
    --amber: #92400e;
    --violet: #6d28d9;
    --green: #166534;
    --red: #b91c1c;
    --btn-bg: #0a0a0b;
    --btn-text: #ffffff;
    --btn-bg-hover: #2b2721;
    --header-bg: rgba(245, 244, 241, 0.82);
    --glow: rgba(217, 184, 120, 0.20);
    --glow-2: rgba(10, 10, 11, 0.035);
    --grid-line: rgba(10, 10, 11, 0.06);
    --shadow: 0 30px 70px -36px rgba(10, 10, 11, 0.35), 0 0 0 1px rgba(10, 10, 11, 0.04);
    --card-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 60%);
    --gold: #9c7a3c;
    --gold-ink: #7a5c24;
    --gold-grad: linear-gradient(90deg, #8f6e2f, #6e521c);
    --silver: #4b5563;
    --chart-1: #9c7a3c;
    --chart-2: #6b665e;
    --chart-3: #6b7280;
    --chart-4: #aca598;
    --chart-5: #dbd6cd;
    --bubble-ai-bg: #0a0a0b;
    --bubble-ai-text: #ffffff;
    --bubble-me-bg: #e6e8ec;
    --bubble-me-text: #0a0a0b;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f4f1;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --surface-3: #ebe8e2;
  --line: #dbd6cd;
  --line-2: #aca598;
  --text: #0b0a08;
  --text-2: #28241f;
  --muted: #4d473f;
  --dim: #5f584e;
  --accent: #7a5c24;
  --accent-ink: #7a5c24;
  --new: #4b5563;
  --amber: #92400e;
  --violet: #6d28d9;
  --green: #166534;
  --red: #b91c1c;
  --btn-bg: #0a0a0b;
  --btn-text: #ffffff;
  --btn-bg-hover: #2b2721;
  --header-bg: rgba(245, 244, 241, 0.82);
  --glow: rgba(217, 184, 120, 0.20);
  --glow-2: rgba(10, 10, 11, 0.035);
  --grid-line: rgba(10, 10, 11, 0.06);
  --shadow: 0 30px 70px -36px rgba(10, 10, 11, 0.35), 0 0 0 1px rgba(10, 10, 11, 0.04);
  --card-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 60%);
  --gold: #9c7a3c;
  --gold-ink: #7a5c24;
  --gold-grad: linear-gradient(90deg, #8f6e2f, #6e521c);
  --silver: #4b5563;
  --chart-1: #9c7a3c;
  --chart-2: #6b665e;
  --chart-3: #6b7280;
  --chart-4: #aca598;
  --chart-5: #dbd6cd;
  --bubble-ai-bg: #0a0a0b;
  --bubble-ai-text: #ffffff;
  --bubble-me-bg: #e6e8ec;
  --bubble-me-text: #0a0a0b;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--text); color: var(--bg); }

.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-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-text); padding: 12px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--plain::before { display: none; }
.hl { color: var(--gold-ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hl { background-image: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.pos { color: var(--green) !important; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-2);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--new); }
.display {
  font-size: clamp(2.5rem, 4.6vw + 1rem, 4.4rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: 0.98;
}
.h1 { font-size: clamp(2.3rem, 5.2vw + 0.6rem, 4.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.h2 { font-size: clamp(1.9rem, 3.4vw + 0.7rem, 3.1rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.06rem, 0.5vw + 0.95rem, 1.25rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.78rem; }
.stack > * + * { margin-top: 18px; }
.stack-sm > * + * { margin-top: 10px; }
.stack-lg > * + * { margin-top: 28px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-640 { max-width: 640px; }
.maxw-720 { max-width: 720px; }
.maxw-820 { max-width: 820px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; letter-spacing: -0.005em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--btn-bg-hover); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text); background: var(--surface); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) { .btn-row--stack .btn { width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; color: var(--text); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover span { text-decoration: underline; }
.text-link { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 68px; }
.wordmark {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 800; font-size: 1.3rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--text); margin-right: auto; padding-right: 4px;
}
.primary-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .login-link, .header-actions .theme-switch { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 379px) { .header-actions .btn--sm { padding: 0 14px; font-size: 0.85rem; } }

@media (min-width: 1100px) {
  .primary-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
  .wordmark { margin-right: 28px; }
  .primary-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
    color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500;
    transition: color 0.2s, background-color 0.2s;
  }
  .primary-nav a:hover { color: var(--text); background: var(--surface); }
  .primary-nav a[aria-current="page"] { color: var(--text); }
  .header-actions .login-link, .header-actions .theme-switch { display: inline-flex; }
  .menu-toggle { display: none; }
}
.login-link {
  align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.login-link:hover { background: var(--surface); }

/* Theme switch */
.theme-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.theme-switch button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent;
  color: var(--dim); cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.theme-switch button .icon { width: 17px; height: 17px; }
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.theme-switch--labeled { width: 100%; }
.theme-switch--labeled button { flex: 1; width: auto; height: 44px; font-size: 0.9rem; font-weight: 600; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 68px 0 0 0; z-index: 49; overflow-y: auto;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 12px var(--gutter) 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav ul { list-style: none; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.15rem; font-weight: 600; color: var(--text);
}
.mobile-menu nav a .icon { width: 18px; height: 18px; color: var(--dim); }
.mobile-menu .menu-foot { margin-top: 24px; display: grid; gap: 12px; }
.mobile-menu .menu-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-top: 8px; }
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menuIn 0.28s var(--ease); }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
main { display: block; }
.section { position: relative; padding-block: 76px; }
@media (min-width: 900px) { .section { padding-block: 116px; } }
.section--tight { padding-block: 56px; }
@media (min-width: 900px) { .section--tight { padding-block: 80px; } }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.section-head + * { margin-top: 48px; }
@media (min-width: 900px) { .section-head + * { margin-top: 64px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 64px 72px; isolation: isolate; }
@media (min-width: 900px) { .hero { padding-block: 104px 112px; } }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2;
  background:
    radial-gradient(60% 55% at 50% 0%, var(--glow), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, var(--glow-2), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero--center { text-align: center; }
.hero--center .lead { margin-inline: auto; }
.hero .lead { max-width: 640px; }
.hero h1 { margin-top: 20px; }
.hero .lead { margin-top: 22px; }
.hero .btn-row { margin-top: 34px; }
.hero--center .btn-row { justify-content: center; }
.hero-split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-split { grid-template-columns: 1.08fr 0.92fr; gap: 48px; } }
.hero-copy .lead + .lead { margin-top: 14px; }

/* Breadcrumb */
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.breadcrumb:hover { color: var(--text); }
.breadcrumb .icon { width: 16px; height: 16px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid-gap-lg { gap: 20px; }

.card {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background-color: var(--surface); background-image: var(--card-sheen);
  padding: 26px; transition: border-color 0.25s, transform 0.35s var(--ease);
}
.card h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
.card p { color: var(--muted); }
.card .icon-tile + h3 { margin-top: 20px; }
.card h3 + p { margin-top: 8px; }
.card--hover:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card--lg { padding: 30px; }
@media (min-width: 900px) { .card--lg { padding: 36px; } }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface-3); border: 1px solid var(--line);
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px;
  border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg);
}
.check-list--sm { gap: 9px; font-size: 0.93rem; }
.card .check-list { margin-top: 20px; }
@media (min-width: 700px) { .check-list--cols { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row--center { justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); font-weight: 500; font-size: 0.93rem; text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
a.pill:hover { border-color: var(--line-2); background: var(--surface-2); }
.pill--static { min-height: 38px; font-size: 0.88rem; }

/* Split layout */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step-num {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; color: var(--dim);
  display: flex; align-items: center; gap: 12px;
}
.step-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { margin-top: 22px; font-size: 1.15rem; }
.step p { margin-top: 8px; color: var(--muted); }

/* Big step cards (how it works) */
.step-card { display: grid; gap: 22px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background-color: var(--surface); background-image: var(--card-sheen); }
@media (min-width: 900px) { .step-card { grid-template-columns: 120px 1fr 1fr; gap: 36px; padding: 40px; align-items: start; } }
.step-card .big-num { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--dim); }
.step-card h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.step-card p { margin-top: 10px; color: var(--muted); }
.step-card .check-list { margin-top: 0; }
.step-list { display: grid; gap: 16px; list-style: none; }

/* Journey timeline */
.journey { list-style: none; display: grid; gap: 0; position: relative; }
.journey li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 24px; align-content: start; }
.journey li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--line); }
.journey li:last-child::before { display: none; }
.journey .node {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); font-size: 0.8rem; font-weight: 700; color: var(--text);
}
.journey h3 { font-size: 1.05rem; margin-top: 10px; }
.journey p { color: var(--muted); margin-top: 4px; }
@media (min-width: 1000px) {
  .journey { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
  .journey li { grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; }
  .journey li::before { left: 44px; right: -12px; top: 21px; bottom: auto; width: auto; height: 1px; }
  .journey h3 { margin-top: 0; }
}
.callout {
  display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text-2);
}
.callout .icon { flex: none; margin-top: 2px; }
.callout strong { color: var(--text); }

/* Note / phase notice */
.note {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm);
  border: 1px dashed var(--line-2); background: var(--surface);
  color: var(--muted); font-size: 0.92rem; line-height: 1.55;
}
.note strong { color: var(--text); }
.note .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--text-2); }

/* Sample label */
.sample-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.sample-label::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--amber); }
.sample-tag {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--surface-3); color: var(--text); border: 1px solid var(--line-2);
}
figure { margin: 0; }
.mock-caption { margin-top: 14px; font-size: 0.82rem; color: var(--dim); text-align: center; }

/* ---------- Device mockups: phone, screens, metal card ----------
   The hardware and the screens stay dark in both themes; only the page around them changes.
   Inside .device and .mcard-wrap, sizes use cqw (percent of the device/card width), so each
   object scales as one piece. The screen's base font (1em) equals 16pt on a 393pt-wide screen. */

.stage { position: relative; width: 100%; max-width: 460px; margin-inline: auto; display: grid; justify-items: center; gap: 14px; }
.stage-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); font-weight: 500; }

.mock-panel { width: 100%; max-width: 520px; margin-inline: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background-color: var(--surface); overflow: hidden; }
.mock-panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background-color: var(--surface-2); }
.mock-panel-head strong { display: block; color: var(--text); font-size: 0.95rem; line-height: 1.3; }
.mock-panel-head span.sub { display: block; color: var(--dim); font-size: 0.8rem; }
.mock-panel-head .sample-tag { margin-left: auto; }
.mock-panel-body { display: flex; justify-content: center; padding: 30px 16px 40px; background-image: radial-gradient(55% 45% at 50% 42%, var(--glow), transparent 72%); }
.mock-panel-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); background-color: var(--surface-2); }
.mock-panel-foot p { font-size: 0.8rem; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background-color: var(--surface); font-size: 0.78rem; font-weight: 600; color: var(--text-2); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.chip--new::before { background: var(--new); }
.chip--amber::before { background: var(--amber); }
.chip--violet::before { background: var(--violet); }
.chip--green::before { background: var(--green); }
.chip--red::before { background: var(--red); }

/* Scenes: a device plus a card, sized together */
.scene { position: relative; width: 100%; max-width: 460px; margin-inline: auto; container-type: inline-size; display: flex; }
.scene--pair { justify-content: flex-end; padding: 2% 0 12%; }
.scene--pair .device { width: clamp(232px, 64cqw, 296px); margin-right: 5cqw; z-index: 1; }
.scene--pair .mcard-wrap { position: absolute; left: 1cqw; bottom: 7cqw; width: 60cqw; z-index: 0; }
.scene--pair .mcard { transform: perspective(1100px) rotateX(18deg) rotateY(-14deg) rotateZ(-13deg); }
.scene--tap { justify-content: center; padding: 1% 0 22%; }
.scene--tap .device { width: clamp(228px, 58cqw, 286px); }
.scene--tap .mcard-wrap { position: absolute; left: 6cqw; bottom: 3cqw; width: 62cqw; z-index: 3; }
.scene--tap .mcard { transform: perspective(900px) rotateX(26deg) rotateY(10deg) rotateZ(-9deg); }
.tap-glow {
  position: absolute; z-index: 2; left: 50%; bottom: 13cqw; width: 52cqw; aspect-ratio: 1; margin-left: -26cqw; border-radius: 50%;
  background-image:
    radial-gradient(closest-side, rgba(217, 184, 120, 0) 58%, rgba(226, 196, 141, 0.55) 64%, rgba(217, 184, 120, 0) 71%),
    radial-gradient(closest-side, rgba(243, 227, 192, 0.30), rgba(243, 227, 192, 0) 72%);
  pointer-events: none;
}
.tap-glow::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(226, 196, 141, 0.5); opacity: 0; }

/* Phone */
.device { position: relative; width: clamp(236px, 70vw, 300px); flex: none; container-type: inline-size; isolation: isolate; }
.device::after {
  content: ""; position: absolute; z-index: -2; left: -6%; right: -6%; bottom: -5%; height: 16%;
  background-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.16) 55%, rgba(0, 0, 0, 0));
}
.phone {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 16.5cqw;
  background-color: #2c2c31;
  background-image: linear-gradient(140deg, #74747c 0%, #2b2b30 16%, #44444b 46%, #1c1c20 76%, #5d5d65 100%);
  box-shadow:
    inset 0 0 0 0.35cqw rgba(255, 255, 255, 0.24),
    inset 0 0 0 0.75cqw rgba(0, 0, 0, 0.4),
    0 2cqw 5cqw -1cqw rgba(0, 0, 0, 0.4),
    0 9cqw 12cqw -7cqw rgba(0, 0, 0, 0.45);
}
.ph-key { position: absolute; z-index: -1; width: 1.2cqw; border-radius: 0.6cqw; background-color: #3c3c42; background-image: linear-gradient(90deg, #1c1c20, #74747c 55%, #2a2a2f); }
.ph-key--action { left: -0.8cqw; top: 16.5%; height: 4.6%; }
.ph-key--up { left: -0.8cqw; top: 24%; height: 8.6%; }
.ph-key--down { left: -0.8cqw; top: 34.5%; height: 8.6%; }
.ph-key--power { right: -0.8cqw; top: 27%; height: 13.5%; background-image: linear-gradient(270deg, #1c1c20, #74747c 55%, #2a2a2f); }
.phone-bezel { position: absolute; inset: 1.1cqw; border-radius: 15.4cqw; background-color: #030303; }
.phone-screen {
  position: absolute; inset: 3.5cqw; border-radius: 13cqw; overflow: hidden; isolation: isolate;
  background-color: #000000; color: #ffffff; text-align: left;
  font-family: var(--font); font-size: 3.786cqw; line-height: 1.3; letter-spacing: -0.01em;
}
.phone-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 40; pointer-events: none; border-radius: inherit;
  background-image: linear-gradient(116deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 24%, rgba(255, 255, 255, 0) 36%);
}
.phone-screen .icon { width: 1.1em; height: 1.1em; stroke-width: 1.9; flex: none; }
.ph-island { position: absolute; z-index: 30; top: 0.7em; left: 50%; width: 7.6em; height: 2.25em; margin-left: -3.8em; border-radius: 2em; background-color: #000000; }
.ph-island::after { content: ""; position: absolute; right: 0.75em; top: 50%; width: 0.7em; height: 0.7em; margin-top: -0.35em; border-radius: 50%; background-image: radial-gradient(circle at 35% 35%, #2b3550, #07080c 70%); }
.ph-status { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 3.3em; display: flex; align-items: center; justify-content: space-between; padding: 0.25em 1.85em 0 2.3em; color: #ffffff; }
.ph-time { font-weight: 600; font-size: 1.05em; letter-spacing: -0.01em; }
.ph-icons { display: inline-flex; align-items: center; gap: 0.32em; }
.ph-icons svg { height: 0.74em; width: auto; fill: currentColor; }
.ph-home { position: absolute; z-index: 35; bottom: 0.5em; left: 50%; width: 8.4em; height: 0.32em; margin-left: -4.2em; border-radius: 1em; background-color: #ffffff; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; }

/* Screen: business landing page in a mobile browser */
.scr-web { background-color: #0b0b0d; background-image: radial-gradient(130% 42% at 50% 0%, #2a2a31 0%, #0b0b0d 70%); }
.web-page { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 5.3em 1.2em 0; }
.web-mono { width: 5em; height: 5em; border-radius: 1.35em; display: grid; place-items: center; background-color: #1a1a1e; background-image: linear-gradient(150deg, #44444c, #141417 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0.5em 1.2em rgba(0, 0, 0, 0.5); }
.web-mono span { font-size: 1.55em; font-weight: 700; letter-spacing: 0.06em; color: #ffffff; }
.web-name { margin-top: 0.6em; font-size: 1.6em; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: #ffffff; }
.web-tag { margin-top: 0.2em; font-size: 0.88em; color: #b9b9c3; }
.web-rating { margin-top: 0.5em; display: flex; align-items: center; gap: 0.45em; font-size: 0.8em; font-weight: 600; color: #e2e2e8; }
.web-stars { letter-spacing: 0.08em; color: #ffffff; }
.web-chips { margin-top: 0.95em; display: flex; gap: 0.4em; justify-content: center; }
.web-chip { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.32em 0.7em; border-radius: 2em; background-color: #18181c; border: 1px solid #2d2d34; font-size: 0.72em; color: #cfcfd8; }
.web-chip .icon { width: 1.05em; height: 1.05em; }
.web-btns { margin-top: 1.35em; width: 100%; display: grid; gap: 0.6em; }
.web-btn { display: flex; align-items: center; gap: 0.75em; height: 3.5em; padding: 0 0.95em; border-radius: 0.9em; background-color: #17171b; border: 1px solid #2b2b32; font-size: 0.9em; font-weight: 600; color: #f2f2f5; }
.web-btn .icon { width: 1.2em; height: 1.2em; }
.web-btn .icon.chev { margin-left: auto; width: 1em; height: 1em; color: #8e8e98; }
.web-btn--primary { background-color: #ffffff; border-color: #ffffff; color: #0a0a0b; }
.web-btn--primary .icon.chev { color: #4a4e57; }
.web-powered { margin-top: 1.5em; font-size: 0.64em; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: #8e8e98; }
.web-bar { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; padding: 0.55em 0.9em 2.2em; background-color: #161619; border-top: 1px solid #27272c; }
.web-url { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.35em; height: 2.65em; border-radius: 0.8em; background-color: #26262b; font-size: 0.85em; color: #f2f2f5; }
.web-url .icon { width: 0.9em; height: 0.9em; color: #b9b9c3; }
.web-url .icon.reload { position: absolute; right: 0.85em; width: 1.05em; height: 1.05em; }

/* Screen: native-style messages app (customer's phone) */
.scr-sms { background-color: #000000; }
.sms-nav { position: relative; z-index: 5; display: grid; grid-template-columns: 2.4em 1fr 2.4em; align-items: start; padding: 3.25em 0.7em 0.55em; background-color: #111113; border-bottom: 1px solid #242428; }
.sms-back { color: #3d8bff; margin-top: 1.05em; }
.sms-back .icon { width: 1.45em; height: 1.45em; stroke-width: 2.3; }
.sms-id { display: flex; flex-direction: column; align-items: center; gap: 0.18em; }
.sms-ava { width: 3em; height: 3em; border-radius: 50%; display: grid; place-items: center; background-color: #6c6c75; background-image: linear-gradient(180deg, #9a9aa3, #5e5e67); }
.sms-ava span { font-size: 1.15em; font-weight: 600; color: #ffffff; }
.sms-name { display: flex; align-items: center; gap: 0.1em; font-size: 0.74em; color: #ffffff; }
.sms-name .icon { width: 0.95em; height: 0.95em; color: #8e8e93; }
.sms-sub { font-size: 0.62em; color: #9a9aa2; }
.sms-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.2em; padding: 0 0.95em 0.4em; }
.sms-time { align-self: center; margin: 0.7em 0 0.4em; font-size: 0.66em; color: #8e8e93; }
.sms-time strong { font-weight: 600; color: #a6a6ad; }
.b { position: relative; max-width: 76%; padding: 0.4em 0.75em 0.44em; border-radius: 1.1em; font-size: 1.04em; line-height: 1.28; }
.b--in { align-self: flex-start; background-color: #262629; color: #ffffff; }
.b--out { align-self: flex-end; background-color: #1f7f37; color: #ffffff; }
.b--gap { margin-top: 0.45em; }
.b--tail::before, .b--tail::after { content: ""; position: absolute; bottom: 0; height: 1.25em; }
.b--out.b--tail::before { right: -0.45em; width: 1.25em; background: inherit; border-bottom-left-radius: 0.95em; }
.b--out.b--tail::after { right: -0.62em; width: 0.62em; background-color: #000000; border-bottom-left-radius: 0.62em; }
.b--in.b--tail::before { left: -0.45em; width: 1.25em; background: inherit; border-bottom-right-radius: 0.95em; }
.b--in.b--tail::after { left: -0.62em; width: 0.62em; background-color: #000000; border-bottom-right-radius: 0.62em; }
.sms-meta { font-size: 0.64em; color: #8e8e93; display: flex; align-items: center; gap: 0.3em; }
.sms-meta .icon { width: 1.05em; height: 1.05em; }
.sms-meta--in { align-self: flex-start; padding-left: 0.9em; }
.sms-meta--out { align-self: flex-end; padding-right: 0.25em; font-weight: 600; }
.typing { align-self: flex-start; position: relative; display: inline-flex; gap: 0.24em; margin-top: 0.45em; padding: 0.66em 0.82em; border-radius: 1.15em; background-color: #262629; }
.typing i { width: 0.46em; height: 0.46em; border-radius: 50%; background-color: #8e8e93; }
.sms-compose { display: flex; align-items: center; gap: 0.55em; padding: 0.45em 0.8em 2.25em; background-color: #000000; }
.sms-plus { width: 2.15em; height: 2.15em; flex: none; border-radius: 50%; display: grid; place-items: center; background-color: #262629; color: #c4c4cc; }
.sms-plus .icon { width: 1.15em; height: 1.15em; stroke-width: 2.2; }
.sms-input { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 2.35em; padding: 0 0.5em 0 0.9em; border-radius: 2em; border: 1px solid #3a3a40; font-size: 0.9em; color: #8e8e93; }
.sms-input .icon { width: 1.2em; height: 1.2em; }

/* Screen: lock screen with an NFC tag notification */
.scr-lock {
  background-color: #0d0d10;
  background-image:
    radial-gradient(70% 40% at 25% 18%, rgba(120, 120, 138, 0.32), rgba(0, 0, 0, 0) 70%),
    radial-gradient(80% 45% at 85% 80%, rgba(76, 80, 100, 0.34), rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, #19191e, #070709);
}
.lock-top { padding-top: 4.1em; display: flex; flex-direction: column; align-items: center; color: #ececf1; }
.lock-top .icon { width: 1em; height: 1em; }
.lock-date { margin-top: 0.4em; font-size: 1.1em; font-weight: 600; color: #ececf1; }
.lock-time { font-size: 5.6em; font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: #ffffff; }
.lock-note { margin: 1.6em 0.7em 0; display: grid; grid-template-columns: 2.4em 1fr; gap: 0.65em; align-items: center; padding: 0.75em 0.85em; border-radius: 1.35em; background-color: #26262b; box-shadow: 0 0.4em 1.2em rgba(0, 0, 0, 0.45); }
.lock-app { width: 2.4em; height: 2.4em; border-radius: 0.62em; display: grid; place-items: center; background-color: #ffffff; color: #0a0a0b; }
.lock-app .icon { width: 1.4em; height: 1.4em; }
.lock-note-top { display: flex; justify-content: space-between; gap: 0.5em; font-size: 0.8em; color: #a6a6ae; }
.lock-note-top strong { color: #ffffff; font-weight: 600; }
.lock-note-body { font-size: 0.8em; color: #dedee5; line-height: 1.3; }

/* Screen: membership pass, ready to add to a wallet */
.scr-pass { background-color: #000000; }
.pass-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 3.6em 1.1em 0.5em; font-size: 0.92em; }
.pass-top span:first-child { color: #3d8bff; }
.pass-top strong { font-weight: 600; color: #ffffff; }
.pass { margin: 0.7em 0.9em 0; padding: 1.15em 1.15em 1.2em; border-radius: 1.1em; background-color: #1c1c21; background-image: linear-gradient(160deg, #2e2e35, #141417 62%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.pass-head { display: flex; justify-content: space-between; align-items: center; }
.pass-mark { font-weight: 800; letter-spacing: 0.22em; color: #ffffff; }
.pass-label { font-size: 0.64em; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: #a6a6ae; }
.pass-biz { margin-top: 1.1em; font-size: 1.5em; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; }
.pass-fields { margin: 1em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; }
.pass-fields dt { font-size: 0.6em; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: #a6a6ae; }
.pass-fields dd { margin: 0.1em 0 0; font-size: 0.92em; font-weight: 600; color: #ffffff; }
.pass-qr { margin: 1.3em auto 0; width: 10em; padding: 0.55em; border-radius: 0.6em; background-color: #ffffff; }
.pass-qr svg { width: 100%; height: auto; }
.pass-cap { margin-top: 0.55em; text-align: center; font-size: 0.68em; color: #a6a6ae; }
.pass-cta { margin: auto 0.9em 0; height: 3em; display: flex; align-items: center; justify-content: center; gap: 0.5em; border-radius: 0.8em; background-color: #000000; border: 1px solid #4a4a52; font-size: 0.92em; font-weight: 600; color: #ffffff; }
.pass-cta .icon { width: 1.25em; height: 1.25em; }
.pass-note { margin: 0.6em 0 3em; text-align: center; font-size: 0.66em; color: #8e8e93; }

/* Screen: VYRL app on the owner's phone (opportunity queue) */
.scr-app { background-color: #0b0b0d; }
.app-head { display: flex; justify-content: space-between; align-items: center; padding: 3.5em 1.1em 0.4em; }
.app-mark { font-weight: 800; letter-spacing: 0.22em; font-size: 0.9em; color: #ffffff; }
.app-bell { position: relative; color: #dcdce3; }
.app-bell .icon { width: 1.3em; height: 1.3em; }
.app-bell::after { content: ""; position: absolute; top: 0; right: 0; width: 0.45em; height: 0.45em; border-radius: 50%; background-color: #d9b878; box-shadow: 0 0 0 0.15em #0b0b0d; }
.app-title { padding: 0 0.6em; font-size: 1.8em; font-weight: 700; letter-spacing: -0.025em; color: #ffffff; }
.app-badge-row { padding: 0.5em 1.1em 0; }
.app-badge { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.34em 0.75em; border-radius: 2em; background-color: #18181c; border: 1px solid #2e2e35; font-size: 0.68em; font-weight: 600; color: #dcdce3; }
.app-badge::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background-color: #d9b878; }
.app-cap { padding: 0.55em 1.45em 0; font-size: 0.74em; color: #a6a6ae; }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5em; padding: 0.9em 0.8em 0; }
.app-stat { padding: 0.65em 0.75em; border-radius: 0.9em; background-color: #151518; border: 1px solid #26262c; }
.app-stat strong { display: block; font-size: 1.35em; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; line-height: 1.1; }
.app-stat span { display: block; margin-top: 0.2em; font-size: 0.66em; color: #a6a6ae; }
.app-list { list-style: none; display: grid; gap: 0.55em; padding: 0.85em 0.8em 0; }
.app-item { display: grid; grid-template-columns: 2.4em 1fr; gap: 0.75em; padding: 0.95em 0.85em; border-radius: 1em; background-color: #151518; border: 1px solid #26262c; }
.app-ic { width: 2.4em; height: 2.4em; border-radius: 0.7em; display: grid; place-items: center; background-color: #232328; color: #ececf1; }
.app-ic .icon { width: 1.2em; height: 1.2em; }
.app-item strong { display: block; font-size: 0.86em; font-weight: 650; color: #ffffff; }
.app-item span.d { display: block; margin-top: 0.2em; font-size: 0.76em; color: #a6a6ae; line-height: 1.3; }
.app-chip { display: inline-flex; align-items: center; gap: 0.45em; margin-top: 0.5em; padding: 0.26em 0.65em; border-radius: 2em; background-color: #1c1c21; border: 1px solid #2e2e35; font-size: 0.64em; font-weight: 600; color: #dcdce3; }
.app-chip::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background-color: #a3a3af; }
.app-chip--new::before { background-color: #d4d7dd; }
.app-chip--amber::before { background-color: #fbbf24; }
.app-chip--violet::before { background-color: #c4b5fd; }
.app-chip--green::before { background-color: #4ade80; }
.app-chip--red::before { background-color: #f87171; }
.app-tabs { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0.55em 0.4em 2.15em; background-color: #111114; border-top: 1px solid #232328; }
.app-tab { display: flex; flex-direction: column; align-items: center; gap: 0.25em; font-size: 0.6em; font-weight: 600; color: #8e8e98; }
.app-tab .icon { width: 2.1em; height: 2.1em; }
.app-tab--on { color: #ffffff; }

/* Metal NFC card (no EMV chip: it is not a payment card) */
.mcard-wrap { container-type: inline-size; }
.mcard {
  position: relative; aspect-ratio: 85.6 / 54; border-radius: 3.5cqw;
  display: flex; flex-direction: column; justify-content: space-between; padding: 6.5cqw 7cqw 6cqw;
  color: #c9c9d1;
  background-color: #141416;
  background-image:
    linear-gradient(112deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.16) 47%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(128deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 38%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, rgba(0, 0, 0, 0.06) 1px, rgba(0, 0, 0, 0.06) 2px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0) 3px),
    linear-gradient(158deg, #303036 0%, #18181b 40%, #0d0d0f 70%, #202024 100%);
  background-size: 320% 100%, auto, auto, auto;
  background-position: 100% 0, 0 0, 0 0, 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.7),
    0 1.5cqw 3cqw rgba(0, 0, 0, 0.35),
    0 6cqw 10cqw -3cqw rgba(0, 0, 0, 0.5);
  transform: perspective(1100px) rotateX(14deg) rotateY(-16deg) rotateZ(-4deg);
}
.mcard-top, .mcard-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 4cqw; }
.mcard-bottom { align-items: flex-end; }
.mcard-mark, .mcard-name, .mcard-role, .mcard-tap { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.12); }
.mcard-mark { font-weight: 800; font-size: 10.5cqw; letter-spacing: 0.2em; line-height: 1; color: #d6d6dd; }
.mcard-nfc { width: 10cqw; height: 10cqw; fill: none; stroke: #b9b9c2; stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12)); }
.mcard-role { font-size: 2.6cqw; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: #ababb5; }
.mcard-name { margin-top: 0.8cqw; font-size: 5cqw; font-weight: 600; letter-spacing: 0.01em; color: #d6d6dd; }
.mcard-tap { font-size: 2.4cqw; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #8f8f9a; white-space: nowrap; }

@media (max-width: 599px) {
  .phone { box-shadow: inset 0 0 0 0.35cqw rgba(255, 255, 255, 0.24), 0 8cqw 12cqw -7cqw rgba(0, 0, 0, 0.45); }
  .mcard { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 5cqw 9cqw -3cqw rgba(0, 0, 0, 0.5); }
}
@media (prefers-reduced-motion: no-preference) {
  .mcard { transition: background-position 1.6s var(--ease); }
  .mcard:hover { background-position: 0 0, 0 0, 0 0, 0 0; }
  .typing i { animation: typing 1.3s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: 0.18s; }
  .typing i:nth-child(3) { animation-delay: 0.36s; }
  .tap-glow::after { animation: tapRing 2.6s ease-out infinite; }
}
@keyframes typing { 0%, 60%, 100% { opacity: 0.45; transform: none; } 30% { opacity: 1; transform: translateY(-0.15em); } }
@keyframes tapRing { 0% { opacity: 0.9; transform: scale(0.55); } 100% { opacity: 0; transform: scale(1.15); } }

/* ---------- Dashboard mockup ---------- */
.dash {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2);
  box-shadow: var(--shadow); padding: 14px; overflow: hidden;
}
@media (min-width: 700px) { .dash { padding: 20px; } }
.dash-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 4px 16px; }
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--line); }
.dash-bar .sample-label { margin-left: auto; }
.dash { background-image: radial-gradient(70% 60% at 80% 0%, var(--dash-glow, transparent), transparent 70%); }
.dash-looks { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; padding: 0 4px 14px; }
.dash-looks-label { font-size: 0.82rem; color: var(--muted); }
.looks { display: flex; flex-wrap: wrap; gap: 2px; }
.look { width: 44px; height: 44px; display: grid; place-items: center; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.look .sw { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.look:hover .sw { transform: scale(1.08); }
.look[aria-pressed="true"] .sw { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--text); }
.sw--signature { background: linear-gradient(135deg, #1a1612 0 38%, #d9b878 38% 72%, #d4d7dd 72%); }
.sw--bordeaux { background: linear-gradient(135deg, #7a1530 0 38%, #d8b56a 38% 72%, #d4d7dd 72%); }
.sw--sapphire { background: linear-gradient(135deg, #1e3a8a 0 38%, #e2b65c 38% 72%, #d4d7dd 72%); }
.sw--rose { background: linear-gradient(135deg, #7a1530 0 38%, #d98d7a 38% 72%, #f9a8c0 72%); }
.sw--royal { background: linear-gradient(135deg, #5b21b6 0 38%, #e9c46a 38% 72%, #d4d7dd 72%); }
.sw--teal { background: linear-gradient(135deg, #134e4a 0 38%, #2dd4bf 38% 72%, #d4d7dd 72%); }
.dash-grid { display: grid; gap: 14px; }
@media (min-width: 860px) { .dash-grid { grid-template-columns: 1.6fr 1fr; } }
.panel { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel-head h3 { font-size: 1rem; font-weight: 650; }
.panel-head p { font-size: 0.82rem; color: var(--dim); margin-top: 2px; }
.delta { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--surface-3); color: var(--green); font-weight: 700; font-size: 0.78rem; white-space: nowrap; }
.chart { margin-top: 14px; width: 100%; height: auto; }
.chart .gridline { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.chart .area { fill: url(#areaFill); }
.chart .area-stop-1 { stop-color: var(--chart-1); stop-opacity: 0.22; }
.chart .area-stop-2 { stop-color: var(--chart-1); stop-opacity: 0; }
.chart .line { fill: none; stroke: var(--chart-1); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .line-2 { fill: none; stroke: var(--chart-3); stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; }
.chart .pt { fill: var(--surface); stroke: var(--chart-1); stroke-width: 2.5; }
.chart-axis { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--dim); margin-top: 6px; }
.donut-wrap { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; margin-top: 14px; }
.donut { position: relative; width: 132px; height: 132px; }
.donut svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; }
.donut .track { stroke: var(--surface-3); }
.donut .s1 { stroke: var(--chart-1); }
.donut .s2 { stroke: var(--chart-3); }
.donut .s3 { stroke: var(--chart-2); }
.donut .s4 { stroke: var(--chart-4); }
.donut .s5 { stroke: var(--chart-5); }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center strong { font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text); line-height: 1.1; }
.donut-center span { font-size: 0.72rem; color: var(--dim); }
.legend { list-style: none; display: grid; gap: 8px; font-size: 0.84rem; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend .l1 { background: var(--chart-1); }
.legend .l2 { background: var(--chart-3); }
.legend .l3 { background: var(--chart-2); }
.legend .l4 { background: var(--chart-4); }
.legend .l5 { background: var(--chart-5); border: 1px solid var(--line-2); }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
@media (min-width: 860px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } .kpis--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kpi { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 16px; }
.kpi .delta { display: inline-flex; margin-top: 0; font-size: 0.72rem; }
.kpi strong { display: block; margin-top: 12px; font-size: clamp(1.35rem, 2vw + 0.6rem, 1.9rem); font-weight: 750; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.kpi span { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .chart .line { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.2s var(--ease) 0.2s; }
  .js .reveal.is-in .chart .line { stroke-dashoffset: 0; }
}

/* Opportunity record */
.record { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.record-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.record-head h3 { font-size: 1rem; }
.record-head .sample-tag { margin-left: auto; }
.record dl { margin: 0; padding: 6px 20px 4px; }
.record dl div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 520px) { .record dl div { grid-template-columns: 170px 1fr; gap: 16px; } }
.record dl div:last-child { border-bottom: 0; }
.record dt { font-size: 0.82rem; color: var(--dim); font-weight: 500; }
.record dd { margin: 0; color: var(--text); font-weight: 500; }
.record dd .tiny { display: block; color: var(--dim); font-weight: 500; margin-top: 2px; }
.record-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 18px; border-top: 1px solid var(--line); }

/* Letter markers (opportunity engine sections) */
.marker-head { display: flex; align-items: center; gap: 14px; }
.marker {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-2); background: var(--surface); font-weight: 800; color: var(--text);
}

/* Industry cards (wide) */
.ind-list { display: grid; gap: 16px; }
.ind-card {
  display: grid; gap: 18px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background-color: var(--surface); background-image: var(--card-sheen); transition: border-color 0.25s;
}
.ind-card:hover { border-color: var(--line-2); }
@media (min-width: 900px) { .ind-card { grid-template-columns: 240px 1fr auto; align-items: center; gap: 36px; padding: 30px 34px; } }
.ind-card .ind-label { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ind-card .ind-label .eyebrow { color: var(--dim); }
.ind-card h3 { font-size: 1.4rem; letter-spacing: -0.025em; }
.ind-card .tagline { font-size: 1.05rem; color: var(--text-2); font-weight: 600; margin-top: 4px; }
.ind-card p.desc { color: var(--muted); margin-top: 8px; }
.ind-card .check-list { margin-top: 16px; }
.ind-grid .ind-card { grid-template-columns: 1fr; align-items: start; }

/* Fully managed list */
.managed { display: grid; gap: 40px; }
@media (min-width: 1000px) { .managed { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 22px; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 750; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.9rem; }

/* Values / pillars */
.pillars { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); font-weight: 650; color: var(--text); min-height: 60px; }
.pillar .icon { color: var(--text-2); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); }
.flow li + li::before { content: ""; width: 22px; height: 1px; background: var(--line-2); }
.flow .pill { min-height: 44px; }

/* ---------- CTA blocks ---------- */
.cta-block { text-align: center; }
.cta-block .h2 { margin-top: 16px; }
.cta-block .lead { margin: 18px auto 0; max-width: 640px; }
.cta-block .btn-row { justify-content: center; margin-top: 30px; }
.cta-band { padding-block: 0 64px; }
@media (min-width: 900px) { .cta-band { padding-block: 0 88px; } }
.section + .cta-band, .section--alt + .cta-band { padding-top: 0; }
.cta-band-inner {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background-color: var(--surface); padding: 40px 24px; text-align: center;
}
.cta-band-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 50% 0%, var(--glow), transparent 70%);
}
@media (min-width: 900px) {
  .cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; text-align: left; padding: 52px 56px; }
}
.cta-band-inner h2 { font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.4rem); letter-spacing: -0.035em; }
.cta-band-inner p { margin-top: 12px; color: var(--muted); max-width: 620px; }
.cta-band-inner .btn { margin-top: 26px; }
@media (min-width: 900px) { .cta-band-inner .btn { margin-top: 0; flex: none; } }
.cta-top-gap { padding-top: 76px; }
@media (min-width: 900px) { .cta-top-gap { padding-top: 116px; } }

/* ---------- Forms ---------- */
.form-card {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background-color: var(--surface);
  background-image: var(--card-sheen); padding: 24px; box-shadow: var(--shadow);
}
@media (min-width: 700px) { .form-card { padding: 36px; } }
.form-card h2 { font-size: 1.5rem; letter-spacing: -0.025em; }
.form-card > p { margin-top: 8px; color: var(--muted); }
.form { margin-top: 24px; display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 500; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background-color: var(--bg-2); color: var(--text);
  font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--surface-3); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { min-height: 65px; }
.form-legal { font-size: 0.84rem; color: var(--dim); }
.form-legal a { color: var(--text-2); }
.form-status { font-size: 0.92rem; border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); }
.form-status[hidden] { display: none; }
.form-status--error { border-color: var(--red); color: var(--text); }
.form-status a { color: var(--text); font-weight: 600; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: none; }
.is-busy .spinner { display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 28px 8px; }
.form-success[hidden] { display: none; }
.form-success .ok { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--green); }
.form-success .ok .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.form-success h2 { margin-top: 18px; }
.form-success p { margin-top: 10px; color: var(--muted); }
.form-success h2:focus { outline: none; }

.demo-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .demo-layout { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; } }
.benefits { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 560px) and (max-width: 999px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.benefit h3 { font-size: 1rem; }
.benefit p { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }

.contact-items { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.contact-item h3 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.contact-item a, .contact-item strong { display: inline-block; margin-top: 4px; font-size: 1.1rem; font-weight: 650; color: var(--text); }
.contact-item a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 0; }
.contact-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Legal article ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 44px; letter-spacing: -0.02em; }
.prose p, .prose ul { margin-top: 14px; color: var(--text-2); }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--dim); }
.prose a { color: var(--text); font-weight: 600; }
.prose .updated { color: var(--dim); font-size: 0.92rem; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 64px 28px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; } }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 320px; font-size: 0.95rem; }
.footer-brand .motto { margin-top: 18px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.footer-col h2 { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.footer-col ul { list-style: none; margin-top: 12px; display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--text-2); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--dim); font-size: 0.85rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--text); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-d1 { transition-delay: 0.08s; }
  .js .reveal-d2 { transition-delay: 0.16s; }
  .js .reveal-d3 { transition-delay: 0.24s; }
  .pulse::before { animation: pulse 2.4s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--new); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Utility spacing */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
@media (min-width: 900px) { .mt-48 { margin-top: 64px; } }
.tagline-lg { color: var(--text); font-weight: 650; }
