/* ============================================================
   MOON-TECH — site.css  (全站唯一样式表, token 对应 DESIGN.md)
   ============================================================ */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --primary: #0F172A;
  --on-primary: #FFFFFF;
  --secondary: #334155;
  --accent: #0369A1;
  --accent-hover: #075985;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --fg: #020617;
  --muted: #E8ECF1;
  --border: #E2E8F0;
  --destructive: #DC2626;

  --r-control: 6px;
  --r-card: 12px;

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-card-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 40px rgba(15, 23, 42, .10);
  --header-h: 68px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { color: var(--fg); line-height: 1.2; margin: 0 0 var(--sp-2); letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 var(--sp-2); max-width: 68ch; }
ul { margin: 0 0 var(--sp-2); padding-left: 1.2em; }
li { margin-bottom: .4em; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-3); }
.section { padding: var(--sp-6) 0; }
.section--tight { padding: var(--sp-5) 0; }
.section--white { background: var(--surface); }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--sp-2);
}
.section-head { max-width: 720px; margin-bottom: var(--sp-5); }
.section-head p { font-size: 1.06rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand-mark {
  font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; color: var(--primary);
}
.brand-mark b { color: var(--accent); font-weight: 800; }
.brand-sub { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); opacity: .75; }
.main-nav { display: flex; align-items: center; gap: var(--sp-2); }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: inline-block; padding: 9px 13px; border-radius: var(--r-control);
  font-size: .95rem; font-weight: 600; color: var(--secondary);
  transition: color .15s var(--ease-out), background-color .15s var(--ease-out);
}
.main-nav a:hover { color: var(--fg); background: var(--muted); }
.main-nav a[aria-current="page"] { color: var(--accent); background: rgba(3,105,161,.08); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--r-control);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--fg); position: relative;
  transition: transform .2s var(--ease-out), opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* dropdown (Solutions / Products) */
.has-drop { position: relative; }
.has-drop > a::after { content: " ▾"; font-size: .7em; color: var(--secondary); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
}
.has-drop:hover > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 10px 12px; border-radius: var(--r-control); font-weight: 600; font-size: .93rem; color: var(--secondary); }
.drop a:hover { background: var(--bg); color: var(--accent); }
.drop a small { display: block; font-weight: 500; font-size: .8rem; color: var(--secondary); opacity: .7; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-control); border: 1px solid transparent;
  font-family: var(--font); font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background-color .15s var(--ease-out), color .15s var(--ease-out),
              border-color .15s var(--ease-out), transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--ring, var(--primary)); outline-offset: 2px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 6px 18px rgba(3,105,161,.28); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--fg); background: var(--surface); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--muted); color: var(--primary); }
.btn--sm { padding: 9px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--sp-6); align-items: center; padding: var(--sp-6) 0;
}
.hero h1 { margin-bottom: var(--sp-3); }
.hero .lead { font-size: 1.13rem; color: var(--secondary); margin-bottom: var(--sp-4); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: .82rem; font-weight: 700; color: var(--secondary);
  margin-bottom: var(--sp-3);
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero-figure { position: relative; min-width: 0; }
.hero-figure .frame {
  border-radius: var(--r-card); overflow: hidden; background: var(--muted);
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.hero-figure img { width: 100%; }
.hero-caption {
  position: absolute; left: var(--sp-2); bottom: var(--sp-2);
  background: rgba(15,23,42,.88); color: #fff; border-radius: var(--r-control);
  font-size: .8rem; font-weight: 600; padding: 8px 12px; max-width: 82%;
}

/* page hero (inner pages) */
.page-hero { background: var(--primary); color: #fff; }
.page-hero .eyebrow { color: #7DD3FC; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #CBD5E1; }
.page-hero-inner { padding: var(--sp-6) 0; max-width: 760px; }

/* ---------- stats ---------- */
.stats { background: var(--primary); color: #fff; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4);
  padding: var(--sp-5) 0;
}
.stat { text-align: left; border-left: 2px solid rgba(125,211,252,.35); padding-left: var(--sp-2); }
.stat-num { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.stat-num .suffix { color: #7DD3FC; }
.stat-label { font-size: .9rem; color: #94A3B8; margin-top: 4px; font-weight: 600; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: var(--sp-4) var(--sp-3); min-width: 0;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: rgba(3,105,161,.35); }
.card .card-icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(3,105,161,.08); color: var(--accent); margin-bottom: var(--sp-2);
}
.card .card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: .95rem; margin-bottom: var(--sp-2); }
.card-link { font-weight: 700; font-size: .93rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 15px; height: 15px; transition: transform .15s var(--ease-out); }
.card:hover .card-link svg { transform: translateX(3px); }

/* product card */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card .ph { background: var(--muted); overflow: hidden; aspect-ratio: 700/394; }
.product-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1; }
.product-card .tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.product-card p { flex: 1; }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-6); align-items: center; }
.split--rev .split-fig { order: 2; }
.split-fig { position: relative; min-width: 0; }
.split-fig .frame { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); background: var(--muted); }
.split-fig img { width: 100%; }

/* ---------- spec table ---------- */
.spec-wrap { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table caption { text-align: left; padding: 14px var(--sp-3); font-weight: 700; color: var(--fg); background: var(--bg); border-bottom: 1px solid var(--border); }
.spec-table th, .spec-table td { text-align: left; padding: 11px var(--sp-3); border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--secondary); background: #FCFDFE; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: var(--fg); font-weight: 600; }

/* ---------- trust bar ---------- */
.trust { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; padding: var(--sp-3) 0; }
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
  padding: 8px 18px; font-size: .88rem; font-weight: 700; color: var(--secondary);
}
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: #fff; border-radius: var(--r-card); padding: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #CBD5E1; margin: 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--sp-3); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--sp-4) var(--sp-3); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: .85rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); margin-bottom: var(--sp-1);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- feature list ---------- */
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--secondary); }
.feat-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(3,105,161,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230369A1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .85rem; color: var(--secondary); margin-bottom: var(--sp-2); }
.crumbs a { color: var(--secondary); font-weight: 600; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- form ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--sp-4); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--fg); }
.field label .req { color: var(--destructive); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--fg);
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-control);
  background: var(--bg); transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(3,105,161,.15);
}
.field .err { font-size: .8rem; color: var(--destructive); font-weight: 600; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--destructive); }
.field.invalid .err { display: block; }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--secondary); margin-top: var(--sp-2); }
.form-success {
  display: none; padding: var(--sp-3); border-radius: var(--r-card);
  background: rgba(3,105,161,.08); border: 1px solid rgba(3,105,161,.3);
  color: var(--accent-hover); font-weight: 700;
}
form.sent .form-success { display: block; }

/* ---------- contact info ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-5); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci-icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(3,105,161,.08); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.contact-list .ci-icon svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--fg); font-size: .95rem; }
.contact-list span, .contact-list a { font-size: .93rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--primary); color: #94A3B8; margin-top: var(--sp-7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--sp-5); padding: var(--sp-6) 0 var(--sp-5); }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #CBD5E1; font-size: .93rem; font-weight: 500; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-mark { color: #fff; font-size: 1.3rem; }
.footer-brand .brand-mark b { color: #7DD3FC; }
.footer-brand p { font-size: .92rem; max-width: 34ch; margin-top: var(--sp-2); }
.footer-bottom { border-top: 1px solid rgba(148,163,184,.2); padding: var(--sp-3) 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: space-between; font-size: .84rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #7DD3FC; }

/* ---------- reveal motion (html.js 门控) ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out); }
html.js .reveal-clip.in { clip-path: inset(0 0 0 0); }
html.js .stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
html.js .stagger.in > * { opacity: 1; transform: none; }
html.js .stagger.in > *:nth-child(1) { transition-delay: 0ms; }
html.js .stagger.in > *:nth-child(2) { transition-delay: 60ms; }
html.js .stagger.in > *:nth-child(3) { transition-delay: 120ms; }
html.js .stagger.in > *:nth-child(4) { transition-delay: 180ms; }
html.js .stagger.in > *:nth-child(5) { transition-delay: 240ms; }
html.js .stagger.in > *:nth-child(6) { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .stagger > * { opacity: 1; transform: none; transition: none; }
  html.js .reveal-clip { clip-path: none; transition: none; }
}

/* ---------- insights (blog) ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: var(--sp-3); font-size: .85rem; font-weight: 600; color: #94A3B8; }
.article-layout { display: grid; grid-template-columns: minmax(0, 7.2fr) minmax(0, 4fr); gap: var(--sp-5); align-items: start; }
.prose { min-width: 0; }
.prose h2 { margin: var(--sp-5) 0 var(--sp-2); }
.prose h3 { margin: var(--sp-4) 0 10px; }
.prose h3:first-of-type { margin-top: 0; }
.prose p { margin-bottom: var(--sp-2); }
.prose > p:first-child { font-size: 1.08rem; color: var(--fg); }
.prose ul, .prose ol { margin-bottom: var(--sp-2); }
/* fact / check lists */
.checks { list-style: none; padding: 0; counter-reset: chk; display: grid; gap: 14px; margin: 0 0 var(--sp-3); }
.checks li { position: relative; padding-left: 48px; min-width: 0; }
.checks li::before {
  counter-increment: chk; content: counter(chk);
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(3,105,161,.08); color: var(--accent); border: 1px solid rgba(3,105,161,.25);
  font-size: .95rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.checks li span { display: block; font-size: .97rem; }
/* comparison table */
.cmp-wrap { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--surface); margin: 0 0 var(--sp-3); box-shadow: var(--shadow-card); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.cmp-table th, .cmp-table td { text-align: left; padding: 12px var(--sp-3); border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp-table thead th { background: var(--primary); color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.cmp-table thead th:first-child { width: 26%; }
.cmp-table tbody th { font-weight: 700; color: var(--fg); background: var(--bg); width: 26%; }
.cmp-table td { color: var(--secondary); }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: none; }
/* sticky sidebar */
.side-stack { display: grid; gap: var(--sp-3); position: sticky; top: calc(var(--header-h) + var(--sp-3)); }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--sp-3); box-shadow: var(--shadow-card); }
.side-card h3 { font-size: 1.02rem; margin-bottom: var(--sp-2); }
.side-card ul { list-style: none; padding: 0; margin: 0 0 var(--sp-2); display: grid; gap: 10px; }
.side-card ul li { font-size: .9rem; color: var(--secondary); padding-left: 22px; position: relative; }
.side-card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(3,105,161,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230369A1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}
.side-card p { font-size: .92rem; margin-bottom: var(--sp-2); }
.side-card .btn { margin-right: 8px; margin-bottom: 8px; }
/* index post cards */
.post-card { padding: 0; }
.post-card .body { padding: var(--sp-4) var(--sp-3); display: flex; flex-direction: column; height: 100%; }
.post-card .tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.post-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.post-card p { font-size: .95rem; flex: 1; }
.post-meta { font-size: .82rem; font-weight: 600; color: var(--secondary); opacity: .7; margin-bottom: var(--sp-2); }
/* in-article CTA */
.article-cta { margin-top: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-card); padding: var(--sp-4); box-shadow: var(--shadow-card); }
.article-cta h2 { font-size: 1.35rem; margin-bottom: 8px; }
.article-cta p { margin-bottom: var(--sp-3); font-size: .97rem; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound .code { font-size: 4.5rem; font-weight: 800; color: var(--primary); line-height: 1; }

/* ---------- mobile ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero-figure { max-width: 560px; }
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: var(--sp-4); }
  .split, .split--rev { grid-template-columns: 1fr; gap: var(--sp-4); }
  .split--rev .split-fig { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li { width: 100%; }
  .main-nav a { display: block; padding: 13px 14px; font-size: 1rem; }
  .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 14px; min-width: 0;
    display: none;
  }
  .has-drop.drop-open .drop { display: block; }
  .nav-toggle { display: inline-flex; }
  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); }
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: var(--sp-4); }
  .section, .section--tight { padding: var(--sp-5) 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
