/* ============================================================
   Karen — Editorial citizen-first landing page
   Paper-cream backdrop · Instrument Serif display · DM Sans body
   ============================================================ */

:root {
  /* Palette — warm paper with a deep civic green */
  --paper:        #f6f1e7;
  --paper-deep:   #ede6d4;
  --paper-soft:   #fbf8f1;
  --surface:      #ffffff;
  --ink:          #171612;
  --ink-soft:     #3b3833;
  --ink-mute:     #6f6a60;
  --ink-faint:    #a39d8f;
  --rule:         #d9d2c0;
  --rule-strong:  #b6ad94;

  --accent:       #1f4d3a;   /* deep evergreen — civic, "for good" */
  --accent-deep:  #163828;
  --accent-soft:  #d8e3d6;
  --signal:       #b54324;   /* warm terracotta — for "broken" indicators */
  --signal-soft:  #f1d8cd;

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', ui-sans-serif, -apple-system, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

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

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-color: var(--accent); color: var(--accent); }

p { margin: 0; text-wrap: pretty; }

/* Display type — Instrument Serif, looser, beautiful italics */
.display, .display-md {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.display {
  font-size: clamp(3rem, 7.5vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
.display .line { display: block; }
.display .italic, .display-md em, .name em, .name i, .brand-word i, .brand-word em {
  font-style: italic;
  font-feature-settings: 'ss01';
}
.display-md {
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  line-height: 1.02;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
}

.muted { color: var(--ink-mute); }

/* ============================================================
   Kicker (eyebrow)
   ============================================================ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.kicker-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--accent); }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-word { line-height: 1; }
.brand-word em { font-style: italic; color: var(--accent); font-family: var(--serif); }
.brand-word i  { font-style: italic; color: var(--ink-mute); }

.site-nav {
  display: flex; align-items: center; gap: 4px;
}
.site-nav a {
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.site-nav a:hover { color: var(--accent); background: var(--paper-deep); }
.nav-cta {
  margin-left: 6px;
  background: var(--accent);
  color: var(--paper-soft) !important;
  padding: 9px 16px !important;
  border-radius: 999px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--accent-deep) !important; color: #fff !important; }
@media (max-width: 820px) {
  .site-nav a:not(.nav-cta) { display: none; }
}
/* On phones, the hero CTA is right under the header — no need to repeat it. */
@media (max-width: 520px) {
  .site-nav .nav-cta { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.985); }

.btn-primary {
  background: var(--accent);
  color: var(--paper-soft);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 12px 28px -10px color-mix(in oklab, var(--accent) 60%, transparent);
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 16px 36px -12px color-mix(in oklab, var(--accent) 70%, transparent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover { background: var(--paper-deep); color: var(--accent); }
.btn-large { padding: 18px 28px; font-size: 1.05rem; }
.btn-xl {
  padding: 22px 36px;
  font-size: 1.2rem;
  font-weight: 600;
  gap: 14px;
  letter-spacing: -0.005em;
}
@media (max-width: 640px) {
  .btn-xl { padding: 20px 28px; font-size: 1.1rem; width: 100%; max-width: 360px; }
}
.btn-block { width: 100%; }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section {
  padding: clamp(72px, 9vw, 128px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.section--paper { background: var(--paper-soft); max-width: none; }
.section--paper > * { max-width: var(--container); margin-left: auto; margin-right: auto; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}
.section-sub {
  color: var(--ink-mute);
  font-size: 1.08rem;
  margin-top: 16px;
}
.section-sub.left { text-align: left; max-width: 540px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-text { display: flex; flex-direction: column; gap: 26px; max-width: 620px; }

/* Rotating "Report a [category] in [city]." */
.hero-rotator {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.3;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin: -8px 0 0;
}

/* Inline-grid stack: items overlap (one grid cell). The container's width
   is set by JS to match the currently-visible word, and transitions
   smoothly between them — so neither the surrounding text nor the
   container reserves space for the longest item. */
.rot {
  display: inline-grid;
  grid-template-areas: "stack";
  vertical-align: baseline;
  white-space: nowrap;
  transition: width .55s cubic-bezier(.4, 0, .2, 1);
}
.rot-item {
  grid-area: stack;
  justify-self: start;
  width: max-content;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  padding-bottom: 1px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.rot-item.is-current {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-checks {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.hero-checks li { display: flex; align-items: center; gap: 10px; }
.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

/* ----- HERO TICKET ----- */
.hero-ticket { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ticket {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px 4px 16px 16px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 24px 48px -22px rgba(23,22,18,.22),
    0 8px 18px -10px rgba(23,22,18,.12);
  padding: 18px 22px 22px;
  transform: rotate(-1.2deg);
  transition: transform .5s ease;
}
.ticket:hover { transform: rotate(0deg) translateY(-2px); }

/* Tear-strip top edge */
.ticket-tearstrip {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 12px;
  display: flex;
  pointer-events: none;
}
.ticket-tearstrip span {
  flex: 1;
  height: 100%;
  background:
    radial-gradient(circle at 50% 12px, transparent 6px, var(--paper) 6.5px),
    var(--paper);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 6px, #000 6.5px);
          mask: radial-gradient(circle at 50% 0, transparent 6px, #000 6.5px);
  background: var(--paper);
}

.ticket-head { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.ticket-id {
  display: flex; align-items: center; justify-content: space-between;
}
.ticket-id .mono { font-size: 0.92rem; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; }
.ticket-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.dot-live {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50%     { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 18%, transparent); }
}
.ticket-when { font-size: 0.72rem; color: var(--ink-mute); }

.ticket-photo {
  margin: 14px 0 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-deep);
}
.ticket-map {
  aspect-ratio: 400 / 240;
  background: var(--paper-soft);
  display: block;
}
.ticket-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ticket-pin-shadow {
  transform-box: fill-box;
  transform-origin: center;
  animation: pinShadowPulse 2.4s ease-in-out infinite;
}
@keyframes pinShadowPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.15; transform: scale(0.75); }
}
@media (prefers-reduced-motion: reduce) {
  .ticket-pin-shadow { animation: none; }
}
.ticket-caption {
  padding: 6px 10px;
  background: var(--paper-soft);
  border-top: 1px dashed var(--rule);
  font-size: 0.72rem;
  color: var(--ink-mute);
}

.ticket-meta {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
}
.ticket-meta > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--rule);
}
.ticket-meta > div:last-child { border-bottom: none; padding-bottom: 0; }
.ticket-meta dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin: 0;
  padding-top: 2px;
}
.ticket-meta dd { margin: 0; color: var(--ink); }

.ticket-timeline {
  list-style: none;
  padding: 16px 0 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.ticket-timeline li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}
.ticket-timeline li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 8px; top: 16px;
  width: 1px; height: calc(100% + 4px);
  background: var(--rule);
}
.tl-dot {
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--rule-strong);
  margin-top: 2px;
  position: relative; z-index: 1;
}
.ticket-timeline li.done .tl-dot { background: var(--accent); border-color: var(--accent); }
.ticket-timeline li.active .tl-dot {
  background: var(--paper-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.ticket-timeline li.pending .tl-dot { background: var(--paper); border-color: var(--rule); }
.ticket-timeline li.pending .tl-event { color: var(--ink-faint); }
.tl-event { margin: 0; font-size: 0.92rem; color: var(--ink); }
.tl-when { margin: 2px 0 0; font-size: 0.72rem; color: var(--ink-mute); }
.ticket-timeline li.active .tl-event { font-weight: 600; color: var(--accent); }

.ticket-foot {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-align: center;
  font-style: italic;
  font-family: var(--serif);
  letter-spacing: 0;
}

/* Mobile: lighter hero, more visual.
   - Drop the lede paragraph (the rotator already says it punchier).
   - Hide the sample-ticket aside entirely so the pothole strip below moves WAY up.
   - Drop the third "free forever" check; first two already carry the message.
   - Pull hero padding in so the visual lands sooner. */
@media (max-width: 720px) {
  .hero { padding-top: 28px; padding-bottom: 24px; }
  .hero-text { gap: 20px; }
  .hero .lede { display: none; }
  .hero-ticket { display: none; }
  .hero-checks li:nth-child(3) { display: none; }
  /* Stack CTAs full-width so they're easy tap targets and never overflow. */
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero .cta-row .btn { width: 100%; }
}

/* Short phones (iPhone SE class, ~667px tall): the hero alone fills the
   screen, pushing the neighborhood graphic below the fold. Tighten the
   hero and drop the reassurance checks on short viewports only, so the
   pothole/pin peeks above the fold. Taller phones (>=740px) already show
   the graphic and keep the checks. */
@media (max-width: 720px) and (max-height: 740px) {
  .hero { padding-top: 18px; }
  .hero-text { gap: 14px; }
  .hero-checks { display: none; }
}

/* ============================================================
   Neighborhood strip — full-bleed line illustration
   ============================================================ */
.strip {
  position: relative;
  width: 100%;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  color: var(--accent);
  overflow: hidden;
}
.strip-svg {
  width: 100%;
  height: clamp(220px, 26vw, 340px);
  display: block;
}
@media (max-width: 720px) {
  /* Strip is the hero visual on mobile: give it more presence and drop the
     caption pill (it was a single nowrap line that ran off the right edge). */
  .strip-svg { height: 280px; }
  /* Higher specificity than the base `.strip-caption { display: inline-flex }`,
     which is declared later in the file, so this hide wins regardless of order. */
  .strip .strip-caption { display: none; }
}
.strip-caption {
  position: absolute;
  left: clamp(16px, 4vw, 48px);
  top: clamp(16px, 4vw, 32px);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(23,22,18,.18);
}
.strip-caption-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Subtle motion */
.strip .karen-pin {
  transform-origin: 14px 40px;
  animation: pinBob 3.6s ease-in-out infinite;
}
@keyframes pinBob {
  0%, 100% { transform: translate(820px, 142px); }
  50%      { transform: translate(820px, 134px); }
}
.strip .pin-ping {
  transform-origin: 14px 40px;
  animation: pinPing 3.6s ease-in-out infinite;
}
@keyframes pinPing {
  0%   { opacity: 0.0; transform: translate(14px, 40px) scale(0.4); }
  50%  { opacity: 0.55; transform: translate(14px, 40px) scale(1); }
  100% { opacity: 0;   transform: translate(14px, 40px) scale(1.4); }
}
.strip .birds {
  animation: birdDrift 30s linear infinite;
}
@keyframes birdDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(120px); }
}
.strip .lamp-glow {
  animation: lampPulse 4.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes lampPulse {
  0%, 100% { opacity: 0.18; }
  50%      { opacity: 0.32; }
}
@media (prefers-reduced-motion: reduce) {
  .strip .karen-pin, .strip .pin-ping, .strip .birds, .strip .lamp-glow {
    animation: none;
  }
}
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-soft);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 60s linear infinite;
}
.marquee-group {
  display: flex; align-items: center; gap: 28px;
  padding-right: 28px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-group .sep { color: var(--rule-strong); font-style: normal; }
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.mq-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex-shrink: 0;
  display: inline-block;
  opacity: 0.85;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 24px 0;
  display: flex; flex-direction: column;
  gap: 12px;
  min-height: 380px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-3px); border-color: var(--accent); }
.step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.step h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.1; }
.step p { color: var(--ink-mute); font-size: 0.97rem; }
.step-art {
  margin-top: auto;
  padding: 16px 0 0;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 140px;
  color: var(--accent);
}

/* phone */
.phone {
  width: 110px; height: 200px;
  background: var(--ink);
  border-radius: 18px;
  padding: 6px;
  position: relative;
  box-shadow: 0 12px 22px -10px rgba(23,22,18,.3);
}
.phone::before {
  content: '';
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 5px; background: #2a2925; border-radius: 999px;
}
.phone-screen {
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 18%, var(--ink) 82%), var(--ink));
  border-radius: 12px;
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.phone-viewfinder {
  position: absolute; inset: 18px 14px 38px 14px;
}
.vf-corner {
  position: absolute; width: 14px; height: 14px;
  border: 1.5px solid color-mix(in oklab, var(--accent-soft) 80%, transparent);
}
.vf-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.vf-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.vf-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.vf-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }
.vf-target {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
}
.vf-target::before, .vf-target::after {
  content: '';
  position: absolute;
  background: var(--accent-soft);
}
.vf-target::before { left: 50%; top: -4px; bottom: -4px; width: 1px; transform: translateX(-0.5px); }
.vf-target::after  { top: 50%; left: -4px; right: -4px; height: 1px; transform: translateY(-0.5px); }
.phone-shutter {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px;
  background: var(--paper-soft);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--paper-soft);
}

/* route svg */
.step-art--route svg { width: 100%; max-width: 240px; height: auto; }

/* mini timeline */
.mini-timeline {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 0.88rem;
  width: 100%;
  max-width: 220px;
}
.mini-timeline li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.mini-timeline .mt-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--rule-strong);
  flex-shrink: 0;
}
.mini-timeline li.done .mt-dot   { background: var(--accent); border-color: var(--accent); }
.mini-timeline li.active .mt-dot { background: var(--paper-soft); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mini-timeline li.pending        { color: var(--ink-faint); }
.mini-timeline li.active         { font-weight: 600; color: var(--accent); }

/* Steps footnote */
.footnote-mark {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 2px;
  font-weight: 500;
}
.steps-footnote {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.78rem;
  line-height: 1.5;
  font-style: italic;
  font-family: var(--serif);
  letter-spacing: 0;
}
.steps-footnote .footnote-mark { font-style: normal; }

/* ============================================================
   STORY
   ============================================================ */
.story {
  background: var(--paper-deep);
  max-width: none;
}
.story > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.story-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; }
}
.story-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.4;
  color: var(--ink);
  position: relative;
}
.story-quote blockquote p { margin: 0 0 18px; }
.story-quote blockquote p:last-of-type { margin-bottom: 0; }
.story-quote blockquote .closer {
  margin-top: 24px;
  font-style: italic;
  color: var(--accent);
}
.story-quote blockquote::before {
  content: '“';
  position: absolute;
  top: -38px; left: -20px;
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
}
.story-quote figcaption {
  margin-top: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================================
   COMPARISON
   ============================================================ */
.compare-table {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.ct-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.96rem;
}
.ct-row:last-child { border-bottom: none; }
.ct-row > [role="rowheader"] { color: var(--ink); font-weight: 500; }
.ct-row > [role="cell"] { display: flex; align-items: center; gap: 8px; }
.ct-head {
  background: var(--paper-deep);
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.ct-head .ct-karen { color: var(--accent); font-weight: 600; }
.ct-karen { position: relative; }
.ct-row > .ct-karen[role="cell"]::before {
  content: '';
  position: absolute;
  inset: -1px 0;
  background: color-mix(in oklab, var(--accent) 5%, transparent);
  z-index: 0;
  pointer-events: none;
}
.ct-row > .ct-karen[role="cell"] > * { position: relative; z-index: 1; }

.mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  font-size: 16px;
  font-family: var(--mono);
  line-height: 1;
}
.mark-yes { color: var(--accent); }
.mark-meh { color: var(--ink-mute); }
.mark-no  { color: var(--ink-faint); }
.ct-note  { color: var(--ink-mute); font-size: 0.82rem; font-style: italic; }

.ct-legend {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 18px;
  color: var(--ink-mute);
  font-size: 0.78rem;
}
.ct-legend .mark { font-size: 13px; }

@media (max-width: 760px) {
  .ct-row { grid-template-columns: 1.4fr 0.6fr 0.6fr 0.6fr; padding: 12px 16px; font-size: 0.88rem; }
  .ct-note { display: none; }
}

/* ============================================================
   COVERAGE
   ============================================================ */
.coverage-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.coverage-head .section-sub.left {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.coverage-map {
  margin: 0 auto 32px;
  max-width: 720px;
  display: block;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 12px 12px 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 36px -22px rgba(23,22,18,.18);
}
.coverage-map svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.coverage-map figcaption {
  text-align: center;
  margin-top: 10px;
  color: var(--ink-mute);
  font-size: 0.74rem;
}

.coverage-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: flex; flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.coverage-list li {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
}
.coverage-list li:last-child { border-bottom: none; }
.cov-dot { width: 10px; height: 10px; border-radius: 999px; }
.cov-dot.live { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cov-city { color: var(--ink); font-weight: 500; }
.cov-pill {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.cov-pill.live { color: var(--accent); background: var(--accent-soft); }

.coverage-foot {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.78rem;
}

/* ============================================================
   NAME
   ============================================================ */
.name-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 880px) { .name-grid { grid-template-columns: 1fr; } }
.name-body {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 560px;
}
.name-card {
  background: var(--accent);
  color: var(--paper-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  font-family: var(--serif);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -22px color-mix(in oklab, var(--accent) 50%, transparent);
}
.name-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border: 1px solid color-mix(in oklab, var(--paper-soft) 28%, transparent);
  border-radius: 999px;
}
.name-card::after {
  content: '';
  position: absolute;
  top: -10px; right: -10px;
  width: 110px; height: 110px;
  border: 1px solid color-mix(in oklab, var(--paper-soft) 18%, transparent);
  border-radius: 999px;
}
.dedication-eyebrow {
  color: color-mix(in oklab, var(--paper-soft) 70%, transparent);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.dedication {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  font-style: italic;
  margin: 0;
}
.dedication-foot {
  margin-top: 28px;
  color: color-mix(in oklab, var(--paper-soft) 65%, transparent);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta {
  background: var(--ink);
  color: var(--paper-soft);
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.cta::before {
  width: 600px; height: 600px;
  left: -180px; top: -260px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 22%, transparent), transparent 68%);
}
.cta::after {
  width: 500px; height: 500px;
  right: -160px; bottom: -180px;
  background: radial-gradient(circle, color-mix(in oklab, var(--signal) 18%, transparent), transparent 68%);
}
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta-h { color: var(--paper-soft); }
.cta-h em { color: color-mix(in oklab, var(--paper-soft) 92%, var(--accent-soft) 8%); }
.cta-sub {
  color: color-mix(in oklab, var(--paper-soft) 72%, transparent);
  font-size: 1.1rem;
  margin-top: 16px;
}
.cta .btn-primary {
  background: var(--paper-soft);
  color: var(--ink);
  margin-top: 32px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 40px -16px rgba(0,0,0,.5);
}
.cta .btn-primary:hover {
  background: #fff;
  color: var(--accent-deep);
}
.cta-foot {
  margin-top: 22px;
  color: color-mix(in oklab, var(--paper-soft) 55%, transparent);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--paper-deep);
  color: var(--ink-soft);
  padding: 56px var(--gutter) 36px;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 48px;
  align-items: center;
}
.brand-footer { font-size: 1.2rem; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  justify-content: flex-end;
}
.footer-nav a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--accent); }
.footer-meta {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--ink-mute);
  font-size: 0.75rem;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}
