:root {
  --ink: #132238;
  --ink-soft: #31425a;
  --muted: #6e7988;
  --paper: #f4f6f7;
  --surface: #ffffff;
  --line: #dfe5e8;
  --line-strong: #cbd4da;
  --cyan: #16a5a1;
  --cyan-dark: #087774;
  --orange: #ef7b49;
  --orange-soft: #fff0e9;
  --yellow-soft: #fff7d9;
  --shadow: 0 18px 55px rgba(19, 34, 56, 0.1);
  --shadow-small: 0 7px 22px rgba(19, 34, 56, 0.08);
  --radius: 18px;
  --max-width: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }

.section-shell { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-small { width: 15px; height: 15px; }

.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 20; height: 3px; pointer-events: none; background: transparent; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--orange); transition: width 80ms linear; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(244, 246, 247, 0.94);
  border-bottom: 1px solid rgba(203, 212, 218, 0.7);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 26px; color: #fff; background: var(--orange); border-radius: 7px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.brand-name { font-weight: 800; letter-spacing: -0.02em; }
.brand-divider { color: var(--line-strong); }
.brand-context { color: var(--muted); font-size: 13px; }
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: 13px; font-weight: 650; transition: color 180ms ease; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--cyan-dark); }
.topbar-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.topbar-link:hover { color: var(--orange); }
.mobile-menu-button, .mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr); gap: 76px; align-items: center; min-height: 700px; padding-top: 74px; padding-bottom: 80px; }
.hero-copy { padding-left: clamp(0px, 2vw, 28px); }
.recommendation-note { margin: 0 0 22px; color: #e13f4f; font-size: 18px; font-weight: 850; line-height: 1.45; }
.recommendation-note strong { color: inherit; }
.section-kicker { margin: 0 0 17px; color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: 0.17em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.045em; }
h1 { margin-bottom: 26px; font-size: clamp(48px, 6vw, 79px); line-height: 1.02; font-weight: 850; }
h1 span { color: var(--cyan-dark); }
.hero-lead { max-width: 510px; margin-bottom: 30px; color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 18px; border-radius: 10px; font-size: 13px; font-weight: 800; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 8px 18px rgba(19, 34, 56, 0.15); }
.button-primary:hover { background: #1d3857; box-shadow: 0 11px 24px rgba(19, 34, 56, 0.2); }
.button-ghost { color: var(--ink); background: transparent; border: 1px solid var(--line-strong); }
.button-ghost:hover { background: var(--surface); border-color: var(--ink); }
.hero-footnote { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 30px; color: var(--muted); font-size: 12px; }
.hero-footnote strong { color: var(--ink); font-weight: 750; }
.footnote-separator { color: var(--line-strong); }
.live-dot, .chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(22, 165, 161, 0.12); }

.hero-visual { position: relative; padding: 25px 26px 28px; background: var(--ink); border-radius: 24px; box-shadow: var(--shadow); isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; top: 27px; right: -16px; width: 88px; height: 88px; border: 1px solid rgba(239, 123, 73, 0.65); border-radius: 50%; }
.hero-visual::after { content: ""; position: absolute; z-index: -1; bottom: -14px; left: -14px; width: 120px; height: 7px; background: var(--orange); }
.visual-label { display: flex; justify-content: space-between; margin-bottom: 15px; color: #9fb1c2; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.visual-label span { color: #687e95; }
.config-window { overflow: hidden; background: #fbfcfc; border: 1px solid rgba(255,255,255,0.25); border-radius: 14px; }
.window-bar { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 16px; border-bottom: 1px solid #e2e7e9; }
.window-bar strong { font-size: 14px; }
.window-back { display: grid; place-items: center; width: 26px; height: 26px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; }
.window-dots { display: flex; gap: 5px; margin-left: auto; }
.window-dots i { width: 7px; height: 7px; background: #d8dee1; border-radius: 50%; }
.window-dots i:first-child { background: var(--orange); }
.window-body { padding: 23px 25px 17px; }
.provider-icon { position: relative; width: 55px; height: 55px; margin: 0 auto 20px; border: 1px solid #e7ecee; border-radius: 15px; background: #fff; }
.provider-orbit { position: absolute; left: 50%; top: 50%; width: 28px; height: 11px; border: 3px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%) rotate(30deg); }
.orbit-two { transform: translate(-50%, -50%) rotate(90deg); }
.orbit-three { transform: translate(-50%, -50%) rotate(150deg); }
.mock-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.mock-field { margin-bottom: 13px; }
.mock-field label, .mock-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; color: #435064; font-size: 10px; font-weight: 750; }
.mock-label-row span { display: inline-flex; align-items: center; gap: 6px; color: #7b8792; font-size: 9px; font-weight: 600; }
.mock-label-row b { display: inline-block; width: 17px; height: 10px; border-radius: 8px; background: #dfe5e8; position: relative; }
.mock-label-row b::after { content: ""; position: absolute; top: 2px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.mock-input { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 10px; color: #314052; background: #fff; border: 1px solid #dbe2e5; border-radius: 7px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.muted-input { color: #89939e; letter-spacing: 0.04em; }
.accent-input { color: var(--cyan-dark); border-color: rgba(22, 165, 161, 0.55); background: #f1fbfa; }
.mock-hint { display: flex; align-items: center; gap: 6px; min-height: 29px; margin: -2px 0 14px; padding: 0 9px; color: #c16728; background: var(--yellow-soft); border: 1px solid #f4d89b; border-radius: 7px; font-size: 9px; }
.mock-hint span { display: grid; place-items: center; width: 14px; height: 14px; color: #fff; background: var(--orange); border-radius: 50%; font-size: 9px; font-weight: 900; }
.model-field { margin-bottom: 0; }
.download-glyph { display: grid; place-items: center; width: 22px; height: 22px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; font-size: 16px; }
.mock-window-footer { display: flex; justify-content: space-between; align-items: center; margin: 19px -25px -17px; padding: 13px 25px; color: #798590; border-top: 1px solid #e7ecee; font-size: 10px; }
.mock-window-footer span:last-child { color: #fff; background: var(--cyan); padding: 5px 13px; border-radius: 6px; font-weight: 800; }
.visual-callout { position: absolute; display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-small); font-size: 10px; font-weight: 800; }
.visual-callout span { display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: var(--orange); border-radius: 50%; font-size: 9px; }
.callout-left { left: -38px; bottom: 66px; }
.callout-right { right: -29px; top: 106px; }
.callout-right span { background: var(--cyan); }

.proof-strip { display: flex; align-items: center; gap: 30px; min-height: 84px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.proof-number { color: var(--orange); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 800; }
.proof-status { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--cyan-dark); font-size: 12px; font-weight: 750; }
.status-check { display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: var(--cyan); border-radius: 50%; font-size: 13px; }

.section-block { padding: 118px 0; }
.section-heading { margin-bottom: 43px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; }
.split-heading > p { max-width: 380px; margin-bottom: 3px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step-card { min-height: 294px; padding: 24px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 0 rgba(19,34,56,0.02); }
.step-card-dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.step-card-accent { background: #e1f4f1; border-color: #b7ded9; }
.step-top { display: flex; align-items: center; gap: 8px; margin-bottom: 48px; }
.step-index { color: var(--orange); font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; font-weight: 850; }
.step-line { height: 1px; flex: 1; background: var(--line); }
.step-card-dark .step-line { background: #41526a; }
.step-tag { color: var(--muted); font-size: 10px; font-weight: 800; }
.step-card-dark .step-tag { color: #9db0c2; }
.step-card h3 { margin-bottom: 11px; font-size: 19px; line-height: 1.25; letter-spacing: -0.03em; }
.step-card p { min-height: 79px; margin-bottom: 17px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.step-card-dark p { color: #aebbc9; }
.inline-link { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan-dark); font-size: 12px; font-weight: 800; }
.inline-link:hover { color: var(--orange); }
.light-link { color: #fff; }
.step-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 9px; color: var(--ink-soft); background: #f1f4f5; border-radius: 7px; font-size: 10px; font-weight: 750; }
.chip-accent { background: #c6e8e3; }

.endpoints-section { background: #e9eff0; }
.endpoint-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr); gap: 25px; align-items: start; }
.endpoint-list { display: grid; gap: 10px; }
.endpoint-card[data-endpoint="https://api.pci1.cn/v1"] { order: 2; }
.endpoint-card[data-endpoint="http://132.226.87.250:8080/v1"] { order: 3; }
.endpoint-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) 42px; align-items: center; gap: 13px; min-height: 100px; padding: 15px 17px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 13px; text-align: left; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.endpoint-card:hover { transform: translateX(3px); border-color: var(--cyan); box-shadow: var(--shadow-small); }
.endpoint-card.selected { border-color: var(--cyan); box-shadow: inset 4px 0 0 var(--cyan), var(--shadow-small); }
.endpoint-number { align-self: start; padding-top: 4px; color: var(--orange); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 850; }
.endpoint-copy { min-width: 0; }
.endpoint-title { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.endpoint-title strong { font-size: 13px; }
.badge { display: inline-flex; align-items: center; min-height: 19px; padding: 0 7px; border-radius: 5px; font-size: 9px; font-weight: 850; }
.badge-recommended { color: #087774; background: #d9f2ef; }
.badge-fallback { color: #a15b25; background: #ffebd6; }
.badge-alt { color: #596677; background: #e9edf0; }
.endpoint-copy code, .field-guide-row code, .recipe-line strong, .endpoint-note h3 { display: block; overflow: hidden; color: var(--ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.endpoint-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.copy-button, .mini-copy { display: grid; place-items: center; width: 36px; height: 36px; color: var(--muted); background: #f4f6f7; border: 1px solid var(--line); border-radius: 8px; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.copy-button:hover, .mini-copy:hover { color: #fff; background: var(--cyan); border-color: var(--cyan); }
.endpoint-note { position: sticky; top: 106px; min-height: 320px; padding: 27px; color: #fff; background: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-small); }
.note-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 24px; color: var(--orange); border: 1px solid #42546b; border-radius: 10px; }
.note-label { margin-bottom: 8px; color: #8fa3b8; font-size: 10px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.endpoint-note h3 { margin-bottom: 15px; color: #fff; font-size: 14px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.endpoint-note > p:not(.note-label) { margin-bottom: 24px; color: #aebdca; font-size: 13px; line-height: 1.75; }
.button-small { min-height: 38px; padding-inline: 12px; color: #fff; background: #24405e; font-size: 11px; }
.button-small:hover { background: var(--cyan-dark); }

.detail-section { background: var(--surface); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr); gap: 48px; align-items: start; }
.settings-gallery { display: grid; gap: 18px; }
.settings-step { margin: 0; padding: 14px; background: #f7f9f9; border: 1px solid var(--line); border-radius: 14px; }
.settings-step-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--ink); font-size: 13px; }
.settings-step-number { color: var(--orange); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 850; }
.settings-step .image-button { background: #fff; border-radius: 10px; box-shadow: none; }
.settings-step .image-button img { width: 100%; height: 320px; object-fit: contain; background: #fff; }
.settings-step figcaption { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.settings-figure { margin: 0; }
.image-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-small); text-align: left; }
.image-button img { display: block; width: 100%; height: auto; transition: transform 350ms ease; }
.image-button:hover img { transform: scale(1.015); }
.image-zoom-label { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; color: var(--ink); background: rgba(255,255,255,0.93); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; font-weight: 800; box-shadow: var(--shadow-small); }
.settings-figure figcaption { margin-top: 11px; color: var(--muted); font-size: 11px; }
.field-guide { border-top: 1px solid var(--line); }
.field-guide-row { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 12px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.guide-index { color: var(--orange); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 850; }
.field-guide-row h3 { margin-bottom: 5px; font-size: 15px; letter-spacing: -0.02em; }
.field-guide-row code { margin-bottom: 6px; color: var(--cyan-dark); font-size: 11px; }
.field-guide-row p { margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.mini-copy { width: 32px; height: 32px; }
.field-lock { display: grid; place-items: center; width: 32px; height: 32px; color: var(--muted); background: #f4f6f7; border-radius: 8px; }

.recipe-section { background: var(--orange-soft); }
.recipe-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 80px; align-items: center; }
.recipe-copy h2 { margin-bottom: 17px; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; }
.recipe-copy > p:not(.section-kicker) { max-width: 340px; margin-bottom: 25px; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.recipe-block { padding: 22px 25px; background: var(--surface); border: 1px solid #f0c9b8; border-radius: 14px; box-shadow: var(--shadow-small); }
.recipe-line { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
.recipe-line:last-child { border-bottom: 0; }
.recipe-line span { color: var(--muted); font-size: 12px; }
.recipe-line strong { font-size: 12px; }
.recipe-sensitive { color: var(--orange) !important; font-family: inherit !important; }

.verify-section { background: var(--paper); }
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.verify-panel { min-height: 230px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); }
.verify-panel-good { background: #e4f4f1; border-color: #b7ded9; }
.verify-panel-warn { background: var(--yellow-soft); border-color: #f1d89d; }
.verify-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 17px; border-radius: 10px; }
.verify-panel-good .verify-icon { color: #fff; background: var(--cyan); }
.verify-panel-warn .verify-icon { color: #fff; background: var(--orange); }
.verify-panel h3 { margin-bottom: 14px; font-size: 19px; }
.verify-panel ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 13px; }
.verify-panel li { position: relative; padding-left: 18px; }
.verify-panel li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.verify-panel-good li::before { color: var(--cyan); }
.verify-panel-warn li::before { color: var(--orange); }

.faq-section { padding-top: 105px; padding-bottom: 120px; background: var(--ink); color: #fff; }
.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 100px; align-items: start; }
.faq-intro h2 { margin-bottom: 17px; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; }
.faq-intro > p:not(.section-kicker) { max-width: 290px; color: #aab9c7; font-size: 14px; line-height: 1.8; }
.faq-list { border-top: 1px solid #41536a; }
.faq-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 15px; width: 100%; padding: 20px 0; color: #fff; background: transparent; border-bottom: 1px solid #41536a; text-align: left; font-size: 15px; font-weight: 750; }
.faq-toggle { color: var(--orange); font-size: 22px; font-weight: 400; line-height: 1; text-align: right; }
.faq-answer { grid-column: 1 / -1; display: none; max-width: 680px; padding: 2px 38px 1px 0; color: #aab9c7; font-size: 13px; font-weight: 400; line-height: 1.8; }
.faq-answer code { color: #fff; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; }
.faq-item.is-open .faq-answer { display: block; }

.footer { background: #0c1828; color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.footer-inner .brand-mark { margin-right: 9px; }
.footer-muted { color: #8294a8; font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 18px; color: #8294a8; font-size: 11px; }
.footer-links a { color: #fff; font-weight: 700; }

.image-modal { position: fixed; inset: 0; z-index: 30; display: none; place-items: center; padding: 30px; background: rgba(7, 16, 28, 0.88); }
.image-modal.is-visible { display: grid; }
.image-modal img { max-width: min(1200px, 94vw); max-height: 90vh; object-fit: contain; border: 1px solid rgba(255,255,255,0.35); border-radius: 8px; box-shadow: 0 25px 90px rgba(0,0,0,0.45); }
.modal-close { position: absolute; top: 22px; right: 24px; display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 10px; }
.modal-close:hover { background: var(--orange); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 40; min-width: 160px; padding: 11px 16px; color: #fff; background: var(--ink); border: 1px solid #41536a; border-radius: 9px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: opacity 180ms ease, transform 180ms ease; text-align: center; font-size: 12px; font-weight: 750; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 52px; padding-top: 58px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 720px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { min-height: 260px; }
  .step-top { margin-bottom: 32px; }
  .detail-layout { grid-template-columns: 1fr; }
  .settings-figure { max-width: 760px; }
  .recipe-layout { gap: 45px; }
}

@media (max-width: 760px) {
  .section-shell { width: min(calc(100% - 30px), var(--max-width)); }
  .topbar { min-height: 65px; padding: 0 15px; gap: 12px; }
  .desktop-nav, .topbar-link { display: none; }
  .brand-context { display: none; }
  .mobile-menu-button { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 9px; }
  .mobile-nav { position: fixed; z-index: 14; top: 65px; right: 15px; left: 15px; display: grid; gap: 2px; padding: 9px; background: rgba(255,255,255,0.98); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease; }
  .mobile-nav.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-nav a { padding: 11px 12px; color: var(--ink-soft); border-radius: 7px; font-size: 13px; font-weight: 750; }
  .mobile-nav a:hover { background: var(--paper); }
  .hero { min-height: 0; padding-top: 56px; padding-bottom: 62px; }
  h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-footnote { line-height: 1.6; }
  .hero-visual { padding: 18px 14px 20px; border-radius: 17px; }
  .window-body { padding: 18px 15px 14px; }
  .mock-form-grid { grid-template-columns: 1fr; gap: 0; }
  .mock-window-footer { margin: 16px -15px -14px; padding: 12px 15px; }
  .callout-left { left: -6px; bottom: -19px; }
  .callout-right { right: -6px; top: 77px; }
  .visual-callout { font-size: 9px; }
  .proof-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; padding-bottom: 18px; }
  .proof-item { font-size: 11px; }
  .proof-status { grid-column: 1 / -1; margin-left: 0; }
  .section-block { padding: 76px 0; }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 17px; }
  .section-heading h2 { font-size: 37px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .step-card p { min-height: 0; }
  .endpoint-layout { grid-template-columns: 1fr; }
  .endpoint-note { position: static; min-height: 0; }
  .endpoint-card { grid-template-columns: 28px minmax(0, 1fr) 36px; gap: 8px; padding-inline: 12px; }
  .endpoint-copy code { font-size: 10px; }
  .endpoint-copy small { font-size: 10px; line-height: 1.45; }
  .detail-layout { gap: 32px; }
  .settings-step .image-button img { height: 260px; }
  .field-guide-row { grid-template-columns: 28px minmax(0, 1fr) 32px; gap: 8px; }
  .recipe-layout { grid-template-columns: 1fr; gap: 32px; }
  .recipe-line { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .recipe-line strong { white-space: normal; overflow-wrap: anywhere; }
  .verify-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-section { padding-top: 75px; padding-bottom: 80px; }
  .footer-inner { display: grid; gap: 13px; padding-top: 22px; padding-bottom: 22px; }
  .footer-links { flex-wrap: wrap; gap: 8px 15px; }
  .image-modal { padding: 13px; }
  .image-modal img { max-width: 96vw; max-height: 84vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
