/* ==========================================================================
   lean2automate — design system
   Palette derived from the brand logo: ink navy, teal, blue, gold.
   ========================================================================== */

:root {
  --bg: #f8f6f1;
  --bg-soft: #f1ede3;
  --card: #ffffff;
  --ink: #17202a;
  --ink-soft: #43556a;
  --muted: #74839a;
  --teal: #0f766e;
  --teal-soft: #e2f1ef;
  --blue: #2563eb;
  --blue-soft: #e7edfc;
  --gold: #c0840f;
  --gold-soft: #f8efdc;
  --coral: #d6455a;
  --coral-soft: #fbe7ea;
  --navy: #101b29;
  --line: #e5dfd2;
  --line-strong: #cfd8e3;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 32, 42, 0.05), 0 4px 14px rgba(23, 32, 42, 0.05);
  --shadow-md: 0 2px 4px rgba(23, 32, 42, 0.05), 0 14px 34px rgba(23, 32, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(23, 32, 42, 0.16);
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(1000px 500px at 85% -5%, rgba(37, 99, 235, 0.07), transparent 70%),
    radial-gradient(900px 480px at -10% 20%, rgba(15, 118, 110, 0.07), transparent 70%),
    var(--bg);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.28rem; }

h1 .accent,
h2 .accent {
  color: var(--teal);
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid rgba(23, 32, 42, 0.07);
  background: rgba(248, 246, 241, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand img {
  height: 42px;
  width: auto;
}

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

.nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 160ms ease, background 160ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(23, 32, 42, 0.06);
}

.nav a.active {
  color: var(--teal);
  background: var(--teal-soft);
}

.nav .nav-cta {
  margin-left: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}

.nav .nav-cta:hover {
  color: #fff;
  background: var(--teal);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

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

/* ---------- Layout helpers ---------- */

main {
  display: block;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 42px);
}

.section-heading {
  max-width: 640px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(120deg, var(--teal), var(--blue));
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.button.primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
}

.button.secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button.on-dark {
  color: var(--navy);
  background: #fff;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) clamp(18px, 4vw, 42px) clamp(30px, 4vw, 56px);
}

.hero-copy h1 {
  margin: 0 0 20px;
}

.hero-copy .lead {
  max-width: 34rem;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

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

.hero-points li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--teal), var(--blue)) border-box;
  border: 5px solid transparent;
}

.hero-art {
  position: relative;
}

/* ---------- Real-life photography ---------- */

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 27, 41, 0.02) 45%, rgba(16, 27, 41, 0.38));
}

.hero-art .photo-frame {
  aspect-ratio: 7 / 6;
}

/* Floating status chips over photos */
.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.84rem;
  line-height: 1.35;
  backdrop-filter: blur(6px);
  animation: chipFloat 5.5s ease-in-out infinite;
}

.float-chip .ind {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.float-chip.alert .ind {
  background: var(--coral);
  animation: indPulse 1.6s ease-in-out infinite;
}

.float-chip.ok .ind { background: var(--teal); }
.float-chip.warn .ind { background: var(--gold); }

.float-chip.tl { top: 18px; left: 18px; }
.float-chip.tr { top: 18px; right: 18px; }
.float-chip.bl { bottom: 18px; left: 18px; }
.float-chip.br { bottom: 18px; right: 18px; animation-delay: 1.4s; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes indPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Card photo tops */
.info-card .photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.info-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.info-card:hover .photo img {
  transform: scale(1.06);
}

.info-card .photo .float-chip {
  padding: 7px 13px;
  font-size: 0.78rem;
}

/* ---------- Stat band ---------- */

.stat-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 42px) clamp(30px, 4vw, 48px);
}

.stat-band-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 26px clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.stat {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.stat strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat strong b {
  font-weight: inherit;
  color: var(--teal);
}

.stat > span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.stat strong span {
  font: inherit;
  color: inherit;
}

/* ---------- Card grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

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

.info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.info-card .scene {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(170deg, #fbfcfe, #f0f3f8);
}

.info-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 24px 26px 28px;
}

.info-card h3 {
  font-size: 1.3rem;
}

.info-card p {
  color: var(--ink-soft);
}

.kicker {
  display: inline-flex;
  width: max-content;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker.teal { color: var(--teal); background: var(--teal-soft); }
.kicker.blue { color: var(--blue); background: var(--blue-soft); }
.kicker.gold { color: #96660a; background: var(--gold-soft); }
.kicker.coral { color: var(--coral); background: var(--coral-soft); }

.real-life {
  margin-top: 2px;
  padding: 13px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--gold-soft);
  color: #6b4d10;
  font-size: 0.94rem;
  line-height: 1.6;
}

.real-life strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #96660a;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.feature-list li {
  position: relative;
  padding-left: 26px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--teal-soft);
}

.feature-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.53em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.card-link {
  margin-top: auto;
  padding-top: 6px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.95rem;
}

.info-card:hover .card-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Story rows (alternating scenario sections) ---------- */

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px) 0;
}

.story-row + .story-row {
  border-top: 1px dashed var(--line-strong);
}

.story-row:nth-child(even) .story-art {
  order: 2;
}

.story-art .photo-frame {
  aspect-ratio: 16 / 11;
  border-radius: 22px;
}

.story-copy .time-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-copy .time-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.story-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.story-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.story-copy .outcome {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.95rem;
}

/* ---------- Steps ---------- */

.steps-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.step .step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- Industry tiles ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.cta-band {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 7vw, 92px);
  padding: 0 clamp(18px, 4vw, 42px);
}

.cta-band-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 5vw, 60px);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(37, 99, 235, 0.35), transparent 70%),
    radial-gradient(500px 280px at 10% 100%, rgba(15, 118, 110, 0.4), transparent 70%),
    var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-band-inner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

.cta-band-inner p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(18px, 4vw, 42px) clamp(10px, 2vw, 24px);
}

.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 44rem;
}

/* ---------- Forms ---------- */

.form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.form-layout.flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.panel h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.panel > p {
  color: var(--ink-soft);
}

.panel .photo-frame {
  margin: 18px 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 22px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fdfdfb;
  color: var(--ink);
  font-weight: 500;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-grid textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-grid label.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-grid label.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

/* Honeypot field — hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note.ok {
  color: var(--teal);
  font-weight: 700;
}

.side-stack {
  display: grid;
  gap: 16px;
}

.side-stack article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.side-stack h2 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.side-stack p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.side-stack a {
  color: var(--blue);
  font-weight: 700;
}

.side-stack a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Legal pages ---------- */

.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(18px, 4vw, 42px) clamp(48px, 7vw, 92px);
}

.legal-wrap h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 10px 0 8px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.legal-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.legal-panel h2 {
  font-size: 1.25rem;
  margin: 26px 0 10px;
}

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

.legal-panel p,
.legal-panel li {
  color: var(--ink-soft);
}

.legal-panel ul {
  margin: 10px 0;
  padding-left: 22px;
}

.legal-panel a {
  color: var(--blue);
  font-weight: 700;
}

/* ---------- 404 ---------- */

.notfound {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) 20px;
}

.notfound .photo-frame {
  width: min(460px, 100%);
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
}

/* Inner page hero with side photo */
.page-hero.with-photo {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
  padding-bottom: clamp(30px, 4vw, 48px);
}

.page-hero.with-photo .photo-frame {
  aspect-ratio: 16 / 11;
}

@media (max-width: 900px) {
  .page-hero.with-photo {
    grid-template-columns: 1fr;
  }
}

.notfound h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 12px;
}

.notfound p {
  color: var(--ink-soft);
  margin-bottom: 26px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(18px, 4vw, 42px) 28px;
}

.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
}

.footer-inner > div > p {
  max-width: 30rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

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

.footer-col a {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.96rem;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-base {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 42px) 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .card-grid.cols-3,
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-art {
    max-width: 640px;
  }

  .form-layout,
  .form-layout.flip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow-lg);
  }

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

  .nav a {
    padding: 13px 16px;
  }

  .nav .nav-cta {
    margin: 6px 0 0;
    text-align: center;
  }

  .story-row {
    grid-template-columns: 1fr;
  }

  .story-row:nth-child(even) .story-art {
    order: 0;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

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

@media (max-width: 680px) {
  .card-grid,
  .card-grid.cols-3,
  .tile-grid {
    grid-template-columns: 1fr;
  }

  .stat-band-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-track {
    grid-template-columns: 1fr;
  }

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
