@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --ink: #292c25;
  --muted: #686d60;
  --line: #dedfd6;
  --coral: #d97456;
  --coral-dark: #a64d36;
  --coral-soft: #f4e3d8;
  --green: #526c43;
  --green-soft: #e8eddf;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-width: thin;
  scrollbar-color: #b6baad var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 Inter,
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--coral-soft);
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: default;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--coral-dark);
  outline-offset: 4px;
  border-radius: 5px;
}
[hidden] {
  display: none !important;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.section-shell {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.mono {
  font-family: var(--mono);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 14px;
}
.skip-link:focus {
  top: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
  padding: 0 max(48px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: #f7f5eff5;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1.3px;
}
.brand-mark {
  width: 36px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--coral);
  border-radius: 12px 12px 12px 4px;
  transform: rotate(-5deg);
  color: var(--surface);
  transition: transform 150ms var(--ease);
}
.brand-mark svg {
  width: 29px;
  height: 29px;
  transform: rotate(5deg);
}
.brand:hover .brand-mark {
  transform: rotate(2deg) translateY(-2px);
}
.brand-period {
  color: var(--coral);
}
.desktop-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--muted);
}
.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 150ms var(--ease);
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--ink);
}
.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.language-button {
  min-width: 44px;
  min-height: 44px;
  font-size: 14px;
  background: none;
  color: var(--muted);
}
.language-button:hover {
  color: var(--coral-dark);
}
.github-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 550;
}
.github-nav svg {
  width: 18px;
  height: 18px;
}
.github-nav .tiny {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 150ms;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.mobile-nav {
  position: absolute;
  top: 71px;
  left: 0;
  width: 100%;
  display: grid;
  padding: 16px 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding-block: 40px 48px;
}
.hero-copy {
  min-width: 0;
  padding-bottom: 20px;
}
.release-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  min-height: 44px;
}
.release-label svg {
  width: 15px;
  height: 15px;
  transition: transform 150ms;
}
.release-label:hover svg {
  transform: translate(2px, -2px);
}
h1 {
  font-size: clamp(52px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 570;
  margin: 22px 0 24px;
}
.accent-text {
  color: var(--coral-dark);
}
.hero-description {
  max-width: 440px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 550;
  transition:
    background 150ms,
    transform 150ms;
}
.button svg {
  width: 19px;
  height: 19px;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--ink);
  color: var(--surface);
}
.button-primary:hover {
  background: #414539;
}
.button-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}
.button-secondary:hover {
  background: #eeece4;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.meta-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9b9f93;
}
.signal-demo {
  min-width: 0;
  padding: 18px;
  border: 1px solid #d7d9cd;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 24px 64px -40px #554b3855;
}
.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.demo-heading .eyebrow {
  letter-spacing: 0.05em;
  font-size: 12px;
}
.sample-label {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sample-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}
.demo-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f3f2eb;
}
.demo-controls button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  background: transparent;
  border-radius: 7px;
  font-size: 14px;
  color: var(--muted);
  transition:
    color 150ms,
    background 150ms;
}
.demo-controls button > span:first-child {
  font: 12px var(--mono);
  opacity: 0.8;
}
.demo-controls button[aria-selected="true"] {
  background: var(--ink);
  color: var(--surface);
}
.demo-controls button:not([aria-selected="true"]):hover {
  background: #eae9df;
  color: var(--ink);
}
.map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  min-height: 44px;
  font-size: 13px;
  color: var(--muted);
  gap: 8px;
}
.map-options {
  position: relative;
}
.map-options summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  list-style: none;
}
.map-options summary::-webkit-details-marker {
  display: none;
}
.map-options summary::after {
  content: "+";
  font-size: 18px;
}
.map-options[open] summary::after {
  content: "−";
}
.map-toolbar {
  position: absolute;
  right: 0;
  top: 42px;
  z-index: 5;
  display: grid;
  gap: 12px;
  width: 236px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 24px #292c2514;
}
.map-view-controls {
  display: flex;
  gap: 6px;
}
.map-view-controls button {
  flex: 1;
  min-height: 44px;
  border-radius: 6px;
  background: var(--paper);
  font-size: 14px;
}
.map-view-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
}
.walkthrough-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  background: none;
  color: var(--coral-dark);
  font-size: 14px;
}
.walkthrough-button svg {
  width: 17px;
  height: 17px;
}
.map-scene {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 184px;
  padding-block: 8px 16px;
  perspective: 900px;
  --lean-x: 0deg;
  --lean-y: 0deg;
}
.signal-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--line);
  stroke-width: 1;
}
.signal-trail {
  stroke: var(--coral);
  stroke-dasharray: 4 6;
}
.plane {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  padding: 12px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4f3ec;
  transition:
    transform 320ms var(--ease),
    border-color 220ms,
    background 220ms;
}
.plane-top {
  order: 1;
}
.plane-middle {
  order: 2;
  background: #faeee5;
  border-color: #e2baa8;
  transform: translateY(12px);
}
.plane-base {
  order: 3;
  background: #eef1e8;
}
.plane-label {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 32px;
  padding: 0 2px;
  background: none;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}
.plane-label > svg {
  display: none;
}
.plane-label > span[data-i18n] {
  flex: 1;
}
.layer-number {
  font: 12px var(--mono);
  color: var(--muted);
}
.plane-grid {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}
.map-node {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fffdf8a8;
  font: 13px/1.4 var(--mono);
  white-space: nowrap;
  transition:
    background 150ms,
    border-color 150ms;
}
.node-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #879780;
}
.map-node > svg {
  width: 12px;
  height: 12px;
  margin-left: auto;
}
.map-node:hover,
.map-node.is-related {
  border-color: #bdc5b1;
  background: var(--surface);
}
.map-node[aria-pressed="true"] {
  border-color: var(--coral-dark);
  background: var(--coral-soft);
  color: var(--coral-dark);
  box-shadow: 0 0 0 2px #d9745612;
}
.map-node.is-muted {
  color: var(--muted);
  background: #f6f5f0;
}
.issue-node .node-dot {
  background: var(--coral-dark);
}
.signal-demo[data-stage="verify"] .plane-middle {
  background: var(--green-soft);
  border-color: #bac8ac;
}
.signal-demo[data-stage="verify"] .issue-node .node-dot {
  background: var(--green);
}
.signal-demo[data-view="3d"] .plane {
  transform: rotateX(calc(15deg + var(--lean-x))) rotateY(calc(-17deg + var(--lean-y))) translateY(-5px);
  box-shadow: 6px 10px 0 -2px #dedfd680;
}
.signal-demo[data-view="3d"] .plane-middle {
  transform: rotateX(calc(15deg + var(--lean-x))) rotateY(calc(-17deg + var(--lean-y))) translateY(12px);
}
.signal-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 12px;
}
.callout-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font:
    600 18px Inter,
    sans-serif;
  flex-shrink: 0;
}
.signal-callout strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.signal-callout div > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.signal-demo[data-stage="verify"] .callout-icon {
  background: var(--green-soft);
  color: var(--green);
}
.demo-evidence {
  background: var(--ink);
  color: #faf9f4;
  padding: 16px 18px;
  border-radius: 12px;
}
.evidence-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}
.evidence-status {
  color: #ffb7a0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
}
.signal-demo[data-stage="verify"] .evidence-status {
  color: #c4ddb0;
}
.evidence-header .mono {
  color: #d4d8ca;
}
.demo-evidence p {
  margin: 10px 0 12px;
  font-size: 14px;
  line-height: 1.5;
  min-height: 21px;
}
.source-line {
  display: flex;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #4d5145;
  font: 13px/1.6 var(--mono);
  overflow-x: auto;
  white-space: nowrap;
}
.source-line > span {
  color: #b8bdad;
}
.source-line code {
  color: #eee4c1;
}
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-top: 6px;
  font-size: 13px;
}
.demo-hint {
  color: var(--muted);
}
.demo-try-link {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  color: var(--coral-dark);
  font-weight: 550;
}
.demo-try-link svg {
  width: 16px;
  height: 16px;
}
.language-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  padding-block: 20px 36px;
}
.language-strip > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--ink);
}
.language-strip > div > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.language-strip svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.workflow {
  padding-block: 36px 40px;
  border-block: 1px solid var(--line);
}
.workflow-lead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 30px;
}
.workflow-lead > p {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.workflow-item {
  min-width: 0;
  position: relative;
}
.workflow-item > svg {
  color: var(--coral-dark);
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}
.workflow-item:not(:last-child)::after {
  content: "→";
  color: #89907e;
  font-size: 18px;
  position: absolute;
  right: 12px;
  top: 0;
}
.workflow-item h3 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 580;
}
.workflow-item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.workspace-section {
  padding-block: 96px;
  background: linear-gradient(180deg, transparent 30%, #edefe5 100%);
}
.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 36px;
}
.section-intro h2,
.start-copy h2 {
  margin: 14px 0 0;
  font-size: 44px;
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.section-intro > p {
  margin: 0;
  max-width: 370px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.workspace-frame {
  border: 1px solid #ced1c1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px -40px #414b3455;
  background: var(--surface);
}
.window-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 7px 20px;
  background: #f5f5ed;
  border-bottom: 1px solid var(--line);
  font: 13px var(--mono);
  color: var(--muted);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c6ccbc;
}
.window-dots i:first-child {
  background: var(--coral);
}
.preview-open {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  font:
    14px/1.5 Inter,
    "Microsoft YaHei",
    sans-serif;
  background: none;
  min-height: 44px;
  color: var(--ink);
}
.preview-open svg {
  width: 16px;
  height: 16px;
}
.screenshot-button {
  padding: 0;
  width: 100%;
  display: block;
  background: var(--paper);
  cursor: zoom-in;
}
.screenshot-button img {
  width: 100%;
  height: auto;
}
.workspace-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}
.workspace-notes > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.workspace-notes svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}
#playground {
  margin-block: 96px;
}
.start-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  padding-block: 72px;
  border-block: 1px solid var(--line);
}
.start-copy h2 {
  margin-top: 18px;
}
.start-copy > p {
  color: var(--muted);
  font-size: 18px;
  max-width: 340px;
  margin: 24px 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--coral-dark);
  min-height: 44px;
}
.text-link svg {
  width: 17px;
  height: 17px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.install-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.install-tabs {
  display: flex;
  padding: 8px;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.install-tabs button {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 7px;
  background: none;
  color: var(--muted);
}
.install-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--surface);
}
.install-tabs button:not([aria-selected="true"]):hover {
  background: var(--paper);
  color: var(--ink);
}
.command-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 44px;
  align-items: start;
  gap: 10px;
  padding: 18px 20px;
}
.command-row + .command-row {
  border-top: 1px solid var(--line);
}
.command-number {
  font: 12px/24px var(--mono);
  color: var(--muted);
}
.command-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 14px;
}
.command-row code {
  display: block;
  overflow-wrap: anywhere;
  font: 14px/1.7 var(--mono);
  color: var(--ink);
}
.copy-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--paper);
}
.copy-button svg {
  width: 18px;
  height: 18px;
}
.copy-button:hover {
  background: var(--coral-soft);
  color: var(--coral-dark);
}
.install-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: #f1f2e9;
  font-size: 13px;
  color: var(--muted);
}
.install-foot a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  min-height: 32px;
}
.install-foot svg {
  width: 15px;
  height: 15px;
}
.faq {
  padding-block: 80px 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
}
.faq > .eyebrow {
  padding-top: 16px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 550;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-plus {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 150ms;
}
.faq-list details[open] .faq-plus {
  transform: rotate(45deg);
}
.faq-list details p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.site-footer {
  padding-block: 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
}
.site-footer > div > span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}
.site-footer .brand-mark {
  width: 30px;
  height: 32px;
  border-radius: 9px 9px 9px 3px;
}
.site-footer .brand-mark svg {
  width: 25px;
  height: 25px;
}
.site-footer .brand {
  font-size: 24px;
}
.brand-story {
  font-size: 14px;
  color: var(--muted);
  max-width: 475px;
  margin: 10px 0 0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: end;
  gap: 8px 26px;
  max-width: 450px;
  font-size: 14px;
}
.site-footer nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.site-footer nav a:hover {
  color: var(--coral-dark);
}
.site-footer nav svg {
  width: 15px;
  height: 15px;
}
.footer-credit {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
#preview-dialog {
  width: min(1500px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
}
#preview-dialog::backdrop {
  background: #292c258a;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.dialog-top strong {
  font-size: 16px;
  font-weight: 550;
}
#close-preview {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--paper);
  font-size: 24px;
}
#preview-dialog > p {
  margin: 0;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 14px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  z-index: 60;
  max-width: calc(100% - 40px);
  background: var(--ink);
  color: var(--surface);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 150ms,
    transform 150ms,
    visibility 150ms;
}
.toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.noscript-message {
  margin: 24px;
  text-align: center;
}
.noscript-message a {
  text-decoration: underline;
}
.js-motion .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease);
}
.js-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
html[lang="zh-CN"] h1 {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}
html[lang="zh-CN"] .section-intro h2,
html[lang="zh-CN"] .start-copy h2 {
  line-height: 1.22;
}
@media (min-width: 1400px) {
  .hero {
    gap: 64px;
  }
}
@media (max-width: 1150px) {
  .hero {
    gap: 32px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  h1 {
    font-size: 56px;
  }
  .signal-demo {
    padding: 18px;
  }
  .map-scene {
    gap: 12px;
  }
  .plane {
    padding: 10px 7px;
  }
  .map-node {
    padding-inline: 6px;
  }
  .map-node > svg {
    display: none;
  }
  .layer-number {
    display: none;
  }
  .start-section,
  .faq {
    gap: 48px;
  }
  .language-strip > div {
    gap: 20px;
  }
}
@media (max-width: 980px) {
  .section-shell {
    width: calc(100% - 64px);
  }
  .site-header {
    padding-inline: 32px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-block: 56px;
  }
  .hero-copy {
    max-width: 650px;
    padding-bottom: 0;
  }
  h1 {
    font-size: 72px;
  }
  .hero-description {
    max-width: 580px;
  }
  .signal-demo {
    max-width: 700px;
    width: 100%;
    padding: 24px;
    justify-self: center;
  }
  .demo-heading .eyebrow,
  .sample-label,
  .plane-label,
  .map-heading {
    font-size: 14px;
  }
  .map-node {
    font-size: 14px;
    padding-inline: 10px;
  }
  .map-scene {
    height: 220px;
    gap: 24px;
  }
  .plane {
    padding: 12px;
  }
  .language-strip {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
  }
  .workflow-lead {
    flex-direction: column;
    gap: 8px;
  }
  .section-intro > p {
    max-width: 310px;
    font-size: 16px;
  }
  .start-section {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 32px;
  }
  .faq {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 32px;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer nav {
    justify-content: start;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }
  .section-shell {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 68px;
    padding-inline: 20px;
    gap: 16px;
  }
  .brand {
    font-size: 25px;
    gap: 8px;
  }
  .brand-mark {
    width: 32px;
    height: 34px;
  }
  .desktop-nav {
    display: none;
  }
  .nav-actions {
    gap: 8px;
  }
  .github-nav .tiny,
  .github-nav > span {
    display: none;
  }
  .github-nav {
    justify-content: center;
    width: 44px;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-nav {
    top: 67px;
    padding-inline: 20px;
  }
  .hero {
    padding-block: 40px 32px;
    gap: 32px;
  }
  h1 {
    font-size: 52px;
    margin-top: 18px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-buttons {
    margin-block: 26px 18px;
  }
  .signal-demo {
    padding: 18px;
    border-radius: 16px;
  }
  .demo-heading .eyebrow,
  .sample-label {
    font-size: 12px;
  }
  .map-scene {
    height: 204px;
    gap: 14px;
  }
  .plane {
    padding: 8px;
  }
  .map-node {
    font-size: 12px;
    padding-inline: 7px;
  }
  .plane-label {
    font-size: 13px;
  }
  .demo-footer {
    font-size: 14px;
  }
  .language-strip {
    padding-block: 12px 28px;
  }
  .language-strip > div {
    gap: 12px 22px;
  }
  .workflow {
    padding-block: 28px 32px;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .workflow-item:nth-child(2)::after {
    display: none;
  }
  .workflow-lead > p {
    font-size: 18px;
  }
  .workspace-section {
    padding-block: 64px;
  }
  .section-intro {
    flex-direction: column;
    align-items: start;
    gap: 20px;
    margin-bottom: 28px;
  }
  .section-intro h2,
  .start-copy h2 {
    font-size: 32px;
  }
  .section-intro > p {
    max-width: 540px;
    font-size: 17px;
  }
  .window-chrome {
    min-height: 52px;
    padding: 4px 12px;
    gap: 12px;
  }
  .preview-open {
    font-size: 13px;
    gap: 5px;
  }
  .workspace-notes {
    font-size: 13px;
    gap: 8px;
  }
  #playground {
    margin-block: 64px;
  }
  .start-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 56px;
  }
  .start-copy > p {
    max-width: 100%;
    font-size: 17px;
    margin-block: 18px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 56px 64px;
  }
  .faq > .eyebrow {
    padding: 0;
  }
  .faq-list summary {
    font-size: 16px;
  }
  .site-footer {
    padding-block: 28px;
    gap: 24px;
  }
  #preview-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  .dialog-top {
    padding: 8px 12px;
  }
  .dialog-top strong {
    font-size: 14px;
  }
  html[lang="zh-CN"] h1 {
    font-size: 48px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 44px;
  }
  .hero-meta {
    font-size: 13px;
  }
  .hero-buttons .button {
    padding-inline: 16px;
    font-size: 14px;
  }
  .map-heading {
    font-size: 12px;
  }
  .map-scene {
    display: grid;
    gap: 10px;
    height: auto;
    padding-block: 8px 16px;
    perspective: none;
  }
  .signal-orbit {
    display: none;
  }
  .plane,
  .signal-demo[data-view="3d"] .plane,
  .signal-demo[data-view="3d"] .plane-middle {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    padding: 9px;
    transform: none;
    box-shadow: none;
    border-radius: 10px;
  }
  .plane-label {
    min-height: 44px;
    font-size: 13px;
  }
  .plane-grid {
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    gap: 4px;
  }
  .map-node {
    font-size: 13px;
    padding-inline: 10px;
  }
  .demo-controls button {
    gap: 5px;
  }
  .demo-controls button > span:first-child {
    display: none;
  }
  .signal-callout strong {
    font-size: 15px;
  }
  .demo-evidence {
    padding: 14px;
  }
  .demo-footer {
    display: block;
  }
  .demo-try-link {
    margin-top: 3px;
    min-height: 44px;
  }
  .window-dots {
    display: none;
  }
  .window-chrome {
    font-size: 12px;
  }
  .preview-open {
    font-size: 12px;
  }
  .workspace-notes {
    display: grid;
  }
  .command-row {
    padding: 16px 14px;
    gap: 7px;
    grid-template-columns: 18px minmax(0, 1fr) 44px;
  }
  .command-row code {
    font-size: 13px;
  }
  .install-foot {
    padding: 14px;
  }
  html[lang="zh-CN"] h1 {
    font-size: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
  .signal-demo[data-view="3d"] .plane {
    transform: none;
    box-shadow: none;
  }
}
