/* BotCrew. Layout, colours and glass effects ported from Launch UI (MIT, © 2024 Mikolaj Dobrucki, launchui.dev),
   motion parts from Magic UI (MIT, © Magic UI, magicui.design): see assets/fx.js. Bots, coin and demo are BotCrew's own. */
:root {
  color-scheme: dark;
  /* Launch UI dark theme */
  --background: oklch(0.141 0.005 285.823);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.141 0.005 285.823);
  --muted: oklch(0.274 0.006 286.033);
  --muted-foreground: oklch(0.705 0.015 286.067);
  --border: oklch(0.885 0.006 286.033);
  --input: oklch(0.274 0.006 286.033);
  --brand: oklch(83.6% 0.1177 66.87);
  --brand-foreground: oklch(75.77% 0.159 55.91);
  --radius: 0.625rem;
  --line: color-mix(in oklab, var(--border) 10%, transparent);
  --shadow: #00000020; --shadow-strong: #00000088;
  /* BotCrew */
  --fast: #ff5b2e; --dip: #2f6bff; --hold: #11a89b; --mom: #ffb31f; --scalp: #ec4fa6; --contra: #7d5cff;
  --up: #4ade80; --down: #f87171; --gold: #f0b429;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'Cascadia Mono', monospace;
  --container: 1280px;
}
*, *::before, *::after { box-sizing: border-box; border-color: var(--line); }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--background); border: 1px solid var(--line); border-radius: var(--radius); }
.muted { color: var(--muted-foreground); }
.up { color: var(--up); } .down { color: var(--down); }
.brand { color: var(--brand); }

/* Launch UI glass and fade utilities (dark variants) */
.glass-1 { border: 1px solid var(--line); border-bottom-color: color-mix(in oklab, var(--border) 5%, transparent); border-top-color: color-mix(in oklab, var(--border) 20%, transparent); background: linear-gradient(to bottom, color-mix(in oklab, var(--card) 5%, transparent), transparent); }
.glass-2 { border: 1px solid var(--line); border-bottom-color: color-mix(in oklab, var(--border) 5%, transparent); border-top-color: color-mix(in oklab, var(--border) 20%, transparent); background: linear-gradient(to bottom, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.015)); }
.glass-3 { border: 1px solid var(--line); border-top-color: color-mix(in oklab, var(--border) 20%, transparent); background: linear-gradient(to bottom, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.02)); }
.glass-4 { border: 1px solid var(--line); border-top-color: color-mix(in oklab, var(--border) 30%, transparent); border-bottom-width: 0; background: linear-gradient(to bottom, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.05)); }
.glass-5 { border: 1px solid var(--line); border-top-color: color-mix(in oklab, var(--border) 30%, transparent); border-bottom-width: 0; background: linear-gradient(to bottom, rgb(255 255 255 / 0.15), rgb(255 255 255 / 0.05)); }
.fade-x { mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%); }
.line-b { border-bottom: 1px solid var(--line); }

/* Buttons and badge (shadcn / Launch UI) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border: 1px solid transparent; border-radius: calc(var(--radius) - 2px); font-weight: 500; font-size: 14px; white-space: nowrap; cursor: pointer; transition: background 0.2s, box-shadow 0.2s, opacity 0.2s; }
.btn-default { background: var(--foreground); color: oklch(0.21 0.006 285.885); box-shadow: 0 1px 2px var(--shadow); }
.btn-default:hover { background: color-mix(in oklab, var(--foreground) 90%, transparent); }
.btn-glow { color: var(--foreground); box-shadow: 0 4px 6px -1px var(--shadow), 0 2px 4px -2px var(--shadow); }
.btn-glow.glass-4:hover { background: linear-gradient(to bottom, rgb(255 255 255 / 0.15), rgb(255 255 255 / 0.05)); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--muted); }
.btn-outline { background: transparent; border-color: color-mix(in oklab, var(--border) 15%, transparent); color: var(--foreground); }
.btn-outline:hover { background: var(--muted); }
.btn-lg { height: 40px; padding: 0 24px; font-size: 15px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid color-mix(in oklab, var(--border) 15%, transparent); border-radius: 999px; font-size: 13px; font-weight: 500; }
.badge .go { display: inline-flex; align-items: center; gap: 4px; color: var(--foreground); }
/* Magic UI animated shiny text */
.shiny { --shiny-width: 100px; color: color-mix(in oklab, #a3a3a3 70%, transparent); background: linear-gradient(to right, transparent, rgb(255 255 255 / 0.8) 50%, transparent) 0 0 / var(--shiny-width) 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: shiny 8s infinite; }
@keyframes shiny { 0%, 90%, 100% { background-position: calc(-100% - var(--shiny-width)) 0; } 30%, 60% { background-position: calc(100% + var(--shiny-width)) 0; } }

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 50; margin-bottom: -16px; padding: 0 16px 16px; }
.navbar .blur { position: absolute; left: 0; width: 100%; height: 96px; background: color-mix(in oklab, var(--background) 15%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); mask-image: linear-gradient(to top, transparent 0%, #000 35%); }
.nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.logo img { width: 32px; height: 32px; }
.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a { padding: 6px 12px; border-radius: calc(var(--radius) - 2px); font-size: 14px; font-weight: 500; color: var(--muted-foreground); transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--foreground); background: var(--muted); }
.ticker-link { font-size: 14px; font-weight: 500; color: var(--brand); }
.menu-btn { display: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: calc(var(--radius) - 2px); background: transparent; cursor: pointer; position: relative; }
.menu-btn:hover { background: var(--muted); }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--foreground); border-radius: 2px; transition: transform 0.25s; }
.menu-btn i:first-of-type { top: 13px; } .menu-btn i:last-of-type { bottom: 13px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
/* Mobile sheet */
.menu { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); padding: 72px 24px 24px; background: var(--background); border-left: 1px solid var(--line); box-shadow: -20px 0 50px var(--shadow-strong); display: flex; flex-direction: column; gap: 4px; }
.menu a { padding: 10px 4px; font-size: 18px; font-weight: 500; color: var(--muted-foreground); }
.menu a:hover { color: var(--foreground); }
.menu p { margin-top: auto; font-size: 13px; color: var(--muted-foreground); }
.menu .close { position: absolute; top: 18px; right: 16px; }

/* Sections */
.section { padding: 48px 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .section { padding-block: 96px; } }
@media (min-width: 768px) { .section { padding-block: 128px; } }
.h2 { font-size: clamp(1.875rem, 4.5vw, 3rem); line-height: 1.2; text-align: center; text-wrap: balance; }
.sec-sub { max-width: 640px; margin: 16px auto 0; text-align: center; color: var(--muted-foreground); font-weight: 500; text-wrap: balance; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-bottom: 0 !important; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 32px; text-align: center; }
@media (min-width: 640px) { .hero-inner { gap: 40px; padding-top: 48px; } }
.hero-title { position: relative; z-index: 10; font-size: clamp(2.25rem, 7.6vw, 6rem); line-height: 1.12; font-weight: 600; text-wrap: balance; background: linear-gradient(to right, var(--foreground), var(--muted-foreground)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); }
.hero-desc { position: relative; z-index: 10; max-width: 740px; margin: 0; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 500; color: var(--muted-foreground); text-wrap: balance; }
.hero-btns { position: relative; z-index: 10; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ca { position: relative; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; max-width: 640px; padding: 8px 8px 8px 12px; border-radius: var(--radius); text-align: left; }
.ca-ticker { padding: 2px 10px; border-radius: 999px; background: color-mix(in oklab, var(--brand) 18%, transparent); color: var(--brand); font: 500 13px var(--mono); }
.ca-addr { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; font: 400 13px var(--mono); }
.ca-addr.empty { color: var(--muted-foreground); }
.ca-link { font-size: 13px; font-weight: 500; color: var(--brand); }
.coin3d { position: relative; width: 168px; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; -webkit-tap-highlight-color: transparent; z-index: 10; }
.coin-float, .coin-tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.coin { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.3, 1.4, 0.5, 1); }
.coin .face { position: absolute; inset: 0; border-radius: 22%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #4f7bff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15); }
.coin .face svg { width: 100%; height: 100%; }
.coin .back { transform: rotateY(180deg); }
.coin .edge { position: absolute; inset: 0.6%; border-radius: 22%; background: #1a37c4; }
.coin-shadow { position: absolute; left: 20%; right: 20%; bottom: -10%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgb(47 91 240 / 0.45), transparent); }
.coin-glow { position: absolute; inset: -40%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--brand-foreground) 35%, transparent), transparent 70%); pointer-events: none; }

/* Hero mockup: the live demo in a Launch UI mockup frame, with a Magic UI border beam and Launch UI glow */
.mockup-wrap { position: relative; width: 100%; padding-top: 32px; }
@media (min-width: 640px) { .mockup-wrap { padding-top: 48px; } }
.mockup-frame { position: relative; z-index: 10; padding: 8px; border-radius: 16px; background: color-mix(in oklab, var(--border) 10%, transparent); }
.mockup { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid color-mix(in oklab, var(--border) 5%, transparent); border-top-color: color-mix(in oklab, var(--border) 15%, transparent); background: color-mix(in oklab, var(--background) 92%, transparent); box-shadow: -12px 16px 48px var(--shadow-strong); text-align: left; }
.glow { position: absolute; left: 0; width: 100%; pointer-events: none; }
.glow-top { top: 0; } .glow-bottom { bottom: 0; }
.glow::before, .glow::after { content: ''; position: absolute; left: 50%; border-radius: 50%; transform: translateX(-50%); }
.glow::before { width: 60%; height: 512px; scale: 2.5; background: radial-gradient(closest-side, color-mix(in oklab, var(--brand-foreground) 50%, transparent) 10%, transparent 60%); }
.glow::after { width: 40%; height: 256px; scale: 2; background: radial-gradient(closest-side, color-mix(in oklab, var(--brand) 30%, transparent) 10%, transparent 60%); }
.glow-bottom::before, .glow-bottom::after { bottom: -60%; }
@media (max-width: 639px) { .glow::before { height: 256px; } .glow::after { height: 128px; } }
.border-beam { position: absolute; inset: 0; z-index: 20; border-radius: inherit; border: 1.5px solid transparent; pointer-events: none;
  mask: linear-gradient(transparent, transparent) padding-box, linear-gradient(#000, #000) border-box; mask-composite: intersect; -webkit-mask-composite: source-in; }
.border-beam::after { content: ''; position: absolute; width: 160px; aspect-ratio: 1; offset-path: rect(0 auto auto 0 round 160px); background: linear-gradient(to left, var(--brand-foreground), var(--brand), transparent); animation: beam 12s linear infinite; }
@keyframes beam { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* Launch UI's appear animation (hero, page load) */
.appear { opacity: 0; animation: appear 0.6s forwards ease-out; }
.appear-zoom { opacity: 0; animation: appear-zoom 0.6s forwards ease-out; }
.d1 { animation-delay: 0.1s; } .d3 { animation-delay: 0.3s; } .d5 { animation-delay: 0.5s; } .d7 { animation-delay: 0.7s; } .d10 { animation-delay: 1s; }
@keyframes appear { 0% { opacity: 0; transform: translateY(1rem); filter: blur(0.5rem); } 50% { filter: blur(0); } 100% { opacity: 1; transform: none; filter: blur(0); } }
@keyframes appear-zoom { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } }

/* Marquee (Magic UI) */
.logos { padding-block: 48px !important; }
.logos-title { text-align: center; font-size: 14px; font-weight: 500; color: var(--muted-foreground); }
.marquee { --duration: 50s; --gap: 1rem; display: flex; gap: var(--gap); overflow: hidden; padding: 8px; margin-top: 20px; }
.marquee-track { display: flex; flex-shrink: 0; justify-content: space-around; gap: var(--gap); animation: marquee var(--duration) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - var(--gap))); } }
.coin-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; white-space: nowrap; font-size: 14px; font-weight: 500; }
.coin-pill img, .coin-pill .ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--muted); }
.coin-pill small { font: 400 12px var(--mono); color: var(--muted-foreground); }
.coin-pill b { font: 500 12px var(--mono); }
.bot-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.bot-pill svg { width: 30px; height: 30px; }

/* Items: the six bots (Launch UI items grid) */
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.item { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 14px; transition: background 0.3s; }
.item:hover { background: linear-gradient(to bottom, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01)); }
.item-title { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.item-title svg { width: 44px; height: 44px; flex: none; }
.item-title small { display: block; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); }
.item-desc { color: var(--muted-foreground); font-size: 14px; display: grid; gap: 8px; }
.item-desc p { margin: 0; }
.item-desc b { color: var(--foreground); font-weight: 500; }
.item::before { content: ''; position: absolute; left: 24px; top: 0; width: 32px; height: 2px; border-radius: 2px; background: var(--c); opacity: 0.8; }

/* How it works: animated beams (Magic UI) */
.how-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; margin-top: 56px; }
.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; counter-increment: s; }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--border) 15%, transparent); font: 500 13px var(--mono); color: var(--brand); }
.steps h3 { font-size: 18px; }
.steps p { margin: 0; color: var(--muted-foreground); font-size: 15px; }
.beam-box { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 28px; border-radius: 16px; min-height: 420px; }
.beam-col { display: grid; gap: 14px; justify-items: start; }
.beam-col.right { justify-items: end; }
.node { position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--background); border: 1px solid color-mix(in oklab, var(--border) 15%, transparent); box-shadow: 0 0 20px -12px rgb(0 0 0 / 0.8); }
.node svg { width: 38px; height: 38px; }
.node.board { width: 88px; height: 88px; }
.node.board img { width: 64px; height: 64px; }
.node.alarm { width: 64px; height: 64px; color: var(--down); }
.node.alarm svg { width: 28px; height: 28px; }
.node-label { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px; font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); white-space: nowrap; }
.beams { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; overflow: visible; }

/* Stats (Launch UI) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; max-width: 960px; margin: 0 auto; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--muted-foreground); }
.stat-value { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.stat-value b { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 500; line-height: 1; background: linear-gradient(to right, var(--foreground), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(2px 1px 24px var(--brand-foreground)); }
.stat-value span { font-size: 24px; font-weight: 600; color: var(--brand); }
.stat-desc { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--muted-foreground); text-wrap: pretty; }

/* FAQ (Launch UI accordion) */
.faq-list { width: 100%; max-width: 800px; margin: 40px auto 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq-list summary::after { content: ''; flex: none; width: 16px; height: 16px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; color: var(--muted-foreground); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p { margin: 0 0 18px; max-width: 640px; color: var(--muted-foreground); font-size: 15px; }

/* Token */
.token-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.token-coin { position: relative; width: min(360px, 70vw); justify-self: center; }
.token-coin [data-token-coin] { position: relative; display: block; border-radius: 22%; overflow: hidden; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8), inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.token-coin svg { display: block; width: 100%; height: auto; }
.token-grid .h2, .token-grid .sec-sub { text-align: left; margin-left: 0; }
.token-grid .ca { margin-top: 24px; }
.is-isnt { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; max-width: 600px; }
.is-isnt li { padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
.is-isnt b { display: inline-block; min-width: 70px; margin-right: 6px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--up); }
.is-isnt li + li b { color: var(--down); }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta .glow-wrap { position: absolute; inset: 0; transform: translateY(1rem); opacity: 0.8; transition: all 0.5s ease-in-out; }
.cta:hover .glow-wrap { transform: translateY(-2rem); opacity: 1; }

/* Footer (Launch UI) */
.footer { padding: 48px 16px 24px; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot-grid h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.foot-grid a { display: block; padding: 4px 0; font-size: 14px; color: var(--muted-foreground); }
.foot-grid a:hover { color: var(--foreground); }
.foot-grid .logo { display: flex; color: var(--foreground); }
.foot-brand p { max-width: 320px; margin: 12px 0 0; font-size: 14px; color: var(--muted-foreground); }
.wordmark { margin: 56px 0 0; font-size: clamp(3rem, 16vw, 16rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; text-align: center; white-space: nowrap; background: linear-gradient(to bottom, color-mix(in oklab, var(--foreground) 22%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-foreground); }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* Demo terminal (inside the hero mockup) */
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.term-title { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }
.term-title i { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font: 400 12px var(--mono); color: var(--muted-foreground); text-align: right; }
.status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-foreground); }
.status[data-state="live"] i { background: var(--up); box-shadow: 0 0 0 0 rgb(74 222 128 / 0.6); animation: ping 1.8s infinite; }
.status[data-state="connecting"] i { background: var(--brand); animation: blink 1s infinite; }
.status[data-state="busy"] i { background: var(--brand); }
.status[data-state="offline"] i { background: var(--down); }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(74 222 128 / 0); } 100% { box-shadow: 0 0 0 0 rgb(74 222 128 / 0); } }
@keyframes blink { 50% { opacity: 0.25; } }

.setup { display: grid; grid-template-columns: 1.3fr 1fr; }
.setup fieldset { margin: 0; padding: 22px; border: 0; min-width: 0; }
.setup .opts { border-left: 1px solid var(--line); }
.setup legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0; font-size: 16px; font-weight: 600; }
.setup legend small { margin-left: auto; font: 400 12px var(--mono); color: var(--muted-foreground); }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: color-mix(in oklab, var(--brand) 18%, transparent); color: var(--brand); font: 500 12px var(--mono); }
.pick-grid { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick-btn { position: relative; display: grid; justify-items: start; gap: 2px; padding: 12px; text-align: left; cursor: pointer; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(to bottom, rgb(255 255 255 / 0.03), rgb(255 255 255 / 0.01)); transition: background 0.2s, border-color 0.2s; }
.pick-btn:hover { background: linear-gradient(to bottom, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.03)); }
.pick-btn svg { width: 44px; height: 44px; margin-bottom: 6px; transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.pick-btn b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.pick-btn small { font-size: 12px; line-height: 1.35; color: var(--muted-foreground); }
.pick-btn::after { content: ''; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 5px; border: 1px solid color-mix(in oklab, var(--border) 25%, transparent); }
.pick-btn[aria-pressed="true"] { border-color: color-mix(in oklab, var(--c) 60%, transparent); background: linear-gradient(to bottom, color-mix(in oklab, var(--c) 18%, transparent), color-mix(in oklab, var(--c) 4%, transparent)); }
.pick-btn[aria-pressed="true"]::after { border-color: var(--c); background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%2309090b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pick-btn[aria-pressed="true"] svg { transform: rotate(-8deg) scale(1.06); }
.opts { display: flex; flex-direction: column; gap: 18px; }
.opts legend { margin-bottom: 0; }
.opt { display: grid; gap: 7px; }
.opt-name { font-weight: 500; font-size: 14px; }
.opt small, .switch small { display: block; font-size: 12.5px; color: var(--muted-foreground); line-height: 1.4; }
.seg { display: inline-flex; width: fit-content; padding: 3px; border-radius: calc(var(--radius) - 2px); background: var(--muted); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 5px 14px; border-radius: calc(var(--radius) - 4px); font: 400 13px var(--mono); color: var(--muted-foreground); cursor: pointer; }
.seg input:checked + span { background: var(--background); color: var(--foreground); box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }
.switch { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 40px; height: 22px; margin: 0; cursor: pointer; }
.switch .track { flex: none; position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--input); transition: background 0.2s; }
.switch .track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--foreground); transition: transform 0.2s; }
.switch input:checked + .track { background: var(--brand-foreground); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--brand); outline-offset: 2px; }
.switch b { font-size: 14px; font-weight: 500; }
.go { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 18px 22px; border-top: 1px solid var(--line); background: rgb(255 255 255 / 0.02); }
.fine { flex: 1 1 280px; margin: 0; font-size: 12.5px; color: var(--muted-foreground); }

.live { padding: 18px; display: grid; gap: 16px; }
.sum { display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; grid-template-areas: "main spark btns" "stats stats stats"; gap: 14px 22px; align-items: center; padding: 18px 20px; border-radius: 12px; }
.sum-main { grid-area: main; display: grid; }
.label { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
.big { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.sum-pct { font: 400 13px var(--mono); }
.spark { grid-area: spark; width: 100%; height: 56px; overflow: visible; }
.spark path { fill: none; stroke: var(--muted-foreground); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.sum-btns { grid-area: btns; display: flex; flex-direction: column; gap: 8px; }
.sum-stats { grid-area: stats; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.sum-stats div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.sum-stats dt { font: 500 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }
.sum-stats dd { margin: 2px 0 0; font: 400 16px var(--mono); }
.toast { padding: 12px 16px; border-radius: 10px; border: 1px solid color-mix(in oklab, var(--down) 50%, transparent); background: color-mix(in oklab, var(--down) 16%, var(--background)); color: #fecaca; font-weight: 600; font-size: 14px; }
.mockup.alarm { animation: alarm 0.9s 2; }
@keyframes alarm { 30% { box-shadow: 0 0 0 1px var(--down), 0 0 60px -10px var(--down); } }

.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.mate { display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto auto; gap: 2px 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); border-top: 2px solid var(--c); background: linear-gradient(to bottom, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.01)); transition: background 0.4s; }
.mate svg.face { grid-row: span 2; width: 40px; height: 40px; }
.mate b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.mate .pnl { font: 400 14px var(--mono); text-align: right; }
.mate .meta { grid-column: 2 / -1; font: 400 11.5px var(--mono); color: var(--muted-foreground); }
.mate .doing { grid-column: 1 / -1; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.4; color: var(--muted-foreground); min-height: 2.8em; }
.mate .mini { grid-column: 3; grid-row: 2; width: 64px; height: 18px; justify-self: end; }
.mate .mini path { fill: none; stroke: var(--c); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mate.flash { background: linear-gradient(to bottom, color-mix(in oklab, var(--c) 22%, transparent), transparent); }
.mate.out { background: linear-gradient(to bottom, color-mix(in oklab, var(--down) 25%, transparent), transparent); }

.panes { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pane-main, .pane-log { min-width: 0; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.tabs { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 12px; border-radius: calc(var(--radius) - 2px); background: var(--muted); }
.tabs button { padding: 5px 14px; border: 0; border-radius: calc(var(--radius) - 4px); background: transparent; font-weight: 500; font-size: 13px; color: var(--muted-foreground); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--background); color: var(--foreground); box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); }
.tabs button span { margin-left: 4px; font: 400 11px var(--mono); opacity: 0.7; }
.mini-h { margin: 16px 0 8px; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
.pane-log .mini-h { margin-top: 0; }
.pane-note { margin: 0 0 12px; font-size: 13px; color: var(--muted-foreground); }
.empty-state { margin: 0; padding: 22px 14px; border: 1px dashed color-mix(in oklab, var(--border) 15%, transparent); border-radius: 10px; text-align: center; color: var(--muted-foreground); font-size: 14px; }

.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.02); font-size: 13.5px; }
.row.new { animation: pop 0.8s; }
@keyframes pop { 0% { background: color-mix(in oklab, var(--brand) 22%, transparent); } }
.coin-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.coin-cell img, .coin-cell .ph { flex: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--muted); }
.coin-cell b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.coin-cell small { display: block; font: 400 11px var(--mono); color: var(--muted-foreground); }
.who { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 400 12px var(--mono); color: var(--muted-foreground); }
.botchip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 3px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--c) 45%, transparent); background: color-mix(in oklab, var(--c) 16%, transparent); color: var(--foreground); font: 500 12px var(--sans); white-space: nowrap; }
.botchip svg { width: 20px; height: 20px; }
.botchip.off { opacity: 0.25; filter: grayscale(1); }
.pnl-cell { font: 400 14px var(--mono); text-align: right; white-space: nowrap; }
.pnl-cell small { display: block; font-size: 11px; color: var(--muted-foreground); }
.why { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted-foreground); }
.why::before { content: 'why: '; font: 400 11.5px var(--mono); opacity: 0.7; }
.row.exit .why::before { content: 'exit: '; }
.radar .row { grid-template-columns: minmax(0, 1fr) auto auto; }
.radar .stats { display: block; font: 400 12px var(--mono); color: var(--muted-foreground); text-align: right; white-space: nowrap; max-width: none; margin: 0; }
.radar .chg { font: 400 14px var(--mono); text-align: right; min-width: 64px; }
.radar .who { grid-column: 1 / -1; }
.log { margin: 0; padding: 0; list-style: none; max-height: 560px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 6px; align-content: start; }
.log li { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; padding: 8px 10px; border-left: 2px solid var(--c, var(--line)); border-radius: 2px 8px 8px 2px; background: rgb(255 255 255 / 0.025); font-size: 13px; line-height: 1.45; color: color-mix(in oklab, var(--foreground) 85%, transparent); }
.log li.new { animation: pop 0.8s; }
.log time { font: 400 11px var(--mono); color: var(--muted-foreground); padding-top: 2px; }
.log .txt { min-width: 0; overflow-wrap: anywhere; }
.log .txt b { font-weight: 600; color: var(--foreground); }
.log li.alarm { --c: var(--down); background: color-mix(in oklab, var(--down) 12%, transparent); color: #fecaca; font-weight: 500; }
.log li.note { --c: var(--muted-foreground); }

/* Reveal start states (motion.js removes .js in calm mode; boot.js only adds it when motion is wanted) */
.js [data-reveal], .js [data-stagger] > * { opacity: 0; }

/* Narrow screens */
@media (max-width: 1000px) {
  .nav, .nav-right .ticker-link { display: none; }
  .menu-btn { display: block; }
  .items { grid-template-columns: 1fr 1fr; }
  .how-grid, .token-grid { grid-template-columns: 1fr; }
  .setup { grid-template-columns: 1fr; }
  .setup .opts { border-left: 0; border-top: 1px solid var(--line); }
  .panes { grid-template-columns: 1fr; }
  .log { max-height: 400px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-right .btn-default { display: none; }
  .badge .shiny { display: none; }
  .items { grid-template-columns: 1fr; margin-top: 32px; }
  .item { padding: 18px 8px; }
  .item::before { left: 8px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .coin3d { width: 132px; }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .setup fieldset { padding: 16px; }
  .go { padding: 16px; }
  .go .btn { width: 100%; }
  .live { padding: 10px; }
  .sum { grid-template-columns: 1fr; grid-template-areas: "main" "spark" "stats" "btns"; padding: 14px; }
  .sum-btns { flex-direction: row; }
  .sum-stats { grid-template-columns: repeat(3, 1fr); gap: 10px 0; }
  .sum-stats div:nth-child(4) { padding-left: 0; border-left: 0; }
  .roster { grid-template-columns: 1fr; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row .who { grid-column: 1 / -1; grid-row: 2; }
  .pane-main, .pane-log { padding: 10px; }
  .term-bar { padding: 8px 10px; }
  .status { font-size: 11px; }
  .beam-box { padding: 20px 12px; gap: 10px; min-height: 380px; }
  .node { width: 44px; height: 44px; } .node svg { width: 32px; height: 32px; }
  .node.board { width: 72px; height: 72px; } .node.board img { width: 52px; height: 52px; }
  .mockup-frame { padding: 4px; border-radius: 12px; }
}

/* Calm mode for visitors who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .appear, .appear-zoom { opacity: 1; }
  .marquee { flex-wrap: wrap; justify-content: center; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee-track + .marquee-track { display: none; }
  .border-beam { display: none; }
  .shiny { background: none; color: var(--muted-foreground); }
}

/* Admin and 404 */
.narrow { max-width: 620px; margin: 0 auto; padding: 72px 16px; }
.narrow h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 6px 0 12px; }
.kicker { margin: 0; font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.panel { margin: 24px 0; padding: 16px 18px; border-radius: var(--radius); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 14px; }
.input { width: 100%; height: 40px; padding: 0 12px; border-radius: calc(var(--radius) - 2px); border: 1px solid var(--input); background: transparent; font: 400 14px var(--mono); }
.status-msg { min-height: 1.5em; margin: 0; font-weight: 500; font-size: 14px; }
.status-msg.ok { color: var(--up); } .status-msg.err { color: var(--down); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Polish layer ------------------------------------------------------------ */
body { font-feature-settings: "cv11", "ss01", "ss03"; text-rendering: optimizeLegibility; }
.h2 { letter-spacing: -0.035em; }
.hero-title { letter-spacing: -0.045em; }
/* Layout guide lines at the container edges (Launch UI layout-lines) and a faint film grain */
body::before { content: ''; position: fixed; z-index: -1; top: 0; bottom: 0; left: max(16px, calc((100vw - var(--container)) / 2)); right: max(16px, calc((100vw - var(--container)) / 2)); border-inline: 1px dashed color-mix(in oklab, var(--border) 7%, transparent); pointer-events: none; }
body::after { content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Hero backdrop: a fine grid that fades out from the centre */
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgb(255 255 255 / 0.045) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 55% 45% at 50% 28%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 55% 45% at 50% 28%, #000 25%, transparent 75%); }

/* Navbar settles into a floating glass pill once the page scrolls */
.nav-inner { border: 1px solid transparent; border-radius: 16px; transition: max-width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.4s, margin 0.4s, background 0.4s, border-color 0.4s, box-shadow 0.4s; }
.navbar.scrolled .nav-inner { max-width: 1080px; margin-top: 10px; padding: 8px 8px 8px 16px; background: color-mix(in oklab, var(--background) 70%, transparent); border-color: var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 12px 32px -14px rgb(0 0 0 / 0.7); }
.navbar .blur { transition: opacity 0.4s; }
.navbar.scrolled .blur { opacity: 0; }

/* Section heads: eyebrow + title, centred or split */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 3px 11px; border: 1px solid color-mix(in oklab, var(--border) 15%, transparent); border-radius: 999px; font: 500 11.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand-foreground); }
.sec-head { text-align: center; }
.sec-head.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; text-align: left; }
.sec-head.split .h2, .sec-head.left .h2 { text-align: left; }
.sec-head.split .sec-sub, .sec-head.left .sec-sub { text-align: left; margin: 0; }
.sec-head.left { text-align: left; }
.text-link { display: inline-flex; gap: 6px; margin-top: 22px; font-weight: 500; font-size: 15px; color: var(--brand); }
.text-link span { transition: transform 0.2s; }
.text-link:hover span { transform: translateX(3px); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head .sec-sub { margin-top: 16px; }
.faq-grid .faq-list { margin: 0; max-width: none; }
.faq-list details p { animation: none; }
.cta-mark { width: 56px; height: 56px; filter: drop-shadow(0 0 24px color-mix(in oklab, var(--brand-foreground) 50%, transparent)); }
.stats > div + div { border-left: 1px solid var(--line); padding-left: 28px; }

/* Split headlines: each word rises out of its own mask */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0 0.12em; margin: -0.04em 0 -0.12em; }
[data-split] .w > span { display: inline-block; will-change: transform; }
.hero-title.split-done { background: none; filter: none; color: var(--foreground); }
.hero-title.split-done .w > span { background: linear-gradient(to right, var(--foreground), var(--muted-foreground)) no-repeat; background-size: var(--gw) 100%; background-position: var(--gx) 0; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Spotlight that follows the pointer (Magic UI MagicCard) */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / 0.075), transparent 55%); }
.spot:hover::after { opacity: 1; }
.item.spot:hover, .beam-box.spot:hover, .is-isnt .spot:hover { border-color: color-mix(in oklab, var(--border) 18%, transparent); }
.item { border: 1px solid transparent; }

/* Hero mockup tilts back in 3D and lays flat as it scrolls in (set by motion.js) */
.mockup-wrap { perspective: 1800px; }
.mockup-frame { transform-origin: 50% 0; }

/* Demo alert icon instead of an emoji */
.toast { display: flex; gap: 10px; align-items: flex-start; }
.toast::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-width: 1000px) {
  .sec-head.split, .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq-head { position: static; }
  .navbar.scrolled .nav-inner { margin-top: 8px; }
}
@media (max-width: 640px) {
  .stats > div + div { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
  body::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-inner { transition: none; }
}

/* Split headings stay hidden until their words are wrapped (motion on only) */
.js [data-split]:not(.is-split) { opacity: 0; }
