@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500&family=Inter:wght@400;500;600;700&family=Ma+Shan+Zheng&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --brand: #149fe6;
  --brand-2: #219bf3;
  --deep: #0666a5;
  --navy: #07315f;
  --ink: #17212b;
  --muted: #667785;
  --line: #dceaf2;
  --mist: #e6f6fd;
  --soft: #f5fbfe;
  --white: #fff;
  --shell: 1160px;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}
.skip:focus { transform: none; }

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.brand img { width: 32px; height: 32px; object-fit: contain; }
.nav-main { grid-column: 2; justify-self: center; display: flex; gap: 22px; }
.nav-main a { color: #3d4d5c; font-size: 15px; }
.nav-main a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  background: #fff;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 4px 20px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--deep); }
.btn-ghost { background: #fff; color: var(--brand); border-color: #b9dff6; }
.btn-ghost:hover { border-color: var(--brand); background: var(--mist); }
.btn-github {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}
.btn-github:hover { background: #052746; }

.hero-wrap {
  background:
    radial-gradient(540px 260px at 12% 18%, rgba(33, 155, 243, 0.2), transparent 70%),
    radial-gradient(680px 340px at 82% 0%, rgba(20, 159, 230, 0.18), transparent 68%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 78%);
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 72px 0 36px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #c9e7f8;
  color: var(--deep);
  font-size: 13px;
  font-weight: 600;
}
.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}
h1, h2, h3 { letter-spacing: -0.03em; }
.hero h1 {
  margin: 0;
  font-size: clamp(56px, 7vw, 84px);
  line-height: 0.95;
  font-weight: 700;
}
.hero h2 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lede { margin: 0 0 26px; max-width: 34rem; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.os-row { display: flex; gap: 22px; margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.os-row span { display: inline-flex; align-items: center; gap: 8px; }
.os-row img { width: 18px; height: 18px; object-fit: contain; flex: none; }

.hero-shot {
  width: 100%;
  height: auto;
  display: block;
}
.app-window {
  background: #fff;
  border: 1px solid #e4f1f8;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(7, 49, 95, 0.12);
  overflow: hidden;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f7fbfe;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.dots { display: flex; gap: 6px; }
.dots b { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dots b:nth-child(1) { background: #ff5f57; }
.dots b:nth-child(2) { background: #febc2e; }
.dots b:nth-child(3) { background: #28c840; }
.app-tools {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.app-tools i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--mist);
  display: block;
}
.app-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.app-table th, .app-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #eef5f9; }
.app-table th { color: var(--muted); font-weight: 500; background: #fbfdff; }
.tag {
  display: inline-block;
  min-width: 52px;
  text-align: center;
  border-radius: 6px;
  padding: 2px 6px;
  font-weight: 600;
  font-size: 11px;
}
.tag-vless { background: #e7f6ff; color: #0670b8; }
.tag-vmess { background: #e8f8ef; color: #1d8a4e; }
.app-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 12px;
}
.pill {
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  padding: 6px 14px;
  font-weight: 600;
}

.features, .steps, .page { padding: 28px 0 72px; }
.feature-grid, .step-grid, .os-grid {
  display: grid;
  gap: 16px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(20, 159, 230, 0.04);
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--brand);
  margin-bottom: 14px;
}
.icon img { width: 22px; height: 22px; object-fit: contain; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p, .prose p, .prose li { color: var(--muted); }
.card p { margin: 0; }

.cores {
  margin: 56px 0 8px;
  padding: 40px 40px 28px;
  border-radius: 28px;
  border: 1px solid #e3f3fb;
  background:
    radial-gradient(280px 180px at 92% 12%, rgba(33, 155, 243, 0.16), transparent 70%),
    radial-gradient(220px 160px at 78% 88%, rgba(20, 159, 230, 0.1), transparent 70%),
    linear-gradient(180deg, #f7fcff 0%, #fff 70%);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}
.cores-copy { display: flex; flex-direction: column; min-width: 0; }
.cores h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.cores-lead { margin: 0 0 22px; color: var(--muted); max-width: 36em; }
.cores-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.cores-points li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.cores-points h3 { margin: 0 0 2px; font-size: 16px; }
.cores-points p { margin: 0; color: var(--muted); font-size: 14px; }
.point-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e7f6fd;
  color: var(--brand);
}
.cores-more { align-self: flex-start; margin-bottom: 28px; }
.cores-stats {
  list-style: none;
  display: flex;
  gap: 0;
  margin: auto 0 0;
  padding: 18px 0 6px;
  border-top: 1px solid #e7f2f8;
}
.cores-stats li { padding: 0 22px; border-left: 1px solid #e7f2f8; }
.cores-stats li:first-child { padding-left: 0; border-left: 0; }
.cores-stats strong { display: block; font-size: 22px; line-height: 1.2; color: var(--ink); }
.cores-stats span { color: var(--muted); font-size: 13px; }
.cores-map { position: relative; min-height: 520px; }
.cores-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-kicker {
  position: absolute;
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  z-index: 1;
}
.map-kicker.core { left: 42%; top: 4%; }
.map-kicker.proto { right: 4%; top: 30%; }
.hub {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 132px;
  text-align: center;
  z-index: 2;
}
.hub img { width: 72px; height: 72px; margin: 0 auto 6px; }
.hub strong { display: block; font-size: 16px; }
.hub span { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(7, 49, 95, 0.08);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.node svg { display: block; }
.cores-scribble {
  position: absolute;
  right: 4%;
  bottom: 6%;
  margin: 0;
  color: var(--brand);
  font-family: "Ma Shan Zheng", cursive;
  font-size: 26px;
  transform: rotate(-8deg);
  z-index: 2;
}
:lang(en) .cores-scribble { font-family: "Caveat", cursive; font-size: 28px; }

.config-band {
  margin: 72px 0 8px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: center;
  background: #fff;
}
.config-shot { width: 100%; height: auto; display: block; }
.config-cta { align-self: flex-start; }

.clients { margin: 72px 0 8px; }
.clients-head { max-width: 40rem; margin: 0 auto; text-align: center; }
.clients-head h2 { margin: 0 0 12px; font-size: clamp(32px, 3.4vw, 44px); }
.clients-head .cores-lead { margin-left: auto; margin-right: auto; }
.clients-shot { width: 100%; height: auto; display: block; margin: 8px 0 28px; }
.clients-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clients-list li { display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.clients-list img { width: 28px; height: 28px; object-fit: contain; flex: none; margin-top: 2px; }
.clients-list h3 { margin: 0 0 4px; font-size: 16px; }
.clients-list p { margin: 0; color: var(--muted); font-size: 14px; }
.clients-cta { text-align: center; margin: 26px 0 0; }

.section-title { text-align: center; margin: 48px 0 8px; font-size: 32px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 28px; }
.step-grid { grid-template-columns: repeat(3, 1fr); }
.step { text-align: center; padding: 8px 18px 18px; position: relative; }
.num {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.cta {
  margin: 10px auto 72px;
  background: linear-gradient(105deg, #149fe6 0%, #3cb4f5 58%, #7fd0fb 100%);
  color: #fff;
  border-radius: 20px;
  padding: 48px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.cta-mark {
  position: absolute;
  right: 36px;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translateY(-50%);
  object-fit: contain;
  opacity: 0.18;
  pointer-events: none;
}
.cta h2 { margin: 0 0 8px; font-size: 32px; color: #fff; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.9); }
.cta .btn { background: #fff; color: var(--deep); position: relative; z-index: 1; }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0 18px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer h2, .site-footer .footer-title { margin: 0 0 12px; font-size: 14px; letter-spacing: 0.04em; color: var(--ink); font-weight: 600; }
.site-footer p, .site-footer a { color: var(--muted); }
.site-footer li { list-style: none; margin: 0 0 8px; }
.site-footer ul { margin: 0; padding: 0; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.page-head { padding: 48px 0 8px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(36px, 5vw, 48px); }
.page-head p { margin: 0; color: var(--muted); }
.dl-hero-wrap {
  background:
    radial-gradient(540px 260px at 12% 18%, rgba(33, 155, 243, 0.2), transparent 70%),
    radial-gradient(680px 340px at 82% 0%, rgba(20, 159, 230, 0.18), transparent 68%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 78%);
}
.dl-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 64px 0 20px;
}
.dl-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
}
.dl-meta { margin: 0; color: var(--navy); font-weight: 600; }
.dl-shot { width: min(100%, 420px); height: auto; display: block; margin-left: auto; }
.dl-pick h2 { margin: 18px 0 8px; font-size: clamp(28px, 3vw, 36px); }
.dl-lead { margin: 0; max-width: 42rem; color: var(--muted); }
.dl-lead a { color: var(--brand); font-weight: 600; }
.os-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.os-card {
  text-align: center;
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.os-card .mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--deep);
}
.mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.os-card h3 { margin: 0 0 6px; font-size: 26px; }
.os-card p { margin: 0; color: var(--muted); font-size: 14px; }
.os-fit { margin-bottom: 20px; }
.os-arch { margin-top: 12px; font-size: 13px; }
.os-note { margin-top: auto; padding-top: 18px; font-size: 13px; }
#guide { scroll-margin-top: 96px; }
.guide-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.guide-list li { margin: 0 0 8px; }
.history { margin-top: 56px; }
.history h2 { margin: 0 0 8px; }
#history { scroll-margin-top: 96px; }
.rel-card {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px 18px;
}
.rel-head { display: flex; align-items: center; gap: 10px; }
.rel-card h3, .rel-ver { margin: 0; font-size: 22px; font-weight: 700; }
.rel-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--deep);
  font-size: 12px;
  font-weight: 600;
}
.rel-title { margin: 14px 0 8px; font-weight: 600; }
.rel-points { margin: 0 0 8px; padding-left: 18px; }
.rel-points li { margin: 0 0 4px; }
.rel-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
}
.rel-detail { flex: 1; min-width: 0; }
.rel-detail summary, .rel-line summary { cursor: pointer; list-style: none; }
.rel-detail summary::-webkit-details-marker,
.rel-line summary::-webkit-details-marker { display: none; }
.rel-detail summary { color: var(--brand); font-weight: 600; }
.rel-detail summary::after, .rel-sum::after { content: " ↓"; font-weight: 500; }
.rel-detail[open] summary::after, .rel-line[open] .rel-sum::after { content: " ↑"; }
.rel-dl, .rel-links a, .history-all a { color: var(--brand); font-weight: 600; }
.rel-dl { white-space: nowrap; }
.rel-body { padding-top: 14px; color: var(--muted); }
.rel-body h4 { margin: 16px 0 8px; color: var(--ink); font-size: 15px; }
.rel-body p { margin: 0 0 8px; }
.rel-meta { font-size: 13px; }
.rel-full { margin: 0; padding-left: 18px; }
.rel-full li { margin: 0 0 8px; }
.rel-full strong { color: var(--ink); }
.rel-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 12px;
  color: var(--ink);
}
.rel-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 4px; }
.rel-line { border-bottom: 1px solid var(--line); }
.rel-line summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 4px;
}
.rel-sum { margin-left: auto; color: var(--brand); font-weight: 600; }
.rel-line .rel-body { padding: 0 4px 16px; }
.history-all { text-align: center; margin: 22px 0 0; }
.panel { margin-top: 28px; }
.panel h2 { margin: 0 0 6px; font-size: 22px; }
.data { width: 100%; border-collapse: collapse; margin-top: 8px; }
.data th, .data td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.data th { color: var(--muted); font-weight: 500; font-size: 14px; }
.more { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; }

.docs { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding-bottom: 72px; }
.side { position: sticky; top: 88px; align-self: start; }
.side p { margin: 18px 0 8px; color: var(--muted); font-size: 13px; }
.side a { display: block; padding: 7px 0; color: #3d4d5c; }
.side a[aria-current="page"], .side a.is-on { color: var(--brand); font-weight: 600; }
.prose { max-width: 46rem; }
.prose h2 { margin: 28px 0 8px; font-size: 28px; scroll-margin-top: 96px; }
.prose h3 { margin: 22px 0 6px; font-size: 18px; scroll-margin-top: 96px; }
.prose h4 { margin: 0 0 6px; font-size: 16px; }
.prose ol { padding-left: 20px; }
.doc-kicker { margin: 0 0 10px; color: var(--navy); font-weight: 600; }
.doc-next { margin-top: 28px; }
a.hl {
  color: var(--deep);
  font-weight: 600;
  background-image: linear-gradient(transparent 58%, #b7e4fa 58% 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
a.hl:hover { background-image: linear-gradient(transparent 48%, #8fd4f6 48% 96%, transparent 96%); }
.side a.hl { display: inline-block; }
.faq-list { display: grid; gap: 10px; margin: 8px 0 4px; text-align: left; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  scroll-margin-top: 96px;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 500; flex: none; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 0 0 14px; color: var(--muted); }
.home-faq { margin-top: 56px; }
.core-grid, .proto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 8px; }
.core-card, .proto-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.core-card p, .proto-card p { margin: 0; font-size: 14px; }
.core-types { margin-top: 10px; color: var(--navy); font-weight: 600; font-size: 13px; line-height: 1.7; }
.core-note { font-size: 14px; }
.core-flow {
  display: grid;
  grid-template-columns: 112px 20px 128px 20px 1fr;
  gap: 10px;
  align-items: center;
  margin: 12px 0 8px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.flow-col > p { margin: 0 0 8px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.flow-hub, .flow-core {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 700;
}
.flow-core + .flow-core { margin-top: 8px; }
.flow-hub img { width: 28px; height: 28px; }
.flow-arrow { color: var(--brand); font-size: 20px; text-align: center; }
.flow-protos { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-protos span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
}
.doc-fig { margin: 14px 0 8px; }
.doc-fig img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.doc-menu, .doc-proxy { width: min(280px, 100%); margin: 12px auto 0; }
.route-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 14px 0 8px;
  padding: 22px 16px 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.route-node, .route-ends span {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
}
.route-stem { width: 2px; height: 22px; background: #8ecff5; }
.route-fork { width: min(100%, 420px); height: 36px; display: block; }
.route-ends {
  width: min(100%, 420px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  text-align: center;
}
.missing { padding: 14vh 0 18vh; }
.missing h1 { font-size: clamp(48px, 8vw, 84px); margin: 0 0 8px; }

.about-hero { padding: 64px 0 8px; max-width: 40rem; }
.about-hero h1 { margin: 0 0 12px; font-size: clamp(36px, 4.6vw, 52px); line-height: 1.15; font-weight: 700; }
.about-copy { max-width: 46rem; }
.about-copy h2 { margin: 52px 0 8px; font-size: clamp(28px, 3vw, 36px); }
.about-kicker { margin: 0 0 12px; color: var(--navy); font-weight: 600; }
.about-copy p { color: var(--muted); }
.about-copy .about-quote { color: var(--ink); }
.about-grid p + p, .contact-grid p + p { margin-top: 8px; }
.about-quote {
  margin: 28px 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--brand);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}
.about-grid, .about-next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.about-grid article, .about-next li, .contact-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.about-grid h3, .about-next strong, .contact-grid h3 { display: block; margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.about-grid p, .about-next span, .contact-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.about-next { list-style: none; padding: 0; }
.about-year, .about-close {
  margin: 48px 0 8px;
  padding: 32px 28px;
  border-radius: 20px;
}
.about-year {
  background: linear-gradient(105deg, #149fe6 0%, #3cb4f5 58%, #7fd0fb 100%);
  color: #fff;
}
.about-year h2, .about-year p, .about-close h2 { color: inherit; }
.about-year h2, .about-close h2 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 36px); }
.about-year .about-kicker { color: rgba(255, 255, 255, 0.92); }
.about-year p { margin: 0 0 10px; color: rgba(255, 255, 255, 0.94); }
.about-close {
  background: var(--soft);
  border: 1px solid var(--line);
}
.about-close p { margin: 0 0 10px; color: var(--muted); }
.about-mark { margin: 16px 0 0; color: var(--navy); font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 16px; }
.contact-grid a { color: var(--brand); font-weight: 600; }

@media (max-width: 980px) {
  .nav-main, .btn-github { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .mobile-nav.open { display: flex; }
  .hero, .dl-hero, .feature-grid, .step-grid, .os-grid, .footer-grid, .docs, .cta, .cores, .config-band, .clients-list, .core-grid, .proto-grid, .core-flow, .about-grid, .about-next, .contact-grid {
    grid-template-columns: 1fr;
  }
  .dl-hero { padding-top: 36px; }
  .dl-shot { width: min(100%, 320px); margin: 8px auto 0; }
  .flow-arrow { transform: rotate(90deg); }
  .cores { padding: 28px 22px; }
  .cores-map { min-height: 460px; }
  .config-copy { order: -1; }
  .hero { padding-top: 36px; }
  .cta { padding: 32px 24px; }
  .cta-mark { display: none; }
  .side { position: static; }
  .legal { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
