/* ==========================================================================
   Landing page — AI Playbook for Healthcare
   Shares the app's palette; standalone so it can be served alone.
   ========================================================================== */
:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #070b18;
  --bg-2: #0b1020;
  --surface: rgba(18, 26, 51, 0.72);
  --surface-solid: #121a33;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf8;
  --text-2: #b9c2d9;
  --muted: #8791ab;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --accent-3: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --ink: #06202a;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
b { font-weight: 700; }
kbd { font-family: var(--mono); font-size: .72rem; padding: .12rem .4rem; border-radius: 5px; border: 1px solid var(--border-strong); color: var(--muted); background: rgba(255,255,255,.04); }
code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.06); padding: .08rem .35rem; border-radius: 5px; }
.grad { color: inherit; }

/* ---------- ambient ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 100; transition: width .1s linear; }
/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 1.5rem; padding: .9rem clamp(1rem, 4vw, 3rem); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, padding .3s; }
.nav.scrolled { background: rgba(7, 11, 24, .72); backdrop-filter: blur(14px); border-color: var(--border); padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--accent); font-weight: 750; letter-spacing: -.01em; }
.brand span { color: var(--text); }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; font-size: .9rem; color: var(--text-2); }
.nav-links .nav-media { color: var(--text); }
@media (max-width: 1100px) and (min-width: 721px) { .nav-links { gap: .95rem; font-size: .84rem; } }
.nav-links a { position: relative; padding: .2rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--accent); transition: right .25s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

/* ---------- hamburger + mobile menu ---------- */
.nav-burger { display: none; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; cursor: pointer; padding: 0; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 1px; background: var(--text); transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease); }
.nav-burger span:nth-child(1) { top: 13px; } .nav-burger span:nth-child(2) { top: 19px; } .nav-burger span:nth-child(3) { top: 25px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
.mobile-menu { display: none; }
body.menu-open { overflow: hidden; }
@media (max-width: 720px) {
  .nav-burger { display: block; }
  .nav .nav-cta { display: none; }
  .mobile-menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 45; padding: 5.2rem 1.2rem 1.5rem; background: rgba(7, 11, 24, .96); backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: .2rem; animation: menuIn .25s var(--ease); overflow-y: auto; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu > a:not(.btn) { display: flex; align-items: center; gap: 1rem; padding: .95rem .6rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; color: var(--text); border-bottom: 1px solid var(--border); }
  .mobile-menu .num { font-family: var(--mono); font-size: .75rem; color: var(--accent); font-weight: 600; }
  .menu-listen { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.04); color: var(--text); font: inherit; font-weight: 650; cursor: pointer; text-align: left; }
  .menu-listen svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-menu .btn.primary { margin-top: .6rem; justify-content: center; padding: .95rem 1rem; font-size: 1rem; }
  .nav.menu-open { background: transparent; border-color: transparent; backdrop-filter: none; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- nav headset (narration) ---------- */
.nav-listen { position: relative; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; border: 0; background: transparent; color: var(--text-2); cursor: pointer; display: grid; place-items: center; transition: color .2s, transform .2s var(--ease); }
.nav-listen:hover { color: var(--accent); transform: translateY(-1px); }
.nav-listen > * { grid-area: 1 / 1; }
.nav-listen .ring { width: 40px; height: 40px; transform: rotate(-90deg); }
.nav-listen .ring .track { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.nav-listen .ring .prog { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 116.24; stroke-dashoffset: 116.24; transition: stroke-dashoffset .25s linear; }
.nav-listen .headset { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s; }
.nav-listen .eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.nav-listen .eq i { width: 3px; height: 40%; background: var(--accent); border-radius: 1px; animation: bars .9s ease-in-out infinite; }
.nav-listen .eq i:nth-child(2) { animation-delay: .15s; } .nav-listen .eq i:nth-child(3) { animation-delay: .3s; }
.nav-listen.playing { color: var(--accent); }
.nav-listen.playing .headset { opacity: 0; }
.nav-listen.playing .eq { display: inline-flex; }
.nav-listen.playing:hover .headset { opacity: 1; }
.nav-listen.playing:hover .eq { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 12px; font-weight: 650; font-size: .92rem; border: 1px solid var(--border-strong); background: rgba(255,255,255,.04); color: var(--text); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--ink); border-color: transparent; }
.btn.lg { padding: .85rem 1.4rem; font-size: 1rem; border-radius: 14px; }
.btn.ghost { background: transparent; }
.btn .arrow { transition: transform .2s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.magnetic { will-change: transform; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 6rem clamp(1rem, 4vw, 3rem) 5rem; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; filter: saturate(.95) brightness(1.08); transform-origin: 50% 40%; animation: kenburns 40s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 50% 55%, rgba(7,11,24,.78) 0%, rgba(7,11,24,.45) 55%, transparent 100%),
    linear-gradient(180deg, rgba(7,11,24,.35) 0%, transparent 22%, transparent 65%, var(--bg) 100%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; mix-blend-mode: screen; }
.hero-inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.hero-inner::before { content: ""; position: absolute; inset: -6% -14%; z-index: -1; background: radial-gradient(ellipse at center, rgba(7,11,24,.8) 0%, rgba(7,11,24,.5) 45%, transparent 75%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 1.2rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
.hero .lead { margin: 1.4rem auto 0; max-width: 64ch; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-2); }
.cta-row { display: flex; gap: .8rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 2rem; }
.hint { font-size: .8rem; color: var(--muted); display: inline-flex; gap: .4rem; align-items: center; }
.stats { display: flex; justify-content: center; gap: clamp(1.2rem, 3vw, 2.6rem); flex-wrap: wrap; margin-top: 3.2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.stat .n { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.stat .l { font-size: .78rem; color: var(--muted); text-align: center; }
.stat .l small { display: block; font-size: .68rem; opacity: .8; }
.hero-scroll { position: absolute; bottom: 1.6rem; left: 50%; width: 22px; height: 36px; border: 1.5px solid var(--border-strong); border-radius: 12px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 720px) {
  .hero-photo { top: -26%; }
  .hero-photo img { object-position: 50% 35%; }
  .hero-shade { background:
    linear-gradient(180deg, rgba(7,11,24,.15) 0%, rgba(7,11,24,.45) 35%, rgba(7,11,24,.8) 65%, var(--bg) 100%); }
  .hero-inner::before { inset: -4% -10%; background: radial-gradient(ellipse at center, rgba(7,11,24,.6) 0%, rgba(7,11,24,.35) 50%, transparent 78%); }
}

/* ---------- equalizer animation (nav headset) ---------- */
@keyframes bars { 0%, 100% { height: 30%; } 50% { height: 100%; } }

/* ---------- narration dock ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 clamp(.6rem, 2vw, 1.5rem) clamp(.6rem, 2vw, 1.2rem); pointer-events: none; }
.dock[hidden] { display: none; }
.dock-inner { pointer-events: auto; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: .9rem 1rem; border-radius: 18px; border: 1px solid var(--border-strong); background: rgba(11, 16, 32, .94); backdrop-filter: blur(16px); animation: dockIn .35s var(--ease); }
@keyframes dockIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.dock-play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); cursor: pointer; display: grid; place-items: center; transition: transform .15s var(--ease); }
.dock-play:hover { transform: scale(1.05); }
.dock-play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent var(--ink); margin-left: 4px; }
.dock.playing .dock-play::before { width: 5px; height: 16px; border: 0; border-left: 5px solid var(--ink); border-right: 5px solid var(--ink); margin-left: 0; }
.dock.ended .dock-play::before { content: "↻"; border: 0; width: auto; height: auto; margin: 0; color: var(--ink); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.dock-body { min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.dock-top { display: flex; align-items: baseline; gap: 1rem; font-size: .78rem; color: var(--muted); }
.dock-who { color: var(--text); font-weight: 700; }
.dock-who em { font-style: normal; color: var(--muted); font-weight: 500; }
.dock-section { color: var(--accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .68rem; }
.dock-time { margin-left: auto; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dock-wave { width: 100%; height: 44px; display: block; }
.dock-caption { font-size: 1.02rem; line-height: 1.45; min-height: 2.9em; color: var(--muted); }
.dock-caption span { transition: color .15s; }
.dock-caption span.said { color: var(--text); }
.dock-caption span.now { color: var(--accent); }
.dock-seek { position: relative; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); cursor: pointer; }
.dock-seek i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--accent); }
.dock-seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.dock-actions { display: flex; align-items: center; gap: .8rem; }
.dock-toggle { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.dock-toggle input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.dock-cta { padding: .55rem .9rem; font-size: .88rem; }
.dock-cta[hidden] { display: none; }
.dock-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.dock-close:hover { color: var(--text); border-color: var(--text); }
body.dock-open { padding-bottom: 170px; }
@media (max-width: 720px) {
  .dock-inner { grid-template-columns: auto 1fr; padding: .8rem; }
  .dock-actions { grid-column: 1 / -1; justify-content: space-between; }
  .dock-section { display: none; }
  .dock-caption { font-size: .92rem; }
  body.dock-open { padding-bottom: 230px; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.015); padding: .9rem 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; color: var(--text-2); font-size: .95rem; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "•"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 2rem); }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: .5rem 0 .9rem; }
.section-head p { color: var(--text-2); font-size: 1.05rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- domain explorer ---------- */
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: 1rem; }
.explorer-list { display: flex; flex-direction: column; gap: .3rem; }
.explorer-list button { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--text-2); font: inherit; font-weight: 600; text-align: left; cursor: pointer; transition: all .2s var(--ease); position: relative; overflow: hidden; }
.explorer-list button .sw { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: 0 0 10px; }
.explorer-list button .num { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-left: auto; }
.explorer-list button:hover { background: rgba(255,255,255,.04); color: var(--text); }
.explorer-list button.active { background: color-mix(in srgb, var(--c) 12%, transparent); border-color: color-mix(in srgb, var(--c) 45%, transparent); color: var(--text); }
.explorer-list button.active::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--c); transform-origin: left; animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.explorer-panel { position: relative; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); backdrop-filter: blur(10px); padding: 2rem; min-height: 380px; overflow: hidden; }
.panel-in { position: relative; animation: panel .45s var(--ease); }
@keyframes panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.panel-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.panel-ico svg { width: 22px; height: 22px; }
.panel-top h3 { font-size: 1.5rem; font-weight: 800; }
.panel-top .sub { color: var(--muted); font-size: .9rem; }
.panel-summary { color: var(--text-2); font-size: 1rem; max-width: 62ch; }
.panel-meta { display: flex; gap: 1.6rem; flex-wrap: wrap; margin: 1.4rem 0; }
.panel-meta div { display: flex; flex-direction: column; }
.panel-meta b { font-size: 1.4rem; letter-spacing: -.02em; }
.panel-meta span { font-size: .78rem; color: var(--muted); }
.panel-cases { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.case { font-size: .78rem; padding: .28rem .65rem; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-2); display: inline-flex; gap: .4rem; align-items: center; }
.case i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.case.proven i { background: var(--accent-3); } .case.emerging i { background: var(--warn); } .case.frontier i { background: var(--accent-2); }
.panel-cta { display: inline-flex; gap: .5rem; align-items: center; color: var(--c); font-weight: 700; }
.panel-cta .arrow { transition: transform .2s; display: inline-block; }
.panel-cta:hover .arrow { transform: translateX(4px); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature { display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(10px); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.feature h3 { font-size: 1.1rem; font-weight: 750; margin-top: .4rem; }
.feature p { color: var(--text-2); font-size: .9rem; flex: 1; }
.feature-link { color: var(--c); font-weight: 700; font-size: .9rem; }
.feature-viz { position: relative; height: 170px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; padding: .8rem; }
#mini-radar { width: 150px; height: 150px; }
#mini-radar .g { fill: none; stroke: var(--border-strong); }
#mini-radar .a { fill: color-mix(in srgb, var(--c) 30%, transparent); stroke: var(--c); stroke-width: 2; transition: d .8s var(--ease); }
#mini-radar .d { fill: var(--c); }
.roi-mini { display: flex; flex-direction: column; gap: .35rem; place-items: stretch; font-size: .82rem; }
.roi-row { display: flex; justify-content: space-between; color: var(--muted); }
.roi-row b { color: var(--text); font-family: var(--mono); }
.roi-mini input[type=range] { width: 100%; accent-color: var(--c); margin: .1rem 0 .3rem; }
.roi-out { display: flex; justify-content: space-between; align-items: baseline; }
.roi-label { color: var(--muted); }
.roi-val { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.roi-note { font-size: .68rem; color: var(--muted); margin-top: .2rem; }
.gantt-mini { display: flex; flex-direction: column; gap: .45rem; place-items: stretch; justify-content: center; }
.g-row { display: grid; grid-template-columns: 1fr; height: 14px; position: relative; background: rgba(255,255,255,.04); border-radius: 4px; background-image: linear-gradient(90deg, transparent calc(100% - 1px), var(--border-strong) calc(100% - 1px)); background-size: 25% 100%; }
.g-row i { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; background: var(--gc); transform-origin: left; animation: grow 1.2s var(--ease) both; animation-delay: var(--d); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.g-q { display: flex; justify-content: space-between; font-size: .66rem; color: var(--muted); font-family: var(--mono); padding: 0 .1rem; }
.tier-mini { display: flex; flex-direction: column; gap: .6rem; place-items: stretch; justify-content: center; }
.tier-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--tc, #fb923c); transition: color .4s; }
.tier-track { display: flex; gap: 3px; height: 12px; }
.tier-track i { flex: 1; border-radius: 3px; background: rgba(255,255,255,.08); transition: background .3s; }
.tier-track i.on { background: var(--tc, #fb923c); }
.tier-ctl { font-size: .74rem; color: var(--muted); }
.chips-mini { display: flex; flex-wrap: wrap; gap: .35rem; align-content: center; justify-content: center; }
.chips-mini span { font-size: .72rem; padding: .22rem .55rem; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-2); background: rgba(255,255,255,.03); opacity: 0; animation: chip .5s var(--ease) both; animation-delay: var(--d); }
@keyframes chip { from { opacity: 0; transform: translateY(6px) scale(.95); } to { opacity: 1; transform: none; } }
.palette-mini { display: flex; flex-direction: column; gap: .5rem; place-items: stretch; justify-content: flex-start; }
.palette-bar { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--border-strong); font-size: .86rem; }
.palette-bar .pi { color: var(--muted); }
.palette-bar kbd { margin-left: auto; }
.caret { width: 1.5px; height: 14px; background: var(--c); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.palette-rows { display: flex; flex-direction: column; gap: .25rem; }
.palette-rows div { display: flex; gap: .5rem; align-items: center; font-size: .78rem; padding: .3rem .5rem; border-radius: 8px; color: var(--text-2); animation: panel .35s var(--ease) both; }
.palette-rows div i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--rc); }
.palette-rows div small { color: var(--muted); margin-left: auto; }
.palette-rows div.hl { background: rgba(255,255,255,.06); color: var(--text); }

/* ---------- principles ---------- */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.principles li { background: var(--bg-2); padding: 1.6rem 1.5rem; position: relative; transition: background .3s; }
.principles li:hover { background: #0f1630; }
.principles .num { font-family: var(--mono); color: var(--accent); font-size: .8rem; letter-spacing: .1em; }
.principles h3 { font-size: 1.1rem; font-weight: 750; margin: .6rem 0 .5rem; }
.principles p { color: var(--text-2); font-size: .9rem; }

/* ---------- honesty ---------- */
.honesty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hcard { padding: 1.6rem; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.hcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.hcard.ok::before { background: var(--accent-3); } .hcard.warn::before { background: var(--warn); }
.hcard h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.hcard.ok h3 { color: var(--accent-3); } .hcard.warn h3 { color: var(--warn); }
.hcard ul { margin: 0; padding-left: 1.1rem; color: var(--text-2); font-size: .92rem; }
.hcard li { margin: .45rem 0; }

/* ---------- faq ---------- */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: .5rem; }
details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 0 1.2rem; transition: border-color .2s; }
details[open] { border-color: var(--border-strong); }
summary { cursor: pointer; padding: 1rem 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); transition: transform .25s var(--ease); line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 1.1rem; color: var(--text-2); font-size: .95rem; }
details p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- final ---------- */
.final { padding: 2rem clamp(1rem, 4vw, 2rem) 6rem; }
.final-inner { max-width: var(--max); margin: 0 auto; text-align: center; padding: clamp(3rem, 7vw, 5rem) 2rem; border-radius: 28px; border: 1px solid var(--border-strong); position: relative; overflow: hidden;
  background: var(--surface-solid); }
.final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.final p { color: var(--text-2); margin: 1rem auto 0; max-width: 56ch; font-size: 1.05rem; }

/* ---------- footer ---------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2rem) 3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--border); }
.foot-links { display: flex; gap: 1.2rem; }
.foot-credit { font-size: .72rem; opacity: .8; }
.foot-credit a { text-decoration: underline; text-underline-offset: 2px; }
.foot-links a:hover { color: var(--text); }

/* ---------- media teaser ---------- */
.media-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.mtile { display: flex; flex-direction: column; gap: .45rem; padding: .7rem; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: transform .25s var(--ease), border-color .25s; }
.mtile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.mtile-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0b1020; border: 1px solid var(--border); }
.mtile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.mtile:hover .mtile-img img { transform: scale(1.05); }
.mtile-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--c); color: var(--ink); display: grid; place-items: center; font-size: .9rem; padding-left: 3px; }
.mtile-pod { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 1rem; }
.mtile-pod i { width: 5px; height: 30%; border-radius: 3px; background: var(--c); opacity: .85; animation: bars 1.1s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .09s); }
.mtile-pod i:nth-child(2) { --k: 1; } .mtile-pod i:nth-child(3) { --k: 2; } .mtile-pod i:nth-child(4) { --k: 3; } .mtile-pod i:nth-child(5) { --k: 4; } .mtile-pod i:nth-child(6) { --k: 5; } .mtile-pod i:nth-child(7) { --k: 6; } .mtile-pod i:nth-child(8) { --k: 7; } .mtile-pod i:nth-child(9) { --k: 8; } .mtile-pod i:nth-child(10) { --k: 9; } .mtile-pod i:nth-child(11) { --k: 10; } .mtile-pod i:nth-child(12) { --k: 11; }
.mtile-kind { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c); margin-top: .3rem; }
.mtile b { font-size: .95rem; line-height: 1.3; font-weight: 700; }
.mobile-menu a em { font-style: normal; font-size: .78rem; font-weight: 500; color: var(--muted); margin-left: auto; }
@media (max-width: 1000px) { .media-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .media-strip { grid-template-columns: 1fr 1fr; gap: .6rem; } .mtile b { font-size: .84rem; } .mtile-pod i { width: 4px; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explorer { grid-template-columns: 1fr; }
  .explorer-list { flex-direction: row; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
  .explorer-list button { flex: 0 0 auto; }
  .explorer-list button .num { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { gap: .8rem; }
  .brand em { display: none; }
  .brand span { white-space: nowrap; }
  .nav-listen { margin-left: auto; }
  .nav .btn { padding: .55rem .85rem; font-size: .85rem; }
  .eyebrow { letter-spacing: .1em; font-size: .68rem; text-align: center; }
  .panel-top h3 { font-size: 1.2rem; }
  .features, .principles, .honesty-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; padding-top: 4rem; }
  .hero-scroll { display: none; }
  .stats { gap: 1.2rem; }
  .explorer-panel { padding: 1.3rem; }
  .btn.lg { width: 100%; justify-content: center; }
  .hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}
