/* MaziFy - mazify.io. Brand values come from tokens.css (generated from brand/mazify/tokens.json).
   Built for a strict CSP: no inline styles anywhere; JS only sets custom properties / CSSOM values. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-400.woff2?v=12e7c80de7") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-500.woff2?v=ed653645d0") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-500.woff2?v=b016f0d423") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ------------------------------------------------------------------ site tokens (derived from the accent) */
:root {
  --ai-1: #A7F1E4;          /* signal-200 */
  --ai-2: #3ED6C3;          /* signal (the Point) */
  --ai-3: #2DC0DA;          /* the signal, hue-shifted toward cyan */
  --ai-4: #4C9BEA;          /* ... and toward azure: used only in glows and gradients */
  --grad-ai: linear-gradient(100deg, var(--ai-1) 0%, var(--ai-2) 38%, var(--ai-3) 70%, var(--ai-4) 100%);
  --container: 1240px;
  --container-wide: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 10vw, 152px);
  --header-h: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --glass: rgba(243, 240, 233, 0.035);
  --glass-2: rgba(243, 240, 233, 0.06);
  --glass-3: rgba(243, 240, 233, 0.09);
  --tile-bg: linear-gradient(180deg, rgba(243, 240, 233, 0.045), rgba(243, 240, 233, 0.012));
  --shadow-deep: 0 40px 100px -30px rgba(0, 0, 0, 0.85), 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  --spot: rgba(62, 214, 195, 0.11);
  --title-grad: linear-gradient(100deg, #F3F0E9 0%, #F3F0E9 18%, var(--ai-1) 34%, var(--ai-2) 52%, var(--ai-3) 70%, var(--ai-1) 86%, #F3F0E9 100%);
}
:root[data-theme="light"] {
  --glass: rgba(12, 12, 11, 0.025);
  --glass-2: rgba(12, 12, 11, 0.045);
  --glass-3: rgba(12, 12, 11, 0.07);
  --tile-bg: linear-gradient(180deg, #FBF9F5, #F7F4EE);
  --shadow-deep: 0 40px 90px -30px rgba(12, 12, 11, 0.3), 0 12px 30px -14px rgba(12, 12, 11, 0.18);
  --spot: rgba(9, 122, 110, 0.09);
  --title-grad: linear-gradient(100deg, #0C0C0B 0%, #0C0C0B 18%, #095D53 34%, #097A6E 52%, #0B6E8C 70%, #095D53 86%, #0C0C0B 100%);
}

/* ------------------------------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background: var(--mz-bg); color: var(--mz-fg);
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  font-family: var(--mz-font-sans); font-size: 1rem; line-height: 1.6; letter-spacing: -0.006em;
  font-feature-settings: "ss01" 0, "cv11" 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  background: var(--mz-bg);
}
body::after { /* film grain: one static tile, no blend mode */
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background-image: url("/assets/img/grain.svg?v=5091de9c5d"); background-size: 180px 180px; opacity: 0.04;
}
:root[data-theme="light"] body::after { opacity: 0.05; }
::selection { background: var(--mz-selection); color: var(--mz-fg); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mz-ring); outline-offset: 2px; border-radius: 6px; }
.mz-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.125em; height: 1.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
main, .site-footer { position: relative; z-index: 1; }
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 400; transform: translateY(-160%);
  padding: 10px 16px; border-radius: 10px; background: var(--mz-accent); color: var(--mz-accent-fg);
  font-weight: 500; text-decoration: none; transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.glow-cursor {
  position: fixed; left: 0; top: 0; z-index: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  background: radial-gradient(closest-side, rgba(62, 214, 195, 0.075), rgba(62, 214, 195, 0.025) 55%, transparent);
  will-change: transform;
}
.glow-cursor.is-on { opacity: 1; }
:root[data-theme="light"] .glow-cursor { background: radial-gradient(closest-side, rgba(9, 122, 110, 0.06), transparent); }

/* ------------------------------------------------------------------------------------ buttons */
.btn {
  --h: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 999px; isolation: isolate; white-space: nowrap;
  font: 500 15px/1 var(--mz-font-sans); letter-spacing: -0.01em; text-decoration: none;
  transition: background-color .25s ease, box-shadow .35s ease, color .25s ease, translate .5s var(--ease-out);
}
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn-primary {
  background: var(--mz-accent); color: var(--mz-accent-fg); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(120, 230, 213, 0.5), 0 10px 32px -10px rgba(62, 214, 195, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary::before { /* travelling sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn-primary:hover { background: var(--mz-accent-hover); box-shadow: 0 0 0 1px rgba(167, 241, 228, 0.7), 0 14px 44px -10px rgba(62, 214, 195, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-primary:hover::before { transform: translateX(120%); }
:root[data-theme="light"] .btn-primary { box-shadow: 0 0 0 1px rgba(9, 122, 110, 0.5), 0 10px 30px -12px rgba(9, 122, 110, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { background: var(--glass); color: var(--mz-fg); box-shadow: inset 0 0 0 1px var(--mz-border-strong); }
.btn-ghost:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px rgba(62, 214, 195, 0.45); }
.btn-ghost:hover .ico { transform: translateY(2px); }
.btn-ghost[href^="mailto"]:hover .ico { transform: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; color: var(--mz-fg-sub);
  transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--glass-2); color: var(--mz-fg); }
.icon-btn .ico { width: 19px; height: 19px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px;
  font: 500 11px/1 var(--mz-font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--mz-accent-ink); background: var(--mz-accent-soft); box-shadow: inset 0 0 0 1px var(--mz-accent-border);
}
.badge-beta { color: var(--mz-warning-ink); background: var(--mz-warning-soft); box-shadow: inset 0 0 0 1px rgba(245, 174, 57, 0.35); }

/* ------------------------------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled, .site-header.is-open {
  background: var(--mz-bg-veil); border-bottom-color: var(--mz-border);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.nav { height: var(--header-h); display: flex; align-items: center; gap: 20px; max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.brand { display: inline-flex; align-items: center; height: 40px; border-radius: 8px; }
.brand-lockup { height: 22px; width: auto; color: var(--mz-fg); fill: var(--mz-accent); }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--mz-fg-sub);
  text-decoration: none; transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--mz-fg); background: var(--glass-2); }
.nav-links a.is-current { color: var(--mz-fg); }
.nav-links a.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 7px; height: 6px; margin-left: -3.5px;
  background: var(--mz-accent); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-signin { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--mz-fg-sub); text-decoration: none; transition: color .2s; }
.nav-signin:hover { color: var(--mz-fg); }
.theme-btn .ico-moon { display: none; }
:root[data-theme="light"] .theme-btn .ico-sun { display: none; }
:root[data-theme="light"] .theme-btn .ico-moon { display: block; }
.theme-btn, .menu-btn { display: none; }
.js .theme-btn { display: inline-grid; }
.mnav { border-top: 1px solid var(--mz-border); }
.mnav-inner { display: flex; flex-direction: column; padding-block: 12px 24px; }
.mnav-inner > a { padding: 14px 4px; font-size: 18px; color: var(--mz-fg); text-decoration: none; border-bottom: 1px solid var(--mz-border); }
.mnav-ctas { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 20px; }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .js .menu-btn { display: inline-grid; }
}
@media (max-width: 560px) {
  .nav-signin { display: none; }
  .nav-actions .btn-sm { padding: 0 14px; }
}
@media (max-width: 380px) {
  .nav-actions .btn-sm { display: none; }
}
.site-header.is-open { height: auto; }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--ai-2), var(--ai-1)); box-shadow: 0 0 8px rgba(62, 214, 195, 0.6); opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled .scroll-progress { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual, .hero-copy { transform: translate3d(0, calc(var(--hx, 0) * 70px), 0); }
  .hero-visual { opacity: calc(1 - var(--hx, 0) * 0.55); }
  .hero-copy { transform: translate3d(0, calc(var(--hx, 0) * 30px), 0); opacity: calc(1 - var(--hx, 0) * 0.35); }
}

/* --------------------------------------------------------------------------- section scaffolding */
section { position: relative; }
main > section { overflow-x: clip; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font: 500 12px/1.3 var(--mz-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mz-accent-ink);
}
.eyebrow::before { content: ""; width: 10px; height: 9px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.eyebrow-center { justify-content: center; }
.eyebrow .pulse-dot + * { margin: 0; }
.cta .eyebrow::before { display: none; }
.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head h2 { max-width: 16em; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.split-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
.split-head .lede { margin-top: 0; padding-bottom: 6px; }
@media (max-width: 900px) { .split-head { grid-template-columns: 1fr; } .split-head .lede { margin-top: 22px; } }
.section-head h2, .safety-intro h2, .faq-head h2, .cta h2 {
  font-size: clamp(2.2rem, 1.25rem + 3.1vw, 4.1rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500;
  text-wrap: balance;
}
h2 em { font-style: normal; color: var(--mz-fg-muted); }
.cta h2 em { color: inherit; background: var(--title-grad); background-size: 220% 100%; background-position: 30% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.js .cta h2.split em .wdi { background: var(--title-grad); background-size: 440% 100%; background-position: 40% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { margin-top: 22px; max-width: 60ch; font-size: clamp(1.0625rem, 0.97rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--mz-fg-sub); text-wrap: pretty; }
.lede a { color: var(--mz-accent-ink); text-underline-offset: 3px; }

/* reveal + split text (only when JS runs and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--rd, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .split .wd { display: inline-block; overflow: clip; overflow-clip-margin: 0.12em; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
  .js .split .wdi { display: inline-block; transform: translateY(105%) rotate(2deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 42ms); }
  .js .split.is-in .wdi { transform: none; }
}

/* ------------------------------------------------------------------------------------------ hero */
.hero {
  isolation: isolate; overflow: clip;
  padding: calc(var(--header-h) + clamp(40px, 7vh, 96px)) 0 clamp(56px, 7vw, 112px);
}
.aurora {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(62, 214, 195, 0.20), transparent 70%),
    radial-gradient(45% 40% at 20% 10%, rgba(45, 192, 218, 0.12), transparent 70%),
    radial-gradient(50% 50% at 60% 80%, rgba(9, 122, 110, 0.18), transparent 70%);
}
.aurora.is-gl { background: none; }
:root[data-theme="light"] .aurora:not(.is-gl) {
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(62, 214, 195, 0.28), transparent 70%),
    radial-gradient(45% 40% at 20% 10%, rgba(45, 192, 218, 0.16), transparent 70%);
}
.hero-fade { position: absolute; inset: auto 0 0; z-index: -1; height: 28%; background: linear-gradient(to bottom, transparent, var(--mz-bg)); pointer-events: none; }
.hero::before { /* faint perspective grid under the stage */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--mz-border) 1px, transparent 1px), linear-gradient(90deg, var(--mz-border) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 45%, #000 0%, transparent 72%);
  mask-image: radial-gradient(70% 60% at 70% 45%, #000 0%, transparent 72%);
}
.hero-grid {
  max-width: calc(var(--container-wide) + 2 * var(--gutter));
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; padding-block: 12px; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px 0 12px; border-radius: 999px;
  font-size: 13.5px; color: var(--mz-fg); text-decoration: none; background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--mz-border-strong); transition: box-shadow .3s, background-color .3s;
}
.pill-badge .ico { width: 15px; height: 15px; color: var(--mz-fg-muted); transition: transform .3s var(--ease-out), color .3s; }
.pill-badge:hover { box-shadow: inset 0 0 0 1px var(--mz-accent-border); background: var(--mz-accent-soft); }
.pill-badge:hover .ico { transform: translateX(3px); color: var(--mz-accent-ink); }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mz-accent); flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--mz-accent); opacity: 0; animation: pulse-ring 2.4s var(--ease-out) infinite; }
@keyframes pulse-ring { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

.hero-title {
  margin-top: 26px; font-weight: 500; letter-spacing: -0.047em; line-height: 0.98;
  font-size: clamp(2.75rem, 1.05rem + 4.1vw, 4.9rem);
}
.ht-line { display: block; }
.ht-accent {
  padding-bottom: 0.06em; background: var(--title-grad); background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .ht-accent { animation: title-sheen 9s var(--ease-io) 1.2s infinite; }
  .js .hero-title .wdi, .js .hero-title .ht-line { transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); }
  .js .hero-title:not(.is-in) .ht-line { opacity: 0.18; transform: translateY(18px); filter: blur(8px); }
  .js .hero-title .ht-line + .ht-line { transition-delay: 90ms; }
  .js .hero-copy .hero-sub, .js .hero-copy .cta-row, .js .hero-copy .hero-trust, .js .hero-copy .pill-badge {
    opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  }
  .js .hero.is-in .hero-copy .pill-badge { opacity: 1; transform: none; }
  .js .hero.is-in .hero-copy .hero-sub { opacity: 1; transform: none; transition-delay: .18s; }
  .js .hero.is-in .hero-copy .cta-row { opacity: 1; transform: none; transition-delay: .28s; }
  .js .hero.is-in .hero-copy .hero-trust { opacity: 1; transform: none; transition-delay: .4s; }
}
@keyframes title-sheen { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
.hero-sub { margin-top: 24px; max-width: 34em; font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--mz-fg-sub); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-row-center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 13.5px; color: var(--mz-fg-muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 16px; height: 16px; color: var(--mz-accent-ink); }

/* ------------------------------------------------------------------ hero stage: design units (--u) */
.hero-visual { position: relative; container: stage / inline-size; margin: 0; }
.stage {
  --u: calc(100cqw / 600);
  position: relative; width: 100%; height: calc(680 * var(--u));
  perspective: calc(1500 * var(--u)); perspective-origin: 60% 40%;
}
.stage-3d { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.streams { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stage-note { margin-top: 10px; text-align: center; font-size: 12px; line-height: 1.4; color: var(--mz-fg-muted); }

.src-chips { position: absolute; inset: 0; pointer-events: none; }
.src-chip {
  --x: 0; --y: 0;
  position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  display: inline-flex; align-items: center; gap: calc(7 * var(--u)); height: calc(32 * var(--u)); padding: 0 calc(12 * var(--u)) 0 calc(9 * var(--u));
  border-radius: 999px; font-size: calc(12 * var(--u)); font-weight: 500; white-space: nowrap; color: var(--mz-fg-sub);
  background: rgba(21, 21, 20, 0.7); box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.12), 0 8px 24px -10px rgba(0, 0, 0, 0.7);
  transform: translateZ(calc(20 * var(--u)));
}
.src-chip .ico { width: calc(15 * var(--u)); height: calc(15 * var(--u)); color: var(--ai-2); }
.src-chip.is-ping { box-shadow: inset 0 0 0 1px rgba(62, 214, 195, 0.6), 0 0 calc(22 * var(--u)) rgba(62, 214, 195, 0.35); color: var(--mz-fg); }
.src-chip { transition: box-shadow .5s ease, color .5s ease; }
.s1 { --x: 6; --y: 118; } .s2 { --x: 0; --y: 222; } .s3 { --x: 14; --y: 326; } .s4 { --x: 0; --y: 430; } .s5 { --x: 8; --y: 534; }
:root[data-theme="light"] .src-chip { background: rgba(251, 249, 245, 0.85); color: var(--mz-fg-sub); box-shadow: inset 0 0 0 1px rgba(12, 12, 11, 0.1), 0 8px 24px -12px rgba(12, 12, 11, 0.25); }
:root[data-theme="light"] .src-chip .ico { color: var(--mz-accent); }

.core {
  position: absolute; left: calc(118 * var(--u)); top: calc(236 * var(--u)); width: calc(188 * var(--u)); height: calc(188 * var(--u));
  display: grid; place-items: center; transform: translateZ(calc(30 * var(--u)));
}
.core > * { grid-area: 1 / 1; }
.core-orb {
  position: relative; width: calc(96 * var(--u)); height: calc(96 * var(--u)); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(120, 230, 213, 0.45), rgba(9, 60, 54, 0.9) 58%, #071413 100%);
  box-shadow: 0 0 0 1px rgba(167, 241, 228, 0.55), 0 0 calc(40 * var(--u)) rgba(62, 214, 195, 0.45), 0 0 calc(110 * var(--u)) rgba(62, 214, 195, 0.25), inset 0 0 calc(22 * var(--u)) rgba(62, 214, 195, 0.45);
  transition: box-shadow .6s ease, transform .6s var(--ease-out);
}
.core-mark { width: calc(42 * var(--u)); height: auto; color: #F3F0E9; fill: #3ED6C3; filter: drop-shadow(0 0 calc(8 * var(--u)) rgba(62, 214, 195, 0.8)); }
.core-ring { border-radius: 50%; pointer-events: none; }
.cr1 { width: calc(128 * var(--u)); height: calc(128 * var(--u)); border: 1px dashed rgba(62, 214, 195, 0.35); animation: spin 26s linear infinite; }
.cr2 {
  width: calc(154 * var(--u)); height: calc(154 * var(--u));
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(62, 214, 195, 0.05) 70%, rgba(120, 230, 213, 0.9) 84%, transparent 85%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 5s linear infinite;
}
.cr3 { width: calc(188 * var(--u)); height: calc(188 * var(--u)); border: 1px solid rgba(62, 214, 195, 0.12); }
.core-label {
  align-self: end; margin-bottom: calc(-22 * var(--u)); font: 500 calc(10 * var(--u))/1 var(--mz-font-mono); letter-spacing: .16em;
  text-transform: uppercase; color: var(--ai-2);
}
.core.is-busy .core-orb { transform: scale(1.06); box-shadow: 0 0 0 1px rgba(167, 241, 228, 0.8), 0 0 calc(60 * var(--u)) rgba(62, 214, 195, 0.7), 0 0 calc(150 * var(--u)) rgba(62, 214, 195, 0.35), inset 0 0 calc(26 * var(--u)) rgba(120, 230, 213, 0.6); }
.core.is-busy .cr2 { animation-duration: 1.6s; }
.core.is-busy .cr3 { animation: core-wave 1.4s var(--ease-out) infinite; }
@keyframes core-wave { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes spin { to { transform: rotate(1turn); } }
:root[data-theme="light"] .core-label { color: var(--mz-accent-ink); }

/* phone */
.phone {
  position: absolute; left: calc(300 * var(--u)); top: calc(46 * var(--u)); width: calc(282 * var(--u)); height: calc(584 * var(--u));
  border-radius: calc(48 * var(--u)); padding: calc(9 * var(--u));
  background: linear-gradient(145deg, #3a3a37 0%, #121211 30%, #0a0a0a 70%, #2a2a28 100%);
  box-shadow: 0 0 0 1px rgba(243, 240, 233, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 calc(50 * var(--u)) calc(120 * var(--u)) calc(-30 * var(--u)) rgba(0, 0, 0, 0.9), 0 0 calc(80 * var(--u)) rgba(62, 214, 195, 0.12);
  transform: rotateY(-13deg) rotateX(5deg) rotateZ(1.2deg); transform-origin: 50% 50%;
}
.phone::before { /* edge light */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(62, 214, 195, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 1.5px;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(39 * var(--u));
  background: #000; color: #F5F5F5; font-size: calc(12 * var(--u)); line-height: 1.3; letter-spacing: 0;
}
.phone-screen::after { /* screen glass */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.09) 0%, transparent 30%);
}
.island {
  position: absolute; z-index: 5; top: calc(10 * var(--u)); left: 50%; transform: translateX(-50%);
  height: calc(27 * var(--u)); min-width: calc(88 * var(--u)); max-width: calc(236 * var(--u)); padding: 0 calc(12 * var(--u));
  display: flex; align-items: center; justify-content: center; gap: calc(7 * var(--u));
  border-radius: 999px; background: #000; color: #F5F5F5; font-size: calc(11 * var(--u)); font-weight: 500; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: min-width .55s var(--ease-out), height .55s var(--ease-out), box-shadow .5s;
}
.isl-dot { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: #3ED6C3; box-shadow: 0 0 calc(8 * var(--u)) #3ED6C3; flex: none; }
.isl-text { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .55s var(--ease-out), opacity .35s ease; }
.island.is-open { min-width: calc(200 * var(--u)); height: calc(32 * var(--u)); box-shadow: 0 0 0 1px rgba(62, 214, 195, 0.35), 0 0 calc(24 * var(--u)) rgba(62, 214, 195, 0.35); }
.ig-status > * { transition: opacity .3s ease; }
.island.is-open + .ig-status > * { opacity: 0; }
.island.is-open .isl-text { max-width: calc(190 * var(--u)); opacity: 1; }
.island.is-open .isl-dot { animation: isl-blink 1s ease-in-out infinite; }
.island.is-done .isl-dot { background: #48C063; box-shadow: 0 0 calc(8 * var(--u)) #48C063; animation: none; }
@keyframes isl-blink { 50% { opacity: .35; } }
.ig-status { display: flex; justify-content: space-between; align-items: center; height: calc(44 * var(--u)); padding: calc(4 * var(--u)) calc(24 * var(--u)) 0; font-weight: 600; font-size: calc(12.5 * var(--u)); }
.ig-sys { display: flex; gap: calc(4 * var(--u)); align-items: flex-end; }
.ig-sys i { width: calc(4 * var(--u)); border-radius: 1px; background: #F5F5F5; }
.ig-sys i:nth-child(1) { height: calc(5 * var(--u)); } .ig-sys i:nth-child(2) { height: calc(8 * var(--u)); } .ig-sys i:nth-child(3) { width: calc(18 * var(--u)); height: calc(9 * var(--u)); border-radius: calc(2.5 * var(--u)); }
.ig-top { display: flex; align-items: center; gap: calc(5 * var(--u)); height: calc(34 * var(--u)); padding: 0 calc(14 * var(--u)); font-size: calc(14 * var(--u)); }
.ig-top strong { font-weight: 600; letter-spacing: -0.01em; }
.ig-top .ico { width: calc(13 * var(--u)); height: calc(13 * var(--u)); stroke-width: 2; }
.ig-top-r { margin-left: auto; display: flex; gap: calc(14 * var(--u)); }
.ig-top-r .ico { width: calc(19 * var(--u)); height: calc(19 * var(--u)); stroke-width: 1.8; }
.ig-profile { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(8 * var(--u)) calc(14 * var(--u)) calc(12 * var(--u)); }
.ig-avatar { position: relative; width: calc(64 * var(--u)); height: calc(64 * var(--u)); flex: none; }
.ig-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 3.5; }
.ring-fg { fill: none; stroke: #3ED6C3; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out); }
.ig-avatar.is-story .ring-fg { stroke-dashoffset: 0; }
.ig-ava-in {
  position: absolute; inset: calc(6 * var(--u)); border-radius: 50%; display: grid; place-items: center;
  background: #FFF3E6; color: #2B1510; transition: background-color .5s, color .5s;
}
.ig-ava-in svg { width: 56%; height: 56%; }
.ig-meta { display: flex; flex-direction: column; gap: calc(2 * var(--u)); min-width: 0; }
.ig-meta strong { font-size: calc(13 * var(--u)); font-weight: 600; }
.ig-meta > span { font-size: calc(11.5 * var(--u)); color: #C8C8C8; }
.ig-managed {
  display: inline-flex; align-items: center; gap: calc(5 * var(--u)); margin-top: calc(3 * var(--u)); width: max-content;
  padding: calc(2 * var(--u)) calc(7 * var(--u)) calc(2 * var(--u)) calc(5 * var(--u)); border-radius: 999px; font-size: calc(9.5 * var(--u)) !important;
  color: #3ED6C3 !important; background: rgba(62, 214, 195, 0.12); box-shadow: inset 0 0 0 1px rgba(62, 214, 195, 0.3);
}
.ig-managed svg { width: calc(11 * var(--u)); height: auto; color: #F3F0E9; fill: #3ED6C3; }
.ig-swap { transition: opacity .35s ease, transform .35s ease; }
.is-swapping .ig-swap { opacity: 0; transform: translateY(calc(4 * var(--u))); }
.ig-hl { display: flex; gap: calc(12 * var(--u)); padding: 0 calc(14 * var(--u)) calc(10 * var(--u)); }
.hl { display: flex; flex-direction: column; align-items: center; gap: calc(4 * var(--u)); width: calc(50 * var(--u)); }
.hl i { display: grid; place-items: center; width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: 50%; background: #1A1A1A; color: #F5F5F5; box-shadow: 0 0 0 calc(2 * var(--u)) #000, 0 0 0 calc(3.2 * var(--u)) rgba(255, 255, 255, 0.24); transition: opacity .4s; }
.hl .ico { width: calc(19 * var(--u)); height: calc(19 * var(--u)); stroke-width: 1.5; }
.hl b { font-size: calc(9.5 * var(--u)); font-weight: 500; color: #E5E5E5; white-space: nowrap; }
.is-swapping .hl i { opacity: 0; }
.ig-tabs { display: grid; grid-template-columns: repeat(3, 1fr); height: calc(34 * var(--u)); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ig-tabs span { display: grid; place-items: center; color: #8E8E8E; }
.ig-tabs span.is-on { color: #F5F5F5; box-shadow: inset 0 -1.5px 0 #F5F5F5; }
.ig-tabs .ico { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.ig-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(2 * var(--u)); padding-top: calc(2 * var(--u)); }
.ig-cell { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background-color: #151514; }
.ig-cell.is-gen { background-image: none; }
.ig-cell.is-gen::before { /* generating shimmer */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(62, 214, 195, 0.05) 20%, rgba(120, 230, 213, 0.35) 45%, rgba(62, 214, 195, 0.05) 70%), #0f2a27;
  background-size: 250% 100%; animation: shimmer 1.1s linear infinite;
}
.ig-cell.is-gen::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin: calc(-8 * var(--u)) 0 0 calc(-8 * var(--u));
  background: #A7F1E4; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: spin 2.4s linear infinite;
}
.ig-cell.is-reveal { animation: cell-reveal .9s var(--ease-out) both; }
@keyframes cell-reveal { 0% { clip-path: inset(0 0 100% 0); filter: brightness(1.8) saturate(.6); } 60% { filter: brightness(1.15); } 100% { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.ig-cell.is-new { animation: cell-in .6s var(--ease-out) both; }
@keyframes cell-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ig-cell.is-out { opacity: 0; transition: opacity .35s ease; }
.ig-nav {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(48 * var(--u)); padding: 0 calc(22 * var(--u)) calc(6 * var(--u));
  display: flex; align-items: center; justify-content: space-between; background: rgba(0, 0, 0, 0.92); border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ig-nav .ico { width: calc(19 * var(--u)); height: calc(19 * var(--u)); stroke-width: 1.8; }
.ig-me { width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; background: #FFF3E6; box-shadow: 0 0 0 1.5px #F5F5F5; }

/* sprite of real renders: 8 columns (post, carousel cover, five feed posts, a carousel slide) x 4 sample pages */
.spr { background-image: url("/assets/showcase/grid-sprite.webp?v=ee6bbbc68f"); background-size: 800% 400%; background-repeat: no-repeat; }
.spr-0 { background-position: 0 0; } .spr-1 { background-position: 14.2857% 0; } .spr-2 { background-position: 28.5714% 0; } .spr-3 { background-position: 42.8571% 0; }
.spr-4 { background-position: 57.1429% 0; } .spr-5 { background-position: 71.4286% 0; } .spr-6 { background-position: 85.7143% 0; } .spr-7 { background-position: 100% 0; }
.spr-8 { background-position: 0 33.3333%; } .spr-9 { background-position: 14.2857% 33.3333%; } .spr-10 { background-position: 28.5714% 33.3333%; } .spr-11 { background-position: 42.8571% 33.3333%; }
.spr-12 { background-position: 57.1429% 33.3333%; } .spr-13 { background-position: 71.4286% 33.3333%; } .spr-14 { background-position: 85.7143% 33.3333%; } .spr-15 { background-position: 100% 33.3333%; }
.spr-16 { background-position: 0 66.6667%; } .spr-17 { background-position: 14.2857% 66.6667%; } .spr-18 { background-position: 28.5714% 66.6667%; } .spr-19 { background-position: 42.8571% 66.6667%; }
.spr-20 { background-position: 57.1429% 66.6667%; } .spr-21 { background-position: 71.4286% 66.6667%; } .spr-22 { background-position: 85.7143% 66.6667%; } .spr-23 { background-position: 100% 66.6667%; }
.spr-24 { background-position: 0 100%; } .spr-25 { background-position: 14.2857% 100%; } .spr-26 { background-position: 28.5714% 100%; } .spr-27 { background-position: 42.8571% 100%; }
.spr-28 { background-position: 57.1429% 100%; } .spr-29 { background-position: 71.4286% 100%; } .spr-30 { background-position: 85.7143% 100%; } .spr-31 { background-position: 100% 100%; }

/* toasts */
.toast {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: calc(10 * var(--u));
  width: calc(206 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)); border-radius: calc(16 * var(--u));
  background: rgba(24, 24, 23, 0.78); color: #F3F0E9;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 calc(24 * var(--u)) calc(50 * var(--u)) calc(-16 * var(--u)) rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translate3d(0, calc(10 * var(--u)), calc(60 * var(--u))) scale(.94);
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate3d(0, 0, calc(60 * var(--u))) scale(1); }
.toast-ico { display: grid; place-items: center; width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; flex: none; background: rgba(72, 192, 99, 0.18); color: #73D885; box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.4); }
.toast-b .toast-ico { background: rgba(62, 214, 195, 0.16); color: #3ED6C3; box-shadow: inset 0 0 0 1px rgba(62, 214, 195, 0.4); }
.toast-c .toast-ico { background: rgba(83, 154, 242, 0.16); color: #84B7F9; box-shadow: inset 0 0 0 1px rgba(83, 154, 242, 0.4); }
.toast-ico .ico { width: calc(15 * var(--u)); height: calc(15 * var(--u)); stroke-width: 2; }
.toast-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.toast-body strong { font-size: calc(12.5 * var(--u)); font-weight: 600; }
.toast-body span { font-size: calc(11 * var(--u)); color: #A9A59C; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast-a { left: calc(112 * var(--u)); top: calc(22 * var(--u)); }
.toast-b { left: calc(392 * var(--u)); top: calc(356 * var(--u)); }
.toast-c { left: calc(150 * var(--u)); top: calc(548 * var(--u)); }

/* narrow stage (phones): a different composition in its own design units */
@container stage (max-width: 540px) {
  .stage { --u: calc(100cqw / 400); height: calc(620 * var(--u)); perspective: calc(1200 * var(--u)); }
  .src-chips { display: none; }
  .core { left: calc(-34 * var(--u)); top: calc(96 * var(--u)); transform: translateZ(calc(40 * var(--u))) scale(.72); }
  .core-label { display: none; }
  .phone { left: calc(88 * var(--u)); top: calc(18 * var(--u)); width: calc(270 * var(--u)); height: calc(560 * var(--u)); transform: rotateY(-10deg) rotateX(4deg) rotateZ(1deg); }
  .toast { width: calc(200 * var(--u)); }
  .toast-a { left: calc(0 * var(--u)); top: calc(356 * var(--u)); }
  .toast-b { left: calc(196 * var(--u)); top: calc(250 * var(--u)); }
  .toast-c { left: calc(24 * var(--u)); top: calc(500 * var(--u)); }
}

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: left; max-width: 680px; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
}

/* --------------------------------------------------------------------------------- niche marquee */
.niches { padding: clamp(24px, 4vw, 48px) 0 0; }
.niches-title { margin-bottom: 26px; text-align: center; font: 500 12px/1.3 var(--mz-font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mz-fg-muted); }
.niches-title span { color: var(--mz-accent-ink); }
.marquee {
  --gap: 12px; display: flex; gap: var(--gap); overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-2 { margin-top: 12px; }
.mq-track { display: flex; gap: var(--gap); flex: none; min-width: max-content; padding: 2px 0; }
.mq-track li {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 16px; border-radius: 999px;
  font-size: 15px; color: var(--mz-fg-sub); white-space: nowrap; background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--mz-border); transition: color .3s, box-shadow .3s, background-color .3s;
}
.mq-track li .ico { width: 19px; height: 19px; color: var(--mz-accent-ink); }
.mq-track li:hover { color: var(--mz-fg); background: var(--mz-accent-soft); box-shadow: inset 0 0 0 1px var(--mz-accent-border); }
@media (prefers-reduced-motion: no-preference) {
  .mq-left { animation: mq 70s linear infinite; }
  .mq-right { animation: mq 80s linear infinite reverse; }
  .marquee:hover .mq-track { animation-play-state: paused; }
  .is-paused .mq-track { animation-play-state: paused; }
}
@keyframes mq { to { transform: translateX(calc(-100% - var(--gap))); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .mq-track { flex-wrap: wrap; justify-content: center; min-width: 0; max-width: 1100px; padding-inline: 16px; }
  .mq-track[aria-hidden="true"] { display: none; }
}

/* ---------------------------------------------------------------------------------- how it works */
.how { padding-top: var(--section-y); }
.how-steps { display: grid; gap: clamp(56px, 8vw, 104px); counter-reset: none; }
.how-step { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .how-step { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; } }
.how-text { position: relative; }
.how-num { display: inline-block; margin-bottom: 12px; font: 500 13px/1 var(--mz-font-mono); letter-spacing: .1em; color: var(--mz-accent-ink); }
.how-text h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.how-desc p { margin-top: 14px; font-size: 1.0625rem; line-height: 1.6; color: var(--mz-fg-sub); max-width: 46ch; }
.how-rail, .how-card { display: none; }
.how-pin { padding-bottom: var(--section-y); }

.hv { position: relative; display: flex; justify-content: center; min-width: 0; }
.panel {
  position: relative; border-radius: 22px; background: var(--mz-surface-1);
  box-shadow: inset 0 0 0 1px var(--mz-border), inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-deep);
}
:root[data-theme="light"] .panel { background: var(--mz-surface-1); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ph-title { font: 500 12px/1 var(--mz-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mz-fg-muted); }
.ph-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--mz-accent-ink); background: var(--mz-accent-soft); box-shadow: inset 0 0 0 1px var(--mz-accent-border); }
.ph-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: isl-blink 1s infinite; }
.mini-label { margin: 18px 0 10px; font: 500 11px/1 var(--mz-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mz-fg-muted); }

/* step 1 - connect */
.connect-card { width: min(100%, 420px); padding: 30px; text-align: center; }
.connect-logos { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; }
.cl { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--mz-surface-3); box-shadow: inset 0 0 0 1px var(--mz-border-strong); }
.cl-mz svg { width: 28px; color: var(--mz-fg); fill: var(--mz-accent); }
.cl-ig { color: var(--mz-fg); }
.cl-ig .ico { width: 28px; height: 28px; }
.cl-link { display: flex; gap: 5px; }
.cl-link i { width: 5px; height: 5px; border-radius: 50%; background: var(--mz-border-strong); }
.connect-card.is-on .cl-link i, .hv.is-done .cl-link i { background: var(--mz-accent); box-shadow: 0 0 8px var(--mz-accent); }
.cl-link i:nth-child(2) { transition-delay: 60ms; } .cl-link i:nth-child(3) { transition-delay: 120ms; } .cl-link i:nth-child(4) { transition-delay: 180ms; } .cl-link i:nth-child(5) { transition-delay: 240ms; }
.cl-link i { transition: background-color .3s, box-shadow .3s; }
.connect-title { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.connect-sub { margin-top: 6px; font-size: 13.5px; color: var(--mz-fg-muted); }
.connect-btn {
  position: relative; display: grid; place-items: center; height: 48px; margin-top: 22px; border-radius: 12px; overflow: hidden;
  font-weight: 500; font-size: 15px; background: var(--mz-fg); color: var(--mz-bg); transition: background-color .5s var(--ease-out), color .5s;
}
.connect-btn > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; transition: opacity .35s, transform .5s var(--ease-out); }
.cb-done { opacity: 0; transform: translateY(12px); }
.cb-done .ico { width: 17px; height: 17px; stroke-width: 2.2; }
.connect-btn.is-on, .hv.is-done .connect-btn { background: var(--mz-success-soft); color: var(--mz-success-ink); box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.45); }
.connect-btn.is-on .cb-idle, .hv.is-done .cb-idle { opacity: 0; transform: translateY(-12px); }
.connect-btn.is-on .cb-done, .hv.is-done .cb-done { opacity: 1; transform: none; }
.connect-perms { display: grid; gap: 10px; margin-top: 22px; text-align: left; font-size: 14px; color: var(--mz-fg-sub); }
.connect-perms li { display: flex; align-items: center; gap: 10px; }
.connect-perms .ico { color: var(--mz-accent-ink); width: 17px; height: 17px; }
.connect-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--mz-border); font-size: 13px; color: var(--mz-fg-muted); }
.mdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mdot-shadow { background: var(--mz-mode-shadow); } .mdot-approve { background: var(--mz-mode-approve); } .mdot-auto { background: var(--mz-mode-auto); }

/* step 2 - niche */
.niche-card { width: min(100%, 500px); padding: 26px; }
.niche-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.niche-chips span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--mz-fg-sub); background: var(--glass); box-shadow: inset 0 0 0 1px var(--mz-border); }
.niche-chips .is-on { color: var(--mz-accent-fg); background: var(--mz-accent); box-shadow: 0 0 20px -4px var(--mz-accent); }
.niche-chips .is-on .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.niche-chips .nc-add { color: var(--mz-fg-muted); box-shadow: inset 0 0 0 1px var(--mz-border-strong); background: none; border: 0; }
.src-list { display: grid; gap: 8px; }
.src-row { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--mz-border); transition: box-shadow .4s, background-color .4s; }
.tier { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font: 500 12px/1 var(--mz-font-mono); color: var(--mz-fg-sub); background: var(--mz-surface-3); }
.src-name { flex: 1; min-width: 0; font-size: 14px; color: var(--mz-fg-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toggle { position: relative; width: 36px; height: 21px; border-radius: 999px; background: var(--mz-surface-4); transition: background-color .35s; flex: none; }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: #F3F0E9; transition: transform .45s var(--ease-out); }
.src-row.is-on, .hv.is-done .src-row { background: var(--mz-accent-soft); box-shadow: inset 0 0 0 1px var(--mz-accent-border); }
.src-row.is-on .toggle, .hv.is-done .toggle { background: var(--mz-accent); }
.src-row.is-on .toggle::after, .hv.is-done .toggle::after { transform: translateX(15px); }
.src-row.is-on .src-name, .hv.is-done .src-name { color: var(--mz-fg); }
.niche-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; }
.vchips span { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 12.5px; color: var(--mz-fg-sub); background: var(--glass-2); }
.kit-sw { display: flex; align-items: center; gap: 5px; }
.kit-sw span { margin-left: 6px; font-size: 12.5px; color: var(--mz-fg-sub); }
.sw { display: inline-block; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.sw-crypto-1 { background: #F7F3ED; } .sw-crypto-2 { background: #16130F; } .sw-crypto-3 { background: #7C6BF0; } .sw-crypto-4 { background: #4F7CE8; } .sw-crypto-5 { background: #E5484D; }
.sw-football-1 { background: #F4F7F4; } .sw-football-2 { background: #14201A; } .sw-football-3 { background: #1B8A4B; } .sw-football-4 { background: #1E88E5; } .sw-football-5 { background: #F9A825; }
.sw-food-1 { background: #FFF3E6; } .sw-food-2 { background: #2B1510; } .sw-food-3 { background: #E4572E; } .sw-food-4 { background: #D99A1E; } .sw-food-5 { background: #2F9E6B; }
.sw-tech-1 { background: #EDF0FA; } .sw-tech-2 { background: #0E1222; } .sw-tech-3 { background: #4353FF; } .sw-tech-4 { background: #F0506E; } .sw-tech-5 { background: #12A594; }
.sw-fashion-1 { background: #F4EFEA; } .sw-fashion-2 { background: #1C1917; } .sw-fashion-3 { background: #A5566B; } .sw-fashion-4 { background: #8C6A45; } .sw-fashion-5 { background: #E08FA4; }
.sw-realestate-1 { background: #F0F2EF; } .sw-realestate-2 { background: #16211F; } .sw-realestate-3 { background: #9A6A2F; } .sw-realestate-4 { background: #1F5F8B; } .sw-realestate-5 { background: #3E7D5A; }

/* step 3 - make */
.hv-make { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); gap: 24px; align-items: center; width: 100%; max-width: 640px; }
.make-editor { padding: 22px; }
.caption { position: relative; margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--mz-fg); }
.caption-ghost { visibility: hidden; }
.caption-typed { position: absolute; inset: 0; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.18em; background: var(--mz-accent); animation: isl-blink .9s steps(1) infinite; }
.audit { margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--mz-border); }
.audit-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--mz-fg); }
.audit-head .ico { color: var(--mz-accent-ink); }
.audit ul { display: grid; gap: 9px; margin-top: 12px; }
.audit li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--mz-fg-muted); transition: color .4s; }
.audit li .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; stroke-width: 2.4; color: transparent; background: var(--mz-surface-3); transition: color .3s, background-color .3s, transform .5s var(--ease-out); transform: scale(.8); }
.audit li.is-on, .hv.is-done .audit li { color: var(--mz-fg); }
.audit li.is-on .ico, .hv.is-done .audit li .ico { color: var(--mz-bg); background: var(--mz-success); transform: none; }
.make-canvas { position: relative; }
.slot { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.slot img { width: 100%; height: auto; }
.scan { position: absolute; left: -6%; right: -6%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ai-1), transparent); box-shadow: 0 0 18px 2px rgba(62, 214, 195, 0.55); opacity: 0; pointer-events: none; }
.make-tag { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; color: var(--mz-fg); background: var(--mz-surface-3); box-shadow: inset 0 0 0 1px var(--mz-accent-border), 0 10px 30px -10px rgba(0, 0, 0, 0.8); }
.make-tag .ico { width: 14px; height: 14px; color: var(--mz-accent-ink); }

/* step 4 - approve */
.hv-approve { flex-direction: column; align-items: center; gap: 18px; }
.seg {
  --i: 1; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 330px); height: 42px; padding: 4px;
  border-radius: 999px; background: var(--mz-surface-2); box-shadow: inset 0 0 0 1px var(--mz-border); font-size: 13.5px; font-weight: 500;
}
.seg > span:not(.seg-thumb) { position: relative; z-index: 1; display: grid; place-items: center; color: var(--mz-fg-muted); transition: color .4s; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--mz-surface-4); box-shadow: inset 0 0 0 1px var(--mz-border-strong); transform: translateX(calc(var(--i) * 100%)); transition: transform .6s var(--ease-out), background-color .4s; }
.seg[data-mode="1"] > span:nth-child(3), .seg:not([data-mode]) > span:nth-child(3) { color: var(--mz-fg); }
.seg[data-mode="2"] { --i: 2; }
.seg[data-mode="2"] > span:nth-child(4) { color: var(--mz-fg); }
.seg[data-mode="2"] .seg-thumb { background: rgba(72, 192, 99, 0.2); box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.5); }
.tg { width: min(100%, 380px); overflow: hidden; }
.tg-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--mz-border); }
.tg-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mz-ink); box-shadow: inset 0 0 0 1px var(--mz-border-strong); }
.tg-ava svg { width: 17px; color: #F3F0E9; fill: #3ED6C3; }
.tg-who { display: flex; flex-direction: column; line-height: 1.2; }
.tg-who strong { font-size: 14px; font-weight: 500; }
.tg-who span { font-size: 12px; color: var(--mz-fg-muted); }
.tg-body { padding: 14px; background: radial-gradient(120% 80% at 50% 0%, rgba(62, 214, 195, 0.06), transparent); }
.tg-msg { width: 88%; padding: 10px; border-radius: 16px 16px 16px 6px; background: var(--mz-surface-3); }
.tg-text { font-size: 13.5px; margin: 2px 4px 10px; }
.tg-text b { font-weight: 500; color: var(--mz-accent-ink); }
.slot-tg { width: 62%; border-radius: 10px; }
.tg-meta { display: flex; align-items: center; gap: 6px; margin: 10px 4px 2px; font-size: 12.5px; color: var(--mz-fg-sub); }
.tg-meta .ico { width: 15px; height: 15px; color: var(--mz-success-ink); }
.tg-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 88%; margin-top: 6px; }
.tg-btn { display: grid; place-items: center; height: 36px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--mz-fg); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--mz-border); transition: background-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.tg-go { color: var(--mz-accent-ink); }
.tg-go.is-on, .hv.is-done .tg-go { background: var(--mz-accent); color: var(--mz-accent-fg); transform: scale(.97); box-shadow: 0 0 0 4px var(--mz-accent-soft); }
.tg-reply { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin: 10px 0 0 auto; padding: 9px 12px; border-radius: 14px 14px 6px 14px; font-size: 13px; color: var(--mz-success-ink); background: var(--mz-success-soft); box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.35); opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .6s var(--ease-out); }
.tg-reply .ico { width: 16px; height: 16px; stroke-width: 2.2; }
.tg-reply.is-on, .hv.is-done .tg-reply { opacity: 1; transform: none; }

/* step 5 - publish */
.hv-publish { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 26px; align-items: center; width: 100%; max-width: 620px; }
.mini-phone { position: relative; padding: 14px 8px 12px; border-radius: 30px; background: #000; box-shadow: 0 0 0 7px #151514, 0 0 0 8px rgba(243, 240, 233, 0.14), var(--shadow-deep); color: #F5F5F5; }
.mp-top { display: flex; align-items: center; gap: 8px; padding: 2px 6px 12px; font-size: 12.5px; }
.mp-top strong { font-weight: 600; }
.mp-ava { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #FFF3E6; color: #2B1510; box-shadow: 0 0 0 2px #000, 0 0 0 3.5px #3ED6C3; }
.mp-ava svg { width: 14px; height: 14px; }
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.mp-cell { aspect-ratio: 4 / 5; overflow: hidden; background-color: #151514; }
.mp-cell.slot { border-radius: 0; box-shadow: none; }
.pub-toast { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; color: #73D885; background: #15241A; box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.45); opacity: 0; transition: opacity .4s, transform .6s var(--ease-out); }
.pub-toast .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.pub-toast.is-on, .hv.is-done .pub-toast { opacity: 1; }
.learn { padding: 20px; }
.learn-rows { display: grid; gap: 14px; margin-top: 18px; }
.lr { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--mz-fg-sub); }
.lr-track { position: relative; height: 10px; border-radius: 999px; background: var(--mz-surface-3); }
.lr-band { position: absolute; top: -4px; bottom: -4px; left: 34%; width: 38%; border-radius: 6px; background: rgba(62, 214, 195, 0.08); box-shadow: inset 0 0 0 1px rgba(62, 214, 195, 0.28); }
.lr-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--mz-signal-700), var(--ai-2)); transform-origin: 0 50%; transform: scaleX(.5); transition: transform .9s var(--ease-out); }
.lb-1 { transform: scaleX(.62); } .lb-2 { transform: scaleX(.49); } .lb-3 { transform: scaleX(.52); } .lb-4 { transform: scaleX(.57); }
.learn-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--mz-border); font-size: 12.5px; color: var(--mz-fg-muted); }
.learn-foot .ico { color: var(--mz-accent-ink); }

@media (max-width: 560px) {
  .hv-make, .hv-publish { grid-template-columns: 1fr; }
  .make-canvas { max-width: 260px; margin-inline: auto; }
  .mini-phone { max-width: 250px; margin-inline: auto; }
  .niche-foot { grid-template-columns: 1fr; }
}

/* pinned, scroll-scrubbed layout (JS adds .is-pinned on wide screens when motion is allowed) */
.how.is-pinned .how-pin { height: 560vh; padding-bottom: 0; }
.how.is-pinned .how-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); overflow: clip; }
.how.is-pinned .how-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; height: min(660px, calc(100vh - var(--header-h) - 48px)); }
.how.is-pinned .how-steps { grid-column: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.how.is-pinned .how-step { display: block; }
.how.is-pinned .how-text { padding: 16px 0 16px 34px; opacity: .34; transition: opacity .5s ease; }
.how.is-pinned .how-text h3 { font-size: clamp(1.35rem, 1rem + 1vw, 1.85rem); transition: color .5s; }
.how.is-pinned .how-num { position: absolute; left: 0; top: 22px; margin: 0; }
.how.is-pinned .how-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.how.is-pinned .how-desc > p { min-height: 0; overflow: hidden; margin-top: 0; padding-top: 10px; }
.how.is-pinned .how-step.is-active .how-text { opacity: 1; }
.how.is-pinned .how-step.is-active .how-desc { grid-template-rows: 1fr; }
.how.is-pinned .how-rail { display: block; position: absolute; left: calc(var(--gutter) + 12px); top: 12%; bottom: 12%; width: 1px; background: var(--mz-border-strong); }
.how-rail-fill { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ai-1), var(--ai-2)); transform-origin: 0 0; transform: scaleY(0); box-shadow: 0 0 10px var(--ai-2); }
.how-count { display: none; }
.how.is-pinned .how-count {
  display: flex; align-items: baseline; gap: 10px; position: absolute; left: calc(var(--gutter) + 34px); top: 2%;
  font: 500 13px/1 var(--mz-font-mono); letter-spacing: .12em; color: var(--mz-fg-muted);
}
.hc-win { display: inline-block; height: 1.9em; overflow: hidden; font-size: 30px; line-height: 1.9em; letter-spacing: -0.02em; color: var(--mz-fg); }
.hc-roll { display: flex; flex-direction: column; transform: translateY(calc(var(--step, 0) * -1.9em)); transition: transform .8s var(--ease-out); }
.hc-roll i { font-style: normal; display: block; height: 1.9em; }
.how.is-pinned .hv {
  position: absolute; top: 0; bottom: 0; right: var(--gutter); left: calc(var(--gutter) + (100% - 2 * var(--gutter) - 56px) * 5 / 12 + 56px);
  width: auto; max-width: none; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; will-change: opacity, transform;
}
.how.is-pinned .hv-approve { flex-direction: column; }
.how.is-pinned .hv-make, .how.is-pinned .hv-publish { display: grid; align-content: center; }
.how.is-pinned .hv-make { grid-template-columns: minmax(0, 1fr) minmax(0, 250px); }
.how.is-pinned .hv-publish { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); justify-content: center; }
.how.is-pinned .slot img { visibility: hidden; }
.how-bg { display: none; }
.how.is-pinned .how-bg {
  display: block; position: absolute; top: 2%; bottom: 2%; right: var(--gutter); left: calc(var(--gutter) + (100% - 2 * var(--gutter) - 56px) * 5 / 12 + 56px);
  border-radius: 32px; pointer-events: none;
  background:
    radial-gradient(55% 60% at 50% 45%, rgba(62, 214, 195, 0.10), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(243, 240, 233, 0.09) 1px, transparent 1.4px) 0 0 / 22px 22px;
  box-shadow: inset 0 0 0 1px var(--mz-border);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(80% 80% at 50% 50%, #000 55%, transparent 100%);
}
:root[data-theme="light"] .how.is-pinned .how-bg { background: radial-gradient(55% 60% at 50% 45%, rgba(9, 122, 110, 0.08), transparent 70%), radial-gradient(circle at 1px 1px, rgba(12, 12, 11, 0.1) 1px, transparent 1.4px) 0 0 / 22px 22px; }
.how.is-pinned .how-card {
  display: block; position: absolute; left: 0; top: 0; z-index: 5; overflow: hidden; border-radius: 12px; pointer-events: none;
  transform-origin: 0 0; will-change: transform, opacity; opacity: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 80px -24px rgba(0, 0, 0, 0.85);
}
.how-card img { width: 100%; height: 100%; }
.how.is-pinned .scan { opacity: var(--scan-o, 0); top: var(--scan-y, 0); }

/* -------------------------------------------------------------------------------------- features */
.features { padding-top: var(--section-y); }
.bento {
  display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto);
  grid-template-areas:
    "car car sto ree"
    "car car sto bra"
    "nic nic aud gua"
    "sch sch tg  pag"
    "lea lea api api";
}
.t-carousel { grid-area: car; } .t-stories { grid-area: sto; } .t-reels { grid-area: ree; } .t-brand { grid-area: bra; }
.t-niche { grid-area: nic; } .t-audit { grid-area: aud; } .t-guard { grid-area: gua; } .t-sched { grid-area: sch; }
.t-tg { grid-area: tg; } .t-pages { grid-area: pag; } .t-learn { grid-area: lea; } .t-api { grid-area: api; }
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "car car" "sto ree" "sto bra" "nic nic" "aud gua" "sch sch" "tg pag" "lea lea" "api api";
  }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "car" "sto" "ree" "bra" "nic" "aud" "gua" "sch" "tg" "pag" "lea" "api"; grid-auto-rows: auto; }
}
.tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 240px;
  border-radius: 24px; background: var(--tile-bg); box-shadow: inset 0 0 0 1px var(--mz-border), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.tile::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(460px circle at var(--sx, 50%) var(--sy, 0%), var(--spot), transparent 62%);
}
.tile::after { /* animated gradient border on hover */
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--ang), transparent 0% 58%, rgba(62, 214, 195, 0.15) 66%, var(--ai-1) 78%, var(--ai-2) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: opacity .5s ease;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .tile:hover::after { animation: spin-ang 3.2s linear infinite; } }
@keyframes spin-ang { to { --ang: 360deg; } }
.tile-copy { position: relative; z-index: 1; padding: 26px 26px 0; }
.tile-label { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 500 11.5px/1 var(--mz-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mz-fg-muted); }
.tile-label .ico { width: 16px; height: 16px; color: var(--mz-accent-ink); }
.tile h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.tile-copy > p:last-child { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--mz-fg-sub); max-width: 44ch; }
.tile-vis { position: relative; flex: 1; min-height: 150px; display: grid; place-items: center; padding: 22px 26px 26px; }
.is-paused .tile-vis *, .is-paused .tile-vis { animation-play-state: paused !important; }

/* A: carousel */
.t-carousel .tile-vis { place-items: end center; padding-top: 28px; }
.vis-carousel { display: flex !important; align-items: flex-end; justify-content: center; gap: 18px; }
.vc-frame { width: min(60%, 330px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), var(--shadow-deep); transform: rotate(-2deg); }
.vc-track { display: flex; height: 100%; animation: vc-swipe 12s var(--ease-io) infinite; }
.vc-track img { width: 100%; height: 100%; flex: none; object-fit: cover; }
@keyframes vc-swipe {
  0%, 16% { transform: translateX(0); } 20%, 36% { transform: translateX(-100%); } 40%, 56% { transform: translateX(-200%); }
  60%, 76% { transform: translateX(-300%); } 80%, 96% { transform: translateX(-400%); } 100% { transform: translateX(0); }
}
.vc-dots { position: absolute; left: 50%; bottom: 12px; display: flex; gap: 5px; transform: translateX(-50%); }
.vc-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--mz-border-strong); animation: vc-dot 12s steps(1) infinite; }
.vc-dots i:nth-child(1) { animation-delay: 0s; } .vc-dots i:nth-child(2) { animation-delay: -9.6s; } .vc-dots i:nth-child(3) { animation-delay: -7.2s; } .vc-dots i:nth-child(4) { animation-delay: -4.8s; } .vc-dots i:nth-child(5) { animation-delay: -2.4s; }
@keyframes vc-dot { 0% { background: var(--mz-accent); } 20% { background: var(--mz-border-strong); } }
.vc-side { width: min(34%, 180px); margin-bottom: 28px; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), var(--shadow-deep); transform: rotate(3deg); }
.vc-side img { width: 100%; }

/* B: stories */
.vis-story { padding-top: 10px; place-items: center; }
.vs-phone { position: relative; width: min(70%, 204px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 18px; background: #000; box-shadow: 0 0 0 5px #151514, 0 0 0 6px rgba(243, 240, 233, 0.14), var(--shadow-deep); }
.vs-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: vs-show 12s linear infinite; }
.vs-a { animation-delay: 0s !important; } .vs-b { animation-delay: 4s !important; } .vs-c { animation-delay: 8s !important; }
.vs-a { opacity: 1; }
@keyframes vs-show { 0% { opacity: 0; transform: scale(1.04); } 2%, 33% { opacity: 1; transform: none; } 35%, 100% { opacity: 0; } }
.vs-bars { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; display: flex; gap: 3px; }
.vs-bars i { position: relative; flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.vs-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0); animation: vs-bar 12s linear infinite; }
.vs-bars i:nth-child(2)::after { animation-name: vs-bar2; } .vs-bars i:nth-child(3)::after { animation-name: vs-bar3; }
@keyframes vs-bar { 0% { transform: scaleX(0); } 33.3% { transform: scaleX(1); } 99% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes vs-bar2 { 0%, 33.3% { transform: scaleX(0); } 66.6% { transform: scaleX(1); } 99% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes vs-bar3 { 0%, 66.6% { transform: scaleX(0); } 99% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* C: reels */
.vis-reel { display: flex !important; align-items: center; justify-content: center; gap: 18px; }
.vr-frame { position: relative; width: 96px; aspect-ratio: 9 / 16; flex: none; overflow: hidden; border-radius: 12px; background: #000; box-shadow: 0 0 0 4px #151514, 0 0 0 5px rgba(243, 240, 233, 0.14), var(--shadow-deep); }
.vr-frame img { width: 100%; height: 100%; object-fit: cover; animation: vr-kb 6s ease-in-out infinite alternate; transform-origin: 50% 40%; }
@keyframes vr-kb { from { transform: scale(1); } to { transform: scale(1.14) translateY(-3%); } }
.vr-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(12, 12, 11, 0.55); box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.35); color: #F3F0E9; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vr-play .ico { width: 14px; height: 14px; fill: currentColor; margin-left: 2px; }
.vr-bar { position: absolute; left: 7px; right: 7px; bottom: 7px; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.vr-bar i { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; animation: vr-prog 6s linear infinite; }
@keyframes vr-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vr-note { font-size: 13px; line-height: 1.5; color: var(--mz-fg-sub); max-width: 12em; }
.vr-note span { font: 500 10.5px/1.6 var(--mz-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mz-fg-muted); }

/* D: brand kit */
.vis-brand { gap: 16px; }
.vb-sw { display: flex; gap: 0; }
.vb-sw i { width: 58px; height: 58px; border-radius: 50%; margin-left: -12px; box-shadow: 0 0 0 3px var(--mz-surface-1), 0 10px 20px -8px rgba(0, 0, 0, 0.6); animation: vb-c1 12s steps(1) infinite; }
.vb-sw i:first-child { margin-left: 0; }
.vb-b { animation-name: vb-c2 !important; } .vb-c { animation-name: vb-c3 !important; }
@keyframes vb-c1 { 0% { background: #FFF3E6; } 25% { background: #EDF0FA; } 50% { background: #F4EFEA; } 75% { background: #F7F3ED; } }
@keyframes vb-c2 { 0% { background: #E4572E; } 25% { background: #4353FF; } 50% { background: #A5566B; } 75% { background: #7C6BF0; } }
@keyframes vb-c3 { 0% { background: #2B1510; } 25% { background: #0E1222; } 50% { background: #1C1917; } 75% { background: #16130F; } }
.vb-font { position: relative; height: 22px; width: 180px; text-align: center; font: 500 12px/22px var(--mz-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mz-fg-muted); }
.vb-font::after { content: "Clash Display"; animation: vb-font 12s steps(1) infinite; }
@keyframes vb-font { 0% { content: "Clash Display"; } 25% { content: "Unbounded"; } 50% { content: "Switzer"; } 75% { content: "Geist"; } }
.vb-font { font-size: 0; }
.vb-font::after { font-size: 12px; }

/* E: any niche */
.vn-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
.vn-pack {
  display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px; border-radius: 16px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--mz-border); animation: vn-hl 12s ease infinite;
}
.vn-pack:nth-child(2) { animation-delay: 3s; } .vn-pack:nth-child(3) { animation-delay: 6s; } .vn-pack:nth-child(4) { animation-delay: 9s; }
@keyframes vn-hl { 0%, 22% { background: var(--mz-accent-soft); box-shadow: inset 0 0 0 1px var(--mz-accent-border), 0 14px 30px -18px rgba(62, 214, 195, 0.6); transform: translateY(-3px); } 27%, 100% { background: var(--glass); box-shadow: inset 0 0 0 1px var(--mz-border); transform: none; } }
.vn-ico { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 10px; color: var(--mz-accent-ink); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--mz-border); }
.vn-ico .ico { width: 18px; height: 18px; }
.vn-pack strong { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.vn-pack em { font-style: normal; font-size: 12px; color: var(--mz-fg-muted); }
.vn-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 10px; }
.vn-chips i { font-style: normal; height: 20px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: 6px; font: 500 9.5px/1 var(--mz-font-mono); letter-spacing: .08em; color: var(--mz-fg-sub); background: var(--glass-2); white-space: nowrap; }
.vn-add { box-shadow: inset 0 0 0 1px var(--mz-border-strong); background: none; border: 0; }
.vn-add .vn-ico { color: var(--mz-fg); }
@media (max-width: 640px) { .vn-packs { grid-template-columns: 1fr 1fr; } }

/* F: audit */
.vis-audit { justify-items: start; align-content: center; gap: 10px; }
.va-line { font-size: 13.5px; color: var(--mz-fg-sub); }
.va-c { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--mz-border); animation: va-hl 9s ease infinite; }
.va-c::after { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--mz-success) no-repeat center / 9px url("/assets/img/check.svg?v=f437c66b4e"); transform: scale(0); animation: va-ok 9s var(--ease-out) infinite; }
.c2, .c2::after { animation-delay: .9s !important; } .c3, .c3::after { animation-delay: 1.8s !important; }
@keyframes va-hl { 0%, 6% { box-shadow: inset 0 0 0 1px var(--mz-border); } 10%, 80% { box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.45); background: var(--mz-success-soft); color: var(--mz-fg); } 90%, 100% { box-shadow: inset 0 0 0 1px var(--mz-border); } }
@keyframes va-ok { 0%, 6% { transform: scale(0); } 10%, 80% { transform: scale(1); } 90%, 100% { transform: scale(0); } }

/* G: guardrails */
.vis-guard { align-content: center; justify-items: start; gap: 10px; }
.vg-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 9px; font-size: 13.5px; }
.vg-chip .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.vg-no { color: var(--mz-danger-ink); background: var(--mz-danger-soft); box-shadow: inset 0 0 0 1px rgba(240, 86, 83, 0.35); text-decoration: line-through; text-decoration-thickness: 1.5px; animation: vg-block 6s ease infinite; }
.vg-2 { animation-delay: .6s; margin-left: 22px; }
.vg-yes { color: var(--mz-success-ink); background: var(--mz-success-soft); box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.35); animation: vg-add 6s var(--ease-out) infinite; }
@keyframes vg-block { 0%, 10% { transform: translateX(0); } 13% { transform: translateX(-4px); } 16% { transform: translateX(4px); } 19%, 100% { transform: none; } }
@keyframes vg-add { 0%, 30% { opacity: 0; transform: translateY(8px); } 38%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* H: scheduling */
.vis-sched { padding-inline: 34px; }
.vt-line { position: relative; width: 100%; height: 90px; }
.vt-line::before { content: ""; position: absolute; left: 0; right: 0; top: 44px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--mz-surface-4), var(--mz-border-strong), var(--mz-surface-4)); }
.vt-slot, .vt-break { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; gap: 0; transform: translateX(-50%); }
.vt-slot i, .vt-break i { order: 2; width: 12px; height: 12px; margin: 8px 0; border-radius: 50%; background: var(--mz-surface-1); box-shadow: 0 0 0 2px var(--mz-accent); }
.vt-slot b { order: 1; font: 500 11px/1 var(--mz-font-mono); color: var(--mz-fg-muted); height: 24px; display: flex; align-items: flex-end; }
.vt-slot em { order: 3; font-style: normal; font-size: 12px; color: var(--mz-fg-sub); white-space: nowrap; }
.v1 { left: 10%; } .v2 { left: 36%; } .v3 { left: 62%; } .v4 { left: 88%; }
.vt-break { left: 49%; top: 22px; animation: vt-break 8s var(--ease-out) infinite; }
.vt-break i { order: 1; background: var(--mz-serious); box-shadow: 0 0 0 4px var(--mz-serious-soft), 0 0 14px var(--mz-serious); margin: 16px 0 6px; }
.vt-break em { order: 2; margin-top: 26px; font-style: normal; font: 500 10.5px/1 var(--mz-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mz-serious-ink); white-space: nowrap; }
@keyframes vt-break { 0%, 30% { opacity: 0; transform: translate(-50%, -18px); } 38%, 88% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }
.vt-now { position: absolute; top: 30px; left: 0; width: 1.5px; height: 30px; background: var(--mz-fg); box-shadow: 0 0 8px var(--mz-fg); animation: vt-now 16s linear infinite; }
@keyframes vt-now { from { left: 4%; } to { left: 96%; } }

/* I: telegram approvals */
.vis-tg { align-content: center; justify-items: center; gap: 8px; }
.vtg-msg { display: flex; gap: 10px; width: min(100%, 220px); padding: 8px; border-radius: 14px 14px 14px 5px; background: var(--mz-surface-3); }
.vtg-thumb { width: 44px; aspect-ratio: 4 / 5; border-radius: 6px; flex: none; }
.vtg-lines { display: grid; align-content: center; gap: 7px; flex: 1; }
.vtg-lines i { height: 7px; border-radius: 4px; background: var(--mz-surface-4); }
.vtg-lines i:last-child { width: 60%; }
.vtg-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: min(100%, 220px); }
.vtg-kb span { display: grid; place-items: center; height: 30px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--mz-fg-sub); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--mz-border); }
.vtg-go { color: var(--mz-accent-ink) !important; animation: vtg-go 6s ease infinite; }
@keyframes vtg-go { 0%, 34% { background: var(--glass-2); } 38%, 70% { background: var(--mz-accent); color: var(--mz-accent-fg); } 76%, 100% { background: var(--glass-2); } }
.vtg-tap { position: absolute; width: 26px; height: 26px; border-radius: 50%; left: calc(50% - 64px); top: calc(50% + 12px); background: rgba(243, 240, 233, 0.4); opacity: 0; animation: vtg-tap 6s ease infinite; pointer-events: none; }
@keyframes vtg-tap { 0%, 30% { opacity: 0; transform: scale(1.4); } 34% { opacity: .9; transform: scale(.8); } 42% { opacity: 0; transform: scale(1.8); } 100% { opacity: 0; } }
.vtg-done { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; color: var(--mz-success-ink); background: var(--mz-success-soft); animation: vg-add 6s var(--ease-out) infinite; animation-delay: .4s; justify-self: end; }
.vtg-done .ico { width: 14px; height: 14px; stroke-width: 2.2; }

/* J: pages */
.vis-pages { align-content: center; justify-items: stretch; gap: 8px; }
.vp-row { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px; border-radius: 12px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--mz-border); animation: vp-hl 9s ease infinite; }
.vp-row:nth-child(2) { animation-delay: 3s; } .vp-row:nth-child(3) { animation-delay: 6s; }
@keyframes vp-hl { 0%, 30% { box-shadow: inset 0 0 0 1px var(--mz-accent-border); background: var(--mz-accent-soft); } 34%, 100% { box-shadow: inset 0 0 0 1px var(--mz-border); background: var(--glass); } }
.vp-ava { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mz-surface-3); color: var(--mz-fg); flex: none; }
.vp-ava svg { width: 14px; height: 14px; }
.vp-row b { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mode { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-style: normal; font: 500 10.5px/1 var(--mz-font-mono); letter-spacing: .06em; text-transform: uppercase; flex: none; }
.m-approve { color: var(--mz-info-ink); background: var(--mz-info-soft); }
.m-auto { color: var(--mz-success-ink); background: var(--mz-success-soft); }
.m-shadow { color: #C9C3F0; background: rgba(163, 155, 218, 0.16); }
:root[data-theme="light"] .m-shadow { color: #4E4287; }

/* K: learning */
.vis-learn { padding-inline: 34px; }
.vl-bars { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; width: 100%; max-width: 480px; height: 110px; border-bottom: 1px solid var(--mz-border-strong); }
.vl-bars i { flex: 1; max-width: 34px; height: 100%; border-radius: 7px 7px 0 0; background: linear-gradient(to top, rgba(9, 122, 110, 0.35), rgba(62, 214, 195, 0.95)); box-shadow: inset 0 1px 0 rgba(167, 241, 228, 0.9); transform-origin: 50% 100%; animation: vl-nudge 7s var(--ease-io) infinite alternate; }
.vl-bars i:nth-child(1) { --a: .42; --b: .5; } .vl-bars i:nth-child(2) { --a: .58; --b: .52; animation-delay: -1s; } .vl-bars i:nth-child(3) { --a: .5; --b: .62; animation-delay: -2s; }
.vl-bars i:nth-child(4) { --a: .66; --b: .58; animation-delay: -3s; } .vl-bars i:nth-child(5) { --a: .46; --b: .55; animation-delay: -4s; } .vl-bars i:nth-child(6) { --a: .6; --b: .68; animation-delay: -5s; } .vl-bars i:nth-child(7) { --a: .52; --b: .47; animation-delay: -6s; }
@keyframes vl-nudge { from { transform: scaleY(var(--a)); } to { transform: scaleY(var(--b)); } }
.vl-band { position: absolute; left: 34px; right: 34px; bottom: calc(26px + 110px * .4); height: calc(110px * .32); max-width: 480px; margin-inline: auto; border-radius: 6px; border: 1px dashed rgba(167, 241, 228, 0.45); background: rgba(62, 214, 195, 0.05); pointer-events: none; }
.vl-band::after { content: "safe bounds"; position: absolute; right: 8px; top: -18px; font: 500 10px/1 var(--mz-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mz-accent-ink); }

/* L: official API */
.vis-api { display: flex !important; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 56px); min-height: 170px; }
.va-badge { position: relative; display: grid; place-items: center; width: 72px; height: 72px; flex: none; }
.va-shield { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; color: var(--mz-accent-ink); background: var(--mz-surface-2); box-shadow: inset 0 0 0 1px var(--mz-accent-border), 0 0 40px -6px rgba(62, 214, 195, 0.5); }
.va-shield .ico { width: 34px; height: 34px; stroke-width: 1.5; }
.va-ring { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 26px; box-shadow: inset 0 0 0 1px rgba(62, 214, 195, 0.45); animation: va-ring 3.6s var(--ease-out) infinite; }
.va-list { display: grid; gap: 10px; font-size: 14px; color: var(--mz-fg-sub); }
.va-list li { display: flex; align-items: center; gap: 10px; }
.va-list .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; stroke-width: 2.6; color: var(--mz-bg); background: var(--mz-success); }
@media (max-width: 480px) { .vis-api { flex-direction: column; } }
.va-ring.r2 { animation-delay: 1.8s; }
@keyframes va-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

/* ------------------------------------------------------------------------------------- showcase */
.showcase { padding-top: var(--section-y); }
.kit-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: 0 0 28px; scrollbar-width: none;
  border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--mz-border); width: max-content; max-width: 100%;
}
.kit-tabs::-webkit-scrollbar { display: none; }
.kit-tab { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 14px; text-align: left; color: var(--mz-fg-sub); flex: none; transition: background-color .3s, color .3s, box-shadow .3s; }
.kit-tab .ico { width: 20px; height: 20px; color: var(--mz-fg-muted); transition: color .3s; }
.kit-tab > span { display: flex; flex-direction: column; font-size: 14px; font-weight: 500; line-height: 1.2; }
.kit-tab small { font-size: 11.5px; font-weight: 400; color: var(--mz-fg-muted); }
.kit-tab:hover { color: var(--mz-fg); background: var(--glass-2); }
.kit-tab[aria-selected="true"] { color: var(--mz-fg); background: var(--mz-surface-3); box-shadow: inset 0 0 0 1px var(--mz-border-strong), 0 8px 20px -10px rgba(0, 0, 0, 0.6); }
.kit-tab[aria-selected="true"] .ico { color: var(--mz-accent-ink); }
.kit-panel { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.kit-panel + .kit-panel { margin-top: 64px; }
.js .kit-panel + .kit-panel { margin-top: 0; }
.kit-panel[hidden] { display: none; }
.kit-panel.is-entering .sc { animation: sc-in .9s var(--ease-out) both; }
.kit-panel.is-entering .sc:nth-child(2) { animation-delay: .08s; } .kit-panel.is-entering .sc:nth-child(3) { animation-delay: .16s; }
.kit-panel.is-entering .kit-info { animation: sc-fade .7s var(--ease-out) both; }
@keyframes sc-in { from { opacity: 0; transform: translateY(26px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sc-fade { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.kit-info { padding: 24px; border-radius: 22px; background: var(--tile-bg); box-shadow: inset 0 0 0 1px var(--mz-border); }
.kit-id { display: flex; align-items: center; gap: 14px; }
.kit-id > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.kit-id strong { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.kit-id strong + span { font-size: 13px; color: var(--mz-fg-muted); }
.kit-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; }
.kit-mark svg { width: 56%; height: auto; }
.km-crypto { background: #F7F3ED; color: #16130F; } .km-crypto svg { width: 66%; }
.km-football { background: #F4F7F4; color: #14201A; }
.km-food { background: #FFF3E6; color: #2B1510; } .km-tech { background: #0A0D1A; color: #EEF1FF; }
.km-fashion { background: #F4EFEA; color: #1C1917; } .km-realestate { background: #F0F2EF; color: #16211F; }
.kit-spec { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--mz-border); }
.kit-spec dt { font: 500 11px/1 var(--mz-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mz-fg-muted); }
.kit-spec dd { margin-top: 7px; font-size: 14px; color: var(--mz-fg-sub); }
.kit-sws { display: flex; gap: 6px; }
.kit-cards { position: relative; display: grid; grid-template-columns: 0.78fr 1fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: end; width: 100%; max-width: 800px; justify-self: center; perspective: 1400px; padding-right: 4%; }
.kit-cards::before { /* each kit's own ambient light */
  content: ""; position: absolute; inset: -12% -8% -18%; z-index: -1; pointer-events: none; opacity: .85; filter: blur(8px);
  background: radial-gradient(50% 55% at 55% 55%, var(--kit-glow, rgba(62, 214, 195, 0.25)), transparent 70%);
}
#kit-crypto { --kit-glow: rgba(124, 107, 240, 0.32); } #kit-football { --kit-glow: rgba(56, 193, 114, 0.26); }
#kit-food { --kit-glow: rgba(228, 87, 46, 0.3); } #kit-tech { --kit-glow: rgba(67, 83, 255, 0.34); }
#kit-fashion { --kit-glow: rgba(224, 143, 164, 0.28); } #kit-realestate { --kit-glow: rgba(217, 161, 92, 0.26); }
.sc { position: relative; margin: 0; }
.sc > img, .car-stack { border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-deep); }
.sc > img { width: 100%; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.sc figcaption { margin-top: 12px; font: 500 11px/1.2 var(--mz-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mz-fg-muted); }
.sc[data-tilt]::after { /* glare */
  content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: var(--ar, 4 / 5); border-radius: 14px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.22), transparent 70%); mix-blend-mode: soft-light;
}
.sc-story { --ar: 9 / 16; }
.sc[data-tilt].is-tilt::after { opacity: 1; }
.car-stack { position: relative; aspect-ratio: 4 / 5; overflow: visible; }
.car-stack img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 40px -20px rgba(0, 0, 0, 0.8); transition: transform .8s var(--ease-out), opacity .6s ease, filter .6s; }
.car-stack img:nth-child(1) { z-index: 5; }
.car-stack img:nth-child(2) { z-index: 4; transform: translateX(10%) scale(.92); opacity: .75; filter: brightness(.7); }
.car-stack img:nth-child(3) { z-index: 3; transform: translateX(18%) scale(.84); opacity: .45; filter: brightness(.55); }
.car-stack img:nth-child(4), .car-stack img:nth-child(5) { z-index: 2; transform: translateX(24%) scale(.76); opacity: 0; }
.js .car-stack img { transform: translateX(calc(var(--p, 0) * 9%)) rotate(calc(var(--p, 0) * 2deg)) scale(calc(1 - var(--p, 0) * .07)); transform-origin: 50% 100%; opacity: var(--o, 1); filter: brightness(calc(1 - var(--p, 0) * .1)); z-index: var(--z, 1); }
.js .car-stack img.is-leaving { transform: translateX(-9%) rotate(-3deg) scale(.93); opacity: 0; transition: transform .7s var(--ease-out), opacity .32s ease; }
.car-dots { display: flex; gap: 5px; margin-top: 14px; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--mz-border-strong); transition: background-color .4s, width .4s var(--ease-out); }
.car-dots i.is-on { width: 16px; border-radius: 3px; background: var(--mz-accent); }
.showcase-note { margin-top: 40px; max-width: 72ch; font-size: 13.5px; color: var(--mz-fg-muted); }
@media (max-width: 1023px) {
  .kit-panel { grid-template-columns: 1fr; }
  .kit-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: start; }
  .kit-spec { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .kit-info { grid-template-columns: 1fr; }
  .kit-spec { grid-template-columns: 1fr 1fr; padding-top: 18px; border-top: 1px solid var(--mz-border); }
  .kit-cards { grid-template-columns: 1fr 1fr; }
  .sc-car { grid-column: 1 / -1; width: 72%; justify-self: center; }
}

/* --------------------------------------------------------------------------------- control room */
.control { padding-top: var(--section-y); }
.control-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 28px; align-items: start; max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.dash-wrap, .tgm-wrap { margin: 0; }
.mock-label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; font-size: 13px; color: var(--mz-fg-muted); }
.mock-label .badge { white-space: nowrap; flex: none; }
.dash {
  position: relative; display: grid; grid-template-columns: 206px minmax(0, 1fr); min-height: 460px; overflow: hidden;
  border-radius: 20px; background: #0E0E0D; color: #F3F0E9; font-size: 13px;
  box-shadow: 0 0 0 1px rgba(243, 240, 233, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-deep), 0 0 120px -40px rgba(62, 214, 195, 0.35);
}
.d-side { padding: 16px 12px; border-right: 1px solid rgba(243, 240, 233, 0.08); background: #111110; }
.d-brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px 14px; font-weight: 500; font-size: 13.5px; }
.d-brand svg { width: 20px; color: #F3F0E9; fill: #3ED6C3; }
.d-switch { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 12px; background: #1C1C1A; box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.1); }
.d-ava { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; background: #FFF3E6; color: #2B1510; transition: background-color .4s, color .4s; }
.d-ava svg { width: 15px; height: 15px; }
.d-page { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.d-page b { font-weight: 500; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-page .mode { height: 18px; font-size: 9.5px; width: max-content; }
.d-chev { margin-left: auto; width: 14px; height: 14px; color: #97938A; }
.d-pages { display: grid; gap: 2px; margin: 8px 0 14px; padding: 6px; border-radius: 12px; background: #161615; }
.d-pages li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 12px; color: #BDB9B0; transition: background-color .3s, color .3s; }
.d-pages li.is-on { background: #242422; color: #F3F0E9; }
.d-nav { display: grid; gap: 1px; }
.d-nav li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 12.5px; color: #97938A; }
.d-nav li .ico { width: 15px; height: 15px; }
.d-nav li.is-on { color: #F3F0E9; background: rgba(62, 214, 195, 0.1); box-shadow: inset 2px 0 0 #3ED6C3; }
.d-main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.d-top { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px; border-bottom: 1px solid rgba(243, 240, 233, 0.08); }
.d-title { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.d-top-r { margin-left: auto; display: flex; gap: 6px; }
.d-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; font-size: 12px; color: #BDB9B0; box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.12); }
.d-btn .ico { width: 14px; height: 14px; }
.d-kill { color: #FB817A; box-shadow: inset 0 0 0 1px rgba(240, 86, 83, 0.35); }
.d-body { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; padding: 14px; flex: 1; }
.d-queue { display: grid; align-content: start; gap: 8px; }
.d-row {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px;
  border-radius: 12px; background: #161615; box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.07);
  transition: box-shadow .4s, background-color .4s, opacity .45s, transform .6s var(--ease-out);
}
.d-row.is-new { animation: row-in .7s var(--ease-out) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.d-row.is-out { opacity: 0; transform: translateY(10px); }
.d-row.is-hot { box-shadow: inset 0 0 0 1px rgba(62, 214, 195, 0.45), 0 0 30px -10px rgba(62, 214, 195, 0.45); background: #172220; }
.d-thumb { width: 38px; aspect-ratio: 4 / 5; border-radius: 5px; }
.d-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.d-t b { font-weight: 500; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-t em { font-style: normal; font-size: 11.5px; color: #97938A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; transition: color .3s, background-color .3s; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-wait { color: #84B7F9; background: rgba(83, 154, 242, 0.14); }
.st-ok { color: #3ED6C3; background: rgba(62, 214, 195, 0.12); }
.st-sched { color: #BDB9B0; background: rgba(243, 240, 233, 0.08); }
.st-pub { color: #73D885; background: rgba(72, 192, 99, 0.14); }
.st-shadow { color: #C9C3F0; background: rgba(163, 155, 218, 0.16); }
.st-draft { color: #FCBE62; background: rgba(245, 174, 57, 0.14); }
.st-draft::before { animation: isl-blink 1s infinite; }
.d-act { display: flex; gap: 6px; min-width: 0; }
.d-act span { display: grid; place-items: center; height: 26px; padding: 0 9px; border-radius: 7px; font-size: 11.5px; font-weight: 500; color: #BDB9B0; box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.12); transition: background-color .25s, color .25s, transform .25s; }
.d-act .d-approve { color: #0C0C0B; background: #3ED6C3; box-shadow: none; }
.d-act .d-approve.is-press { transform: scale(.92); background: #78E6D5; }
.d-act:empty { display: none; }
.d-cal { padding: 12px; border-radius: 12px; background: #161615; box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.07); align-self: start; }
.d-cal-title { font: 500 10.5px/1 var(--mz-font-mono); letter-spacing: .12em; text-transform: uppercase; color: #97938A; margin-bottom: 12px; }
.d-slots { position: relative; display: grid; gap: 12px; padding-left: 14px; }
.d-slots::before { content: ""; position: absolute; left: 3px; top: 4px; bottom: 4px; width: 1px; background: rgba(243, 240, 233, 0.12); }
.d-slots li { position: relative; display: flex; flex-direction: column; font-size: 12px; color: #BDB9B0; }
.d-slots li::before { content: ""; position: absolute; left: -14px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #2D2D2A; box-shadow: 0 0 0 2px #161615; }
.d-slots li.done::before { background: #48C063; }
.d-slots li.next::before { background: #3ED6C3; box-shadow: 0 0 0 2px #161615, 0 0 10px #3ED6C3; }
.d-slots b { font: 500 11px/1.3 var(--mz-font-mono); color: #F3F0E9; }
.d-cursor {
  position: absolute; z-index: 5; left: 0; top: 0; width: 18px; height: 18px; pointer-events: none; opacity: 0;
  background: #F3F0E9; clip-path: polygon(0 0, 0 100%, 28% 76%, 48% 100%, 62% 92%, 42% 68%, 78% 68%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); transition: transform 1.1s var(--ease-io), opacity .4s;
}
.d-cursor.is-on { opacity: 1; }
.d-cursor.is-click { animation: cur-click .35s ease; }
@keyframes cur-click { 50% { scale: .82; } }
.d-toast { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 12.5px; color: #F3F0E9; background: #242422; box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.4), 0 20px 40px -12px rgba(0, 0, 0, 0.8); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--ease-out); }
.d-toast .ico { width: 16px; height: 16px; color: #73D885; stroke-width: 2.2; }
.d-toast.is-on { opacity: 1; transform: none; }
.d-swap { transition: opacity .3s ease; }
.dash.is-swapping .d-queue, .dash.is-swapping .d-switch { opacity: .15; }
.d-queue, .d-switch { transition: opacity .35s ease; }

/* telegram mock */
.tgm {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 460px; overflow: hidden;
  border-radius: 28px; background: #0E1113; color: #F3F0E9; font-size: 13px;
  box-shadow: 0 0 0 7px #151514, 0 0 0 8px rgba(243, 240, 233, 0.14), var(--shadow-deep);
}
.tgm-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #15191C; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.tgm-head > .ico { width: 18px; height: 18px; color: #97938A; }
.tgm-head > .ico:last-child { margin-left: auto; }
.tgm-ava { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0C0C0B; box-shadow: inset 0 0 0 1px rgba(243, 240, 233, 0.16); }
.tgm-ava svg { width: 17px; color: #F3F0E9; fill: #3ED6C3; }
.tgm-who { display: flex; flex-direction: column; line-height: 1.2; }
.tgm-who b { font-weight: 500; font-size: 14px; }
.tgm-who em { font-style: normal; font-size: 12px; color: #97938A; }
.tgm-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; background: radial-gradient(120% 60% at 50% 0%, rgba(62, 214, 195, 0.07), transparent 70%), #0E1113; }
.tgm-msg { width: 86%; padding: 8px; border-radius: 16px 16px 16px 5px; background: #1D2328; }
.tgm-msg img { width: 64%; border-radius: 10px; margin: 2px 0 0 4px; }
.tgm-t { display: flex; align-items: center; gap: 6px; margin: 2px 4px 8px; font-size: 13px; }
.tgm-t b { font-weight: 500; color: #3ED6C3; }
.tgm-t .ico { width: 15px; height: 15px; color: #73D885; stroke-width: 2.2; }
.tgm-meta { display: flex; align-items: center; gap: 6px; margin: 8px 4px 2px; font-size: 12px; color: #BDB9B0; }
.tgm-meta .ico { width: 14px; height: 14px; color: #73D885; }
.tgm-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 86%; }
.tgm-btn { display: grid; place-items: center; height: 34px; border-radius: 9px; font-size: 12.5px; font-weight: 500; color: #F3F0E9; background: rgba(62, 214, 195, 0.1); box-shadow: inset 0 0 0 1px rgba(62, 214, 195, 0.18); transition: background-color .25s, transform .25s; }
.tgm-go.is-press { background: #3ED6C3; color: #0C0C0B; transform: scale(.96); }
.tgm-reply { margin-top: 8px; opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .6s var(--ease-out); }
.tgm-reply.is-on { opacity: 1; transform: none; }
.tgm-kb-2 { width: 100%; margin-top: 2px; }
.tgm-input { display: flex; align-items: center; justify-content: space-between; margin: 0 10px 12px; height: 40px; padding: 0 14px; border-radius: 999px; background: #1D2328; color: #7A776F; font-size: 13px; }
.tgm-input .ico { width: 18px; height: 18px; }
.tgm-tap { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(243, 240, 233, 0.35); box-shadow: 0 0 0 1px rgba(243, 240, 233, 0.5); opacity: 0; pointer-events: none; }
.tgm-tap.is-on { animation: tgm-tap .7s ease both; }
@keyframes tgm-tap { 0% { opacity: 0; transform: scale(1.6); } 35% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(2); } }
.control-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.control-list li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--mz-fg-muted); }
.control-list .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--mz-accent-ink); }
.control-list b { display: block; margin-bottom: 4px; font-weight: 500; color: var(--mz-fg); }
@media (max-width: 1100px) {
  .control-grid { grid-template-columns: 1fr; }
  .tgm-wrap { max-width: 360px; width: 100%; justify-self: center; }
  .control-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .dash { grid-template-columns: 1fr; }
  .d-side { display: none; }
  .d-body { grid-template-columns: 1fr; }
  .d-cal { display: none; }
}
@media (max-width: 520px) {
  .d-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .d-act { display: none; }
  .control-list { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------------------- safety */
.safety { padding-top: var(--section-y); }
.safety-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.safety-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.modes { margin-top: 40px; padding: 18px; border-radius: 22px; background: var(--tile-bg); box-shadow: inset 0 0 0 1px var(--mz-border); }
.modes-seg { --i: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: var(--mz-surface-2); box-shadow: inset 0 0 0 1px var(--mz-border); }
.modes-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; transform: translateX(calc(var(--i) * 100%)); transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s; background: rgba(163, 155, 218, 0.18); box-shadow: inset 0 0 0 1px rgba(163, 155, 218, 0.5); }
.modes-seg[data-i="1"] { --i: 1; } .modes-seg[data-i="2"] { --i: 2; }
.modes-seg[data-i="1"] .modes-thumb { background: var(--mz-info-soft); box-shadow: inset 0 0 0 1px rgba(83, 154, 242, 0.5); }
.modes-seg[data-i="2"] .modes-thumb { background: var(--mz-success-soft); box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.5); }
.modes-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--mz-fg-muted); transition: color .3s; }
.modes-btn .ico { width: 17px; height: 17px; }
.modes-btn[aria-pressed="true"] { color: var(--mz-fg); }
.modes-desc { min-height: 4.8em; padding: 16px 6px 2px; font-size: 15px; line-height: 1.55; color: var(--mz-fg-sub); }
.modes-desc p { animation: sc-fade .5s var(--ease-out); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-list li { padding: 24px; border-radius: 22px; background: var(--tile-bg); box-shadow: inset 0 0 0 1px var(--mz-border); }
.tl-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--mz-accent-ink); background: var(--mz-accent-soft); box-shadow: inset 0 0 0 1px var(--mz-accent-border); }
.tl-ico .ico { width: 20px; height: 20px; }
.tl-danger { color: var(--mz-danger-ink); background: var(--mz-danger-soft); box-shadow: inset 0 0 0 1px rgba(240, 86, 83, 0.35); }
.trust-list h3 { margin-top: 18px; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.015em; }
.trust-list p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--mz-fg-sub); }
@media (max-width: 1023px) {
  .safety-grid { grid-template-columns: 1fr; }
  .safety-intro { position: static; }
}
@media (max-width: 600px) { .trust-list { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------------------- audience */
.audience { padding-top: var(--section-y); }
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aud { min-height: 0; padding: 28px 26px 30px; }
.aud-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 40px; border-radius: 15px; color: var(--mz-fg); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--mz-border-strong); }
.aud-ico .ico { width: 22px; height: 22px; }
.aud h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.aud p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--mz-fg-sub); }
.aud { display: flex; flex-direction: column; }
.aud .aud-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.aud-tags span { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; color: var(--mz-fg-sub); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--mz-border); }
@media (max-width: 1023px) { .aud-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .aud-grid { grid-template-columns: 1fr; } .aud-ico { margin-bottom: 24px; } }

/* ------------------------------------------------------------------------------------------- faq */
.faq { padding-top: var(--section-y); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-list { border-top: 1px solid var(--mz-border); }
.qa { border-bottom: 1px solid var(--mz-border); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); font-weight: 500; letter-spacing: -0.015em; border-radius: 8px; transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--mz-accent-ink); }
.qa-ico { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--mz-border-strong); transition: background-color .3s, box-shadow .3s, transform .5s var(--ease-out); }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; border-radius: 1px; background: currentColor; transition: transform .45s var(--ease-out); }
.qa-ico::after { transform: rotate(90deg); }
.qa[open] .qa-ico { transform: rotate(180deg); background: var(--mz-accent-soft); box-shadow: inset 0 0 0 1px var(--mz-accent-border); color: var(--mz-accent-ink); }
.qa[open] .qa-ico::after { transform: rotate(0deg); }
.qa-a { overflow: hidden; }
.qa-a p { padding: 0 48px 26px 4px; font-size: 15.5px; line-height: 1.65; color: var(--mz-fg-sub); max-width: 64ch; }
.qa-a strong { font-weight: 500; color: var(--mz-fg); }
@media (max-width: 1023px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 560px) { .qa-a p { padding-right: 4px; } }

/* ------------------------------------------------------------------------------------------- cta */
.cta { margin-top: var(--section-y); padding: clamp(96px, 12vw, 180px) 0; overflow: clip; isolation: isolate; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 55%, rgba(62, 214, 195, 0.14), transparent 70%); }
.cta-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-lines path { fill: none; stroke: rgba(62, 214, 195, 0.22); stroke-width: 1.2; stroke-dasharray: 4 10; }
@media (prefers-reduced-motion: no-preference) { .cta-lines path { animation: cta-flow 3.2s linear infinite; } .cta-lines path:nth-child(odd) { animation-duration: 4.4s; } }
@keyframes cta-flow { to { stroke-dashoffset: -56; } }
.is-paused .cta-lines path { animation-play-state: paused; }
.cta-glow { position: absolute; left: 50%; top: 55%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(closest-side, rgba(62, 214, 195, 0.3), transparent); filter: blur(10px); }
.cta-inner { position: relative; max-width: 860px; }
.cta-mark { width: 64px; height: auto; margin: 0 auto 30px; color: var(--mz-fg); fill: var(--mz-accent); filter: drop-shadow(0 0 24px rgba(62, 214, 195, 0.55)); }
.cta h2 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.25rem); }
.cta .lede { margin-inline: auto; }
.cta .eyebrow { gap: 12px; }
:root[data-theme="light"] .cta-lines path { stroke: rgba(9, 122, 110, 0.25); }

/* ---------------------------------------------------------------------------------------- footer */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--mz-border); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .brand-lockup { height: 24px; }
.foot-brand p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; line-height: 1.55; color: var(--mz-fg-muted); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-h { margin-bottom: 4px; font: 500 11px/1 var(--mz-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mz-fg-muted); }
.foot-col a { font-size: 14.5px; color: var(--mz-fg-sub); text-decoration: none; border-radius: 4px; transition: color .2s; }
.foot-col a:hover { color: var(--mz-fg); }
.foot-signin { display: inline-flex; align-items: center; gap: 8px; color: var(--mz-accent-ink) !important; font-weight: 500; }
.foot-signin .ico { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.foot-signin:hover .ico { transform: translateX(3px); }
.foot-note { font-size: 13px; color: var(--mz-fg-muted); }
.foot-legal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 40px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--mz-border); font-size: 12.5px; line-height: 1.55; color: var(--mz-fg-muted); }
.foot-legal p:last-child { max-width: 80ch; justify-self: end; text-align: right; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-legal { grid-template-columns: 1fr; }
  .foot-legal p:last-child { justify-self: start; text-align: left; }
}

/* --------------------------------------------------------------------------------- 404 page bits */
.nf { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--header-h) + 48px) 0 64px; text-align: center; isolation: isolate; overflow: clip; }
.nf-inner { max-width: 720px; }
.nf-mark { width: 72px; height: auto; margin: 0 auto 28px; color: var(--mz-fg); fill: var(--mz-accent); filter: drop-shadow(0 0 22px rgba(62, 214, 195, 0.5)); }
.nf .code { font: 500 12px/1.3 var(--mz-font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mz-accent-ink); }
.nf h1 { margin-top: 18px; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; text-wrap: balance; }
.nf p.lead { margin: 20px auto 0; max-width: 46ch; font-size: 1.125rem; color: var(--mz-fg-sub); }
.nf .cta-row { justify-content: center; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 50% 40%, rgba(62, 214, 195, 0.14), transparent 70%); }

/* -------------------------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .ig-cell.is-gen::before, .ig-cell.is-gen::after { animation: none; }
  .vc-track { transform: none !important; }
  .vs-phone img { animation: none; opacity: 0; } .vs-phone .vs-a { opacity: 1; }
  .vs-bars i:first-child::after { transform: scaleX(1); } .vs-bars i::after { animation: none; }
  .vb-font::after { animation: none; content: "Clash Display"; }
  .vb-sw i { animation: none; } .vb-a { background: #FFF3E6; } .vb-b { background: #E4572E; } .vb-c { background: #2B1510; }
  .vn-pack { animation: none; } .vn-pack:first-child { background: var(--mz-accent-soft); box-shadow: inset 0 0 0 1px var(--mz-accent-border); }
  .va-c { animation: none; background: var(--mz-success-soft); box-shadow: inset 0 0 0 1px rgba(72, 192, 99, 0.45); color: var(--mz-fg); } .va-c::after { animation: none; transform: none; }
  .vg-yes, .vtg-done { animation: none; opacity: 1; transform: none; }
  .vt-break { animation: none; opacity: 1; transform: translate(-50%, 0); }
  .vt-now { animation: none; left: 55%; }
  .vl-bars i { animation: none; transform: scaleY(var(--b)); }
  .va-ring, .vtg-tap { display: none; }
  .vtg-go { animation: none; background: var(--mz-accent) !important; color: var(--mz-accent-fg) !important; }
  .vp-row { animation: none; } .vp-row:first-child { box-shadow: inset 0 0 0 1px var(--mz-accent-border); background: var(--mz-accent-soft); }
  .vr-frame img, .vr-bar i { animation: none; } .vr-bar i { transform: scaleX(.4); }
  .cr1, .cr2 { animation: none; }
  .pulse-dot::after { display: none; }
  .glow-cursor { display: none; }
}
