:root {
  --ice: #ffffff;
  --ice-soft: #fafbfc;
  --ink: #111827;
  --navy: #19324d;
  --muted: #506176;
  --dim: #748296;
  --blue: #1268b3;
  --blue-deep: #0b579f;
  --teal: #0d9488;
  --line: rgba(17, 24, 39, 0.11);
  --line-strong: rgba(17, 24, 39, 0.18);
  --card: #ffffff;
  --card-strong: #ffffff;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  --shadow-btn: 0 8px 20px rgba(11, 87, 159, 0.18);
  --radius: 18px;
  --max: 1320px;
  --font: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", "Consolas", "Sarasa Mono SC", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

::selection { color: #fff; background: var(--blue-deep); }
:focus-visible { outline: 3px solid rgba(15, 111, 204, 0.35); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-180%);
}

.skip-link:focus { transform: none; }

.page-orb {
  display: none;
}

.page-orb-a { top: 8vh; right: -160px; background: #7ec8ff; }
.page-orb-b { top: 58vh; left: -180px; background: #7ce3e0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue-deep);
  background: #f5f7fa;
  border-color: var(--line);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: #0b4e98;
  box-shadow: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-download:hover { transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

main { position: relative; z-index: 1; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 82px);
  padding: 78px 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.hero-bg {
  display: none;
}

.hero-orbit {
  display: none;
}

.hero-orbit-a {
  width: min(960px, 78vw);
  height: min(960px, 78vw);
  top: -300px;
  right: -260px;
  animation: spin 36s linear infinite;
}

.hero-orbit-b {
  width: min(1180px, 90vw);
  height: min(1180px, 90vw);
  top: -470px;
  right: -430px;
  border-color: rgba(0, 166, 166, 0.24);
  animation: spinRev 52s linear infinite;
}

.hero-scan {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow img {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #fff;
}

.hero h1 {
  margin: 0 0 30px;
  color: var(--navy);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-brand,
.hero-slogan-line { display: block; }
.hero-brand { white-space: nowrap; }
.hero-slogan-line { margin-top: 0.08em; font-size: 0.78em; line-height: 1.18; }
.hero-phrase { white-space: nowrap; }

.hero-sub {
  margin: 0;
  max-width: 30em;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.19rem);
  line-height: 1.9;
}

.hero-lead {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(var(--max), calc(100% - 48px));
  max-width: none;
  margin: 86px auto 0;
  padding: 38px 0 0;
  color: var(--muted);
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-lead::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 1px;
  background: var(--blue);
}

.hero-lead-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue-deep);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
}

.hero-lead-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: none;
}

.hero-lead-body {
  width: min(100%, 1000px);
  max-width: none;
  margin: 0;
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  line-height: 1.95;
  letter-spacing: 0;
  text-align: left;
  text-justify: auto;
  text-align-last: left;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-lead-body p {
  margin: 0 0 1.2em;
}

.hero-lead-body p:last-child {
  margin-bottom: 0;
}

.hero-lead-body strong {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
  background: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn-primary {
  color: #fff;
  background: #0b4e98;
  border-color: rgba(10, 69, 130, 0.68);
  box-shadow: var(--shadow-btn);
}

.btn-secondary {
  color: var(--blue-deep);
  background: #fff;
  border-color: var(--line-strong);
}

.btn-block { width: 100%; }
.btn-disabled,
.btn-disabled:hover {
  color: var(--dim);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--dim);
  font-size: 0.82rem;
  list-style: none;
}

.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta li + li::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(8, 28, 51, 0.28);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1bbf8a;
  box-shadow: 0 0 0 5px rgba(27, 191, 138, 0.14);
}

.hero-stage { min-width: 0; }

.stage-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-strong);
  box-shadow: var(--shadow);
}

.stage-scan {
  display: none;
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stage-dots {
  display: inline-flex;
  gap: 6px;
}

.stage-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(56, 137, 216, 0.3);
}

.stage-dots i:first-child { background: rgba(11, 78, 152, 0.55); }

.stage-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.stage-title img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #fff;
}

.stage-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 700;
}

.stage-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.stage-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.cli-chip {
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  background: #f7f8fa;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.cli-chip.is-active {
  color: #fff;
  background: #0b4e98;
  border-color: #0b4e98;
}

.stage-panel {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbfc;
}

.stage-kicker {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.stage-panel h2 {
  margin: 4px 0 4px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.stage-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.stage-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stage-result {
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.stage-result > span {
  display: block;
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.stage-result strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: clamp(1.3rem, 1.9vw, 1.68rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.stage-result small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.stage-result b {
  color: var(--blue-deep);
  font-weight: 900;
}

.hero-scroll {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 0.88rem;
  font-weight: 700;
  animation: none;
}

.section-block {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }

.section-head h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cli-board,
.process-board,
.feature-board,
.mode-panel,
.os-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.cli-board { padding: clamp(22px, 3vw, 36px); }

.cli-hub {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.cli-hub img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.cli-hub strong { display: block; font-size: 1.25rem; }
.cli-hub p { margin: 6px 0 0; color: var(--muted); }

.cli-manifest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 22px;
}

.cli-manifest span {
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.cli-manifest h3 { margin: 8px 0; font-size: 1.4rem; letter-spacing: -0.03em; }
.cli-manifest p { margin: 0; color: var(--muted); }

.cli-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cli-legend li {
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.cli-legend b,
.cli-legend small { display: block; }
.cli-legend small { margin-top: 4px; color: var(--dim); font-size: 0.75rem; }

.mode-switcher { max-width: 860px; margin: 0 auto; }
.mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mode-tab {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: #f7f8fa;
  font-weight: 700;
  cursor: pointer;
}
.mode-tab.is-active {
  color: #fff;
  background: #0b4e98;
  border-color: #0b4e98;
}
.mode-panel { padding: clamp(28px, 4vw, 42px); text-align: center; }
.mode-kicker { margin: 0; color: var(--blue-deep); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; }
.mode-panel h3 { margin: 12px 0 10px; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.mode-panel > p:not(.mode-kicker):not(.mode-fit) { margin: 0 auto; max-width: 620px; color: var(--muted); }

.mode-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mode-steps li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.mode-fit { margin: 22px 0 0; }
.mode-fit span { display: block; color: var(--dim); font-size: 0.75rem; }
.mode-fit strong { color: var(--blue-deep); font-size: 0.92rem; }

.process-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
}

.process-chrome { padding: 22px; background: #fafbfc; }
.process-chrome-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.process-chrome-top img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
}
.process-chrome-top span { margin-left: auto; color: var(--dim); font-size: 0.75rem; }

.process-steps { display: grid; gap: 8px; }
.process-step {
  min-height: 46px;
  padding: 0 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.process-step.is-active {
  color: var(--blue-deep);
  border-color: rgba(33, 125, 208, 0.4);
  background: #f5f8fb;
}

.process-panel { padding: clamp(24px, 3vw, 36px); }
.process-kicker { margin: 0; color: var(--blue-deep); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; }
.process-panel h3 { margin: 10px 0 10px; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.03em; }
.process-panel p { margin: 0; color: var(--muted); }
.process-log {
  overflow: auto;
  margin: 20px 0 0;
  padding: 16px;
  border-radius: 16px;
  color: var(--navy);
  background: #111827;
  color: #d7ecff;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.feature-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
}

.feature-lead {
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
}

.feature-lead > span {
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-lead h3 {
  margin: 12px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.feature-lead p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.feature-list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.feature-list li { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.feature-list p { margin: 0; color: var(--muted); }


.algo-board,
.route-board {
  display: grid;
  gap: 16px;
}

.algo-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.route-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.algo-board article,
.route-board article {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.algo-board span,
.route-board span {
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.algo-board h3,
.route-board h3 {
  margin: 8px 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.algo-board p,
.route-board p {
  margin: 0;
  color: var(--muted);
}

.route-board ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.route-board li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.route-board small {
  display: block;
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.75rem;
}


.context-grid span {
  display: block;
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


.context-grid p,
.benchmark-head > p,
.benchmark-note p {
  margin: 0;
  color: var(--muted);
}

.context-grid b {
  color: var(--blue-deep);
}

.context-benchmark {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.benchmark-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.benchmark-head h3 {
  margin: 7px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.context-grid article {
  min-width: 0;
  padding: 24px 24px 20px 0;
}

.context-grid article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.context-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.context-grid .context-cost {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.context-cost b {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.benchmark-note {
  display: grid;
  gap: 7px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.benchmark-note code {
  color: var(--blue-deep);
  font-family: var(--mono);
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .stage-results {
    grid-template-columns: 1fr;
  }

  .context-grid,
  .benchmark-head {
    grid-template-columns: 1fr;
  }


  .context-grid article {
    padding: 20px 0;
  }

  .context-grid article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.os-card { padding: clamp(24px, 3vw, 36px); }
.os-card-ready { background: #fff; }
.os-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.os-mark {
  min-width: 52px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #0b4e98;
  font-size: 0.78rem;
  font-weight: 800;
}
.os-mark-soft { color: var(--blue-deep); background: #f6f8fa; border: 1px solid var(--line); }
.pill-live, .pill-wait {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.pill-live { color: var(--blue-deep); background: #f3f7fb; }
.pill-live i { width: 6px; height: 6px; border-radius: 50%; background: #1bbf8a; }
.pill-wait { color: var(--dim); background: rgba(8, 28, 51, 0.05); }
.os-card h3 { margin: 22px 0 6px; font-size: 2rem; letter-spacing: -0.04em; }
.os-card > p { margin: 0; color: var(--muted); }
.release-meta { margin: 22px 0; padding: 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.release-meta dt { color: var(--dim); font-size: 0.7rem; }
.release-meta dd { margin: 4px 0 0; font-weight: 750; }
.os-card small { display: block; margin-top: 12px; color: var(--dim); text-align: center; font-size: 0.72rem; }
.mac-options { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mac-options > span { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fafbfc; }
.mac-options strong, .mac-options small { display: block; text-align: left; }
.mac-options small { margin-top: 4px; }

.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 16px; height: 16px; flex: 0 0 16px; }
.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--blue-deep);
  transform: translate(-50%, -50%);
}
.faq-list summary span::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.2s ease; }
.faq-list details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details p { margin: -4px 36px 20px 4px; color: var(--muted); }

.final-cta {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 112px;
  padding: clamp(58px, 7vw, 88px) 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: none;
}

.final-cta img {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.final-cta .eyebrow { justify-content: center; }
.final-cta > p:not(.eyebrow) { max-width: 560px; margin: 16px auto 0; color: var(--muted); }
.final-cta .btn { margin-top: 24px; }
.final-cta small { display: block; max-width: 640px; margin: 18px auto 0; color: var(--dim); font-size: 0.72rem; }

.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.footer-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 0.88rem; }
.footer-shell nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-shell nav a { color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.footer-shell nav a:hover { color: var(--blue-deep); }
.copyright { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.78rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinRev { to { transform: rotate(-360deg); } }
@keyframes gridDrift { to { background-position: 150px 150px; } }
@keyframes floatHint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes scanSweep { 0%, 100% { transform: translateY(0); opacity: 0.2; } 50% { transform: translateY(420px); opacity: 0.8; } }
@keyframes stageScan { from { transform: translateY(-80px); } to { transform: translateY(360px); } }

@media (max-width: 1100px) {
  .hero-grid,
  .process-board,
  .feature-board,
  .cli-manifest,
  .os-grid { grid-template-columns: 1fr; }
  .algo-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-list { border-left: 0; border-top: 1px solid var(--line); }
  .hero-grid { gap: 54px; }
}

@media (max-width: 860px) {
  .hero { padding: 56px 0 72px; }
  .nav-shell,
  .hero-grid,
  .hero-lead,
  .section-block,
  .final-cta,
  .footer-shell { width: min(100% - 24px, var(--max)); }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 78px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-download { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta li + li::before { display: none; }
  .hero-lead { margin-top: 52px; padding: 30px 0 0; }
  .section-block { padding: 84px 0; }
  .final-cta { margin-bottom: 72px; }
  .hero-lead-body {
    font-size: 0.94rem;
    line-height: 1.78;
    text-align: left;
    text-align-last: left;
    text-justify: auto;
  }
  .cli-legend li { min-width: calc(50% - 10px); flex: 1 1 calc(50% - 10px); }
  .algo-board,
  .route-board { grid-template-columns: 1fr; }
  .release-meta,
  .mac-options { grid-template-columns: 1fr; }
  .footer-shell { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}

@media (min-width: 764px) and (max-width: 1099px) {
  .hero-slogan-line { white-space: nowrap; }
}

@media (min-width: 1100px) {
  .hero-slogan-line { font-size: 0.62em; white-space: nowrap; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 2.15rem; }
  .hero-slogan-line { font-size: 0.7em; line-height: 1.22; white-space: normal; }
  .hero-lead { margin-top: 46px; padding: 28px 0 0; }
  .hero-lead-body { font-size: 0.92rem; line-height: 1.76; }
  .cli-chip { font-size: 0.68rem; }
  .stage-result strong { font-size: 1.32rem; }
  .stage-live { display: none; }
  .mode-tab { font-size: 0.88rem; }
}

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