/* Pull Ahead AI: one stylesheet, mobile-first. Palette and font: see brand.md.
 *
 * DESIGN SYSTEM (v3). Sources: web.dev "Learn Design: Typography" (measure 45-75ch,
 * unitless line-height, clamp() with a rem floor), Chrome "text-wrap: balance" (headings
 * only, pair with a max inline size), Refactoring UI (fixed shade ramps, few accents,
 * de-emphasize secondary text with color rather than size).
 *
 * 1. Grid. One container everywhere: 1120px max, 24px gutters (20px under 48rem).
 *    Every section starts on the same left edge. Prose is capped at ~65ch but stays
 *    left-aligned to that edge; it is never re-centered in a narrower column.
 * 2. Spacing. 4/8-based tokens (--s-1 .. --s-10). Sections: 64px mobile, 96px desktop.
 *    Inside a section: eyebrow > heading > lede > content, with fixed gaps.
 * 3. Type. Base 17px (18px desktop), ratio 1.25. Headings 1.1-1.25 line-height,
 *    negative tracking on large sizes, text-wrap: balance. Body 1.6. Secondary text muted.
 * 4. Color. Paper page, white cards, one warm "sand" tint for alternate bands, Ink for the
 *    closing call-to-action and footer. Green is reserved for action and icons.
 * 5. Components. Icons live in 40px tinted rounded squares beside the text, aligned to
 *    its first line. Cards: 1px border, soft shadow, 16px radius, 24-32px padding.
 *    Buttons: one size, 48px tall, visible focus ring.
 * 6. Accessibility. All text pairs AA or better; motion only on hover and disabled for
 *    prefers-reduced-motion.
 */

:root {
  /* Color */
  --green: #166534;      /* Lead Green: buttons, links, icons */
  --green-dark: #14532d; /* hover */
  --green-50: #F2F8F3;
  --green-100: #E3F0E6;
  --green-200: #C9E2D1;
  --ink: #1C1F1D;
  --paper: #FAF8F2;
  --sand: #F3F0E7;       /* alternate bands */
  --card: #FFFFFF;
  --tint: #4ADE80;       /* accent on Ink only */
  --muted: #4B524E;      /* 7.5:1 on Paper */
  --line: #E4E1D8;
  --line-strong: #D6D2C6;

  /* Spacing (4/8 scale) */
  --s-1: 0.25rem;  /* 4 */
  --s-2: 0.5rem;   /* 8 */
  --s-3: 0.75rem;  /* 12 */
  --s-4: 1rem;     /* 16 */
  --s-5: 1.5rem;   /* 24 */
  --s-6: 2rem;     /* 32 */
  --s-7: 3rem;     /* 48 */
  --s-8: 4rem;     /* 64 */
  --s-9: 5rem;     /* 80 */
  --s-10: 6rem;    /* 96 */

  /* Type scale (1.25) */
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-md: 1.125rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5625rem;
  --t-2xl: clamp(1.75rem, 1.35rem + 1.6vw, 2.25rem);
  --t-3xl: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);

  /* Layout */
  --container: 70rem;    /* 1120 */
  --gutter: 1.25rem;     /* 20 mobile */
  --measure: 65ch;
  --section: var(--s-8);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 31, 29, 0.04), 0 8px 24px -12px rgba(28, 31, 29, 0.12);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 48rem) {
  :root { --gutter: 1.5rem; --section: var(--s-10); }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
@media (min-width: 48rem) { body { font-size: var(--t-md); } }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0 0 var(--s-4); text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--t-3xl); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: var(--t-2xl); font-weight: 800; line-height: 1.15; letter-spacing: -0.022em; }
h3, .h3 { font-size: var(--t-lg); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p, ul, ol { margin: 0 0 var(--s-4); }
li { margin-bottom: var(--s-2); }
strong { font-weight: 700; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: var(--paper); }

/* Layout primitives */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: var(--measure); }   /* prose: capped, still left-aligned */
.prose { max-width: var(--measure); }
.flow > :last-child, .prose > :last-child, .narrow > :last-child { margin-bottom: 0; }

section { padding: var(--section) 0; }
.alt { background: var(--sand); }
.rule { border-top: 1px solid var(--line); }
.section-sm { padding: var(--s-8) 0; }
@media (min-width: 48rem) { .section-sm { padding: var(--s-9) 0; } }

.kicker {
  font-size: var(--t-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); margin-bottom: var(--s-3);
}
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.lead { font-size: var(--t-md); line-height: 1.55; color: var(--muted); max-width: 36rem; }
@media (min-width: 48rem) { .lead { font-size: var(--t-lg); } }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); line-height: 1.55; }

.section-head { max-width: 44rem; margin-bottom: var(--s-7); }
.section-head > :last-child { margin-bottom: 0; }
.section-foot { margin-top: var(--s-6); }

/* Split: heading column + content column, same left edge as everything else */
.split { display: grid; gap: var(--s-4) var(--s-8); }
.split > :first-child > :last-child, .split > :last-child > :last-child { margin-bottom: 0; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
  .split > :first-child h2 { margin-bottom: var(--s-4); }
}

/* Header */
.site-header { background: rgba(250, 248, 242, 0.96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-6); padding-top: var(--s-3); padding-bottom: var(--s-3); }
.brand { display: block; padding: var(--s-1) 0; border-radius: 6px; }
.brand img { width: 168px; }
.nav { width: 100%; margin: 0 calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
.nav ul { list-style: none; display: flex; align-items: center; gap: var(--s-1); margin: 0; padding: 0 var(--gutter); }
.nav li { margin: 0; flex: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-3);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; border-radius: 999px; white-space: nowrap;
}
.nav li:first-child a { margin-left: calc(-1 * var(--s-3)); }
.nav a:hover { background: var(--green-100); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--green); background: var(--green-100); }
.nav .nav-cta a { background: var(--green); color: #fff; padding: 0 var(--s-4); margin-left: var(--s-1); }
.nav .nav-cta a:hover, .nav .nav-cta a[aria-current="page"] { background: var(--green-dark); color: #fff; }

@media (min-width: 60rem) {
  .site-header .wrap { flex-wrap: nowrap; padding-top: var(--s-4); padding-bottom: var(--s-4); }
  .brand img { width: 184px; }
  .nav { width: auto; margin: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .nav ul { padding: 0; }
  .nav li:first-child a { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  box-shadow: 0 1px 2px rgba(20, 83, 45, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(20, 83, 45, 0.5); }
.btn:active { transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); margin-bottom: 0; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; display: inline-block; transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Hero */
.hero {
  padding: var(--s-8) 0;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(74, 222, 128, 0.10), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 18ch; margin-bottom: var(--s-5); }
.hero .lead { margin-bottom: 0; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
.hero-text > :last-child { margin-bottom: 0; }
.hero-art {
  margin: 0; padding: var(--s-4);
  border-radius: 24px;
  background-color: var(--green-50);
  background-image: url("/assets/bg-dots.svg");
  background-size: 24px 24px;
  border: 1px solid var(--green-100);
}
.hero-art img { width: 100%; }
.page-hero { padding: var(--s-8) 0 var(--s-7); }
.page-hero h1 { max-width: 20ch; }

@media (min-width: 56rem) {
  .hero { padding: var(--s-10) 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-8); }
  .hero-art { padding: var(--s-6); }
  .page-hero { padding: var(--s-9) 0 var(--s-8); }
}

/* Cards */
.grid { display: grid; gap: var(--s-4); }
@media (min-width: 48rem) {
  .grid { gap: var(--s-5); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-5); box-shadow: var(--shadow);
}
@media (min-width: 48rem) { .card { padding: var(--s-6); } }
.card > :last-child { margin-bottom: 0; }
.card h2.h3, .card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--muted); }

/* Icon box: the one icon treatment used site-wide */
.icon-box {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--green-100); box-shadow: inset 0 0 0 1px var(--green-200);
}
.icon-box img { width: 22px; height: 22px; }

/* Feature grid: icon beside text, aligned to the first line */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5) var(--s-6); }
.feature { display: flex; align-items: flex-start; gap: var(--s-4); margin: 0; }
.feature-body { padding-top: 0.3rem; }    /* centers a 1.6-line-height first line on the 40px box */
.feature-body > :last-child { margin-bottom: 0; }
.feature h3 { margin-bottom: var(--s-1); padding-top: 0.1rem; }
.feature p { color: var(--muted); }
@media (min-width: 40rem) { .features-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 40rem) { .features-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .features-3 { grid-template-columns: repeat(3, 1fr); gap: var(--s-7) var(--s-7); } }

/* Task tiles (4-up) */
.tiles { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.tile {
  margin: 0; display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; line-height: 1.3; font-size: 0.9375rem;
}
.tile .icon-box { width: 36px; height: 36px; border-radius: 9px; }
.tile .icon-box img { width: 20px; height: 20px; }
@media (min-width: 48rem) {
  .tiles { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
  .tile { gap: var(--s-4); padding: var(--s-4) var(--s-5); font-size: var(--t-base); }
  .tile .icon-box { width: 40px; height: 40px; border-radius: var(--radius-sm); }
}

/* Offer: features + price card */
.offer { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 60rem) { .offer { grid-template-columns: 1.65fr 1fr; gap: var(--s-8); } }
.price-card { padding: var(--s-6); }
.price-card .price { margin-bottom: var(--s-3); }
.price-card .price-note { color: var(--ink); margin-bottom: var(--s-5); }
.price-card .card-foot { border-top: 1px solid var(--line); padding-top: var(--s-5); margin: 0; }
.price { font-size: clamp(2.75rem, 2rem + 3vw, 3.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; margin: 0 0 var(--s-4); color: var(--ink); }
.price-label { font-size: var(--t-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: var(--s-3); }

/* Hero price card on the Team Install page */
.hero-price { align-self: center; }
.hero-price .lead { color: var(--muted); font-size: var(--t-md); margin: 0; }

/* Lists */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: var(--s-3); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--green-100) url("/assets/ic-check.svg") center / 100% no-repeat;
}
.dashes { list-style: none; padding: 0; }
.dashes li { position: relative; padding-left: 2rem; margin-bottom: var(--s-3); color: var(--muted); }
.dashes li::before {
  content: ""; position: absolute; left: 0.35rem; top: 0.8em; width: 0.6rem; height: 2px; border-radius: 2px; background: var(--line-strong);
}
.card .checks li:last-child, .card .dashes li:last-child { margin-bottom: 0; }
.list-card h2 { font-size: var(--t-xl); margin-bottom: var(--s-5); }

/* Numbered steps (guarantee, start) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.steps > li {
  counter-increment: step; position: relative; margin: 0;
  padding: var(--s-5) var(--s-5) var(--s-5) 4.5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.steps > li::before {
  content: counter(step); position: absolute; left: var(--s-5); top: var(--s-5);
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 800; font-size: 0.9375rem;
}
.steps h3 { margin-bottom: var(--s-1); padding-top: 0.15rem; }
.steps p { margin: 0; color: var(--muted); }
.steps-grid { max-width: none; }
@media (min-width: 48rem) { .steps-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); } }

/* 14-day timeline: vertical rail on mobile, horizontal from 48rem */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-6); }
.timeline > li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); margin: 0; }
.timeline .tl-icon { width: 48px; height: 48px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--paper); border-radius: 50%; }
.alt .timeline .tl-icon { box-shadow: 0 0 0 6px var(--sand); }
.timeline h3 { margin: 0.6rem 0 var(--s-2); }
.timeline p { margin: 0; color: var(--muted); }
.timeline > li:not(:last-child)::before {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: calc(-1 * var(--s-6));
  width: 2px; background: var(--green-200);
}
@media (min-width: 48rem) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
  .timeline > li { grid-template-columns: 1fr; gap: 0; align-content: start; }
  .timeline h3 { margin-top: var(--s-5); }
  .timeline > li:not(:last-child)::before {
    left: 48px; right: calc(-1 * var(--s-7)); top: 23px; bottom: auto; width: auto; height: 2px;
  }
}

/* Callouts */
.quote-box {
  margin: 0 0 var(--s-5); padding: var(--s-5) var(--s-6);
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  font-size: var(--t-md); line-height: 1.55; font-weight: 500;
}
@media (min-width: 48rem) { .quote-box { font-size: var(--t-lg); } }
.notice { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: var(--s-5); background: var(--card); }
@media (min-width: 48rem) { .notice { padding: var(--s-6); } }
.notice > :last-child { margin-bottom: 0; }
.notice ul { padding-left: 1.25rem; }
.draft-flag {
  display: inline-block; background: #FEF3C7; color: #5C3B00; border: 1px solid #D97706;
  border-radius: 999px; padding: var(--s-1) var(--s-4); font-size: var(--t-sm); font-weight: 700; margin-bottom: var(--s-6);
}
.note { margin-top: var(--s-6); margin-bottom: 0; }

/* Dark call to action */
.dark {
  background-color: var(--ink); color: var(--paper);
  background-image: url("/assets/bg-chevrons.svg"); background-repeat: no-repeat;
  background-position: right -180px center; background-size: auto 80%;
}
.dark h2 { color: var(--paper); }
.dark p { color: #D9DCD8; }
.dark a { color: var(--tint); }
.dark .btn { background: var(--tint); border-color: var(--tint); color: var(--ink); box-shadow: none; }
.dark .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.dark .actions { margin-top: var(--s-5); }
@media (min-width: 48rem) { .dark { background-position: right 6% center; } }

/* Articles */
.article { padding: var(--s-8) 0 var(--section); }
.article .wrap > * { max-width: 68ch; }
.article .wrap > h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); max-width: 20ch; margin-bottom: var(--s-6); }
.article h2 { font-size: var(--t-xl); margin: var(--s-7) 0 var(--s-4); letter-spacing: -0.015em; }
.article h3 { font-size: var(--t-md); margin: var(--s-6) 0 var(--s-2); }
.article p, .article li { line-height: 1.7; }
.article ul, .article ol { padding-left: 1.25rem; }
.article .lede-box { padding: var(--s-5); background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-sm); }
.article .kicker { margin-bottom: var(--s-4); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.875em; }
pre {
  background: var(--ink); color: var(--paper); border-radius: var(--radius-sm);
  padding: var(--s-5); overflow-x: auto; margin: 0 0 var(--s-5);
  font-size: 0.8125rem; line-height: 1.65;
}
pre code { font-size: 1em; white-space: pre; }
blockquote {
  margin: 0 0 var(--s-5); padding: var(--s-5);
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
}
blockquote > :last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 var(--s-5); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-weight: 700; background: var(--sand); }

.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
@media (min-width: 48rem) { .article-list { grid-template-columns: repeat(2, 1fr); } }
.article-list li { margin: 0; display: flex; flex-direction: column; gap: var(--s-4); position: relative; transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.article-list li:hover { border-color: var(--green-200); box-shadow: 0 1px 2px rgba(28, 31, 29, 0.04), 0 16px 32px -16px rgba(28, 31, 29, 0.2); }
.article-list h2 { margin: 0; }
.article-list h2 a { color: var(--ink); text-decoration: none; }
.article-list h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.article-list h2 a:hover { color: var(--green); }
.article-list h2 a:focus-visible { outline: none; }
.article-list li:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }

/* Legal pages */
.legal h1 { margin-bottom: var(--s-3); }
.legal h2 { font-size: var(--t-lg); margin: var(--s-7) 0 var(--s-3); letter-spacing: -0.01em; }
.legal ul { padding-left: 1.25rem; }

/* Footer */
.site-footer { background: var(--ink); color: #D9DCD8; padding: var(--s-8) 0 var(--s-6); font-size: 0.9375rem; line-height: 1.6; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--tint); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--tint); }
.site-footer .logo { width: 168px; margin-bottom: var(--s-5); }
.site-footer p { margin: 0 0 var(--s-1); }
.site-footer strong { color: var(--paper); }
.footer-grid { display: grid; gap: var(--s-6); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: var(--s-2) var(--s-7); }
.footer-nav li { margin: 0; }
.footer-base { margin-top: var(--s-7); }
.footer-base p { border-top: 1px solid rgba(250, 248, 242, 0.14); padding-top: var(--s-5); color: #B9BEB9; }
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer-nav { padding-top: var(--s-1); }
  .footer-nav ul { grid-template-columns: 1fr; gap: var(--s-3); text-align: right; }
}


/* Section headings inside single-column sections get the same gap as .section-head */
.narrow > h2:not(:first-child) { margin-top: var(--s-7); }
.narrow > h2 + .steps, .narrow > h2 + .checks, .narrow > h2 + .notice { margin-top: var(--s-5); }
.legal > .wrap > h2:not(:first-child) { margin-top: var(--s-7); }
.steps + p, .notice + p { margin-top: var(--s-5); }
.page-hero .quote-box { margin-top: var(--s-6); margin-bottom: 0; }
.page-hero .muted.small { margin-top: var(--s-3); }
.article-list .icon-box { margin-bottom: var(--s-1); }
.article-list p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn:hover { transform: none; }
}
