/* Unified Inbox v2 — cinematic home. Dark ground, cyan glow, amber warmth. No violet. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #04070b;
  --bg-2: #08101a;
  --panel: rgba(14, 22, 32, .72);
  --panel-solid: #0c141e;
  --line: rgba(160, 200, 225, .12);
  --line-2: rgba(160, 200, 225, .22);
  --ink: #e9f0f6;
  --ink-2: #b4c1cf;
  --muted: #7f8ea0;
  --cyan: #38dff0;
  --cyan-2: #0fb5cc;
  --amber: #ffb547;
  --red: #ff6b5e;
  --green: #3ddc84;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 17px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cyan); color: #001; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.ink { filter: invert(1); }          /* black one-tone mark → white on dark */
.ink-w { filter: invert(1) brightness(1.1); } /* currentColor strokes render black in <img> → white */
.muted { color: var(--muted); }

/* ---------- background scene ---------- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: none; }
html.gl #scene { display: block; }
.css-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; display: none; }
html.nogl .css-scene { display: block; }
.css-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(56, 223, 240, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 223, 240, .35) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
  opacity: .5;
}
.css-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 50% 58%, rgba(56, 223, 240, .18), transparent 70%),
    radial-gradient(30% 25% at 70% 30%, rgba(255, 181, 71, .10), transparent 70%),
    linear-gradient(to bottom, rgba(4, 7, 11, 0) 60%, var(--bg) 100%);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
  padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(4, 7, 11, .85), rgba(4, 7, 11, 0));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(140deg, #0f2a33, #0a1720); border: 1px solid var(--line-2); box-shadow: 0 0 18px rgba(56, 223, 240, .25); }
.brand-mark svg { width: 17px; height: 17px; fill: var(--cyan); }
.nav.scrolled { background: rgba(4, 7, 11, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { transition: background .3s, box-shadow .3s; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 15.5px; color: #021015;
  background: linear-gradient(180deg, #6cecf8, var(--cyan) 55%, var(--cyan-2));
  box-shadow: 0 0 0 1px rgba(56, 223, 240, .5), 0 8px 30px -6px rgba(56, 223, 240, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(56, 223, 240, .7), 0 12px 40px -6px rgba(56, 223, 240, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* ---------- type ---------- */
main, .footer { position: relative; z-index: 1; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.display { font-size: clamp(42px, 7.4vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 680; }
.h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; }
.hl { background: linear-gradient(100deg, #d6fbff 0%, #6ff0fa 40%, #4cc3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 640px; }
.split .w { display: inline-block; }
.split .wi { display: inline-block; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 26px; padding: 110px var(--gutter) 90px; position: relative;
}
.hero .display { max-width: 15ch; text-shadow: 0 2px 40px rgba(4, 7, 11, .8); }
.hero .lede { text-shadow: 0 1px 18px rgba(4, 7, 11, .9); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trades { width: min(760px, 100%); overflow: hidden; margin-top: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.trades-track { display: flex; gap: 34px; width: max-content; font-family: var(--mono); font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; animation: marquee 38s linear infinite; }
.trades-track span::before { content: "◆"; color: rgba(56, 223, 240, .55); margin-right: 34px; font-size: 8px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(12px); opacity: .3; } }

/* ---------- story (signature) ---------- */
.story { position: relative; }
html.motion.gl .story { height: 340vh; }
.story-stage {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr; gap: 26px;
  padding: 92px var(--gutter) 40px; max-width: 1320px; margin: 0 auto;
}
html.motion.gl .story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.story-copy { text-align: center; display: grid; justify-items: center; gap: 12px; }
.story-sub { color: var(--ink-2); max-width: 560px; }
.story .h2 { font-size: clamp(32px, 4.2vw, 58px); }
.story-stage > .sources, .story-stage > .inbox-win { grid-row: 2; }
.story-stage { grid-template-columns: 1fr minmax(0, 520px) 1fr; column-gap: clamp(20px, 5vw, 90px); }
.story-copy { grid-column: 1 / -1; }
.sources { list-style: none; margin: 0; padding: 0; display: contents; }
.src { display: flex; align-items: center; gap: 14px; align-self: center; }
.src[data-src="0"] { grid-column: 1; grid-row: 2; align-self: start; margin-top: 8%; justify-self: end; }
.src[data-src="1"] { grid-column: 1; grid-row: 2; align-self: center; justify-self: start; }
.src[data-src="2"] { grid-column: 1; grid-row: 2; align-self: end; margin-bottom: 8%; justify-self: end; }
.src[data-src="3"] { grid-column: 3; grid-row: 2; align-self: start; margin-top: 8%; justify-self: start; flex-direction: row-reverse; }
.src[data-src="4"] { grid-column: 3; grid-row: 2; align-self: center; justify-self: end; flex-direction: row-reverse; }
.src[data-src="5"] { grid-column: 3; grid-row: 2; align-self: end; margin-bottom: 8%; justify-self: start; flex-direction: row-reverse; }
.tile {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, rgba(30, 44, 58, .9), rgba(10, 16, 24, .9));
  border: 1px solid var(--line-2); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8), 0 0 24px -6px var(--glow, rgba(56, 223, 240, .45));
}
.src[data-src="0"] .tile { --glow: rgba(37, 211, 102, .6); }
.src[data-src="1"] .tile { --glow: rgba(255, 120, 80, .55); }
.src[data-src="2"] .tile { --glow: rgba(0, 153, 255, .6); }
.src[data-src="3"] .tile { --glow: rgba(255, 40, 40, .55); }
.src[data-src="4"] .tile { --glow: rgba(255, 190, 60, .5); }
.src[data-src="5"] .tile { --glow: rgba(56, 223, 240, .6); }
.src-name { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }

.inbox-win {
  grid-column: 2; align-self: center; width: 100%;
  background: linear-gradient(180deg, rgba(16, 26, 38, .55), rgba(8, 14, 22, .7));
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(56, 223, 240, .35); border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(56, 223, 240, .08), 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 90px -10px rgba(56, 223, 240, .35);
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #253241; }
.win-bar span { margin-left: 8px; font-weight: 600; color: var(--ink); }
.unread { margin-left: auto; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--cyan); background: rgba(56, 223, 240, .1); border: 1px solid rgba(56, 223, 240, .3); padding: 2px 9px; border-radius: 99px; }
.land { list-style: none; margin: 0; padding: 8px; display: grid; gap: 5px; }
.msg { line-height: 1.4; display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 13px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; }
.msg img { width: 26px; height: 26px; }
.msg b { font-size: 14.5px; font-weight: 600; }
.msg p { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg > div { min-width: 0; }
.msg time { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.msg.fresh { border-color: rgba(56, 223, 240, .35); background: rgba(56, 223, 240, .06); }
html.motion.gl .msg { opacity: 0; }

/* ---------- generic blocks ---------- */
.block { padding: clamp(90px, 13vw, 170px) var(--gutter) 0; max-width: var(--maxw); margin: 0 auto; }
.block-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.block-sub { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 18.5px); max-width: 660px; }
.mini-h { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* app mock */
.tilt-wrap { perspective: 1600px; overflow-x: clip; }
.app {
  display: grid; grid-template-columns: 300px 1fr 240px; min-height: 480px;
  background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(56, 223, 240, .45);
  transform-origin: 50% 0%;
}
.app-list { border-right: 1px solid var(--line); padding: 14px; display: grid; gap: 6px; align-content: start; }
.app-search { font-size: 13px; color: var(--muted); padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.chips { display: flex; gap: 6px; margin: 6px 0 4px; }
.chips span { font-size: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); }
.chips .on { background: rgba(56, 223, 240, .12); border-color: rgba(56, 223, 240, .4); color: var(--cyan); }
.row { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; }
.row > div { min-width: 0; }
.row img { width: 22px; height: 22px; }
.row b { font-size: 13.5px; font-weight: 600; display: block; }
.row p { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row time { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.row.on { background: rgba(56, 223, 240, .08); box-shadow: inset 2px 0 0 var(--cyan); }
.row.flag p { color: var(--red); }
.app-chat { display: flex; flex-direction: column; padding: 16px 20px; gap: 14px; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head b { margin-right: 4px; }
.pill { font-size: 11.5px; padding: 2px 9px; border-radius: 99px; background: rgba(37, 211, 102, .12); color: #6fe3a0; border: 1px solid rgba(37, 211, 102, .3); }
.pill-a { background: rgba(255, 181, 71, .1); color: var(--amber); border-color: rgba(255, 181, 71, .3); }
.bubbles { display: grid; gap: 10px; }
.bubbles p { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.bubbles .in { background: rgba(255, 255, 255, .06); border-bottom-left-radius: 5px; }
.bubbles .out { justify-self: end; background: rgba(37, 211, 102, .16); border-bottom-right-radius: 5px; }
.draft { margin-top: auto; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, rgba(56, 223, 240, .09), rgba(56, 223, 240, .03)); border: 1px solid rgba(56, 223, 240, .35); display: grid; gap: 10px; }
.draft p { font-size: 14px; }
.draft-tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.draft-actions { display: flex; gap: 8px; justify-content: flex-end; }
.mini-btn { font-size: 12.5px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); }
.mini-btn-p { background: var(--cyan); color: #021015; border-color: var(--cyan); font-weight: 600; }
.app-profile { border-left: 1px solid var(--line); padding: 20px 16px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; background: linear-gradient(140deg, #ffcf85, var(--amber)); color: #2a1700; }
.app-profile dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin: 6px 0; }
.app-profile dl div { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.app-profile dt { font-size: 11.5px; color: var(--muted); }
.app-profile dd { margin: 0; font-weight: 650; }
.tl { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line-2); display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: -18px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* AI block */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-copy { display: grid; gap: 20px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; color: var(--ink-2); }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.ai-card { padding: 22px; border-radius: 24px; display: grid; gap: 16px; background: var(--panel); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(56, 223, 240, .5); }
.ai-q { display: flex; gap: 12px; align-items: flex-start; }
.ai-q img { width: 26px; height: 26px; margin-top: 2px; }
.ai-q p { padding: 12px 16px; border-radius: 16px; border-top-left-radius: 5px; background: rgba(255, 255, 255, .06); font-size: 15px; }
.ai-think { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 5px; align-items: center; }
.ai-think span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: blink 1.2s infinite; }
.ai-think span:nth-child(2) { animation-delay: .15s; } .ai-think span:nth-child(3) { animation-delay: .3s; margin-right: 6px; }
@keyframes blink { 50% { opacity: .2; } }
.ai-a { padding: 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(56, 223, 240, .1), rgba(56, 223, 240, .03)); border: 1px solid rgba(56, 223, 240, .4); display: grid; gap: 10px; }
.ai-a p { font-size: 15.5px; min-height: 4.6em; }
.ai-a p.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; background: var(--cyan); vertical-align: -2px; margin-left: 2px; animation: blink .8s infinite; }
.sources-used { display: flex; gap: 8px; flex-wrap: wrap; }
.sources-used span { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 181, 71, .08); color: var(--amber); border: 1px solid rgba(255, 181, 71, .25); }

/* command center */
.cmd { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 16px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.kpi { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); display: grid; gap: 6px; min-width: 0; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi b { font-size: clamp(22px, 2.4vw, 32px); font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi-hot { border-color: rgba(255, 107, 94, .45); background: rgba(255, 107, 94, .07); }
.kpi-hot b { color: #ff8d82; }
.needs { grid-column: 1 / -1; display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line); }
.need { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 14px; }
.need p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.need b { color: var(--ink); font-weight: 600; }
.need-red { box-shadow: inset 2px 0 0 var(--red); }
.badge { font-size: 11.5px; padding: 3px 9px; border-radius: 99px; text-align: center; background: rgba(255, 107, 94, .14); color: #ff8d82; }
.badge-a { background: rgba(255, 181, 71, .12); color: var(--amber); }
.badge-c { background: rgba(56, 223, 240, .1); color: var(--cyan); }
.act { font-size: 12.5px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line-2); white-space: nowrap; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(18, 28, 40, .85), rgba(9, 15, 23, .85)); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; transition: border-color .3s, transform .3s; }
.card:hover { border-color: rgba(56, 223, 240, .35); }
.card-wide { grid-column: span 2; }
.card h3 { font-size: 20px; letter-spacing: -.02em; }
.card p { color: var(--ink-2); font-size: 15px; }
.card-art { min-height: 130px; border-radius: 14px; margin-bottom: 8px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; font-size: 13px; }
.call-art { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.call-row { display: flex; align-items: center; gap: 10px; }
.ring { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ring 1.6s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.wave { display: flex; gap: 4px; align-items: center; height: 26px; }
.wave i { flex: 1; max-width: 6px; height: 30%; border-radius: 3px; background: var(--cyan); opacity: .8; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 100%; } }
.summary { font-size: 13px; color: var(--ink-2); }
.route-art { flex-direction: column; align-items: flex-start; gap: 6px; }
.route-art span { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); }
.r-in { border-color: rgba(56, 223, 240, .5) !important; color: var(--cyan); }
.r-line { width: 2px; height: 14px; padding: 0 !important; border: 0 !important; background: var(--line-2); margin-left: 20px; border-radius: 0 !important; }
.r-to { margin-left: 30px; }
.c2d-art .c { padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.c2d-art .arrow { color: var(--cyan); font-size: 18px; }
.c2d-art .d { padding: 6px 10px; border-radius: 12px; background: rgba(56, 223, 240, .12); color: var(--cyan); }
.sched-art { gap: 5px; }
.sched-art span { width: 34px; height: 52px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: end center; padding-bottom: 6px; font-size: 11px; color: var(--muted); }
.sched-art .on { border-color: rgba(255, 181, 71, .45); background: linear-gradient(180deg, rgba(255, 181, 71, .2), transparent); color: var(--amber); }
.review-art img { width: 34px; height: 34px; }
.stars { color: var(--amber); font-size: 22px; letter-spacing: 3px; }
.orders-art { justify-content: flex-start; flex-wrap: wrap; gap: 8px; align-content: center; }
.o-src { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.o-src img { width: 18px; height: 18px; }
.o-src .txt { font-family: var(--mono); font-size: 11px; color: var(--cyan); }
.ship { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border-radius: 10px; background: rgba(56, 223, 240, .06); border: 1px solid rgba(56, 223, 240, .25); flex-wrap: wrap; }
.track { flex: 1; min-width: 60px; height: 4px; border-radius: 4px; background: var(--line-2); position: relative; overflow: hidden; }
.track i { position: absolute; inset: 0 40% 0 0; background: var(--cyan); border-radius: 4px; }
.merge-art { flex-direction: column; gap: 6px; }
.merge-art .p { padding: 4px 10px; border-radius: 99px; border: 1px dashed var(--line-2); color: var(--ink-2); }
.merge-art .m { padding: 5px 12px; border-radius: 99px; background: rgba(56, 223, 240, .14); color: var(--cyan); border: 1px solid rgba(56, 223, 240, .4); }
.team-art { flex-wrap: wrap; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; margin-left: -8px; border: 2px solid var(--panel-solid); background: linear-gradient(140deg, #8ff0f8, var(--cyan-2)); color: #01161a; }
.av:nth-child(2) { background: linear-gradient(140deg, #ffd79a, var(--amber)); color: #2a1700; }
.av:nth-child(3) { background: linear-gradient(140deg, #9ff0c0, var(--green)); color: #022012; }
.team-art .lbl { width: 100%; text-align: center; color: var(--muted); font-size: 12px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border-radius: 22px; border: 1px solid var(--line); background: rgba(10, 16, 24, .7); display: grid; gap: 10px; justify-items: start; }
.step .n { position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step h3 { font-size: 19px; }
.step p { color: var(--ink-2); font-size: 15px; }
.trio { display: flex; gap: 8px; }
.trio img { width: 30px; height: 30px; }
.glyph svg { width: 34px; height: 34px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.soon-card { padding: clamp(28px, 4vw, 48px); border-radius: 26px; display: grid; gap: 14px; background: radial-gradient(80% 120% at 0% 0%, rgba(255, 181, 71, .12), transparent 60%), rgba(10, 16, 24, .75); border: 1px solid rgba(255, 181, 71, .25); }
.soon-card .eyebrow { color: var(--amber); }

/* final */
.final { text-align: center; display: grid; justify-items: center; gap: 26px; padding: clamp(120px, 16vw, 220px) var(--gutter) clamp(90px, 12vw, 160px); position: relative; }
.final::before { content: ""; position: absolute; inset: 10% 0 0; background: radial-gradient(50% 50% at 50% 55%, rgba(56, 223, 240, .14), transparent 70%); pointer-events: none; z-index: -1; }
.final .display { max-width: 14ch; font-size: clamp(40px, 6.6vw, 92px); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 36px var(--gutter) 44px; background: rgba(4, 7, 11, .9); }
.foot-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; max-width: var(--maxw); margin: 0 auto 20px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.foot-links a:hover { color: var(--cyan); }
.legal { max-width: var(--maxw); margin: 0 auto; font-size: 13.5px; color: var(--muted); }

/* ---------- reveal (only when motion is allowed; JS animates) ---------- */
html.motion .reveal, html.motion .reveal-up { opacity: 0; transform: translateY(26px); }
html.motion .split .wi { transform: translateY(105%); }
html.motion .split .w { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .app { grid-template-columns: 260px 1fr; }
  .app-profile { display: none; }
  .cmd { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .split-block { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .story-stage { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 12px; row-gap: 16px; }
  .story-stage > .inbox-win { grid-column: 1 / -1; grid-row: 3; max-width: 520px; justify-self: center; }
  .src { flex-direction: column !important; gap: 8px; margin: 0 !important; justify-self: center !important; align-self: center !important; }
  .src[data-src="0"], .src[data-src="1"], .src[data-src="2"] { grid-row: 2; }
  .src[data-src="3"], .src[data-src="4"], .src[data-src="5"] { grid-row: 4; }
  .src[data-src="0"], .src[data-src="3"] { grid-column: 1; }
  .src[data-src="1"], .src[data-src="4"] { grid-column: 2; }
  .src[data-src="2"], .src[data-src="5"] { grid-column: 3; }
  html.motion.gl .msg:nth-child(n+5) { display: none; }
  .story-stage > .inbox-win { align-self: center; }
}
@media (max-width: 900px) and (max-height: 800px) {
  .story-sub { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .app-list .row:nth-child(n+6) { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .cmd { grid-template-columns: 1fr 1fr; padding: 12px; gap: 8px; }
  .need { grid-template-columns: 1fr auto; }
  .need .badge { grid-column: 1 / -1; justify-self: start; }
  .nav .btn-sm { padding: 0 14px; font-size: 13px; }
  .story-stage { padding-top: 76px; padding-bottom: 20px; row-gap: 12px; }
  .story-copy { gap: 8px; }
  .story-sub { font-size: 14.5px; }
  .tile { width: 48px; height: 48px; border-radius: 14px; }
  .tile img { width: 24px; height: 24px; }
  .src-name { font-size: 10.5px; }
  .msg { padding: 8px 10px; gap: 10px; grid-template-columns: 24px 1fr auto; }
  .msg img { width: 22px; height: 22px; }
  .msg b { font-size: 13.5px; } .msg p { font-size: 12.5px; }
  .bubbles p { max-width: 90%; }
}
@media (max-width: 420px) {
  .brand > span:last-child { font-size: 15px; }
  .hero { gap: 22px; }
  .cta-row .btn { width: 100%; }
}
@media (max-height: 860px) and (min-width: 901px) {
  .story-stage { padding-top: 80px; gap: 16px; }
  .story-sub { display: none; }
  .msg { padding: 8px 12px; }
}

/* still mode (reduced motion): everything shown, no infinite animation */
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }
html.still .trades-track { flex-wrap: wrap; justify-content: center; width: auto; }
html.still .trades-track span[aria-hidden] { display: none; }
html.still .trades { -webkit-mask-image: none; mask-image: none; }
html.still .ai-think span { opacity: .6; }
