:root {
  --ink: oklch(0.18 0.02 260);
  --blue: oklch(0.4 0.13 260);
  --blue-deep: oklch(0.28 0.1 260);
  --blue-soft: oklch(0.95 0.018 260);
  --amber: oklch(0.76 0.16 78);
  --amber-soft: oklch(0.96 0.04 78);
  --paper: oklch(1 0 0);
  --muted: oklch(0.48 0.02 260);
  --line: oklch(0.84 0.015 260);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 12px; color: var(--paper); background: var(--blue-deep); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { width: min(calc(100% - 40px), var(--max)); min-height: 76px; margin: auto; border-bottom: 1px solid var(--blue); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { font-weight: 700; text-decoration: none; letter-spacing: -.04em; font-size: 22px; }
.brand span { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.02em; }
nav { display: flex; gap: 22px; font-size: 14px; }
nav a { color: var(--muted); text-underline-offset: 5px; }
nav a:hover { color: var(--blue); }
.header-status { justify-self: end; margin: 0; font-size: 13px; color: var(--blue); }
.header-status span, .simulation-badge i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: oklch(0.65 0.16 150); }
.hero { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: clamp(56px, 9vw, 128px) 0 88px; display: grid; grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr); gap: clamp(48px, 7vw, 108px); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(40px, 4vw, 66px); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
h1 span { display: block; white-space: nowrap; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.22; letter-spacing: -.04em; text-wrap: balance; }
h3 { line-height: 1.35; letter-spacing: -.025em; }
.lede { max-width: 48ch; color: var(--muted); }
.window-graphic { margin: 36px 0 27px; max-width: 590px; }
.window-heading { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 13px; }
.window-heading strong { font-weight: 600; text-align: right; }
.window-graphic svg { display: block; width: 100%; height: auto; overflow: visible; }
.axis { stroke: var(--blue); stroke-width: 2; }
.signal { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 4 7; }
.dot { fill: var(--paper); stroke: var(--blue); stroke-width: 3; }
.sun { fill: var(--amber); }
.sun-line { stroke: var(--amber); stroke-width: 2; }
.window-labels { display: flex; justify-content: space-between; color: var(--blue); font-size: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button, .console-footer button { min-height: 46px; padding: 10px 19px; border: 1px solid var(--blue); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.button-primary, .console-footer button { color: var(--paper); background: var(--blue); }
.button-secondary { color: var(--blue); background: var(--paper); }
.button:hover, .console-footer button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary:hover, .console-footer button:hover:not(:disabled) { background: var(--blue-deep); }
.button-secondary:hover { background: var(--blue-soft); }
.safety-note { margin-top: 31px; padding: 18px 0 0; display: flex; gap: 13px; border-top: 1px solid var(--amber); }
.safety-note svg { width: 28px; min-width: 28px; height: 28px; fill: none; stroke: var(--amber); stroke-width: 1.7; }
.safety-note strong { color: oklch(0.61 0.14 78); font-size: 14px; }
.safety-note p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.run-console { border: 1px solid var(--line); padding: clamp(20px, 3vw, 34px); background: var(--paper); }
.console-topline { padding-bottom: 19px; display: flex; align-items: start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.console-topline h2 { margin: 0; font-size: 25px; }
.simulation-badge { padding-top: 3px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.simulation-badge i { width: 7px; height: 7px; }
.run-steps { margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.run-steps li { display: flex; align-items: center; gap: 7px; }
.run-steps span { color: var(--blue); font-weight: 700; }
.log-area { min-height: 283px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.log-area p { margin: 0 0 8px; display: grid; grid-template-columns: 79px minmax(0, 1fr); gap: 10px; }
.log-area time { color: var(--blue); font-variant-numeric: tabular-nums; }
.log-area p.is-new { animation: appear .35s ease-out both; }
.console-footer { padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.console-footer p { margin: 0; color: var(--muted); font-size: 13px; }
.console-footer button { min-width: 155px; min-height: 44px; font-size: 13px; }
.console-footer button:disabled { color: var(--muted); background: var(--blue-soft); border-color: var(--line); cursor: wait; }
.workflow, .sample-section, .protocol { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: clamp(76px, 10vw, 138px) 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 760px; }
.section-intro h2 { margin-bottom: 0; }
.workflow-list { margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; }
.workflow-list li { min-height: 228px; padding: 24px 24px 12px 0; border-top: 2px solid var(--blue); }
.workflow-list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.workflow-number { color: var(--blue); font-size: 13px; font-weight: 700; }
.workflow-list h3 { margin: 28px 0 8px; font-size: 20px; }
.workflow-list p { color: var(--muted); font-size: 14px; }
code { padding: 2px 4px; color: var(--blue-deep); background: var(--blue-soft); font-family: inherit; font-size: .92em; }
.sample-section { display: grid; grid-template-columns: minmax(260px, .58fr) minmax(0, 1.42fr); gap: clamp(40px, 8vw, 120px); }
.reading-card { border-top: 2px solid var(--blue); padding-top: 22px; }
.card-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 13px; }
.card-meta span { color: var(--blue); font-weight: 700; }
.reading-card > h3 { max-width: 27ch; margin: 21px 0; font-size: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { padding: 3px 8px; color: var(--blue); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.card-grid { margin-top: 25px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.card-grid h4 { margin-bottom: 10px; font-size: 14px; }
.card-grid p, .card-grid li { color: var(--muted); font-size: 14px; }
.card-grid ul { margin: 0; padding-left: 18px; }
.card-grid li + li { margin-top: 8px; }
.card-grid button { width: 100%; min-height: 44px; margin-top: 16px; padding: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; background: transparent; font: inherit; font-size: 12px; text-align: left; }
.protocol-columns { margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.protocol-columns > div { padding: 26px 32px 10px 0; }
.protocol-columns > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.protocol-columns h3 { color: var(--blue); font-size: 19px; }
.protocol-columns ul { margin: 0; padding-left: 19px; }
.protocol-columns li { margin-bottom: 12px; color: var(--muted); }
.boundary { padding: clamp(64px, 9vw, 112px) max(20px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 90px; color: var(--paper); background: var(--blue-deep); }
.boundary .eyebrow { color: oklch(0.83 0.05 260); }
.boundary h2 { margin-bottom: 0; }
.boundary ul { margin: 0; padding: 0; list-style: none; }
.boundary li { padding: 17px 0; display: grid; grid-template-columns: 100px 1fr; gap: 12px; border-top: 1px solid oklch(0.5 0.06 260); }
.boundary strong { color: oklch(0.91 0.02 260); }
.boundary span { color: oklch(0.82 0.02 260); }
footer { width: min(calc(100% - 40px), var(--max)); margin: auto; padding: 23px 0 max(23px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 930px) { .site-header { grid-template-columns: 1fr auto; } nav { display: none; } .hero { grid-template-columns: 1fr; } .run-console { max-width: 720px; } .workflow-list { grid-template-columns: repeat(2, 1fr); } .workflow-list li:nth-child(3) { padding-left: 0; border-left: 0; } .sample-section { grid-template-columns: 1fr; gap: 40px; } .boundary { grid-template-columns: 1fr; gap: 38px; } }
@media (max-width: 620px) { .site-header { width: min(calc(100% - 28px), var(--max)); min-height: 64px; } .header-status { font-size: 11px; } .hero, .workflow, .sample-section, .protocol { width: min(calc(100% - 28px), var(--max)); } .hero { padding-top: 52px; gap: 48px; } h1 { font-size: clamp(34px, 10vw, 42px); } .window-heading { display: block; } .window-heading strong { display: block; margin-top: 3px; text-align: left; } .run-console { margin-right: -2px; padding: 19px; } .console-topline { display: block; } .simulation-badge { display: block; margin-top: 8px; } .run-steps { grid-template-columns: repeat(2, 1fr); } .log-area { min-height: 250px; font-size: 12px; } .log-area p { grid-template-columns: 67px minmax(0, 1fr); gap: 7px; } .console-footer { align-items: stretch; flex-direction: column; } .console-footer button { width: 100%; } .workflow-list { grid-template-columns: 1fr; margin-top: 35px; } .workflow-list li, .workflow-list li + li, .workflow-list li:nth-child(3) { min-height: 0; padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); } .workflow-list li:first-child { border-top: 2px solid var(--blue); } .workflow-list h3 { margin: 13px 0 6px; } .card-meta, .card-grid, footer { display: block; } .card-meta time { display: block; margin-top: 4px; } .card-grid > div + div { margin-top: 28px; } .protocol-columns { grid-template-columns: 1fr; } .protocol-columns > div, .protocol-columns > div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); } .boundary { padding: 62px 14px; } .boundary li { grid-template-columns: 1fr; gap: 3px; } footer p + p { margin-top: 7px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
