/* ---------------------------------------------------------------
   Keep 72nd Safe — shared styles
   Design language: modern, warm, community-focused, very clean
---------------------------------------------------------------- */

:root {
  /* Palette — bright, civic, optimistic */
  --bg: #FFFBF2;              /* bright warm cream */
  --bg-alt: #FFF0DC;          /* peach cream */
  --bg-warm: #FFE6C7;         /* richer cream */
  --bg-deep: #0B2949;         /* bold navy */
  --bg-teal: #DFF3F5;          /* pale teal for sky-feel panels */
  --ink: #0B1D2E;             /* near-black navy */
  --ink-soft: #1E3A5F;
  --ink-muted: #64748B;
  --line: #F3E3C4;
  --accent: #E11D48;          /* bright crimson-rose */
  --accent-soft: #FB7185;
  --accent-deep: #9F1239;
  --gold: #F59E0B;             /* bright amber */
  --yellow: #FFD600;           /* DOT caution yellow */
  --green: #16A34A;            /* vivid emerald */
  --bike-green: #8BC34A;       /* DOT bike-lane green */
  --bike-green-dk: #558B2F;
  --sky: #B8DFE6;              /* DOT diagram sky */
  --sky-deep: #6FB7C2;
  --road: #2C2C2C;             /* asphalt */
  --road-dk: #1A1A1A;
  --sidewalk: #EBDCB5;         /* DOT diagram sidewalk */
  --blue: #0EA5E9;
  --blue-deep: #0369A1;
  --white: #FFFFFF;

  /* Type */
  --serif: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; }
a { color: inherit; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.2; }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

a { text-decoration: none; color: var(--accent-deep); }
a:hover { color: var(--accent); }

/* ---------- Container ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.005em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 24px -12px rgba(183,69,44,.55);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--white); border-color: var(--ink); }
.btn-dark {
  background: var(--bg-deep);
  color: var(--bg);
}
.btn-dark:hover { background: #06201E; color: var(--bg); transform: translateY(-1px); }
.btn-lg { padding: 18px 30px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; font-family: var(--serif); font-size: 0.95rem;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.85), 0 0 0 1px var(--accent);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color .15s, background .15s;
}
.nav a:hover, .nav a.active { color: var(--ink); background: color-mix(in srgb, var(--bg-alt) 70%, transparent); }
.nav .btn { margin-left: 10px; padding: 10px 18px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 20px; height: 2px; background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0;
         flex-direction: column; align-items: stretch; padding: 16px var(--gutter);
         background: var(--bg); border-bottom: 1px solid var(--line); gap: 2px;}
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav .btn { margin: 8px 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 80% 10%, rgba(217,136,91,.18), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(52,94,73,.12), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Stacked hero variant: full-width headline, then wide illustration, then CTAs/stats */
.hero-headline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.hero-headline .lede {
  margin-left: auto; margin-right: auto;
  max-width: 820px;
}
.hero-headline .hero-badges { justify-content: center; margin-top: 22px; }

.hero-illustration {
  position: relative;
  margin-top: clamp(32px, 5vw, 56px);
}
.hero-scene {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #AFC6D9 0%, #E2E8EC 35%, #C9B89A 48%, #262626 70%, #CEB88E 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 40px 80px -32px rgba(11,29,46,.45);
  border: 1px solid var(--line);
}
.hero-scene svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
}

/* Photo-based hero variant */
.hero-scene-photo {
  aspect-ratio: 14 / 9;
  min-height: 360px;
}
.hero-scene-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Placeholder state if the image file isn't yet present */
.hero-scene--missing {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.06) 0 14px,
      rgba(0,0,0,.05) 14px 28px
    ),
    linear-gradient(180deg, #1E3A5F 0%, #0B2949 100%);
}
.hero-scene--missing::before {
  content: "Hero image not yet uploaded — save it as images/hero-72nd-street.jpg";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  letter-spacing: 0.01em;
}
.hero-caption {
  display: block;
  padding: 16px clamp(18px, 3vw, 32px);
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--white);
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.hero-below {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.hero-below .hero-ctas { justify-content: center; margin-top: 0; }

@media (max-width: 760px) {
  .hero-headline { text-align: left; }
  .hero-headline .hero-badges { justify-content: flex-start; }
  .hero-below .hero-ctas { justify-content: flex-start; }
}

.hero h1 span.accent { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 12px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px;
}
.hero-stats .s-num {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--ink);
  line-height: 1; letter-spacing: -0.02em;
}
.hero-stats .s-lbl { font-size: 0.83rem; color: var(--ink-muted); margin-top: 6px; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--bg-warm) 0%, #FFD8A8 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -30px rgba(11,29,46,.35);
}

/* Hero photo variant */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  background: linear-gradient(145deg, var(--bg-warm) 0%, #FFD8A8 100%);
  box-shadow: 0 30px 60px -30px rgba(11,29,46,.35);
}
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 8s ease-out;
}
.hero-photo:hover img { transform: scale(1.04); }
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,29,46,0) 0%, rgba(11,29,46,.5) 100%);
}
.hero-photo-caption {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 2;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero-photo-caption small {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 500;
}

/* Photo band */
.photo-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 7;
  min-height: 220px;
  background: #1E3A5F;
}
.photo-band img { width: 100%; height: 100%; object-fit: cover; display:block; }
.photo-band::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11,29,46,.45) 0%, rgba(11,29,46,.7) 100%),
    linear-gradient(180deg, rgba(11,29,46,.25) 0%, rgba(11,29,46,.55) 100%);
}
.photo-band-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 48px);
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}
.photo-band-text p {
  max-width: 880px;
  margin: 0;
  color: #fff;
}

/* Photo triptych — three-photo grid with captions */
.photo-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-triptych figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--bg-deep) 0%, #1E3A5F 100%);
  box-shadow: 0 10px 30px rgba(11,29,46,0.14);
}
.photo-triptych figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease);
}
.photo-triptych figure:hover img { transform: scale(1.04); }
.photo-triptych figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 16px 14px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(11,29,46,0) 0%, rgba(11,29,46,0.78) 75%);
}
@media (max-width: 780px) {
  .photo-triptych { grid-template-columns: 1fr; gap: 12px; }
  .photo-triptych figure { aspect-ratio: 5 / 3; }
}

/* DOT-style diagram container */
.dot-diagram {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 10px 30px -20px rgba(11,29,46,.2);
}
.dot-diagram h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 4px;
}
.dot-diagram h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.dot-diagram .dot-caption {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.dot-diagram svg { border-radius: 10px; }

.diagram-legend {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px;
  font-size: 0.85rem; color: var(--ink-soft);
}
.diagram-legend .leg {
  display: inline-flex; align-items: center; gap: 8px;
}
.diagram-legend .sw {
  width: 18px; height: 12px; border-radius: 3px; display: inline-block;
}

/* Issue ribbon */
.issue-ribbon {
  display: inline-flex;
  align-items: center; gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.issue-ribbon.num-2 { background: var(--blue-deep); }
.issue-ribbon.num-3 { background: var(--gold); color: var(--ink); }

/* Vibrant card variants */
.card.c-accent {
  background: linear-gradient(180deg, #FFF5F7 0%, #FEE2E4 100%);
  border-color: var(--accent-soft);
}
.card.c-blue {
  background: linear-gradient(180deg, #EFF9FF 0%, #C9EBFF 100%);
  border-color: #7DD3FC;
}
.card.c-green {
  background: linear-gradient(180deg, #F0FBE5 0%, #DBEDC3 100%);
  border-color: #A3D977;
}

/* Big number block */
.big-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* Eyebrow over dark */
section.dark .eyebrow { color: var(--gold); }
section.dark .eyebrow::before { background: var(--gold); }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow::before { background: var(--gold); }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 110px) 0; }
section.tight { padding: clamp(36px, 5vw, 64px) 0; }
section.dark {
  background: var(--bg-deep);
  color: var(--bg);
}
section.dark h1, section.dark h2, section.dark h3 { color: var(--bg); }
section.dark p { color: color-mix(in srgb, var(--bg) 75%, transparent); }
section.cream { background: var(--bg-alt); }

.section-head {
  max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head .eyebrow { margin-bottom: 16px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -30px rgba(20,32,31,.18); }
.card .card-num {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* Cards with a top-bleed media image */
.card-with-media { padding-top: 0; }
.card-media {
  position: relative;
  margin: 0 -28px 22px;
  background: #0B1D2E;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.card-media picture,
.card-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.card-media img {
  object-fit: cover;
  object-position: center;
}
/* Missing-image placeholder */
.card-media--missing {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 10px, rgba(0,0,0,.05) 10px 20px),
    linear-gradient(180deg, #1E3A5F 0%, #0B2949 100%);
}
.card-media--missing::before {
  content: "Image not yet uploaded — save as images/issue-01-ebike-crash.jpg";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

/* ---------- Quote / Callout ---------- */
.quote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 22px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 24px 0;
}
.quote cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal;
               font-size: 0.88rem; color: var(--ink-muted); letter-spacing: 0.03em; text-transform: uppercase; }
section.dark .quote { color: #fff; }
section.dark .quote cite { color: color-mix(in srgb, var(--bg) 70%, transparent); }

.callout {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: flex; gap: 18px; align-items: flex-start;
}
.callout .c-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: grid; place-items: center; color: var(--accent); flex: 0 0 auto;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(217,136,91,.2), transparent 70%),
    radial-gradient(50% 50% at 5% 100%, rgba(199,159,74,.18), transparent 70%),
    var(--bg-deep);
  color: var(--bg);
  overflow: hidden;
}
.cta-band h2 { color: var(--bg); max-width: 620px; }
.cta-band p { color: color-mix(in srgb, var(--bg) 78%, transparent); max-width: 620px; }
.cta-band .btn-primary { background: var(--bg); color: var(--bg-deep); }
.cta-band .btn-primary:hover { background: var(--white); color: var(--bg-deep); }
.cta-band .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.cta-band .btn-ghost:hover { background: color-mix(in srgb, var(--bg) 10%, transparent); color: var(--bg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: color-mix(in srgb, var(--bg) 80%, transparent);
  padding: 64px 0 40px;
}
.site-footer a { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.site-footer a:hover { color: var(--bg); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--bg); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 0.95rem; }
.footer-brand p { color: color-mix(in srgb, var(--bg) 70%, transparent); max-width: 340px; font-size: 0.95rem; }
.footer-brand .logo { color: var(--bg); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: color-mix(in srgb, var(--bg) 55%, transparent);
}

/* ---------- Forms / Wizard ---------- */
.wizard {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 60px -50px rgba(20,32,31,.3);
}
.wizard .steps {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px; justify-content: center;
}
.wizard .step {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--ink-muted); font-weight: 500;
}
.wizard .step .num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 0.95rem;
}
.wizard .step.active .num { background: var(--accent); color: #fff; border-color: var(--accent); }
.wizard .step.active { color: var(--ink); }
.wizard .step.done .num { background: var(--green); color: #fff; border-color: var(--green); }
.wizard .step-bar { flex: 0 0 28px; height: 1px; background: var(--line); }

.field { display: block; margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.field label .opt { color: var(--ink-muted); font-weight: 400; font-size: 0.82rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .15s, background .15s;
  font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.wizard-actions { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.wizard-actions .spacer { flex: 1; }
.wizard-note { margin-top: 18px; font-size: 0.86rem; color: var(--ink-muted); text-align: center; }

.email-preview {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
  max-height: 220px;
  overflow-y: auto;
}
.email-preview strong { color: var(--ink); }

.recipient-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  font-size: 0.84rem; color: var(--ink-soft);
  margin: 4px 4px 4px 0;
}
.recipient-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.email-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  background: var(--bg);
}
.email-card-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.email-card-meta { display: flex; flex-direction: column; gap: 3px; }
.email-card-num { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.email-card-meta strong { font-size: 0.98rem; color: var(--ink); }
.email-card-email { font-size: 0.85rem; color: var(--ink-muted); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }

/* ---------- Diagrams ---------- */
.diagram {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
}
.diagram h4 { margin-bottom: 6px; }
.diagram .cap { color: var(--ink-muted); font-size: 0.92rem; margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .2s var(--ease);
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 14px; max-width: 72ch; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.list-clean { list-style: none; padding: 0; margin: 18px 0; }
.list-clean li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.list-clean li::before {
  content: '';
  position: absolute; left: 0; top: 19px;
  width: 14px; height: 14px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 2px solid var(--accent);
}
.list-clean li:last-child { border-bottom: 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag {
  display: inline-block;
  padding: 5px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Print */
@media print { .site-header, .site-footer, .cta-band, .nav-toggle { display: none; } }
