:root {
  --app-bg: #14161c;
  --editor-bg: #1b1d24;
  --panel-bg: #22252d;
  --panel-raised: #2a2d36;
  --toolbar-bg: #252832;
  --border: #353844;
  --border-light: #454956;
  --text: #f0f1f2;
  --text-secondary: #a8abb2;
  --text-dim: #72767f;
  --blue: #3574f0;
  --blue-hover: #4682fa;
  --blue-muted: #25395f;
  --green: #59a869;
  --orange: #cf8e6d;
  --purple: #c77dbb;
  --yellow: #d5b778;
  --cool: #171c26;
  --warm: #211c19;
  --ink: #12151c;
  --glow: rgba(53, 116, 240, .2);
  --max: 1280px;
  --font-ui: Inter, "Segoe UI", "Noto Sans", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.workspace, body.studio {
  margin: 0;
  background:
    radial-gradient(1200px 480px at 50% -80px, rgba(53, 116, 240, .16), transparent 58%),
    var(--app-bg);
  color: var(--text);
  font-family: var(--font-ui);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { transition: background 120ms ease, color 120ms ease, border-color 120ms ease; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link:focus {
  position: absolute; left: 16px; top: 12px; z-index: 90;
  background: var(--panel-raised); color: var(--text); padding: 8px 12px;
  border: 1px solid var(--border);
}
.display { font-family: var(--font-ui); font-weight: 650; letter-spacing: -.03em; }
.mono { font-family: var(--font-mono); }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: 1px;
}
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.shot {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--editor-bg);
  cursor: zoom-in;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.shot:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.38);
}
.shot-figure { margin: 0; }
.wrap > .shot-figure {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.shot-cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-dim);
}

.btn-ink, .btn-blue, .btn-line, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.btn-ink, .btn-blue, a.btn-ink, a.btn-blue {
  background: var(--blue) !important;
  color: #fff !important;
  border: 1px solid transparent;
}
.btn-ink:hover, .btn-blue:hover, a.btn-ink:hover, a.btn-blue:hover { background: var(--blue-hover) !important; }
.btn-line, .btn-ghost {
  background: var(--panel-raised);
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-line:hover, .btn-ghost:hover { background: #32343a; }

#bar-top {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 60px;
  background: var(--panel-bg);
  border-bottom: 1px solid var(--border);
}
.bar-row {
  height: 60px;
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
}
.bar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.bar-brand img { width: 22px; height: 22px; }
.bar-brand span { font-size: 13px; font-weight: 600; }
.bar-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  height: 60px;
}
.bar-link {
  display: inline-flex;
  align-items: center;
  height: 60px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0 12px;
  box-shadow: inset 0 -2px 0 transparent;
}
.bar-link:hover { color: var(--text); }
.bar-link.is-now,
.bar-link[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--blue);
}
.bar-tools { display: flex; align-items: center; gap: 8px; }
.bar-get {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  background: var(--blue) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.bar-get:hover { background: var(--blue-hover) !important; }
.get-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  background: var(--blue) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.get-float:hover { background: var(--blue-hover) !important; }
html[dir="rtl"] .get-float { right: auto; left: 20px; }
#bar-top button#bar-toggle {
  display: none !important;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--panel-raised);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
}
#bar-menu { display: none; }
body.bar-open #bar-menu {
  display: block;
  border-top: 1px solid var(--border);
  background: var(--panel-bg);
  padding: 8px 16px 16px;
}
body.bar-open #bar-menu a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: var(--text-secondary);
}

.lang-box { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center;
  min-height: 30px; padding: 0 8px;
  border: 1px solid var(--border);
  background: var(--panel-raised);
  color: var(--text-secondary);
  font-size: 12px;
  font-family: var(--font-mono);
  border-radius: 6px;
  cursor: pointer;
}
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
  min-width: 160px; margin: 0; padding: 4px 0; list-style: none;
  border: 1px solid var(--border); background: var(--panel-raised);
}
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu a { display: block; padding: 7px 12px; font-size: 13px; text-decoration: none; color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--blue); }

.win {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% -20%, rgba(53, 116, 240, .26), transparent 58%),
    radial-gradient(46% 50% at 88% 110%, rgba(199, 125, 187, .1), transparent 52%),
    linear-gradient(180deg, #1a1e28 0%, #161820 100%);
  border-bottom: 1px solid var(--border);
}
.win::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(53, 116, 240, .18), transparent 72%);
  animation: glow-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.win > * { position: relative; z-index: 1; }
.win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 16px;
  background: var(--toolbar-bg);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}
.win-bar strong { color: var(--text); font-weight: 600; }
.win-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.win-run { color: var(--green); margin-left: auto; }
.win-body {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  padding: 48px 0 40px;
  align-items: center;
}
.win-body.is-single { grid-template-columns: 1fr; }
.win-body.is-center {
  justify-items: center;
  text-align: center;
}
.win-body.is-center .win-copy h1,
.win-body.is-center .win-lead { margin-left: auto; margin-right: auto; }
.win-body.is-center .tab-rail,
.win-body.is-center .hero-acts { margin-left: auto; margin-right: auto; justify-content: center; }
.win-body.is-center .pane-head { justify-content: center; }
.win-body.is-center .pane-head::after { display: none; }
.win-body.is-center .build-card { width: min(520px, 100%); text-align: left; }
.win-copy h1 {
  margin: 14px 0 0;
  max-width: 16ch;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: .96;
  font-weight: 650;
}
.win-copy.wide h1 { max-width: 20ch; }
.win-build {
  font-family: var(--font-mono) !important;
  max-width: 12ch !important;
  letter-spacing: -0.03em;
}
.win-lead {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.win-copy .tab-rail { margin-top: 22px; width: fit-content; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.build-pill {
  margin-left: 12px;
  color: var(--orange);
  font-size: 11px;
}
.editor-chrome {
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
.editor-tabs { display: none; }
.editor-tabs span {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-dim);
  border-right: 1px solid var(--border);
}
.editor-tabs span.is-on {
  background: var(--editor-bg);
  color: var(--text);
  box-shadow: inset 0 2px 0 var(--blue);
}
.editor-pane {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 32px 0;
}
.editor-pane img { width: min(168px, 42%); height: auto; }
.editor-pane.editor-shot {
  min-height: 0;
  padding: 0;
  justify-content: flex-end;
  background: transparent;
}
.editor-pane.editor-shot img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.win-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px;
  padding: 8px 20px;
  background: rgba(20, 23, 30, .72);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.win-status span { display: inline-flex; align-items: center; gap: 8px; }
.win-status span::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}

.spring-field {
  position: relative;
  padding: 88px 0;
  background-color: #1e1f22;
  background-image: url("../media/alpine-range.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 38%;
}
.spring-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, .26);
  pointer-events: none;
}
.spring-grid {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .34fr .66fr;
  gap: 40px;
  align-items: center;
}
.spring-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  color: #fff;
}
.spring-copy p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #e8eaee;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 5px 8px;
  background: var(--panel-raised);
  color: #c8cbd1;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}
.chip:hover { color: var(--text); border-color: var(--blue); transform: translateY(-1px); }
.chip.is-on { border-color: var(--blue); background: var(--blue-muted); color: #d7e4ff; }
.spring-ide {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--app-bg);
}
.spring-ide img { display: block; width: 100%; height: auto; object-fit: contain; }
.spring-hit { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }

.ink-band { padding: 88px 0; background: linear-gradient(180deg, #171b24 0%, #1a1620 100%); color: var(--text); }
.ink-grid {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.ink-band .tag { color: var(--text-dim); }
.ink-band h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
}
.ink-band p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.ink-ide { margin: 0; order: -1; }
.ink-ide img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--border); }
.pane-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}
.pane-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.pane-head i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  display: inline-block;
}

.org-strip {
  padding: 28px 20px;
  background: linear-gradient(180deg, #1d212a 0%, #191c24 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.org-kicker { text-align: center; width: min(var(--max), 100%); margin: 0 auto 14px; font-size: 12px; color: var(--text-dim); }
.org-row {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  padding: 0;
  list-style: none;
}
.org-row li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 36px;
}
.org-mark {
  display: block;
  width: auto !important;
  height: 28px !important;
  max-height: 28px !important;
  max-width: 160px !important;
  object-fit: contain;
  opacity: .82;
  filter: invert(1) grayscale(1);
}

.bench-band { padding: 80px 0; background: linear-gradient(180deg, #1f232c 0%, #1a1d26 100%); }
.bench-head {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}
.bench-title {
  margin: 10px auto 0;
  font-size: clamp(28px, 3.4vw, 40px);
  max-width: 18ch;
}
.bench-tabs {
  margin: 28px auto 0;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
}
.bench-tabs button { white-space: normal; text-align: center; max-width: 220px; }
.bench-tabs button[data-on="true"],
.bench-tabs button[aria-selected="true"] {
  background: var(--editor-bg);
  color: var(--text);
  box-shadow: inset 0 2px 0 var(--blue);
}
.bench-stage {
  width: min(1100px, calc(100% - 40px));
  margin: 28px auto 0;
}
.bench-panel { background: var(--editor-bg); padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.bench-label { margin: 0 0 10px; font-size: 14px; color: var(--text-secondary); text-align: center; }
.reel-box {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--editor-bg);
}
.reel-still, .reel-box video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1350 / 1080;
  background: var(--editor-bg);
  border-radius: 6px;
}
.reel-still[hidden], .reel-box video[hidden] { display: none; }
.reel-play {
  position: absolute; inset: 0; margin: auto; width: 48px; height: 48px;
  border: 1px solid var(--border-light); border-radius: 6px;
  background: rgba(43,45,48,.86); cursor: pointer;
}
.reel-play[hidden] { display: none; }
.reel-play i {
  display: block; width: 0; height: 0; margin-left: 16px;
  border-style: solid; border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--green);
}
.bench-foot { margin-top: 16px; font-size: 13px; text-align: center; }
.bench-foot a { color: var(--blue); }

.proof-band { padding: 80px 0; background: linear-gradient(180deg, #181c22 0%, #15181e 100%); }
.proof-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.proof-head { margin: 10px 0 0; font-size: 30px; }
.proof-copy { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.proof-copy a { color: var(--blue); }
.proof-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.proof-row:first-child { border-top: 1px solid var(--border); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.voice-band { padding: 80px 0; background: linear-gradient(180deg, #22262f 0%, #1c2028 100%); border-top: 1px solid var(--border); }
.voice-title { font-size: clamp(28px, 3.4vw, 38px); max-width: 16ch; margin-left: auto; margin-right: auto; text-align: center; }
.voice-band .tag { text-align: center; }
.voice-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
}
.voice-card { padding: 0 24px 0 0; border-right: 1px solid var(--border); }
.voice-card:last-child { border-right: 0; padding-right: 0; padding-left: 24px; }
.voice-who { display: flex; align-items: center; gap: 10px; }
.voice-who img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; }
.voice-name { font-size: 13px; font-weight: 600; }
.voice-role { font-size: 12px; color: var(--text-dim); }
.voice-quote { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

.close-band { padding: 72px 0; background: radial-gradient(80% 80% at 50% 0%, rgba(53, 116, 240, .14), transparent 55%), var(--ink); border-top: 1px solid var(--border); }
.close-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.close-band .tag { color: var(--text-dim); }
.close-title { margin: 10px 0 0; font-size: clamp(32px, 4vw, 48px); }
.close-copy { margin-top: 12px; max-width: 40ch; font-size: 15px; color: var(--text-secondary); }
.close-mark img { width: 96px; height: 96px; }

.compare-band { padding: 72px 0; background: linear-gradient(180deg, #1a1e26 0%, #171a20 100%); }
.compare-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.compare-title { margin-top: 8px; font-size: 28px; }
.compare-note { margin-top: 10px; color: var(--text-dim); font-size: 13px; }
.compare-scroll { margin-top: 20px; overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; }
.compare-table { min-width: 760px; width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.compare-table thead { background: var(--panel-bg); }
.compare-table th, .compare-table td { padding: 10px 14px; }
.compare-table tbody tr { border-top: 1px solid var(--border); }
.compare-table tbody td:nth-child(2) { box-shadow: inset 2px 0 0 var(--blue); }

.brief-band { padding: 80px 0; background: linear-gradient(180deg, #16141a 0%, #14161c 100%); }
.brief-inner { width: min(820px, calc(100% - 40px)); margin: 0 auto 0 max(20px, calc((100% - var(--max)) / 2 + 20px)); }
.brief-title { margin-top: 8px; font-size: 32px; }
.brief-list { margin-top: 20px; border-top: 1px solid var(--border); }
.brief-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.brief-q[aria-expanded="true"] { box-shadow: inset 2px 0 0 var(--blue); padding-left: 10px; }
.brief-a { font-size: 14px; line-height: 1.7; color: var(--text-secondary); padding: 0 0 14px; }
.brief-more { display: inline-flex; margin-top: 18px; color: var(--blue); font-weight: 600; }

.site-colophon { border-top: 1px solid var(--border); background: linear-gradient(180deg, #1d212a 0%, #181b22 100%); }
.colo-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr .8fr 1.2fr;
  gap: 32px;
  padding: 40px 0;
}
.colo-blurb, .colo-legal { margin-top: 10px; max-width: 36rem; font-size: 13px; line-height: 1.6; color: var(--text-dim); }
.colo-date { margin-top: 14px; font-size: 11px; color: var(--text-dim); }
.colo-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.site-colophon a { color: var(--text-secondary); text-decoration: none; }
.site-colophon a:hover { color: var(--blue); }
.colo-langs { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px; }
.colo-list { margin: 10px 0 0; padding: 0; list-style: none; }
.colo-list li { margin: 7px 0; }

#inspect-layer { background: rgba(10,12,16,.88); }
#inspect-layer.hidden { display: none; }
#inspect-layer.flex { display: flex; }

.crumb-bar { display: none; }
.page-h1 {
  margin: 14px 0 0;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: .96;
  font-weight: 650;
  max-width: 20ch;
}
.page-lead { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--text-secondary); max-width: 42ch; }
.page-h2 { margin-top: 8px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; }
.page-copy { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--text-secondary); max-width: 40rem; }
.pad { padding: 80px 0; }
.pad-sm { padding: 40px 0; }

.atlas-hero, .console-hero, .book-hero, .ask-hero, .assurance-hero, .miss-hero {
  background: var(--app-bg);
}
.atlas-grid, .console-grid, .assurance-grid {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  padding: 48px 0 40px;
  align-items: center;
}
.atlas-visual { padding-bottom: 0; }
.shot-hero { max-width: 1000px; width: 100%; }
.shot-spring { max-width: 1150px; width: 100%; }
.shot-lang { max-width: 940px; width: 100%; }
.shot-ai { max-width: 1040px; width: 100%; }
.shot-debug { max-width: 1220px; width: 100%; }
.shot-tool { max-width: 720px; width: 100%; }

.tab-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.tab-rail a, .tab-rail button {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.tab-rail a:hover, .tab-rail button:hover { color: var(--text); }
.tab-rail a.is-on, .tab-rail button.is-on {
  background: var(--editor-bg);
  color: var(--text);
  box-shadow: inset 0 2px 0 var(--blue);
}

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.flip > :first-child { order: 2; }
  .split.flip > :last-child { order: 1; }
}
.surface-paper { background: linear-gradient(180deg, #1c2029 0%, #181b22 100%); color: var(--text); }
.surface-page { background: linear-gradient(180deg, #1a1d24 0%, #171a20 100%); color: var(--text); }
.surface-warm { background: linear-gradient(180deg, #231e1b 0%, #1c1816 100%); color: var(--text); }
.surface-cyan { background: linear-gradient(180deg, #162128 0%, #141c22 100%); color: var(--text); }
.surface-blue, .surface-ink { background: radial-gradient(90% 70% at 50% 0%, rgba(53, 116, 240, .12), transparent 50%), var(--ink); color: var(--text); }
.surface-blue .page-h2, .surface-ink .page-h2, .surface-blue .tag, .surface-ink .tag { color: inherit; }
.surface-blue .page-copy, .surface-ink .page-copy { color: var(--text-secondary); }
.surface-panel { background: linear-gradient(180deg, #252833 0%, #20232b 100%); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.spec-rows { margin: 20px 0 0; padding: 0; list-style: none; }
.spec-rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  transition: color .15s ease, padding-left .15s ease;
}
.spec-rows li:hover { color: var(--text); padding-left: 4px; }
.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: var(--panel-raised);
  color: var(--text-secondary);
}
.debug-vars {
  margin: 0;
  padding: 14px;
  background: var(--editor-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}
.dbg-meta {
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.dbg-meta b { display: block; color: var(--text-secondary); font-weight: 500; }
.dbg-meta strong { color: var(--green); }
.matrix-table { min-width: 760px; width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.matrix-table th, .matrix-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.matrix-table thead { background: var(--panel-bg); }
.matrix-table a { color: var(--blue); }
.final-call { padding: 72px 0; background: radial-gradient(70% 80% at 50% 100%, rgba(53, 116, 240, .16), transparent 55%), var(--ink); color: var(--text); border-top: 1px solid var(--border); }
.final-call .tag, .final-call .page-h2 { color: var(--text); }

.console-hero { padding: 56px 0; background: radial-gradient(70% 80% at 50% -10%, rgba(53, 116, 240, .18), transparent 55%), var(--ink); }
.console-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.build-card {
  background: linear-gradient(180deg, #2a2e38 0%, #22252d 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 22px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.build-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
}
.build-card .tag { color: var(--text-dim); }
.build-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.build-ver { font-size: 32px; font-family: var(--font-mono); font-weight: 600; color: var(--orange); }
.os-panel { margin-top: 22px; }
.os-sub { display: flex; gap: 14px; margin-top: 14px; }
.os-sub a { color: var(--blue); }
.req-grid, .two-col { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .req-grid, .two-col { grid-template-columns: .8fr 1.2fr; }
}
.req-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.req-row dt { color: var(--text-dim); }
.time-list { margin: 0; padding: 0; list-style: none; }
.time-list li { padding: 14px 0 14px 16px; border-left: 2px solid var(--border); }
.time-list li.is-now { border-left-color: var(--blue); }
.hash-box {
  margin: 10px 0;
  padding: 12px;
  background: var(--editor-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.book-hero { padding: 56px 0 40px; background: radial-gradient(70% 80% at 50% -10%, rgba(53, 116, 240, .16), transparent 55%), var(--ink); }
.book-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .book-layout { grid-template-columns: 200px 1fr; } }
.topic-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 76px; }
.topic-nav a {
  padding: 7px 10px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  border-left: 2px solid transparent;
}
.topic-nav a.is-on, .topic-nav a:hover { color: var(--text); border-left-color: var(--blue); background: var(--blue-muted); }
.grow-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.step-list { margin: 0; padding: 0; list-style: none; }
.step-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.step-n { font-family: var(--font-mono); color: var(--blue); }

.ask-hero { padding: 56px 0 24px; background: radial-gradient(70% 80% at 50% -10%, rgba(53, 116, 240, .16), transparent 55%), var(--ink); }
.faq-block + .faq-block { margin-top: 28px; }
.faq-row { border-bottom: 1px solid var(--border); }
.faq-row [data-acc] {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.faq-row[data-open="true"] [data-acc] { box-shadow: inset 2px 0 0 var(--blue); padding-left: 10px; }
.faq-row [data-acc-panel] { display: none; color: var(--text-secondary); font-size: 14px; line-height: 1.65; padding-bottom: 12px; }
.faq-row[data-open="true"] [data-acc-panel] { display: block; }
.faq-x { font-family: var(--font-mono); color: var(--blue); }
.faq-row[data-open="true"] .faq-x { font-size: 0; }
.faq-row[data-open="true"] .faq-x::after { content: "×"; font-size: 16px; }

.assurance-hero { padding: 56px 0; background: linear-gradient(180deg, #1b1f28 0%, #161920 100%); }
.assurance-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .assurance-grid { grid-template-columns: 1fr 1fr; } }
.trust-articles { display: grid; gap: 16px; }
.trust-articles article { padding: 0 0 14px; border-bottom: 1px solid var(--border); }
.ev-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 6px; }
.ev-row div { padding: 16px; border-right: 1px solid var(--border); }
.ev-row div:last-child { border-right: 0; }
.ev-row span { display: block; margin-top: 4px; color: var(--green); font-family: var(--font-mono); font-size: 12px; }
.dark-band { padding: 64px 0; background: linear-gradient(180deg, #16141a 0%, #14161c 100%); color: var(--text); border-top: 1px solid var(--border); }
.dark-band .page-h2, .dark-band .tag { color: var(--text); }
.debug-center { text-align: left; }
.debug-center .shot-debug { margin: 28px 0 0; }
.miss-hero { padding: 80px 0; background: radial-gradient(70% 80% at 50% -10%, rgba(53, 116, 240, .18), transparent 55%), var(--ink); }
.hero-lines { display: none; }
.hero-block, .hero-grid, .hero-copy, .hero-slab, .hero-mark, .hero-title, .hero-lead, .hero-visual { }
.hero-block { background: var(--editor-bg); }
.hero-block::after { display: none; }

html[lang="zh-CN"] body { font-family: "Noto Sans SC", var(--font-ui); }
html[lang="ar"] body { font-family: "Noto Sans Arabic", var(--font-ui); }
html[dir="rtl"] { text-align: right; }
html[dir="rtl"] .win-copy h1, html[dir="rtl"] .page-h1 { margin-left: auto; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .brief-inner { margin-left: auto; margin-right: max(20px, calc((100% - var(--max)) / 2 + 20px)); }
html[dir="rtl"] .ink-ide { order: 0; }

@media (max-width: 980px) {
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-nav { display: none !important; }
  .bar-get { display: none !important; }
  #bar-top button#bar-toggle { display: inline-flex !important; align-items: center; justify-content: center; }
  .win-body, .spring-grid, .ink-grid, .proof-grid, .close-grid, .atlas-grid, .console-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ink-ide { order: 0; }
  .voice-rail { grid-template-columns: 1fr; }
  .voice-card { border-right: 0; border-bottom: 1px solid var(--border); padding: 16px 0; }
  .ev-row { grid-template-columns: 1fr 1fr; }
  .req-row { grid-template-columns: 1fr; }
  .brief-inner { margin: 0 auto; }
  .colo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap, .win-body, .spring-grid, .ink-grid, .bench-head, .bench-stage { width: calc(100% - 28px); }
  .pad, .spring-field, .ink-band, .bench-band { padding-top: 56px; padding-bottom: 56px; }
  .bar-row { width: calc(100% - 20px); }
  .ev-row { grid-template-columns: 1fr; }
  .win-copy h1 { font-size: 36px; }
}
main > section {
  animation: rise .6s ease both;
}
main > section:nth-of-type(2) { animation-delay: .05s; }
main > section:nth-of-type(3) { animation-delay: .1s; }
main > section:nth-of-type(4) { animation-delay: .14s; }
main > section:nth-of-type(5) { animation-delay: .18s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes glow-drift {
  from { transform: translate3d(-6%, 0, 0) scale(1); opacity: .7; }
  to { transform: translate3d(8%, 8%, 0) scale(1.12); opacity: 1; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: .55; box-shadow: 0 0 0 0 rgba(53, 116, 240, 0); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(53, 116, 240, .18); }
}
.tag::before,
.win-status span::before {
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.voice-card {
  transition: transform .2s ease, opacity .2s ease;
}
.voice-card:hover { transform: translateY(-4px); }
.faq-row [data-acc] { transition: background .15s ease, padding-left .15s ease; }
.faq-row:hover [data-acc] { background: rgba(53, 116, 240, .06); }
.btn-ink, .btn-blue, .btn-ghost, .bar-get, .get-float {
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-ink:hover, .btn-blue:hover, .get-float:hover { transform: translateY(-1px); }
body.home .voice-band,
body.home .compare-inner,
body.home .brief-inner,
body.home .final-call .wrap,
body.inner .final-call .wrap { text-align: center; }
body.home .compare-title,
body.home .brief-title,
body.home .close-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
body.home .spring-copy,
body.home .ink-copy { text-align: center; }
body.home .spring-copy .chip-row,
body.home .ink-copy .chip-row,
body.home .ink-copy .pane-head { justify-content: center; }
body.home .ink-copy .pane-head::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .shot:hover, .chip:hover, .btn-ink:hover, .btn-blue:hover, .get-float:hover,
  .build-card:hover, .voice-card:hover { transform: none; }
}
