/* ==========================================================================
   询盘云 · 独立站与搜索增长   —   main.css
   无外部依赖，全部系统字体；单文件设计系统
   ========================================================================== */

:root {
  --ink: #0a0f1a;
  --ink-2: #16203a;
  --ink-3: #2a3446;
  --muted: #5d6779;
  --muted-2: #8b94a6;
  --line: #e5e9f0;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --bg-2: #f7f9fc;
  --bg-3: #eef2f9;
  --brand: #2b59ff;
  --brand-dark: #1a3fcc;
  --brand-soft: #eaeffe;
  --teal: #0fb8a0;
  --amber: #e8a33d;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 26, .04), 0 8px 24px -12px rgba(10, 15, 26, .12);
  --shadow-md: 0 2px 4px rgba(10, 15, 26, .04), 0 24px 48px -24px rgba(10, 15, 26, .22);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

strong { color: var(--ink); font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: #c9d5ff; color: var(--ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--bg { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: #c8d0e0; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lede { color: #9aa6bd; }

.stack > * + * { margin-top: 1em; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .5; }
.section--dark .eyebrow { color: #7d9bff; }

.h1 { font-size: clamp(34px, 5.2vw, 62px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 650; }
.h4 { font-size: 17px; font-weight: 650; }

.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); line-height: 1.8; max-width: 62ch; }
.small { font-size: 14px; color: var(--muted); }
.tiny { font-size: 13px; color: var(--muted-2); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lede { margin-top: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, var(--brand), #6f8bff 55%, var(--teal));
  display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(43, 89, 255, .7);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 16px; font-weight: 700; }
.brand__text span { font-size: 11px; color: var(--muted-2); letter-spacing: .04em; font-weight: 500; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 14.5px; color: var(--ink-3); font-weight: 500;
}
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

.nav__cta { margin-left: 12px; }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(43, 89, 255, .9); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 14px 28px -12px rgba(43, 89, 255, .9); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: #c8d0e0; color: var(--ink); background: var(--bg-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); background: #eef1f8; }
.btn--outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--outline-light:hover { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .07); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
.link-arrow::after { content: "→"; transition: transform .16s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #070b14; color: #c3cbdc;
  padding: clamp(64px, 9vw, 118px) 0 clamp(56px, 7vw, 96px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 78% 6%, rgba(43, 89, 255, .30), transparent 62%),
    radial-gradient(620px 380px at 12% 88%, rgba(15, 184, 160, .16), transparent 66%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { color: #9aa6bd; margin-top: 22px; }
.hero .eyebrow { color: #83a0ff; }
.hero__meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13.5px; color: #7b879e; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

/* hero diagnostic card */
.diag {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(6px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.diag__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.diag__title { font-size: 13px; color: #8d99b0; letter-spacing: .04em; }
.diag__dot { display: inline-flex; gap: 5px; }
.diag__dot i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.diag__dot i:first-child { background: #3ddc97; }
.diag__rows { display: grid; gap: 2px; }
.diag__row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 13.5px;
}
.diag__row:last-child { border-bottom: 0; }
.diag__row b { color: #e8edf7; font-weight: 600; }
.diag__row .val { font-family: var(--mono); font-size: 12.5px; }
.val--bad { color: #ff8a8a; }
.val--warn { color: #f0c060; }
.val--ok { color: #4fd6a8; }
.diag__foot { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .12); font-size: 12.5px; color: #7b879e; }

/* ---------- metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { background: #fff; padding: 26px 24px; }
.metric b { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.metric span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d6deec; }
.card h3 { font-size: 18px; font-weight: 650; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.card__num {
  font-family: var(--mono); font-size: 12px; color: var(--brand);
  display: block; margin-bottom: 14px; letter-spacing: .06em;
}
.card--flat { background: var(--bg-2); border-color: transparent; }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.section--dark .card p { color: #99a5bb; }

.card__icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; font-weight: 700;
}
.section--dark .card__icon { background: rgba(43, 89, 255, .18); color: #93abff; }

/* module list (11 modules) */
.modlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.modlist__item { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modlist__item:nth-child(3n) { border-right: 0; }
.modlist__item:nth-last-child(-n+2) { border-bottom: 0; }
.modlist__item b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.modlist__item span { font-size: 13.5px; color: var(--muted); line-height: 1.65; display: block; }
.modlist__item .idx { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }

/* ---------- steps / timeline ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 84px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--brand); padding-top: 3px; }
.step__body h3 { font-size: 18px; margin-bottom: 6px; }
.step__body p { font-size: 14.5px; color: var(--muted); margin: 0; }
.step__body ul { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- four engines ---------- */
.engines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); overflow: hidden; }
.engine { background: #0a0f1a; padding: 30px 28px; }
.engine span { font-family: var(--mono); font-size: 11.5px; color: #6c7a94; letter-spacing: .1em; }
.engine h3 { font-size: 19px; color: #fff; margin: 10px 0 8px; }
.engine p { font-size: 14px; color: #98a4ba; margin: 0; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { background: var(--bg-2); font-weight: 600; color: var(--ink); font-size: 13.5px; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td code, p code, li code { font-family: var(--mono); font-size: 13px; background: var(--bg-3); padding: 2px 6px; border-radius: 5px; color: var(--ink-3); }
.tag { display: inline-block; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--bg-3); color: var(--muted); white-space: nowrap; }
.tag--new { background: #e6f8f2; color: #0a7a63; }
.tag--opt { background: #fdf3e3; color: #996515; }

/* ---------- compare (template vs design) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare__head { padding: 24px 26px 20px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.compare__head h3 { font-size: 20px; margin-bottom: 4px; }
.compare__head p { font-size: 13.5px; color: var(--muted); margin: 0; }
.compare__body { padding: 8px 26px 22px; }
.compare__row { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.compare__row:last-child { border-bottom: 0; }
.compare__row b { color: var(--muted-2); font-weight: 500; font-size: 13px; }
.compare__col--pro .compare__head { background: linear-gradient(180deg, var(--brand-soft), var(--bg-2)); }
.compare__col--pro { border-color: #c3d0ff; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.6;
}
.faq__q:hover { color: var(--brand); }
.faq__q i { flex: none; width: 20px; height: 20px; margin-top: 4px; position: relative; }
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; background: var(--muted-2); transition: transform .2s ease, opacity .2s ease;
}
.faq__q i::before { top: 9px; left: 0; width: 20px; height: 1.5px; }
.faq__q i::after { top: 0; left: 9px; width: 1.5px; height: 20px; }
.faq__item[open] .faq__q i::after { transform: scaleY(0); opacity: 0; }
.faq__a { padding: 0 0 24px; max-width: 76ch; }
.faq__a p { font-size: 15px; color: var(--muted); line-height: 1.85; }
.faq__a ul { font-size: 15px; color: var(--muted); }

/* accordion via details */
details.faq__item > summary { list-style: none; }
details.faq__item > summary::-webkit-details-marker { display: none; }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--ink); color: #c3cbdc;
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 60px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 88% 10%, rgba(43, 89, 255, .35), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: #9aa6bd; margin: 12px 0 0; font-size: 15px; max-width: 52ch; }

/* ---------- page hero (inner) ---------- */
.page-hero {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
}
.page-hero .h1 { font-size: clamp(30px, 4.2vw, 48px); }
.page-hero .lede { margin-top: 18px; }
.breadcrumb { font-size: 13px; color: var(--muted-2); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--muted-2); }

/* anchor nav */
.anchor-nav { position: sticky; top: 68px; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.anchor-nav__inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.anchor-nav__inner::-webkit-scrollbar { display: none; }
.anchor-nav a { font-size: 14px; color: var(--muted); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.anchor-nav a:hover { background: var(--bg-2); color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #8b96ab; padding: 64px 0 32px; font-size: 14px; }
.site-footer a { color: #a8b3c7; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 34ch; color: #7d8899; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; font-size: 13.5px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: #6b7688; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(43, 89, 255, .12);
}
.field textarea { min-height: 120px; resize: vertical; }
.form__note { font-size: 12.5px; color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- misc ---------- */
.note-box {
  border-left: 3px solid var(--brand); background: var(--bg-2);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 14.5px; color: var(--muted);
}
.note-box--warn { border-left-color: var(--amber); }
.kv { display: grid; grid-template-columns: 88px 1fr; gap: 10px 16px; font-size: 14.5px; }
.kv dt { color: var(--muted-2); font-size: 13px; }
.kv dd { margin: 0; color: var(--ink-3); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split--wide { grid-template-columns: 1.15fr .85fr; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card--hover:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; }
  .diag { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .modlist { grid-template-columns: repeat(2, 1fr); }
  .modlist__item:nth-child(3n) { border-right: 1px solid var(--line); }
  .modlist__item:nth-child(2n) { border-right: 0; }
  .modlist__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .modlist__item:nth-last-child(-n+1) { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px 16px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .nav.is-open .nav__cta { margin: 10px 0 0; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4, .split, .split--wide, .compare, .engines, .field-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .anchor-nav { display: none; }
  .brand__text span { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .metrics { grid-template-columns: 1fr; }
  .modlist { grid-template-columns: 1fr; }
  .modlist__item { border-right: 0 !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
