/* Darwin — darwinaiassistant.com landing.
   Fonts + structure borrowed from the trading-bot landing (system stack + mono),
   Darwin's own cyan/magenta accent, HUD frame, reticle, per-section parallax. */
:root {
  --bg: #070B11; --bg2: #0C1219; --surface: #0F1620; --surface2: #141d29;
  --text: #E8F0F7; --dim: rgba(232,240,247,.66); --dim2: rgba(232,240,247,.4);
  --cyan: #22d3ee; --magenta: #d946ef; --accent: #22d3ee;
  --accent-soft: rgba(34,211,238,.5);
  --border: rgba(34,211,238,.16); --border2: rgba(255,255,255,.08);
  --mono: 'SF Mono', Menlo, Consolas, 'Roboto Mono', monospace;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.01em; font-weight: 800; }

/* ---- plexus backdrop (was missing its placement — why it wasn't visible) ---- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.nav, section, .hero, footer { position: relative; z-index: 1; }

/* ---- the shell: the whole page sits in a centered box, not full-monitor ---- */
.shell { position: relative; z-index: 1; max-width: 1460px; margin: 0 auto; min-height: 100vh;
  background: rgba(9, 14, 21, 0.55); border-inline: 1px solid var(--border2);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.55); overflow: clip; }
@media (max-width: 1500px) { .shell { border-inline: 0; } }

/* ---- HUD frame ---- */
.hud-frame { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.hud-frame .cnr { position: absolute; width: 26px; height: 26px; border: 1px solid var(--accent-soft); opacity: .55; }
.hud-frame .tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.hud-frame .tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.hud-frame .bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.hud-frame .br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.hud-frame .rail { position: absolute; top: 80px; bottom: 80px; width: 1px; background: linear-gradient(180deg, transparent, var(--border), transparent); }
.hud-frame .rail-l { left: 14px; } .hud-frame .rail-r { right: 14px; }
@media (max-width: 820px) { .hud-frame .rail { display: none; } .hud-frame .cnr { width: 18px; height: 18px; } }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s; }
.nav.scrolled { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(7,11,17,.72); border-bottom: 1px solid var(--border2); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: 1px; font-size: 17px; }
.brand b { color: var(--cyan); }
.brand .glyph { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.brand-sub { font-weight: 600; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim2); border-left: 1px solid var(--border2); padding-left: 9px; margin-left: 4px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 13.5px; }
.nav nav a { color: var(--dim); } .nav nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 820px) { .nav nav a:not(.btn) { display: none; } .brand-sub { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; border-radius: 12px; padding: 13px 24px; cursor: pointer; border: 1px solid transparent; font-size: 15px; font-family: var(--font); transition: transform .12s, box-shadow .2s, background .2s; }
.btn-primary { background: linear-gradient(120deg, var(--cyan), #38bdf8); color: #06121a; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(34,211,238,.3); text-decoration: none; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); text-decoration: none; }
.btn.block { width: 100%; justify-content: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--border); border-radius: 99px; padding: 6px 14px; background: rgba(34,211,238,.05); margin-bottom: 18px; }

/* ---- per-section parallax video ---- */
section, .hero { position: relative; overflow: hidden; }
.sec-video { position: absolute; left: 0; right: 0; top: -5vh; width: 100%; height: 110vh; object-fit: cover; z-index: 0; pointer-events: none; opacity: .34; will-change: transform; }
.sec-tint { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 50% 30%, rgba(7,11,17,.4), rgba(7,11,17,.88) 78%); pointer-events: none; }
.hero .sec-video { opacity: .38; }
.dash-sec .sec-video { opacity: .24; }   /* the dashboard stays readable — brain just glows behind */

/* ---- promise band (separates the two video blocks) ---- */
.promise { text-align: center; background: linear-gradient(180deg, rgba(34,211,238,.06), rgba(7,11,17,.6) 40%, rgba(34,211,238,.04)); }
.promise h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 10px 0 16px; }
.promise em { color: var(--cyan); font-style: normal; }
.promise-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 8px; text-align: left; }
.promise-items > div { background: rgba(15,22,32,.55); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.promise-items b { display: block; margin-bottom: 6px; color: var(--text); }
.promise-items span { color: var(--dim); font-size: .93rem; line-height: 1.55; }
.promise-vow { color: var(--dim); font-size: .98rem; max-width: 56ch; margin: 22px auto 18px; }
.promise-vow b { color: var(--cyan); }
@media (max-width: 880px) { .promise-items { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sec-video { display: none; } }
.wrap { position: relative; z-index: 2; }

/* ---- hero (short, centered) ---- */
.hero { padding: 100px 0 70px; text-align: center; }
.hero-center { max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 16px; }
.hero h1 .accent { color: var(--cyan); }
.lead { font-size: 1.16rem; color: #cdd7e1; max-width: 46ch; margin: 0 auto; }
.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.price-tag { font-family: var(--mono); color: var(--dim2); font-size: 13px; margin-top: 14px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; color: var(--dim); font-size: 13px; justify-content: center; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---- THE DASHBOARD ---- */
.dash-sec { background: linear-gradient(180deg, rgba(34,211,238,.04), transparent 30%); border-top: 1px solid var(--border); }
.dash { display: grid; grid-template-columns: 215px 1fr 235px; gap: 20px; align-items: start; }
.dash-left, .dash-right { display: flex; flex-direction: column; gap: 14px; }
.hud-panel { position: relative; background: linear-gradient(180deg, rgba(10,18,28,.58), rgba(6,10,16,.48)); border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1.05rem .95rem; backdrop-filter: blur(4px); }
.hud-panel::before { content: ""; position: absolute; left: 1rem; right: 1rem; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .55; }
.hud-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 9px; opacity: .9; }
.hud-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; padding: 3px 0; color: var(--dim); }
.hud-row b { color: var(--text); font-weight: 600; }
.hud-time { font-family: var(--mono); font-size: 26px; font-weight: 600; color: var(--text); letter-spacing: 1px; }
.hud-cd { font-family: var(--mono); font-size: 11px; color: var(--dim2); margin-top: 2px; }
.sig-wave { width: 100%; height: 46px; display: block; }

.dash-center { text-align: center; }
.dash-center .orb-stage { max-width: 430px; }
#spectrum { position: absolute; inset: -9%; width: 118%; height: 118%; z-index: 1; pointer-events: none; }
/* The answer reads like the app's dialogue line under the orb: dim mono text
   that fades out at the bottom — click to reveal the whole thing. Space is
   RESERVED (min-height) so the layout never jumps when an answer arrives. */
.dash-center .answer { margin: 18px auto 0; }
.answer.fade { background: transparent; border: 0; padding: 0 6px; font-family: var(--mono); font-size: .95rem; color: var(--dim); line-height: 1.75; min-height: 3.6em; max-height: 3.6em; overflow: hidden; cursor: pointer; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 95%); mask-image: linear-gradient(180deg, #000 35%, transparent 95%); transition: max-height .35s ease, color .25s; }
.answer.fade.expanded { max-height: 30em; color: #dce6ef; -webkit-mask-image: none; mask-image: none; }

/* the questions row — full content width so the chips spread comfortably */
.q-row { margin-top: 30px; text-align: center; }
.q-row .q-chips { justify-content: center; gap: 10px 12px; }

/* agent boxes — like the app's .ab-card */
.ab-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); opacity: .9; }
.ab-card { position: relative; background: linear-gradient(180deg, rgba(10,18,28,.6), rgba(6,10,16,.5)); border: 1px solid color-mix(in srgb, var(--ac) 30%, transparent); border-radius: 10px; padding: .7rem .85rem .75rem; transition: border-color .2s, box-shadow .2s; }
.ab-card::before { content: ""; position: absolute; left: .8rem; right: .8rem; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ac), transparent); opacity: .5; }
.ab-card.speaking { border-color: var(--ac); box-shadow: 0 0 22px color-mix(in srgb, var(--ac) 30%, transparent); }
.ab-top { display: flex; align-items: center; gap: 8px; }
.ab-name { font-weight: 700; font-size: 14px; letter-spacing: .4px; }
.ab-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--dim2); transition: background .2s, box-shadow .2s; }
.ab-card.speaking .ab-dot { background: var(--ac); box-shadow: 0 0 10px var(--ac); }
.ab-sig { width: 100%; height: 30px; display: block; margin: 4px 0 2px; }
.ab-role { font-size: 11.5px; color: var(--dim); }
.ab-status { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim2); margin-top: 4px; }
.ab-card.speaking .ab-status { color: var(--ac); }
.intro-btn { justify-content: center; font-size: 13.5px; padding: 11px 16px; }
.ab-note { font-size: 11px; color: var(--dim2); text-align: center; margin-top: 2px; }

/* world clocks strip */
.clocks { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.clock-card { min-width: 128px; text-align: center; background: rgba(10,18,28,.5); border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px; }
.clock-card .cc-city { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); }
.clock-card .cc-time { font-family: var(--mono); font-size: 21px; font-weight: 600; color: var(--text); margin: 2px 0; }
.clock-card .cc-date { font-family: var(--mono); font-size: 10.5px; color: var(--dim2); }

/* memory stage */
.mem-stage { position: relative; aspect-ratio: 1/1; max-width: 520px; width: 100%; margin: 0 auto; }
#memGraph { width: 100%; height: 100%; display: block; cursor: grab; }
#memGraph:active { cursor: grabbing; }
/* click-to-expand: a window-in-the-page modal over a dimmed backdrop */
.mem-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(3,6,12,.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
/* inset:0 + margin:auto centres the fixed box without transform — the .rv
   reveal styles fight any transform we'd set here. */
.mem-stage.mem-full { position: fixed; inset: 0; margin: auto; width: min(1100px, 94vw); height: min(86vh, 860px); z-index: 1001; max-width: none; aspect-ratio: auto; background: rgba(6,10,17,.97); border: 1px solid rgba(34,211,238,.35); border-radius: 14px; box-shadow: 0 0 90px rgba(34,211,238,.16); overflow: hidden; }
.mem-close { display: none; position: absolute; right: 10px; top: 10px; z-index: 3; background: rgba(34,211,238,.12); border: 1px solid var(--cyan); color: var(--cyan); border-radius: 8px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; cursor: pointer; }
.mem-stage.mem-full .mem-close { display: block; }
.mem-stage.mem-full .mem-labels { top: 48px; }
.mem-legend { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; margin-top: 6px; }
.mem-leg { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: var(--dim); background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; cursor: pointer; transition: border-color .15s, color .15s, opacity .15s; }
.mem-leg:hover { border-color: var(--cyan); color: var(--text); }
.mem-leg.on { border-color: var(--cyan); color: var(--text); background: rgba(34,211,238,.1); }
.mem-leg.dim { opacity: .4; }
.mem-leg i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mem-back { position: absolute; left: 8px; top: 8px; z-index: 2; background: rgba(34,211,238,.12); border: 1px solid var(--cyan); color: var(--cyan); border-radius: 8px; padding: 6px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .5px; cursor: pointer; }
.mem-back[hidden] { display: none; }
.mem-labels { position: absolute; right: 8px; top: 8px; z-index: 2; background: rgba(10,18,28,.6); border: 1px solid var(--border); color: var(--dim); border-radius: 8px; padding: 5px 11px; font-family: var(--mono); font-size: 10px; letter-spacing: .5px; cursor: pointer; }
.mem-labels:hover { border-color: var(--cyan); color: var(--text); }
.mem-labels.off { color: var(--dim2); }
.mem-hint { text-align: center; font-size: 11px; margin-top: 8px; }

/* stacked panel cards */
.stack { display: flex; flex-direction: column; gap: 18px; }

@media (max-width: 1020px) {
  .dash { grid-template-columns: 1fr; }
  .dash-left { flex-direction: row; flex-wrap: wrap; }
  .dash-left .hud-panel { flex: 1 1 180px; }
  .dash-right { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .dash-right .ab-card { flex: 1 1 180px; }
  .dash-right .ab-h, .dash-right .ab-note { width: 100%; }
  .intro-btn { flex: 1 1 100%; }
}

/* ---- orb stage + reticle ---- */
.orb-stage { position: relative; aspect-ratio: 1/1; max-width: 440px; width: 100%; margin: 0 auto; }
#orb { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; }
.orb-reticle { position: absolute; top: 50%; left: 50%; width: 116%; height: 116%; transform: translate(-50%, -50%); z-index: 1; transition: transform .18s ease-out; pointer-events: none; }
.reticle-svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 0 3px var(--accent-soft)); }
.reticle-rings, .reticle-tris { transform-box: fill-box; transform-origin: center; }
.reticle-rings { animation: ret-spin 72s linear infinite; }
.reticle-tris { animation: ret-spin-rev 48s linear infinite; }
@keyframes ret-spin { to { transform: rotate(360deg); } }
@keyframes ret-spin-rev { to { transform: rotate(-360deg); } }
.orb-stop { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 3; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.5); color: #fca5a5; border-radius: 8px; padding: 6px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; cursor: pointer; }

/* ---- faq row ---- */
.faq-row { margin-top: 36px; text-align: center; }
.faq-hint { color: var(--dim); font-size: 13.5px; margin-bottom: 14px; }
.q-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.q-chip { background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--text); border-radius: 999px; padding: 9px 15px; font-size: 13.5px; cursor: pointer; font-family: var(--font); transition: border-color .15s, background .15s, color .15s; }
.q-chip:hover { border-color: var(--cyan); color: var(--cyan); }
.q-chip.active { background: var(--cyan); color: #06121a; border-color: var(--cyan); }
.answer { max-width: 760px; margin: 18px auto 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: rgba(15,22,32,.6); color: #dce6ef; font-size: 1.05rem; min-height: 64px; opacity: .55; transition: opacity .3s, transform .3s; }
.answer.show { opacity: 1; }

/* ---- sections ---- */
section { padding: 78px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 10px 0 12px; }
.sec-head p { color: var(--dim); font-size: 1.05rem; }
.narrow { max-width: 720px; margin: 0 auto; text-align: center; }
.big { font-size: 1.08rem; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: rgba(15,22,32,.55); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: transform .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.4); }
.card .ico { display: block; width: 34px; height: 34px; margin-bottom: 14px; background: var(--cyan); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.card h3 { font-size: 1.1rem; margin: 0 0 8px; font-weight: 700; }
.card p { color: var(--dim); margin: 0; font-size: .96rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 8px 0 14px; }
.split p { color: var(--dim); }
.bullets { list-style: none; margin: 18px 0 0; }
.bullets li { padding: 8px 0 8px 28px; position: relative; color: #cdd7e1; }
.bullets li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); }
.panel-card { background: rgba(15,22,32,.6); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.panel-card h3 { font-size: 1.3rem; margin: 6px 0 12px; }

/* band */
.band { background: linear-gradient(180deg, rgba(34,211,238,.05), transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* pricing */
.price-card { max-width: 460px; margin: 0 auto; text-align: center; background: rgba(15,22,32,.7); border: 1px solid rgba(34,211,238,.35); border-radius: 20px; padding: 36px 30px; box-shadow: 0 0 60px rgba(34,211,238,.08); }
.price-card .big { font-size: 3rem; font-weight: 800; }
.price-card .big small { font-size: 1rem; color: var(--dim); font-weight: 400; }
.price-card ul { list-style: none; margin: 20px 0 26px; text-align: left; }
.price-card li { padding: 7px 0 7px 26px; position: relative; color: #cdd7e1; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); }
.price-card .small { font-size: .82rem; margin-top: 14px; }

/* tiers (three packages) */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; display: flex; flex-direction: column; }
.tier.featured { border-color: rgba(34,211,238,0.5); box-shadow: 0 0 50px rgba(34,211,238,0.1); }
.tier-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(120deg, var(--cyan), #38bdf8); color: #06121a; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier h3 { font-size: 1.25rem; margin: 0 0 4px; }
.tier-price { font-family: "Space Grotesk", sans-serif; font-size: 2.1rem; font-weight: 700; margin: 2px 0 6px; }
.tier-price small { font-size: 0.85rem; color: var(--dim); font-weight: 400; }
.tier-for { color: var(--dim); font-size: 0.92rem; min-height: 2.6em; margin: 0 0 12px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.tier li { padding: 6px 0 6px 24px; position: relative; color: #cdd7e1; font-size: 0.94rem; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); }
.tier li.muted { color: var(--dim2); } .tier li.muted::before { content: "—"; color: var(--dim2); }
.tier .btn.block { width: 100%; justify-content: center; }
.tier-lic { color: var(--dim2); font-size: 0.76rem; line-height: 1.5; margin: 12px 0 0; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* links */
.links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.links h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; font-family: var(--mono); }
.links a { display: block; color: var(--dim); padding: 5px 0; font-size: .92rem; }
.links a:hover { color: var(--text); text-decoration: none; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--dim); font-size: .88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- scroll reveal ---- */
.rv { transition: opacity .6s ease, transform .6s ease, filter .6s ease; }
html.js-reveal .rv:not(.rv-done) { opacity: 0; transform: translateY(18px); filter: blur(6px); }

@media (max-width: 880px) {
  .hero-grid, .split, .cards, .cards.three, .links { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; } .orb-stage { max-width: 320px; }
  .links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }
