:root {
  --bg: #07110f;
  --bg-2: #0a1714;
  --ink: #ecf7f1;
  --muted: #93aaa1;
  --line: rgba(189, 225, 210, .15);
  --line-strong: rgba(189, 225, 210, .28);
  --mint: #8ff5c4;
  --green: #4ad99a;
  --blue: #6bb8ff;
  --amber: #f0c27b;
  --max: 1440px;
  --pad: clamp(22px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% -10%, rgba(55, 184, 132, .12), transparent 34%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans TC", "PingFang TC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: #fff; color: #07110f; border-radius: 4px; }
.skip:focus { top: 16px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, height .3s;
}
.site-header.is-scrolled { height: 68px; background: rgba(7, 17, 15, .9); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.brand-mark { position: relative; width: 23px; height: 23px; display: inline-block; transform: rotate(45deg); }
.brand-mark i { position: absolute; inset: 1px 10px; background: var(--mint); border-radius: 999px; }
.brand-mark i:last-child { transform: rotate(90deg); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); font-size: 12px; color: #a9bbb4; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { transition: color .2s; }
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta { color: var(--bg); background: var(--mint); padding: 11px 17px; border-radius: 999px; font-weight: 700; }
.menu-button { display: none; color: var(--ink); background: transparent; border: 0; letter-spacing: .12em; font-size: 11px; }

.hero {
  position: relative;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(142px, 17vh, 210px) var(--pad) 96px;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
  overflow: hidden;
}
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .32; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 78px 78px; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 22px; color: var(--mint); font-size: 11px; font-weight: 750; letter-spacing: .21em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(48px, 6.2vw, 94px); line-height: .98; letter-spacing: -.065em; font-weight: 420; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 span { color: #81948d; }
.hero h1 strong { margin-top: .14em; color: var(--ink); font-weight: 620; }
.hero-lead { max-width: 660px; margin: 34px 0 0; color: #aec0b9; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; }
.hero-actions, .neural-actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 650; letter-spacing: .03em; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--mint); color: #06100d; border-color: var(--mint); }
.button-ghost { background: rgba(255,255,255,.025); color: var(--ink); }
.button-light { background: #f2fff8; color: #07110f; border-color: #f2fff8; }
.hero-note { margin: 25px 0 0; display: flex; align-items: center; gap: 10px; color: #71877f; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }

.hero-visual { min-height: 570px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(88, 242, 177, .1), rgba(8, 20, 17, .04) 48%, transparent 70%); }
.visual-orbit { position: absolute; border: 1px solid var(--line-strong); border-radius: 50%; }
.orbit-a { inset: 10%; animation: spin 34s linear infinite; }
.orbit-b { inset: 23%; border-style: dashed; animation: spin 22s linear infinite reverse; }
.orbit-a::before, .orbit-b::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 22px var(--green); left: 50%; top: -5px; }
.visual-core { width: 190px; height: 190px; border-radius: 50%; background: rgba(10, 28, 23, .86); border: 1px solid rgba(143,245,196,.42); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 80px rgba(74,217,154,.12), inset 0 0 40px rgba(74,217,154,.08); text-align: center; }
.visual-core .core-label { color: var(--mint); font-size: 9px; letter-spacing: .2em; }
.visual-core b { margin: 6px 0 4px; font-size: 42px; font-weight: 520; letter-spacing: -.05em; }
.visual-core small { color: #778e85; font-size: 8px; letter-spacing: .14em; }
.signal-card { position: absolute; min-width: 150px; padding: 13px 15px; border: 1px solid var(--line); background: rgba(6, 15, 13, .78); backdrop-filter: blur(14px); border-radius: 8px; display: grid; gap: 6px; box-shadow: 0 16px 48px rgba(0,0,0,.2); }
.signal-card span { color: var(--mint); font-size: 9px; letter-spacing: .16em; }
.signal-card b { font-size: 9px; letter-spacing: .08em; color: #9eb3aa; }
.signal-card i { height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M0 9 14 8 22 10 33 3 43 11 58 7 66 8 78 2 89 9 101 6 120 8' fill='none' stroke='%238ff5c4' stroke-width='1.4'/%3E%3C/svg%3E") center/100% 100%; }
.signal-hrv { left: 0; top: 16%; }
.signal-sleep { right: -2%; top: 31%; }
.signal-outcome { left: 4%; bottom: 14%; }
.visual-caption { position: absolute; bottom: 32px; display: flex; align-items: center; gap: 10px; color: #647b72; font-size: 8px; letter-spacing: .17em; }
.visual-caption i { width: 25px; height: 1px; background: var(--line-strong); }

.contrast-section, .system-section, .papers-section { max-width: var(--max); margin: 0 auto; padding: clamp(110px, 12vw, 180px) var(--pad); }
.section-intro { max-width: 930px; }
.section-intro h2, .neural-copy h2, .vision-copy h2, .final-cta h2 { margin: 0; font-size: clamp(39px, 5vw, 72px); line-height: 1.08; letter-spacing: -.055em; font-weight: 410; }
.section-intro h2 strong, .neural-copy h2 strong, .vision-copy h2 strong { color: var(--mint); font-weight: 560; }
.section-intro > p:last-child { max-width: 780px; margin: 28px 0 0; color: #93aaa1; font-size: 17px; line-height: 1.75; }
.contrast-grid { margin-top: 72px; display: grid; grid-template-columns: 1fr 130px 1fr; align-items: stretch; }
.contrast-card { padding: clamp(30px, 4vw, 58px); border: 1px solid var(--line); min-height: 340px; background: linear-gradient(145deg, rgba(255,255,255,.035), transparent); }
.contrast-card h3 { margin: 40px 0 16px; font-size: clamp(24px, 2.5vw, 36px); font-weight: 480; letter-spacing: -.035em; }
.contrast-card p { color: #9db1a9; font-size: 16px; line-height: 1.75; max-width: 480px; }
.contrast-card ul { margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.contrast-card li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #80968d; font-size: 10px; letter-spacing: .08em; }
.card-index { font: 700 12px/1 ui-monospace, monospace; color: #71877f; letter-spacing: .18em; }
.oi-card { border-color: rgba(143,245,196,.35); background: linear-gradient(145deg, rgba(93, 233, 172, .08), transparent 70%); }
.oi-card .card-index { color: var(--mint); }
.contrast-bridge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #748980; text-align: center; }
.contrast-bridge span { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--mint); }
.contrast-bridge p { margin: 0; font-size: 9px; line-height: 1.6; letter-spacing: .14em; }
.personal-model-band { margin-top: 22px; padding: 30px 34px; border: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 32px; align-items: center; background: rgba(255,255,255,.018); }
.personal-model-band span { color: var(--mint); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .17em; }
.personal-model-band h3 { margin: 9px 0 0; font-size: 18px; }
.personal-model-band p { margin: 0; color: #8ca198; font-size: 13px; line-height: 1.7; }
.personal-model-band a { white-space: nowrap; color: var(--mint); font-size: 12px; }

.system-section { max-width: none; background: #0a1512; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.system-section > * { max-width: calc(var(--max) - var(--pad) * 2); margin-left: auto; margin-right: auto; }
.system-flow { margin-top: 76px; display: grid; grid-template-columns: repeat(11, auto); align-items: stretch; overflow-x: auto; padding-bottom: 14px; scrollbar-width: thin; }
.flow-node { width: 184px; min-height: 220px; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .5s, background .5s, transform .5s; }
.flow-node.is-active { border-color: rgba(143,245,196,.65); background: rgba(75, 208, 151, .08); transform: translateY(-5px); }
.flow-number { display: block; color: #587067; font: 700 11px/1 ui-monospace, monospace; }
.flow-type { display: block; margin-top: 46px; color: var(--mint); font-size: 8px; letter-spacing: .16em; }
.flow-node h3 { margin: 10px 0 12px; font-size: 18px; letter-spacing: -.025em; }
.flow-node p { margin: 0; color: #81968e; font-size: 12px; line-height: 1.6; }
.flow-arrow { width: 33px; display: grid; place-items: center; color: #40554d; }
.agents-panel { margin-top: 90px; padding: clamp(32px, 5vw, 72px); border: 1px solid var(--line); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; background: linear-gradient(125deg, rgba(143,245,196,.055), transparent 48%); }
.agents-copy h3 { margin: 0 0 24px; font-size: clamp(28px, 3.4vw, 49px); line-height: 1.12; letter-spacing: -.045em; font-weight: 440; }
.agents-copy > p:last-child { color: #91a69e; line-height: 1.75; }
.agent-orchestra { position: relative; min-height: 440px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(143,245,196,.09), transparent 58%); }
.agent-orchestra::before, .agent-orchestra::after { content: ""; position: absolute; border: 1px dashed var(--line-strong); border-radius: 50%; inset: 18%; }
.agent-orchestra::after { inset: 36%; }
.agent-center { width: 108px; height: 108px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--mint); color: #07110f; box-shadow: 0 0 50px rgba(143,245,196,.16); }
.agent-center b { font-size: 19px; }.agent-center span { font-size: 9px; letter-spacing: .18em; }
.agent { position: absolute; color: #8fa49c; font: 650 8px/1.5 ui-monospace, monospace; letter-spacing: .1em; text-align: center; }
.agent::before { content: ""; display: block; width: 6px; height: 6px; margin: 0 auto 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--green); }
.agent-1 { top: 7%; left: 42%; }.agent-2 { top: 22%; right: 5%; }.agent-3 { bottom: 20%; right: 4%; }.agent-4 { bottom: 6%; left: 42%; }.agent-5 { bottom: 21%; left: 4%; }.agent-6 { top: 22%; left: 5%; }

.neural-section { min-height: 850px; display: grid; grid-template-columns: 1.16fr .84fr; background: #050b0a; border-bottom: 1px solid var(--line); }
.neural-stage { position: relative; min-height: 820px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 55% 48%, rgba(40, 157, 118, .13), transparent 48%); border-right: 1px solid var(--line); }
.neural-stage::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; }
.neural-stage img { position: relative; z-index: 1; width: 92%; height: 78%; object-fit: contain; filter: drop-shadow(0 0 16px rgba(94, 228, 169, .18)); }
.neural-scan { position: absolute; z-index: 2; inset: 10% 5%; background: linear-gradient(to bottom, transparent 48%, rgba(143,245,196,.3) 50%, transparent 52%); background-size: 100% 260px; animation: scan 7s linear infinite; opacity: .35; pointer-events: none; }
.neural-truth { position: absolute; z-index: 3; top: 34px; left: 36px; padding: 12px 14px; border: 1px solid rgba(143,245,196,.34); background: rgba(5,11,10,.76); display: flex; align-items: center; gap: 13px; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .12em; }
.neural-truth span { color: #799087; }.neural-truth b { color: var(--mint); }
.neural-truth-b { left: auto; right: 36px; border-color: rgba(107,184,255,.35); }.neural-truth-b b { color: var(--blue); }
.neural-id { position: absolute; z-index: 3; left: 36px; bottom: 30px; color: #5f756d; font: 650 9px/1 ui-monospace, monospace; letter-spacing: .13em; }
.neural-copy { padding: clamp(64px, 7vw, 110px); align-self: center; }
.neural-copy > p:not(.eyebrow):not(.science-note) { color: #9aafa6; font-size: 16px; line-height: 1.8; }
.truth-labels { margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.truth-labels > span { padding: 12px 13px; border: 1px solid var(--line); color: var(--mint); font: 700 9px/1.3 ui-monospace, monospace; letter-spacing: .1em; }
.truth-labels small { display: block; margin-top: 5px; color: #6f857c; font: 500 10px/1.2 sans-serif; letter-spacing: 0; }
.science-note { padding: 17px 0 17px 18px; border-left: 2px solid var(--line-strong); color: #71867e; font-size: 12px; line-height: 1.65; }

.paper-line { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); }
.paper-card { position: relative; min-height: 360px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.026), transparent); }
.paper-card + .paper-card { border-left: 0; }
.paper-no { display: block; color: var(--mint); font: 700 33px/1 ui-monospace, monospace; letter-spacing: -.06em; }
.paper-status { position: absolute; top: 52px; right: 42px; color: #60766d; font: 700 8px/1 ui-monospace, monospace; letter-spacing: .14em; }
.paper-card h3 { margin: 75px 0 17px; font-size: 25px; font-weight: 500; letter-spacing: -.035em; }
.paper-card p { color: #8da299; line-height: 1.7; }
.paper-card > b { position: absolute; left: clamp(28px, 4vw, 52px); bottom: 38px; color: #536961; font-size: 9px; letter-spacing: .13em; }
.evidence-ledger { margin-top: 70px; padding: clamp(28px, 4vw, 54px); border: 1px solid rgba(143,245,196,.28); background: rgba(143,245,196,.035); }
.evidence-ledger h3 { margin: 0; font-size: clamp(25px, 3vw, 42px); font-weight: 440; letter-spacing: -.04em; }
.evidence-ledger ol { margin: 45px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); list-style: none; counter-reset: none; }
.evidence-ledger li { position: relative; padding: 13px 12px; border-top: 1px solid var(--line-strong); color: #849991; font-size: 10px; line-height: 1.45; }
.evidence-ledger li::after { content: ""; position: absolute; width: 7px; height: 7px; left: 10px; top: -4px; border-radius: 50%; background: var(--mint); }
.evidence-ledger li span { display: block; margin-bottom: 12px; color: #557069; font: 700 8px/1 ui-monospace, monospace; }
.status-board { margin-top: 20px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; padding: 30px 34px; border: 1px solid var(--line); align-items: center; }
.status-board span { display: block; margin-bottom: 10px; color: var(--amber); font: 700 8px/1 ui-monospace, monospace; letter-spacing: .13em; }
.status-board b { font: 650 11px/1.6 ui-monospace, monospace; color: #a4b7b0; letter-spacing: .05em; }
.status-board p { margin: 0; color: #788e85; font-size: 12px; line-height: 1.65; }

.vision-section { min-height: 720px; padding: clamp(110px, 12vw, 180px) var(--pad); display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(55,181,134,.15), transparent 38%), #07100e; text-align: center; }
.vision-copy { max-width: 1050px; }
.vision-copy > p:not(.eyebrow) { max-width: 760px; margin: 30px auto 0; color: #94a9a0; font-size: 17px; line-height: 1.8; }
.vision-equation { margin-top: 68px; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; color: #6f867d; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .1em; }
.vision-equation i { color: #42584f; }.vision-equation strong { padding: 10px 13px; color: #08110e; background: var(--mint); border-radius: 999px; }
.final-cta { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 150px) var(--pad); display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; }
.final-cta h2 { font-size: clamp(38px, 5vw, 68px); }
.site-footer { padding: 54px var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; gap: 35px; align-items: end; color: #647a71; font-size: 10px; }
.site-footer > div > p { margin: 14px 0 0; font-size: 8px; letter-spacing: .15em; }.site-footer nav { display: flex; gap: 24px; }.site-footer > p { margin: 0; text-align: right; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { to { background-position-y: 260px; } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-visual { min-height: 520px; max-width: 720px; width: 100%; margin: 0 auto; }
  .contrast-grid { grid-template-columns: 1fr; }.contrast-bridge { min-height: 100px; }
  .personal-model-band, .agents-panel { grid-template-columns: 1fr; }
  .neural-section { grid-template-columns: 1fr; }.neural-stage { min-height: 660px; border-right: 0; border-bottom: 1px solid var(--line); }
  .paper-line { grid-template-columns: 1fr; }.paper-card + .paper-card { border-left: 1px solid var(--line); border-top: 0; }
  .evidence-ledger ol { grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }.site-footer > p { text-align: left; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .site-header { height: 68px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 68px; left: 12px; right: 12px; padding: 22px; display: none; align-items: stretch; flex-direction: column; gap: 0; background: rgba(7,17,15,.97); border: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }.site-nav a { padding: 13px 4px; }.site-nav .nav-cta { margin-top: 10px; text-align: center; }
  .hero { min-height: auto; padding-top: 128px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(45px, 13vw, 66px); }
  .hero-visual { min-height: 410px; }.visual-core { width: 140px; height: 140px; }.visual-core b { font-size: 32px; }
  .signal-card { min-width: 126px; padding: 10px; }.signal-hrv { left: -8px; }.signal-sleep { right: -7px; }.signal-outcome { left: 5px; }
  .contrast-section, .system-section, .papers-section { padding-top: 96px; padding-bottom: 96px; }
  .personal-model-band { padding: 25px; gap: 22px; }.personal-model-band a { white-space: normal; }
  .agents-panel { padding: 28px 20px; }.agent-orchestra { min-height: 330px; }.agent-center { width: 82px; height: 82px; }.agent { font-size: 6px; }
  .neural-stage { min-height: 500px; }.neural-copy { padding: 72px 22px; }.neural-truth { top: 20px; left: 16px; }.neural-truth-b { left: 16px; right: auto; top: 62px; }.neural-id { left: 16px; bottom: 18px; font-size: 7px; }
  .truth-labels { grid-template-columns: 1fr; }
  .paper-card { min-height: 330px; }.paper-status { right: 24px; }
  .evidence-ledger ol { grid-template-columns: 1fr 1fr; }.status-board { grid-template-columns: 1fr; }
  .final-cta { align-items: flex-start; flex-direction: column; }.site-footer nav { flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
