/* ==========================================================================
   防滑改造 · fanghuagaizao.com
   Design tokens & base
   ========================================================================== */

:root {
  --ink: #0a1f26;
  --ink-soft: #14343d;
  --ink-3: #1d4a55;
  --paper: #f5f7f6;
  --paper-2: #eaefec;
  --white: #ffffff;
  --brand: #0b6b5f;
  --brand-600: #095a50;
  --brand-700: #074740;
  --brand-100: #e3f0ec;
  --brand-200: #c8e3dc;
  --accent: #c8812e;
  --accent-soft: #f6ecdd;
  --danger: #b04a3a;
  --muted: #5b7075;
  --muted-2: #80959a;
  --line: rgba(10, 31, 38, 0.11);
  --line-strong: rgba(10, 31, 38, 0.2);

  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 20px;

  --shadow-s: 0 1px 2px rgba(10, 31, 38, 0.05);
  --shadow: 0 12px 30px -18px rgba(10, 31, 38, 0.35);
  --shadow-l: 0 30px 70px -40px rgba(10, 31, 38, 0.55);

  --font: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --sec-y: clamp(60px, 7.5vw, 110px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.35em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

strong {
  font-weight: 600;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--sec-y) 0;
}

.section--tight {
  padding: clamp(44px, 5vw, 72px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--ink {
  background: var(--ink);
  color: #e8efec;
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}

.g-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

/* ---------- type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section--ink .eyebrow {
  color: var(--brand-200);
}

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

.sec-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-head--center .eyebrow {
  justify-content: center;
}

.sec-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.section--ink .sec-head p {
  color: #a9bcb8;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--muted);
  line-height: 1.8;
}

.section--ink .lead {
  color: #a9bcb8;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.86rem;
  line-height: 1.7;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(11, 107, 95, 0.9);
}

.btn--primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(10, 31, 38, 0.04);
}

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.section--ink .link-arrow {
  color: var(--brand-200);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}

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

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

.brand-name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-radius: 7px;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav a:hover {
  color: var(--brand);
  background: var(--brand-100);
}

.nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #eef4f2;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(44px, 5vw, 70px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 20% 0%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000 10%, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(23, 163, 140, 0.22), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: #7ed8c4;
}

.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.13rem);
  color: #b3c6c2;
  max-width: 30em;
  line-height: 1.85;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  color: #cfe0dc;
  background: rgba(255, 255, 255, 0.04);
}

.chip--light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 500;
}

.chip--accent {
  border-color: transparent;
  background: var(--accent-soft);
  color: #8a5316;
  font-weight: 600;
}

.chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #58c8b0;
}

.hero-visual {
  position: relative;
}

.hero-figure {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(10, 31, 38, 0) 40%, rgba(10, 31, 38, 0.55));
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 30px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  min-width: 176px;
}

.hero-badge-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-badge-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand);
}

.hero-badge-value span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero-badge-bar {
  margin-top: 8px;
  height: 4px;
  border-radius: 4px;
  background: var(--paper-2);
  overflow: hidden;
}

.hero-badge-bar i {
  display: block;
  height: 100%;
  width: 82%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), #34c2a8);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.8rem;
  color: #8ba39e;
}

.hero-note svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ---------- stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stat {
  padding: 26px clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--line);
}

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

.stat-value {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1.1;
}

.stat-value sup {
  font-size: 0.5em;
  top: -0.7em;
  margin-left: 2px;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- cards ---------- */

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-200);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-100);
  color: var(--brand);
  margin-bottom: 18px;
}

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

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 0;
  line-height: 1.75;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.tag {
  font-size: 0.74rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-3);
  border: 1px solid var(--line);
}

.tag--brand {
  background: var(--brand-100);
  border-color: transparent;
  color: var(--brand-600);
  font-weight: 600;
}

/* solution card variant */
.sol-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sol-card .sol-index {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

.sol-card .sol-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sol-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

.sol-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.sol-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-200);
}

.sol-card .link-arrow {
  margin-top: auto;
  padding-top: 20px;
}

/* ---------- compare table ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

table.cmp {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

table.cmp thead th {
  text-align: left;
  padding: 16px 18px;
  background: var(--paper);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

table.cmp tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}

table.cmp tbody tr:last-child td {
  border-bottom: 0;
}

table.cmp tbody tr:hover {
  background: #fafcfb;
}

table.cmp td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

table.cmp .best {
  color: var(--brand);
  font-weight: 600;
}

.cell-note {
  display: block;
  font-size: 0.76rem;
  color: var(--muted-2);
  margin-top: 3px;
}

.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--brand-200);
}

/* ---------- steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: #fff;
  padding: clamp(20px, 2.2vw, 28px);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--brand);
  letter-spacing: 0.1em;
}

.step h4 {
  margin: 10px 0 6px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* vertical steps */
.steps--v {
  grid-template-columns: 1fr;
  background: transparent;
  border: 0;
  gap: 0;
  overflow: visible;
}

.steps--v .step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 18px;
  align-items: start;
  padding: 22px 26px;
}

.steps--v .step::before {
  grid-row: span 2;
  font-size: 1.05rem;
  padding-top: 3px;
}

.steps--v .step h4 {
  margin: 0;
}

/* ---------- accordion ---------- */

.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;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-q:hover {
  color: var(--brand);
}

.faq-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  margin-top: 2px;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  background: var(--brand);
  border-color: var(--brand);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #fff;
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  overflow: hidden;
  height: 0;
  transition: height 0.28s ease;
}

.faq-a-inner {
  padding: 0 60px 24px 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.faq-a-inner p:last-child {
  margin-bottom: 0;
}

/* ---------- checklist ---------- */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b5f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.section--ink .checklist li {
  color: #c3d4d0;
}

.section--ink .checklist li::before {
  background-color: rgba(126, 216, 196, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ed8c4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- zone list ---------- */

.zone {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.zone:last-child {
  border-bottom: 1px solid var(--line);
}

.zone-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.zone-letter {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
}

.zone h3 {
  margin-bottom: 4px;
}

.zone-risk {
  font-size: 0.82rem;
  color: var(--danger);
}

.zone-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.zone-body h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
  font-weight: 600;
}

.zone-body ul {
  margin: 0;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- quote / note ---------- */

.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid #ecdcc4;
  font-size: 0.86rem;
  color: #7a5220;
  line-height: 1.7;
}

.note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.note--brand {
  background: var(--brand-100);
  border-color: var(--brand-200);
  color: var(--brand-700);
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(34px, 5vw, 60px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 163, 140, 0.28), transparent 65%);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  color: #a9bcb8;
  margin: 0;
  max-width: 34em;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  position: relative;
}

/* ---------- page hero ---------- */

.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(52px, 6vw, 84px) 0 clamp(44px, 5vw, 64px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.page-hero .wrap {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  max-width: 20em;
}

.page-hero p {
  margin: 16px 0 0;
  max-width: 46em;
  color: #a9bcb8;
  font-size: 1.02rem;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #829a95;
  margin-bottom: 20px;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs span {
  opacity: 0.5;
}

/* ---------- article / prose ---------- */

.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  color: #40575d;
  font-size: 0.98rem;
  line-height: 1.9;
}

.prose strong {
  color: var(--ink);
}

.prose ul {
  padding-left: 20px;
}

.prose li::marker {
  color: var(--brand);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.toc-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
  font-weight: 600;
}

.toc a {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  padding: 6px 0;
  line-height: 1.5;
}

.toc a:hover {
  color: var(--brand);
}

.toc .btn {
  display: inline-flex;
  padding: 0 18px;
  color: #fff;
  margin-top: 18px;
}

.toc .btn:hover {
  color: #fff;
}

.prose .card h3,
.prose .std-card h3 {
  margin: 0 0 8px;
}

.prose .card p,
.prose .std-card p {
  margin-bottom: 0;
}

.prose .checklist {
  padding-left: 0;
}

/* ---------- standard cards ---------- */

.std-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
}

.std-code {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--brand);
  background: var(--brand-100);
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 14px;
}

.std-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.std-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
}

/* ---------- level table ---------- */

.level-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.level-table th,
.level-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.level-table thead th {
  background: var(--paper);
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.level-table tbody tr:last-child td {
  border-bottom: 0;
}

.level-table td:first-child {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--brand);
  width: 84px;
}

.bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar-track {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: var(--paper-2);
  overflow: hidden;
  min-width: 60px;
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--brand);
}

/* ---------- scene cards ---------- */

.scene-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  border: 1px solid var(--line);
  isolation: isolate;
}

.scene-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 31, 38, 0.05) 30%, rgba(10, 31, 38, 0.86));
}

.scene-card:hover img {
  transform: scale(1.04);
}

.scene-body {
  padding: 24px;
  width: 100%;
}

.scene-body h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.scene-body p {
  margin: 0;
  font-size: 0.86rem;
  color: #c6d6d2;
  line-height: 1.65;
}

.scene-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.scene-tags span {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  color: #e8f2ef;
}

/* ---------- metric cards ---------- */

.metric {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.metric-value {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #7ed8c4;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.84rem;
  color: #9fb4b0;
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------- forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink-soft);
}

.field .hint {
  font-weight: 400;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 12px 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    background 0.16s ease;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b7075' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 107, 95, 0.13);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status {
  font-size: 0.84rem;
  color: var(--brand);
  font-weight: 500;
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* ---------- contact info list ---------- */

.info-list {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.info-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.info-item dt {
  color: var(--muted-2);
  font-size: 0.82rem;
}

.info-item dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- footer ---------- */

.site-footer {
  background: #071619;
  color: #93a8a4;
  padding: clamp(44px, 5vw, 68px) 0 32px;
  font-size: 0.86rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer .brand-name {
  color: #fff;
}

.site-footer .brand-mark {
  background: #12343c;
}

.footer-about p {
  margin: 16px 0 0;
  max-width: 30em;
  line-height: 1.8;
  color: #829a95;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #93a8a4;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #7ed8c4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.78rem;
  color: #6d827e;
}

/* ---------- solution detail ---------- */

.sol-detail {
  padding: clamp(36px, 4.4vw, 62px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.sol-detail:first-of-type {
  border-top: 0;
}

.sol-head {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: clamp(10px, 2vw, 24px);
  margin-bottom: 26px;
}

.sol-num {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-200);
  letter-spacing: -0.04em;
}

.sol-head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
}

.sol-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.sol-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 26px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  background: #fff;
}

.panel--paper {
  background: var(--paper);
  border-color: transparent;
}

.panel-title {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
  font-weight: 600;
}

.kv {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.kv th,
.kv td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.kv tr:last-child th,
.kv tr:last-child td {
  border-bottom: 0;
}

.kv th {
  color: var(--muted-2);
  font-weight: 500;
  width: 38%;
  font-size: 0.82rem;
}

.kv td {
  color: var(--ink);
  font-weight: 500;
}

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.quick-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-soft);
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.quick-nav a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-100);
}

.q-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.q-row .q {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-100);
  color: var(--brand);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.q-row h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.q-row p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .sol-body {
    grid-template-columns: 1fr;
  }
  .sol-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sol-num {
    font-size: 1.4rem;
  }
}

/* ---------- cases ---------- */

.case-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.case-filter button {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.case-filter button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.case-filter button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.case-filter .case-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.case-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(28px, 3.6vw, 42px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.case-item.is-hidden {
  display: none;
}

.case-no {
  font-family: var(--mono);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--brand-200);
  line-height: 1;
  letter-spacing: -0.03em;
}

.case-head h3 {
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  margin: 6px 0 10px;
}

.case-head h3 a {
  transition: color 0.16s ease;
}

.case-head h3 a:hover {
  color: var(--brand);
}

.case-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.case-meta b {
  color: var(--ink-soft);
  font-weight: 600;
}

.case-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 34px);
}

.case-cols h4 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 8px;
}

.case-cols p,
.case-cols li {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
}

.case-cols p {
  margin-bottom: 10px;
}

.case-cols ul {
  margin: 0;
  padding-left: 16px;
}

.case-cols li {
  margin-bottom: 4px;
}

.case-cols li::marker {
  color: var(--brand);
}

.result-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.result-cell {
  background: #fafcfb;
  padding: 14px 16px;
}

.result-cell span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.result-cell strong {
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.result-cell em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-left: 4px;
}

.case-footnote {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem;
  color: var(--muted-2);
  line-height: 1.75;
}

.case-teaser-stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.case-teaser-stat span {
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0;
}

/* 更新说明 */
.update-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(20px, 2.6vw, 30px);
}

.update-box h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.update-box p,
.update-box li {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.8;
}

.update-box ul {
  margin: 0;
  padding-left: 18px;
}

.update-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  background: #fff;
}

.update-date i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

@media (max-width: 860px) {
  .case-cols {
    grid-template-columns: 1fr;
  }
  .case-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .case-no {
    font-size: 1.1rem;
  }
}

@media (max-width: 620px) {
  .result-strip {
    grid-template-columns: 1fr;
  }
  .case-filter .case-count {
    margin-left: 0;
    width: 100%;
  }
}


/* ---------- case detail ---------- */

.case-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.case-nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: #fff;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.case-nav a:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.case-nav span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.case-nav b {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.case-nav .next {
  text-align: right;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.related-list a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.87rem;
  color: var(--ink-soft);
  background: #fff;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.related-list a:hover {
  border-color: var(--brand-200);
  color: var(--brand);
}

.case-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 22px;
  font-size: 0.84rem;
  color: #a9bcb8;
}

.case-meta-inline b {
  color: #e8efec;
  font-weight: 600;
}

.prose table.level-table td,
.prose table.level-table th {
  font-family: var(--font);
}

.prose .level-table td:first-child {
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  width: auto;
}

@media (max-width: 620px) {
  .case-nav {
    grid-template-columns: 1fr;
  }
  .case-nav .next {
    text-align: left;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .header-cta {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-sub {
    max-width: 40em;
  }
  .hero-figure {
    aspect-ratio: 16 / 10;
  }
  .hero-badge {
    left: 18px;
    bottom: 18px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .toc {
    display: none;
  }
  .g-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .zone {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .site-header.has-mobile-nav .nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(10, 31, 38, 0.6);
  }
  body.nav-open .nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(10, 31, 38, 0.6);
  }
  .nav a {
    padding: 12px 12px;
    font-size: 0.98rem;
  }
  .nav a[aria-current="page"]::after {
    display: none;
  }
  .nav a[aria-current="page"] {
    background: var(--brand-100);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .g-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .zone-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15.5px;
  }
  .g-2,
  .g-3,
  .g-4 {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-a-inner {
    padding-right: 0;
  }
  .btn {
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .hero-badge {
    min-width: 150px;
    padding: 11px 14px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .steps--v .step {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .steps--v .step::before {
    grid-row: auto;
    padding: 0;
  }
  .info-item {
    grid-template-columns: 88px 1fr;
  }
}
