/* ==========================================================================
   妙智科技 Ghost Theme
   Design system: Enterprise Gateway / Feature-Rich Showcase
   Palette: navy #0F172A · blue CTA #0369A1 · bg #F8FAFC · text #020617
   ========================================================================== */

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

:root {
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;

  --ink: #020617;
  --ink-2: #334155;
  --muted: #475569;
  --navy: #0f172a;
  --navy-2: #1e293b;
  --cta: #0369a1;
  --cta-hover: #075985;
  --cta-soft: #e0f2fe;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.05);
  --shadow-md: 0 8px 24px rgba(2, 6, 23, 0.08);
  --shadow-lg: 0 24px 48px rgba(2, 6, 23, 0.12);

  --container: 1120px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cta);
  text-decoration: none;
}

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

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(3, 105, 161, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(3, 105, 161, 0.18);
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 760px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 20px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.25);
}

.btn-primary:hover {
  background: var(--cta-hover);
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.32);
}

.btn-ghost {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--ink-2);
  background: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--cta-soft);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.brand-name {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-link:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(3, 105, 161, 0.09), transparent 65%),
    radial-gradient(ellipse 45% 40% at 10% 20%, rgba(14, 165, 233, 0.07), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cta-soft);
  color: #075985;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  color: var(--cta);
  position: relative;
}

.hero-sub {
  margin-top: 20px;
  max-width: 34em;
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--ink-2);
  font-size: 14px;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  color: var(--cta);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.pipeline-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pipeline-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--navy);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.pipeline-title {
  margin-left: 10px;
  font-size: 12.5px;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pipeline-body {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.pipeline-step.is-done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.pipeline-step.is-active {
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
  color: var(--ink);
}

.step-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--ink-2);
  flex-shrink: 0;
}

.pipeline-step.is-done .step-icon {
  background: #dcfce7;
  color: #15803d;
}

.pipeline-step.is-active .step-icon {
  background: var(--cta-soft);
  color: var(--cta);
}

.step-name {
  flex: 1;
}

.step-tag {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--border-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pipeline-step.is-done .step-tag { color: #16a34a; }
.pipeline-step.is-active .step-tag { color: var(--cta); }

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  color: var(--cta);
}

.hero-chip div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.hero-chip strong {
  font-size: 13.5px;
  color: var(--ink);
}

.hero-chip span {
  font-size: 12px;
  color: var(--muted);
}

.chip-a {
  top: -18px;
  right: -6px;
}

.chip-b {
  bottom: -20px;
  left: -10px;
}

/* Trust strip */
.trust-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
}

.trust-strip svg {
  color: var(--cta);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.eyebrow {
  display: inline-block;
  color: var(--cta);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 22px;
}

.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.service-card,
.feature-card,
.case-card,
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.service-card:hover,
.feature-card:hover,
.case-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.icon-tile {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--cta-soft);
  color: var(--cta);
  margin-bottom: 18px;
}

.service-card h3,
.feature-card h3,
.case-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p,
.feature-card p,
.case-card p,
.post-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.tag-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
}

.feature-card {
  background: var(--surface);
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--cta);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}

.process-step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Case cards ---------- */
.case-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cta);
  background: var(--cta-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.case-metrics {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  gap: 32px;
}

.case-metrics div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-metrics strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

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

/* ---------- Stats ---------- */
.stats-band {
  background: var(--navy);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #94a3b8;
}

/* ---------- Post cards ---------- */
.post-card {
  display: block;
  color: inherit;
}

.post-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.post-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cta);
}

.post-card:hover .post-more svg {
  transform: translateX(3px);
}

.post-more svg {
  transition: transform 0.2s var(--ease);
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 96px 0;
  background: var(--bg);
}

.cta-panel {
  background: linear-gradient(135deg, var(--navy) 0%, #0c3a5e 60%, var(--cta) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #fff;
  font-weight: 800;
}

.cta-copy p {
  margin-top: 14px;
  max-width: 36em;
  color: #cbd5e1;
  font-size: 16px;
}

.cta-points {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
  color: #7dd3fc;
}

.cta-points span::before {
  content: "·";
  margin-right: 8px;
  color: #38bdf8;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}

.cta-note {
  font-size: 13px;
  color: #94a3b8;
}

/* WeChat QR card */
.qr-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.qr-card img {
  display: block;
  width: 152px;
  height: 152px;
  border-radius: 10px;
}

.qr-card p {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.footer-icp a {
  color: inherit;
  transition: color 0.2s var(--ease);
}

.footer-icp a:hover {
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.brand-footer {
  color: #fff;
}

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #94a3b8;
  max-width: 30em;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 22px;
  padding-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
}

/* ---------- Article / pages ---------- */
.page-header,
.article-header {
  padding: 72px 0 36px;
  background:
    radial-gradient(ellipse 50% 60% at 80% 0%, rgba(3, 105, 161, 0.08), transparent 65%),
    var(--bg);
}

.page-header h1,
.article-header h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article-meta {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.article-image {
  margin: 0 auto 8px;
}

.article-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.article-body {
  padding: 40px 0 56px;
}

.gh-content {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.gh-content > * + * {
  margin-top: 1.2em;
}

.gh-content h2 {
  font-size: 1.55rem;
  margin-top: 2em;
}

.gh-content h3 {
  font-size: 1.25rem;
  margin-top: 1.8em;
}

.gh-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gh-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--cta);
  color: var(--muted);
  font-style: normal;
}

.gh-content pre {
  background: var(--navy);
  color: #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}

.gh-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}

.gh-content :not(pre) > code {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--cta-hover);
}

.gh-content img {
  border-radius: 12px;
}

/* Koenig editor wide/full width content */
.gh-content .kg-width-wide {
  margin-left: -80px;
  margin-right: -80px;
}

.gh-content .kg-width-full {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
}

@media (max-width: 900px) {
  .gh-content .kg-width-wide {
    margin-left: 0;
    margin-right: 0;
  }

  .gh-content .kg-width-full {
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
    left: 0;
    right: 0;
  }
}

.gh-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.4em 0;
}

.gh-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.gh-content th,
.gh-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.gh-content th {
  background: var(--surface-alt);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  padding-bottom: 72px;
}

.back-link:hover {
  color: var(--cta);
}

/* Pagination & empty */
.pagination {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.empty-state {
  color: var(--muted);
  text-align: center;
  padding: 60px 0;
}

/* 404 */
.error-page {
  padding: 120px 0;
  text-align: center;
}

.error-code {
  font-size: 96px;
  font-weight: 800;
  color: var(--border-strong);
  line-height: 1;
}

.error-page h1 {
  margin: 16px 0 10px;
  font-size: 1.6rem;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 22px;
  }

  .step-num {
    margin-bottom: 12px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    padding: 20px 0;
  }

  .trust-strip li {
    justify-content: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }

  .hero-chip {
    display: none;
  }

  .cta-section {
    padding: 64px 0;
  }

  .cta-panel {
    padding: 32px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 14px;
  }

  .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
  }
}

@media (max-width: 414px) {
  .hero-actions .btn {
    width: 100%;
  }

  .case-metrics {
    gap: 20px;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
