:root {
  --bg: #f2f5f7;
  --bg-deep: #e8eef3;
  --panel: #ffffff;
  --ink: #14212e;
  --ink-soft: #3d4d5e;
  --muted: #718195;
  --line: #e2e9ef;
  --line-strong: #cfdae4;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --accent-bright: #14b8a6;
  --accent-soft: #e6f4f2;
  --danger: #b3392f;
  --shadow-sm: 0 2px 8px rgba(16, 42, 67, 0.06);
  --shadow-md: 0 12px 34px rgba(16, 42, 67, 0.09);
  --shadow-lg: 0 26px 70px rgba(10, 30, 50, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(20, 184, 166, 0.10), transparent 60%),
    radial-gradient(900px 420px at 95% 0%, rgba(59, 130, 246, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 0.12em 0.35em;
  border-radius: 5px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-strong);
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 245, 247, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(207, 218, 228, 0.7);
}

.nav-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #14b8a6, #0f766e 60%, #0b5f59);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.28);
}

.brand-mark svg { width: 25px; height: 25px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong { font-size: 19px; letter-spacing: 0.02em; }

.brand-text span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right 0.22s ease;
}

.nav-links a:hover { color: var(--accent-strong); }
.nav-links a:hover::after { right: 0; }

/* ------------------------------------------------------------------ btn */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(145deg, #14b8a6, #0f766e 60%, #0b5f59);
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.28);
}

.btn.primary:hover { box-shadow: 0 16px 34px rgba(15, 118, 110, 0.36); }

.btn.ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
}

.btn.ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

.btn.small { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }

.btn.on-dark {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn.on-dark:hover { background: rgba(255, 255, 255, 0.16); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 480px at 8% 0%, rgba(20, 184, 166, 0.14), transparent 60%),
    radial-gradient(820px 400px at 92% 10%, rgba(59, 130, 246, 0.10), transparent 55%),
    radial-gradient(700px 500px at 50% 120%, rgba(15, 118, 110, 0.08), transparent 60%);
}

.hero-inner {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.pill.accent {
  border-color: rgba(15, 118, 110, 0.2);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.grad {
  background: linear-gradient(100deg, #14b8a6, #0f766e 45%, #0b5f59);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 22px 0 30px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.hero-meta span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 12.5px;
}

/* ------------------------------------------------------------ hero visual */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.scan-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbfcfd);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  transition: transform 0.3s ease;
}

.scan-card:hover { transform: translateY(-6px); }

.scan-before { transform: rotate(-4deg); }
.scan-before:hover { transform: rotate(-4deg) translateY(-6px); }
.scan-after { transform: rotate(4deg); }
.scan-after:hover { transform: rotate(4deg) translateY(-6px); }

.scan-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.scan-paper {
  position: relative;
  aspect-ratio: 210 / 297;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf5, #f6efe2);
  background-size: 24px 24px, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(16, 42, 67, 0.05), 0 6px 18px rgba(16, 42, 67, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22% 14% 0;
}

.paper-fold {
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(16, 42, 67, 0.16), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}

.paper-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(16, 42, 67, 0.22);
}

.w55 { width: 55%; }
.w60 { width: 60%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }

.scribble {
  position: absolute;
  height: 5px;
  border-radius: 3px;
  opacity: 0.85;
}

.scribble.red {
  width: 34%;
  left: 18%;
  bottom: 26%;
  background: #e0503f;
  transform: rotate(-7deg);
}

.scribble.blue {
  width: 30%;
  right: 16%;
  bottom: 18%;
  background: #2f6fe0;
  transform: rotate(5deg);
}

.scan-after .scan-paper.clean {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.03) 1px, transparent 1px),
    #ffffff;
  background-size: 24px 24px, 100% 100%;
}

.paper-line.dark { background: rgba(16, 42, 67, 0.78); }

.stamp {
  position: absolute;
  right: 12%;
  bottom: 10%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2.5px solid #d4553f;
  border-radius: 50%;
  color: #d4553f;
  font-size: 20px;
  font-weight: 800;
  transform: rotate(-12deg);
  opacity: 0.85;
}

.scan-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #14b8a6, #0f766e);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.32);
}

.scan-arrow svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ stats */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.stats-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  text-align: center;
  padding: 6px 10px;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat strong {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--accent-strong);
  letter-spacing: -0.01em;
}

.stat span { color: var(--muted); font-size: 13px; }

/* ----------------------------------------------------------------- section */
.section {
  padding: 84px 24px;
}

.section-tint {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(20, 184, 166, 0.06), transparent 60%),
    rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

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

.section-head code { font-size: 0.9em; }

/* ---------------------------------------------------------------- features */
.features-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 118, 110, 0.28);
}

.feature { padding: 26px 24px; }

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 13px;
  color: var(--accent);
  background: linear-gradient(160deg, #f4fbfa, #e6f4f2);
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.10);
}

.card-icon svg { width: 25px; height: 25px; }

.feature h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  letter-spacing: 0.01em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------- pipeline */
.pipeline {
  width: min(880px, 100%);
  margin: 0 auto 40px;
  position: relative;
}

.pipeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-bright), rgba(15, 118, 110, 0.12));
}

.pipe-step {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 12px 0 26px 0;
}

.pipe-step:last-child { padding-bottom: 0; }

.pipe-num {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #14b8a6, #0f766e 60%, #0b5f59);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.26);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.pipe-step h3 {
  margin: 4px 0 6px;
  font-size: 17px;
}

.pipe-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 620px;
}

.insight {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, #f4fbfa);
  box-shadow: var(--shadow-sm);
}

.insight h3 {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--accent-strong);
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.insight-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14.5px;
}

.insight-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------- tech */
.tech-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tech { padding: 26px 22px; }

.tech h3 {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 1.4;
}

.tech p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ----------------------------------------------------------------- deploy */
.deploy-grid {
  width: min(1000px, 100%);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.code-block {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0e1a24;
  box-shadow: var(--shadow-md);
}

.code-head {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.03);
}

.code-block pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
}

.code-block code {
  padding: 0;
  background: transparent;
  color: #cfe8e2;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre;
}

.env-list { width: min(1000px, 100%); margin: 0 auto; }

.env-list h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

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

.env {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.7);
}

.env code {
  display: block;
  margin-bottom: 4px;
  padding: 0;
  background: transparent;
  font-weight: 700;
  color: var(--accent-strong);
}

.env span { color: var(--muted); font-size: 12.5px; }

/* -------------------------------------------------------------------- api */
.api-grid {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.api { padding: 24px 22px; }

.api-method {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.api h3 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
}

.api p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ paper */
.table-wrap {
  width: min(900px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  padding: 14px 18px;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(15, 118, 110, 0.03); }

/* ------------------------------------------------------------------ notes */
.notes-grid {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.note {
  position: relative;
  padding: 18px 20px 18px 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}

.note-dot {
  position: absolute;
  left: 20px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.1);
}

/* -------------------------------------------------------------------- cta */
.cta {
  position: relative;
  overflow: hidden;
  padding: 84px 24px;
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(20, 184, 166, 0.35), transparent 60%),
    radial-gradient(700px 380px at 90% 100%, rgba(11, 95, 89, 0.5), transparent 60%),
    linear-gradient(140deg, #0e1a24, #10322f 55%, #0b5f59);
  color: #fff;
}

.cta-inner {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cta p {
  margin: 16px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta .btn.primary {
  background: #fff;
  color: var(--accent-strong);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.cta .btn.primary:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }

/* ----------------------------------------------------------------- footer */
.footer {
  border-top: 1px solid var(--line);
  background: #0e1a24;
  color: rgba(255, 255, 255, 0.66);
}

.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

.footer .brand {
  justify-content: center;
  margin-bottom: 16px;
}

.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: rgba(255, 255, 255, 0.45); }

.footer p {
  margin: 8px 0 0;
  font-size: 13px;
}

.footer .copyright { margin-top: 20px; }

.footer a {
  color: #14b8a6;
  transition: color 0.2s ease;
}

.footer a:hover { color: #5eead4; }

.footer .sep { margin: 0 8px; color: rgba(255, 255, 255, 0.3); }

/* --------------------------------------------------------------- reveal anim */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scan-card, .card, .btn { transition: none; }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-badges, .hero-meta { justify-content: center; }

  .hero-visual { max-width: 560px; margin: 0 auto; }

  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .api-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deploy-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 34px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }

  .features-grid,
  .tech-grid,
  .api-grid,
  .notes-grid,
  .insight-grid { grid-template-columns: 1fr; }

  .env-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 18px; }

  .hero-visual { grid-template-columns: 1fr; }
  .scan-arrow { transform: rotate(90deg); margin: -6px auto; }
  .scan-before, .scan-after { transform: none; }
  .scan-before:hover, .scan-after:hover { transform: none; }
}

/* ------------------------------------------------------------------ 多页面导航 */
.nav-links a.active {
  color: var(--accent-strong);
  font-weight: 700;
}

.nav-links a.active::after { right: 0; }

/* ------------------------------------------------------------------ 页面头 */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 18px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 360px at 12% -10%, rgba(20, 184, 166, 0.14), transparent 60%),
    radial-gradient(760px 320px at 92% 0%, rgba(59, 130, 246, 0.10), transparent 55%);
}

.page-hero-inner {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb a { color: var(--accent-strong); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--line-strong); }

.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.16;
  font-weight: 800;
}

.page-hero .lead {
  margin: 16px 0 0;
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.75;
}

/* ------------------------------------------------------------------ 页脚导航 */
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: #5eead4; }

/* ------------------------------------------------------------------ 404 */
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 24px;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  color: var(--accent-strong);
}

.not-found p {
  margin: 12px 0 26px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 640px) {
  .footer-nav { gap: 12px; }
  .page-hero { padding-top: 44px; }
}

.section-more {
  text-align: center;
  margin-top: 30px;
}
