/* ============================================================
   Aurexom Agri — Design System & Site Styles
   Style: Trust & Authority · Light theme · Earth-green palette
   Fonts: system stacks (performance in CN/ME/LatAm markets)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --color-primary: #1e4d33;        /* deep prairie green */
  --color-primary-dark: #153824;
  --color-primary-darker: #0e2718;
  --color-on-primary: #ffffff;
  --color-secondary: #40614d;
  --color-accent: #b98a1d;         /* harvest gold */
  --color-accent-soft: #f4ead0;
  --color-background: #f8faf7;
  --color-surface: #ffffff;
  --color-foreground: #17231b;
  --color-muted-text: #51625a;
  --color-muted: #eef2ed;
  --color-border: #dde5dd;
  --color-destructive: #b3261e;
  --color-success: #2b6e3f;
  --color-ring: #1e4d33;

  /* Type scale */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.4375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 2.875rem;

  /* Spacing (4/8 rhythm) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-1: 0 1px 3px rgba(23, 35, 27, 0.07), 0 1px 2px rgba(23, 35, 27, 0.05);
  --shadow-2: 0 6px 20px rgba(23, 35, 27, 0.09);
  --container: 72rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-foreground);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

h1, h2, h3, h4 { line-height: 1.22; font-weight: 700; color: var(--color-primary-darker); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, var(--fs-3xl)); }
h2 { font-size: clamp(1.5rem, 3vw, var(--fs-2xl)); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p  { max-width: 68ch; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--alt { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.section-head { max-width: 46rem; margin-bottom: var(--sp-6); }
.section-head p { color: var(--color-muted-text); margin-top: var(--sp-3); font-size: var(--fs-md); }
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--color-accent);
  margin-bottom: var(--sp-3);
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-primary); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.topbar {
  background: var(--color-primary-darker); color: #cfe0d4;
  font-size: var(--fs-xs);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 2.25rem; gap: var(--sp-4); flex-wrap: wrap; padding-block: 0.25rem;
}
.topbar a { color: #e8f1ea; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.lang-switch { display: flex; gap: var(--sp-2); align-items: center; list-style: none; padding: 0; }
.lang-switch li:not(:last-child)::after { content: "·"; margin-left: var(--sp-2); color: #6d8877; }
.lang-switch [aria-current="true"] { font-weight: 700; color: var(--color-accent); }

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; gap: var(--sp-5); min-height: 4.5rem;
}
.brand {
  display: flex; align-items: center; gap: var(--sp-3);
  text-decoration: none; color: var(--color-primary-darker);
  font-weight: 800; font-size: 1.28rem; letter-spacing: 0.01em; line-height: 1.1;
}
.brand svg { width: 2.15rem; height: 2.15rem; flex: none; }
.brand small {
  display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em;
  color: var(--color-accent); text-transform: uppercase;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: var(--sp-2); list-style: none; padding: 0; align-items: center; }
.nav a {
  display: block; padding: var(--sp-2) var(--sp-3); text-decoration: none;
  color: var(--color-foreground); font-weight: 600; font-size: var(--fs-sm);
  border-radius: var(--radius-sm); transition: background 150ms ease, color 150ms ease;
}
.nav a:hover { background: var(--color-muted); color: var(--color-primary-dark); }
.nav a[aria-current="page"] { color: var(--color-primary); box-shadow: inset 0 -2px 0 var(--color-accent); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: var(--sp-2) var(--sp-3); min-height: 44px; min-width: 44px;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 0.8rem 1.5rem; min-height: 44px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none; border: 2px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms ease;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { background: var(--color-primary-dark); color: var(--color-on-primary); }
.btn--gold { background: var(--color-accent); color: #241a03; }
.btn--gold:hover { background: #a2770f; color: #fff; }
.btn--outline { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--lg { padding: 1rem 2rem; font-size: var(--fs-base); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(90rem 40rem at 110% -20%, rgba(185, 138, 29, 0.28), transparent 60%),
    linear-gradient(160deg, var(--color-primary-darker) 0%, var(--color-primary-dark) 55%, var(--color-primary) 100%);
  color: #fff; overflow: hidden; position: relative;
}
/* photographic hero: dark wash keeps the headline legible over the image */
.hero {
  background-image:
    linear-gradient(105deg, rgba(14,39,24,0.94) 0%, rgba(14,39,24,0.80) 38%, rgba(21,56,36,0.55) 70%, rgba(30,77,51,0.45) 100%),
    image-set(url("/assets/img/home-hero.webp") type("image/webp"),
    url("/assets/img/home-hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}
.hero .container { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.hero h1 { color: #fff; max-width: 17em; }
.hero .lede { margin-top: var(--sp-4); font-size: clamp(1.05rem, 2vw, 1.3rem); color: #d8e6dc; max-width: 40em; }
.hero-ctas { margin-top: var(--sp-6); display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.hero-pattern { position: absolute; right: -4rem; bottom: -2rem; width: 26rem; opacity: 0.14; pointer-events: none; }
.hero-stats { margin-top: var(--sp-7); display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.hero-stats div { border-left: 3px solid var(--color-accent); padding-left: var(--sp-4); }
.hero-stats strong { display: block; font-size: var(--fs-lg); color: #fff; }
.hero-stats span { font-size: var(--fs-xs); color: #b9cec0; letter-spacing: 0.04em; text-transform: uppercase; }

/* Interior page hero */
.page-hero { background: linear-gradient(160deg, var(--color-primary-darker), var(--color-primary)); color: #fff; }
.page-hero .container { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { color: #fff; }
.page-hero .lede { margin-top: var(--sp-3); color: #d8e6dc; font-size: var(--fs-md); max-width: 46em; }
.breadcrumbs { font-size: var(--fs-xs); margin-bottom: var(--sp-4); color: #a9c3b1; }
.breadcrumbs a { color: #cfe0d4; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: #fff; }
.breadcrumbs span[aria-current] { color: #fff; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--sp-5); }
.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: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: var(--sp-5); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: var(--sp-3);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow-2); border-color: var(--color-primary); transform: translateY(-2px); color: inherit; }
.card h3 { color: var(--color-primary-dark); }
.card p { font-size: var(--fs-sm); color: var(--color-muted-text); }
.card .card-link { margin-top: auto; font-weight: 700; font-size: var(--fs-sm); color: var(--color-primary); }
.card-icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm);
  background: var(--color-muted); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }

/* ---------- Photography ---------- */
.product-photo {
  display: block; overflow: hidden; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border); background: var(--color-muted);
}
.product-photo img { display: block; width: 100%; height: auto; }
.product-photo--card img { aspect-ratio: 3 / 2; object-fit: cover; }
.product-photo--lead img { aspect-ratio: 1 / 1; object-fit: cover; }
.product-photo--lead.product-photo--wide img { aspect-ratio: 3 / 2; }
.product-photo--field { margin-top: var(--sp-4); }
.product-photo--field img { aspect-ratio: 3 / 2; object-fit: cover; }
a.card:hover .product-photo { border-color: var(--color-primary); }

/* portrait figure that body copy wraps around */
.page-figure {
  float: right; width: min(32%, 17rem); margin: 0.25rem 0 var(--sp-5) var(--sp-6);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-1);
}
.page-figure img { display: block; width: 100%; height: auto; }
.section > .container::after { content: ""; display: block; clear: both; }

/* photographic page headers */
.page-hero--about, .page-hero--sustainability, .page-hero--insights,
.page-hero--logistics, .page-hero--markets {
  background-size: cover; background-position: center 55%; background-repeat: no-repeat;
}
.page-hero--about {
  background-image: linear-gradient(100deg, rgba(14,39,24,0.93) 0%, rgba(21,56,36,0.78) 55%, rgba(30,77,51,0.58) 100%),
    image-set(url("/assets/img/about-vancouver.webp") type("image/webp"),
    url("/assets/img/about-vancouver.jpg") type("image/jpeg"));
}
.page-hero--sustainability {
  background-image: linear-gradient(100deg, rgba(14,39,24,0.93) 0%, rgba(21,56,36,0.78) 55%, rgba(30,77,51,0.58) 100%),
    image-set(url("/assets/img/sustainability-soil.webp") type("image/webp"),
    url("/assets/img/sustainability-soil.jpg") type("image/jpeg"));
}
.page-hero--insights {
  background-image: linear-gradient(100deg, rgba(14,39,24,0.93) 0%, rgba(21,56,36,0.78) 55%, rgba(30,77,51,0.58) 100%),
    image-set(url("/assets/img/insights-prairie-sky.webp") type("image/webp"),
    url("/assets/img/insights-prairie-sky.jpg") type("image/jpeg"));
}
.page-hero--logistics {
  background-image: linear-gradient(100deg, rgba(14,39,24,0.93) 0%, rgba(21,56,36,0.78) 55%, rgba(30,77,51,0.58) 100%),
    image-set(url("/assets/img/logistics-containers.webp") type("image/webp"),
    url("/assets/img/logistics-containers.jpg") type("image/jpeg"));
}
.page-hero--markets {
  background-image: linear-gradient(100deg, rgba(14,39,24,0.93) 0%, rgba(21,56,36,0.78) 55%, rgba(30,77,51,0.58) 100%),
    image-set(url("/assets/img/markets-shipping.webp") type("image/webp"),
    url("/assets/img/markets-shipping.jpg") type("image/jpeg"));
}

/* Product swatch (CSS-only product visual) */
.product-swatch {
  height: 9rem; border-radius: var(--radius-sm); position: relative; overflow: hidden;
  border: 1px solid var(--color-border);
}
.product-swatch::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1.5px, transparent 1.6px);
  background-size: 11px 11px; opacity: 0.5;
}
.swatch--green-lentil { background: linear-gradient(135deg, #7d9459, #55683a); }
.swatch--red-lentil   { background: linear-gradient(135deg, #d97f4e, #b85c31); }
.swatch--chickpea     { background: linear-gradient(135deg, #e4cb96, #c3a468); }
.swatch--green-pea    { background: linear-gradient(135deg, #6f9e63, #4c7a42); }
.swatch--yellow-pea   { background: linear-gradient(135deg, #e2bb55, #c39a2e); }
.swatch--flax         { background: linear-gradient(135deg, #8a5a34, #5f3c20); }
.swatch--other        { background: linear-gradient(135deg, #90856b, #6a6047); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: var(--sp-6); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--color-accent); color: #241a03; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--color-muted-text); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 30rem; }
caption { text-align: left; padding: var(--sp-4) var(--sp-4) 0; font-weight: 700; color: var(--color-primary-dark); }
th, td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--color-border); }
thead th { background: var(--color-muted); color: var(--color-primary-darker); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
tbody th { font-weight: 600; }
td.num, th.num { font-variant-numeric: tabular-nums; }

/* ---------- Checklist / doc list ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.checklist svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.2rem; color: var(--color-success); }

/* ---------- FAQ ---------- */
.faq-group h2 { margin-bottom: var(--sp-4); }
details.faq {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); margin-bottom: var(--sp-3);
}
details.faq summary {
  padding: var(--sp-4) var(--sp-5); font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); align-items: center;
  color: var(--color-primary-dark);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; width: 0.6rem; height: 0.6rem; flex: none;
  border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg); transition: transform 200ms ease; margin-right: 0.25rem;
}
details.faq[open] summary::after { transform: rotate(-135deg); }
details.faq .faq-body { padding: 0 var(--sp-5) var(--sp-4); color: var(--color-muted-text); font-size: var(--fs-sm); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); color: #fff; }
.cta-band .container { padding-block: var(--sp-8); display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; max-width: 22em; }
.cta-band p { color: #d8e6dc; margin-top: var(--sp-2); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-5); }
.form-field { display: flex; flex-direction: column; gap: var(--sp-1); }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: var(--fs-sm); color: var(--color-primary-darker); }
.form-field .req { color: var(--color-destructive); }
.form-field .hint { font-size: var(--fs-xs); color: var(--color-muted-text); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; padding: 0.7rem 0.9rem; min-height: 44px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-surface); color: var(--color-foreground);
  transition: border-color 150ms ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--color-primary); outline: 2px solid rgba(30, 77, 51, 0.15);
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--color-destructive); }
.field-error { display: none; font-size: var(--fs-xs); color: var(--color-destructive); font-weight: 600; }
.has-error .field-error { display: block; }
fieldset.form-options { border: none; padding: 0; }
.consent { font-size: var(--fs-xs); color: var(--color-muted-text); display: flex; gap: var(--sp-3); align-items: flex-start; }
.consent input { margin-top: 0.3rem; min-height: auto; width: 1.1rem; height: 1.1rem; }
.btn[disabled] { opacity: 0.65; cursor: wait; }
.form-status { display: none; padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-sm); font-weight: 600; margin-top: var(--sp-4); }
.form-status.ok { display: block; background: #e6f2e9; color: var(--color-success); border: 1px solid #bcd9c4; }
.form-status.err { display: block; background: #f9e8e7; color: var(--color-destructive); border: 1px solid #ecc7c4; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Two-column info ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-7); align-items: start; }
.info-panel {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent); border-radius: var(--radius);
  padding: var(--sp-5); box-shadow: var(--shadow-1);
}
.info-panel h3 { margin-bottom: var(--sp-3); }
.info-panel ul { padding-left: 1.2rem; font-size: var(--fs-sm); color: var(--color-muted-text); display: grid; gap: var(--sp-2); }

/* Note / disclaimer */
.note {
  font-size: var(--fs-xs); color: var(--color-muted-text);
  background: var(--color-muted); border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4); border-left: 3px solid var(--color-accent);
}

/* ---------- Prose (legal & articles) ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-3); font-size: var(--fs-xl); }
.prose h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p, .prose li { color: #33423a; }
.prose p { margin-bottom: var(--sp-4); }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: var(--sp-4); display: grid; gap: var(--sp-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-darker); color: #b9cec0; font-size: var(--fs-sm); }
.site-footer .container { padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.site-footer a { color: #cfe0d4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { max-width: 30ch; font-size: var(--fs-xs); margin-top: var(--sp-3); color: #93ac9c; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.14); margin-top: var(--sp-6); padding-top: var(--sp-4);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between;
  font-size: var(--fs-xs); color: #93ac9c;
}

/* ---------- Utility ---------- */
.mt-2 { margin-top: var(--sp-2); } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); }
.text-muted { color: var(--color-muted-text); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) {
  .page-figure { float: none; width: 100%; margin: 0 0 var(--sp-5); }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-2); margin-left: 0; padding: var(--sp-4);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: var(--sp-3) var(--sp-4); min-height: 44px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--color-accent); border-radius: 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-stats { gap: var(--sp-4); }
}
@media (max-width: 30rem) {
  .steps { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
