/* Compass Zero — landing page
   Design system: brand teal + ink, Poppins. Tokens first, components below.
   Contrast checked: --teal-ink on white 5.9:1, --muted on white 5.6:1, ink on teal 8.2:1. */

:root {
  --teal: #57BBBF;          /* brand surface (hero, accents, dots) — never as text on white */
  --teal-strong: #3FA6AA;
  --teal-ink: #1E6F73;      /* teal for text/icons on light backgrounds */
  --teal-tint: #EAF6F6;
  --teal-tint-2: #D5EEEE;
  --ink: #131313;
  --ink-2: #0E1A1B;         /* dark sections */
  --text: #1A1A1A;
  --muted: #5B6B6C;
  --muted-on-dark: #A9C4C5;
  --line: #E2E8E8;
  --line-dark: rgba(255,255,255,0.12);
  --surface: #FFFFFF;
  --surface-2: #F4F8F8;
  --amber: #C98A12;         /* baseline / risk in charts */

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14,26,27,0.06);
  --shadow: 0 12px 32px -12px rgba(14,26,27,0.18);
  --shadow-lg: 0 30px 60px -20px rgba(14,26,27,0.35);

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.hero :focus-visible, .dark :focus-visible { outline-color: var(--ink); }
.dark :focus-visible { outline-color: var(--teal); }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 560px) { .wrap { padding: 0 20px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 10px;
  font: inherit; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-outline { border-color: rgba(19,19,19,0.55); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: rgba(255,255,255,0.35); }
.btn-teal { background: var(--teal); color: var(--ink); }
.btn-teal:hover { background: #74CBCE; transform: translateY(-1px); }
.btn-ghost-dark { border-color: var(--line-dark); color: #fff; }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.5); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 9px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

.brand {
  display: inline-flex; align-items: baseline; gap: 1px;
  color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap;
}
.btn { white-space: nowrap; }
@media (max-width: 420px) { .nav .brand { font-size: 15px; } .nav .wrap { gap: 12px; } }
.brand .dot { color: var(--teal); font-size: 22px; line-height: 0; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  color: #3A4647; text-decoration: none; font-size: 14px; padding: 10px 12px; border-radius: 8px;
  transition: color .15s, background-color .15s;
}
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .2s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 20px; display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 16px; }
  .nav-links .nav-signin { display: flex; margin-top: 8px; }
  .nav-actions .nav-signin { display: none; }
}
@media (min-width: 901px) { .nav-links .nav-signin { display: none; } }
@media (max-width: 420px) { .nav-actions .btn-dark { padding: 0 12px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,0.35), transparent 60%),
    linear-gradient(180deg, var(--teal) 0%, #4FB3B7 100%);
  color: var(--ink);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image:
    linear-gradient(rgba(19,19,19,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,19,19,0.18) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 96px;
}
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: currentColor; }

.hero h1 {
  font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 600; margin: 0 0 24px;
}
.hero h1 strong { font-weight: 800; white-space: nowrap; }
.hero .lead { font-size: 19px; line-height: 1.55; max-width: 560px; margin: 0 0 32px; color: #10292A; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.45); border: 1px solid rgba(19,19,19,0.12);
}
.hero-chips svg { flex: none; }

/* Product preview card */
.hero-visual { position: relative; }
.preview {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px; color: var(--text);
  border: 1px solid rgba(255,255,255,0.6);
}
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.preview-dots { display: flex; gap: 6px; }
.preview-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.preview-title { font-size: 13px; font-weight: 600; }
.preview-badge {
  font-size: 11px; font-weight: 500; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.levels { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 10px; margin-bottom: 14px; }
.levels span {
  flex: 1; text-align: center; font-size: 12px; font-weight: 500; padding: 7px 4px; border-radius: 7px; color: var(--muted);
}
.levels span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi .k-label { font-size: 11px; color: var(--muted); line-height: 1.3; }
.kpi .k-val { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .k-delta { font-size: 11.5px; font-weight: 500; color: var(--teal-ink); }
.kpi .k-delta.warn { color: #9A6608; }

.chart-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 8px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.chart-head b { font-size: 12.5px; font-weight: 600; }
.legend { display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 14px; height: 0; border-top: 2.5px solid; display: inline-block; }
.legend .l-base { border-color: var(--amber); }
.legend .l-scen { border-color: var(--teal-strong); }
.legend .l-budget { border-color: var(--ink); border-top-style: dashed; border-top-width: 1.5px; }
.pathway { width: 100%; height: auto; }
.pathway .draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.preview-float {
  position: absolute; left: -32px; bottom: -28px;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: 250px;
}
.preview-float .pf-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--teal); display: grid; place-items: center; flex: none; }
.preview-float b { display: block; font-size: 13px; font-weight: 600; }
.preview-float small { font-size: 11.5px; color: var(--muted-on-dark); line-height: 1.35; display: block; }
@media (max-width: 1000px) { .preview-float { left: 16px; bottom: -22px; } .hero-visual { margin-bottom: 20px; } }
@media (max-width: 480px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { grid-column: span 2; }
  .preview-float { position: static; margin-top: 12px; max-width: none; }
  .hero-visual { margin-bottom: 0; }
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: flex; align-items: center; gap: 32px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.trust-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; flex: none; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.trust-list li { font-size: 14px; font-weight: 600; color: #34494A; display: inline-flex; align-items: center; gap: 8px; }
.trust-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }
.alt { background: var(--surface-2); }

.section-head { max-width: 680px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-ink); font-weight: 600; margin-bottom: 14px;
}
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 16px; color: var(--ink); }
.section-head p { font-size: 17px; color: var(--muted); margin: 0; }

/* Rollup (challenge) */
.rollup {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0;
  counter-reset: lvl;
}
.rollup li { position: relative; padding: 0 20px 0 0; }
.rollup li + li { padding-left: 20px; }
.rollup .node {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal-ink); margin-bottom: 18px; position: relative; z-index: 1;
}
.rollup li:last-child .node { background: var(--ink); color: var(--teal); }
.rollup li:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 76px; right: -20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 12px);
}
.rollup li + li:not(:last-child)::after { left: 96px; }
.rollup h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.rollup p { font-size: 14.5px; color: var(--muted); margin: 0; }
.rollup .lvl { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); font-weight: 600; margin-bottom: 6px; }
@media (max-width: 860px) {
  .rollup { grid-template-columns: 1fr; gap: 28px; }
  .rollup li, .rollup li + li { padding: 0 0 0 76px; min-height: 56px; }
  .rollup .node { position: absolute; left: 0; top: 0; margin: 0; }
  .rollup li:not(:last-child)::after, .rollup li + li:not(:last-child)::after {
    top: 64px; left: 27px; right: auto; width: 2px; height: calc(100% - 36px);
    background: repeating-linear-gradient(180deg, var(--teal) 0 6px, transparent 6px 12px);
  }
}

/* Bento modules */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-tint-2); }
.tile.wide { grid-column: span 3; }
.tile.dark { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
.tile.dark p { color: var(--muted-on-dark); }
.tile.dark h3 { color: #fff; }
.tile.teal { background: var(--teal-tint); border-color: var(--teal-tint-2); }
.tile .t-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal-ink); margin-bottom: 6px;
}
.tile.teal .t-icon { background: #fff; }
.tile.dark .t-icon { background: rgba(87,187,191,0.15); color: var(--teal); }
.tile h3 { font-size: 19px; font-weight: 600; margin: 0; color: var(--ink); letter-spacing: -0.01em; }
.tile p { font-size: 15px; color: var(--muted); margin: 0; }
.tile .t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tile .t-tags span { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: #34494A; }
.tile.dark .t-tags span { background: rgba(255,255,255,0.08); color: #D6E6E6; }
.tile .mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 8px; }
.tile .mini-bars i { flex: 1; border-radius: 4px 4px 0 0; background: rgba(87,187,191,0.35); }
.tile .mini-bars i.hi { background: var(--teal); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role {
  border-top: 2px solid var(--ink); padding-top: 22px;
}
.role .r-icon { color: var(--teal-ink); margin-bottom: 14px; }
.role h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.role p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
}
.steps li::before {
  content: "0" counter(step); display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: var(--teal-ink); margin-bottom: 18px;
}
.steps h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.steps p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Demonstrators */
.demos { display: grid; grid-template-columns: minmax(0, 720px); gap: 18px; }
.demo {
  border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; min-height: 260px;
  display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); background: #fff;
}
.demo .d-place { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--teal-ink); }
.demo h3 { font-size: 24px; font-weight: 600; margin: 0; letter-spacing: -0.01em; color: var(--ink); }
.demo p { font-size: 15px; color: var(--muted); margin: 0; max-width: 440px; }
.demo .d-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.demo .d-facts span { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); }
.demo .d-art { position: absolute; right: -24px; top: -24px; width: 160px; opacity: .35; pointer-events: none; }
.demo-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
@media (max-width: 860px) { .demos { grid-template-columns: 1fr; } .demo .d-art { width: 150px; } }

/* Methodology */
.method-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; gap: 36px; } }
.method-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.method-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.method-list li:last-child { border-bottom: 0; }
.method-list .idx {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--teal);
  color: var(--teal); font-weight: 600; font-size: 13px; display: grid; place-items: center;
}
.method-list h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; color: #fff; }
.method-list p { margin: 0; font-size: 15px; color: var(--muted-on-dark); }

.dark { background: var(--ink-2); color: #fff; }
.dark h2 { color: #fff; }
.dark .section-eyebrow { color: var(--teal); }
.dark .section-head p { color: var(--muted-on-dark); }

.quote-panel {
  background: linear-gradient(160deg, rgba(87,187,191,0.18), rgba(87,187,191,0.04));
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 36px;
  position: sticky; top: 100px;
}
.quote-panel svg { color: var(--teal); margin-bottom: 18px; }
.quote-panel blockquote { margin: 0 0 20px; font-size: 21px; line-height: 1.5; font-weight: 500; color: #fff; letter-spacing: -0.005em; }
.quote-panel .q-attr { font-size: 14px; color: var(--muted-on-dark); }

/* CTA */
.cta {
  background: var(--teal); border-radius: 28px; padding: 64px 56px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta h2 { margin-bottom: 12px; }
.cta p { font-size: 17px; color: #10292A; margin: 0; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions small { font-size: 13.5px; color: #10292A; }
.cta-actions small a { font-weight: 600; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 44px 28px; border-radius: 22px; } }

/* Footer */
footer { background: #fff; padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-top p { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; max-width: 380px; }
.footer-top p a { color: var(--ink); font-weight: 500; }
.footer-col h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 14.5px; display: inline-block; padding: 4px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); padding-top: 24px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: span 2; } }

/* ---------- Reveal on scroll (only when JS + motion allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .pathway .draw { stroke-dashoffset: 0; }
}
