:root {
  --ink: #102238;
  --ink-2: #223850;
  --paper: #f3f7f8;
  --white: #ffffff;
  --mist: #dbe8ea;
  --line: #bfd0d4;
  --signal: #f06431;
  --signal-dark: #c64117;
  --aqua: #59c6c8;
  --lime: #c7e562;
  --muted: #657788;
  --shadow: 0 18px 48px rgba(16, 34, 56, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 34, 56, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 34, 56, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid rgba(240, 100, 49, 0.45);
  outline-offset: 3px;
}

.signal-line {
  position: fixed;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(var(--signal) 0 22%, var(--aqua) 22% 68%, var(--lime) 68% 100%);
  z-index: 100;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid rgba(16, 34, 56, 0.12);
  background: rgba(243, 247, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; width: max-content; }
.brand-mark { padding: 4px 8px; color: white; background: var(--ink); font-weight: 900; letter-spacing: 0.08em; line-height: 1.2; }
.brand-label { font-weight: 750; letter-spacing: 0.08em; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); font-size: 13px; font-weight: 700; }
.nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--signal-dark); border-color: currentColor; }

.meeting-stamp { justify-self: end; display: flex; flex-direction: column; text-align: right; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; line-height: 1.45; }
.meeting-stamp span { color: var(--signal-dark); font-weight: 800; letter-spacing: 0.12em; }

main { overflow: hidden; }
section { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  min-height: 680px;
  padding-block: 90px 110px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--signal-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; }

h1 {
  max-width: 840px;
  margin-bottom: 30px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(52px, 6.4vw, 98px);
  font-weight: 900;
  letter-spacing: -0.065em;
}

h1 em { color: var(--signal); font-style: normal; white-space: nowrap; }

.hero-lede { max-width: 690px; margin-bottom: 36px; color: var(--ink-2); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: white; border-color: var(--ink); background: var(--ink); box-shadow: 6px 6px 0 var(--aqua); }
.button-primary:hover { box-shadow: 3px 3px 0 var(--aqua); }
.button-quiet { background: transparent; }
.button-quiet:hover { background: var(--white); }

.result-gate {
  position: relative;
  padding: 28px;
  color: white;
  background: var(--ink);
  box-shadow: 14px 14px 0 var(--aqua), var(--shadow);
}

.result-gate::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 34px;
  width: 72px;
  height: 24px;
  background: var(--lime);
  transform: rotate(2deg);
}

.gate-header { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.22); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; letter-spacing: 0.1em; }
.gate-header span:first-child { color: var(--lime); font-weight: 800; }
.result-gate ol { margin: 10px 0 12px; padding: 0; list-style: none; counter-reset: gate; }
.result-gate li { display: grid; grid-template-columns: 38px 60px 1fr; align-items: center; min-height: 68px; border-bottom: 1px solid rgba(255,255,255,0.16); counter-increment: gate; }
.result-gate li::before { content: "0" counter(gate); color: var(--aqua); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; }
.result-gate li b { font-size: 17px; }
.result-gate li span { color: #c7d5df; font-size: 14px; }
.result-gate > p { margin: 18px 0 0; color: var(--lime); font-size: 13px; font-weight: 700; }

.numbers {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1fr;
  gap: 16px;
  margin-bottom: 140px;
}

.number-card { min-height: 330px; padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,0.82); }
.number-card:nth-child(2) { background: var(--white); box-shadow: var(--shadow); transform: translateY(-20px); }
.number-title { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 32px; font-size: 13px; font-weight: 800; letter-spacing: 0.05em; }
.status-tag { padding: 3px 8px; color: var(--ink); background: var(--lime); font-size: 10px; white-space: nowrap; }
.status-tag.is-alert { color: white; background: var(--signal); }
.metric-line { display: flex; align-items: end; gap: 14px; margin-bottom: 28px; }
.metric-line strong, .fraction strong { font-family: "Arial Narrow", "Helvetica Neue", sans-serif; font-size: 100px; line-height: 0.8; letter-spacing: -0.08em; }
.metric-line span { max-width: 75px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.number-card p { margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.number-card p b { color: var(--signal-dark); }

.target-track { position: relative; height: 36px; margin-top: 36px; border-top: 2px solid var(--ink); }
.target-track::before { content: "8"; position: absolute; top: -29px; left: 0; color: var(--signal-dark); font-family: monospace; font-size: 11px; }
.target-track span { position: absolute; top: -8px; left: var(--point); padding-top: 11px; color: var(--muted); font-family: monospace; font-size: 11px; transform: translateX(-50%); }
.target-track span::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 10px; background: var(--ink); }

.fraction { display: flex; align-items: end; gap: 8px; margin-bottom: 26px; }
.fraction span { color: var(--muted); font-family: monospace; font-size: 24px; line-height: 1; }
.gap-bar { height: 12px; background: var(--mist); overflow: hidden; }
.gap-bar span { display: block; width: 35%; height: 100%; background: var(--signal); }
.increment-list { display: grid; gap: 7px; margin-top: 42px; }
.increment-list span { padding: 8px 10px; background: var(--paper); font-size: 12px; font-weight: 700; }
.increment-list span:last-child { color: var(--ink); background: var(--lime); }

.action-section { margin-bottom: 150px; scroll-margin-top: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading.compact { align-items: start; }
h2 { margin-bottom: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(38px, 4vw, 62px); letter-spacing: -0.045em; }

.progress-box { min-width: 210px; padding: 14px 16px; border: 1px solid var(--ink); background: var(--white); }
.progress-box > span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.progress-box strong { float: right; font-family: monospace; }
.progress-track { clear: both; height: 5px; margin-top: 12px; background: var(--mist); }
.progress-track span { display: block; width: 0; height: 100%; background: var(--signal); transition: width 260ms ease; }

.task-board { border-top: 2px solid var(--ink); }
.task-card { display: grid; grid-template-columns: 64px 68px minmax(0, 1fr) 220px; gap: 24px; align-items: start; padding: 28px 16px; border-bottom: 1px solid var(--line); transition: background 180ms ease, opacity 180ms ease; }
.task-card:hover { background: rgba(255,255,255,0.6); }
.task-card.is-done { opacity: 0.6; background: rgba(199, 229, 98, 0.16); }
.task-card.is-done h3 { text-decoration: line-through; text-decoration-thickness: 2px; }
.task-check { display: grid; justify-items: center; gap: 4px; cursor: pointer; }
.task-check input { position: absolute; opacity: 0; pointer-events: none; }
.task-check span { display: block; width: 28px; height: 28px; border: 2px solid var(--ink); background: white; }
.task-check input:checked + span { background: var(--lime); box-shadow: inset 0 0 0 6px white; }
.task-check small { color: var(--muted); font-size: 10px; }
.task-index { padding-top: 4px; color: var(--signal-dark); font-family: monospace; font-size: 14px; font-weight: 800; }
.task-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 11px; font-weight: 700; }
.priority { padding: 3px 7px; color: var(--ink); background: var(--lime); }
.priority.urgent { color: white; background: var(--signal); }
.task-body h3 { margin-bottom: 10px; font-size: clamp(20px, 2vw, 27px); }
.task-body > p { max-width: 760px; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.acceptance { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; }
.acceptance b { color: var(--signal-dark); }
.acceptance span { color: var(--ink-2); }
.owner-field { padding-top: 4px; }
.owner-field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.owner-field input { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: transparent; }
.owner-field input::placeholder { color: #92a1ad; }

.cadence { margin-bottom: 150px; padding: 70px; color: white; background: var(--ink); box-shadow: 12px 12px 0 var(--aqua); scroll-margin-top: 100px; }
.cadence .eyebrow { color: var(--lime); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; }
.timeline article { position: relative; padding-right: 28px; }
.timeline article:not(:last-child)::after { content: ""; position: absolute; top: 53px; left: 10px; right: -10px; height: 1px; background: rgba(255,255,255,0.35); }
.timeline time { display: block; margin-bottom: 24px; color: var(--aqua); font-family: monospace; font-size: 13px; }
.timeline-dot { position: relative; z-index: 2; display: block; width: 18px; height: 18px; margin-bottom: 30px; border: 5px solid var(--ink); border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.timeline h3 { margin-bottom: 8px; font-size: 21px; }
.timeline p { margin: 0; color: #b9c9d5; font-size: 13px; }

.method { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 70px; align-items: start; margin-bottom: 150px; scroll-margin-top: 100px; }
.method-intro { position: sticky; top: 120px; }
.method-intro p:last-child { max-width: 460px; margin-top: 24px; color: var(--muted); }
.rewrite-table { border-top: 2px solid var(--ink); }
.rewrite-row { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 26px; padding: 22px 18px; border-bottom: 1px solid var(--line); }
.rewrite-row span { font-size: 14px; }
.rewrite-row span:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--signal); }
.rewrite-row span:last-child { font-weight: 650; }
.rewrite-row.table-head { color: white; background: var(--ink); }
.rewrite-row.table-head span { color: white; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-decoration: none; }

.decision-map { margin-bottom: 150px; }
.decision-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.decision-grid article { min-height: 250px; padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(255,255,255,0.6); }
.decision-grid span { color: var(--signal-dark); font-family: monospace; font-size: 11px; font-weight: 800; }
.decision-grid h3 { margin: 50px 0 14px; font-size: 20px; }
.decision-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.report { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; margin-bottom: 90px; padding: 72px; background: var(--mist); scroll-margin-top: 100px; }
.report-copy > p:not(.eyebrow) { max-width: 440px; margin: 24px 0; color: var(--muted); }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: monospace; font-size: 11px; }
.formula span { padding: 6px 10px; color: white; background: var(--ink); }
.formula i { color: var(--signal-dark); font-style: normal; font-weight: 900; }
.report-form { display: grid; gap: 16px; padding: 30px; background: var(--white); box-shadow: var(--shadow); }
.report-form label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 750; }
.report-form input, .report-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper); resize: vertical; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.generated-report { min-height: 76px; padding: 14px; border-left: 4px solid var(--aqua); color: var(--ink-2); background: #edf7f7; font-size: 13px; }
.button.full { width: 100%; }

.source-note { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; margin-bottom: 80px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.source-note div { display: flex; flex-direction: column; }
.source-note b { color: var(--ink); }

footer { display: flex; justify-content: space-between; align-items: center; min-height: 82px; padding: 20px clamp(24px, 5vw, 80px); color: #c5d2dc; background: var(--ink); font-family: monospace; font-size: 11px; letter-spacing: 0.08em; }
footer button { color: #c5d2dc; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 90; max-width: 320px; padding: 12px 16px; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: 13px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr 380px; gap: 45px; }
  h1 { font-size: clamp(50px, 7vw, 76px); }
  .numbers { grid-template-columns: 1fr 1fr; }
  .increment { grid-column: 1 / -1; min-height: auto; }
  .increment-list { grid-template-columns: repeat(3, 1fr); }
  .task-card { grid-template-columns: 52px 50px minmax(0, 1fr); }
  .owner-field { grid-column: 3; max-width: 300px; }
  .decision-grid { grid-template-columns: repeat(3, 1fr); }
  .report { gap: 40px; padding: 48px; }
}

@media (max-width: 760px) {
  .signal-line { width: 4px; }
  .topbar { min-height: 62px; padding-inline: 20px; }
  .brand-label { display: none; }
  .meeting-stamp span { display: none; }
  section { width: min(100% - 32px, 1320px); }
  .hero { display: block; min-height: auto; padding-block: 70px 90px; }
  h1 { font-size: clamp(43px, 13vw, 68px); letter-spacing: -0.07em; }
  h1 em { white-space: normal; }
  .hero-lede { font-size: 16px; }
  .result-gate { margin-top: 54px; box-shadow: 8px 8px 0 var(--aqua); }
  .numbers { grid-template-columns: 1fr; margin-bottom: 100px; }
  .number-card:nth-child(2) { transform: none; }
  .increment { grid-column: auto; }
  .increment-list { grid-template-columns: 1fr; }
  .section-heading { display: block; margin-bottom: 32px; }
  .progress-box { margin-top: 24px; }
  .task-card { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-inline: 4px; }
  .task-index { display: none; }
  .task-body, .owner-field { grid-column: 2; }
  .owner-field { max-width: none; }
  .cadence { width: 100%; padding: 60px 28px; box-shadow: none; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline article { display: grid; grid-template-columns: 58px 18px 1fr; gap: 14px; padding: 0; }
  .timeline article:not(:last-child)::after { top: 24px; left: 80px; right: auto; bottom: -40px; width: 1px; height: auto; }
  .timeline time, .timeline-dot { margin: 0; }
  .method { display: block; margin-bottom: 100px; }
  .method-intro { position: static; margin-bottom: 42px; }
  .rewrite-row { grid-template-columns: 1fr; gap: 12px; padding-inline: 10px; }
  .rewrite-row.table-head { display: none; }
  .rewrite-row span:first-child::before { content: "过程表达 · "; color: var(--signal-dark); font-size: 10px; font-weight: 800; text-decoration: none; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-grid article { min-height: 190px; }
  .decision-grid h3 { margin-top: 30px; }
  .report { grid-template-columns: 1fr; width: 100%; padding: 55px 20px; }
  .report-form { padding: 22px 16px; }
  .source-note { grid-template-columns: 1fr; gap: 16px; }
  footer { align-items: flex-start; gap: 20px; }
}

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