/*
 * gettowncrier.com: the one stylesheet.
 *
 * Brand tokens are copied from portal/src/styles.css (:root and its dark block)
 * so the product site and the app read as one thing. Site-only tokens are
 * marked "site" and every text/ground pair they create was measured (WCAG AA,
 * 4.5:1 for text, 3:1 for focus rings). Measurements are listed in
 * CONVENTIONS.md. Never use --gold (#b8860b) as text on a light ground: 3.12:1.
 *
 * CSP is `style-src 'self'`: no inline style attributes, no <style> blocks,
 * no url() to other hosts. Webfonts are forbidden: the display face is a
 * system serif stack.
 */

:root {
  --ink: #16202a;
  --ink-soft: #4a5b6b;
  --ink-faint: #5f7280;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e2e0d9;
  --navy: #12333f;
  --navy-soft: #1d4b5c;
  --gold: #b8860b;
  --gold-soft: #f4c95d;
  --radius: 11px;
  --measure: 68ch;
  --display: 'Iowan Old Style', 'Charter', 'Palatino Linotype', Palatino,
             'Noto Serif', Georgia, 'Times New Roman', serif;
  --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --lift: 0 1px 2px rgba(22, 32, 42, .05), 0 1px 1px rgba(22, 32, 42, .04);
  --lift-hover: 0 4px 14px rgba(22, 32, 42, .09), 0 2px 4px rgba(22, 32, 42, .05);

  /* site */
  --band: #f6f4ef;          /* alternate section ground; ink-faint 4.5+:1 on it */
  --record: #faf5e8;        /* gold-soft 10% over paper */
  --link: #1d4b5c;          /* 9.09:1 on paper */
  --focus: #1d4b5c;
  --mast: #12333f;          /* masthead, navy in both themes */
  --mast-deep: #0d2731;     /* utility row */
  --mast-ink: #f6f3ec;      /* 12.06:1 on --mast */
  --mast-link: #cfe0e6;     /* 9.84:1 on --mast, 11.44:1 on --mast-deep */
  --btn-bg: #12333f;
  --btn-bg-hover: #1d4b5c;
  --btn-ink: #ffffff;       /* 13.37:1, hover 9.49:1 */
  --frame: #0f1b24;         /* phone bezel */
  --container: 1080px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaed;
    --ink-soft: #a8b6c2;
    --ink-faint: #7d8b98;   /* 5.21 paper, 4.72 card, 4.92 band */
    --paper: #0f1620;
    --card: #16202b;
    --line: #27333f;
    --navy: #0c2029;
    --navy-soft: #12333f;
    --gold: #f4c95d;
    --gold-soft: #f4c95d;
    --lift: 0 1px 2px rgba(0, 0, 0, .35);
    --lift-hover: 0 6px 18px rgba(0, 0, 0, .45);

    --band: #131c27;
    --record: #262826;
    --link: #f4c95d;        /* 11.56 paper, 10.47 card */
    --focus: #f4c95d;
    --mast: #0c2029;
    --mast-deep: #07161d;
    --btn-bg: #f4c95d;
    --btn-bg-hover: #ffd97a;
    --btn-ink: #1b1405;     /* 11.63:1, hover 13.46:1 */
    --frame: #2a3642;
  }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.62 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li + li { margin-top: .35em; }
strong { font-weight: 650; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.1rem); line-height: 1.1; letter-spacing: -0.018em; margin: 0 0 .45em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2; letter-spacing: -0.012em; margin: 0 0 .6em; }
h3 { font-size: 1.22rem; line-height: 1.3; margin: 0 0 .45em; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.masthead :focus-visible, .utility :focus-visible, .cta-band--navy :focus-visible, .skip-link:focus-visible { outline-color: var(--gold-soft); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 20;
  background: var(--card); color: var(--ink);
  padding: 10px 14px; border-radius: 8px; font-weight: 600;
  box-shadow: var(--lift-hover);
}
.skip-link:focus { top: 12px; }
#main:focus { outline: none; }

/* ---------- layout ---------- */

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.center { text-align: center; }
.center.prose, .prose.center { margin-inline: auto; }

.section { padding-block: clamp(44px, 6vw, 76px); }
.section + .section { border-top: 1px solid var(--line); }
.section--band { background: var(--band); }
.section--tight { padding-block: clamp(28px, 4vw, 44px); }

.section-head { max-width: var(--measure); margin-bottom: 28px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section-head.center { margin-inline: auto; }

.eyebrow {
  display: block;
  font: 700 .78rem/1.3 var(--ui);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .7em;
}

.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-faint); }
.small { font-size: .9rem; }

.split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .split--media-left > :first-child { order: 2; }
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }

/* ---------- header ---------- */

.utility { background: var(--mast-deep); font-size: .86rem; }
.utility-inner { display: flex; justify-content: flex-end; gap: 4px 18px; flex-wrap: wrap; }
.utility a {
  color: var(--mast-link); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.utility a:hover { color: #ffffff; text-decoration: underline; }

.masthead { background: var(--mast); color: var(--mast-ink); border-bottom: 3px solid var(--gold-soft); }
.masthead-inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px 24px; padding-block: 12px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  color: var(--mast-ink); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.005em;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand:hover { color: #ffffff; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.site-nav li + li { margin: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--mast-link); text-decoration: none; font-size: .95rem; font-weight: 500;
  border-radius: 6px;
}
.site-nav a:hover { color: #ffffff; background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] { color: #ffffff; box-shadow: inset 0 -2px 0 var(--gold-soft); border-radius: 0; }

.nav-toggle { display: none; }

@media (max-width: 859px) {
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav a { padding: 0 8px; }
  .has-navjs .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    margin-left: auto; min-height: 44px; padding: 0 14px;
    font: 600 .95rem var(--ui); color: var(--mast-ink);
    background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px;
    cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -5px; }
  .nav-toggle-bars::after { top: 5px; }
  .has-navjs .site-nav:not(.is-open) { display: none; }
  .has-navjs .site-nav ul { flex-direction: column; padding-bottom: 8px; }
  .has-navjs .site-nav a { width: 100%; padding: 0 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .has-navjs .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-soft); padding-left: 12px; }
}

/* ---------- breadcrumbs ---------- */

.breadcrumbs { font-size: .88rem; color: var(--ink-faint); padding-top: 18px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.breadcrumbs li + li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 4px; color: var(--ink-faint); }
.breadcrumbs a { color: var(--link); }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}
.hero .lede { margin-bottom: 1.4em; }
.hero-aside { font-size: .95rem; color: var(--ink-soft); margin-top: 18px; }
.hero--plain { padding-bottom: clamp(24px, 4vw, 40px); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px;
  font: 600 1rem/1.2 var(--ui); text-decoration: none; text-align: center;
  border-radius: 8px; border: 1px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-ink);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); box-shadow: var(--lift-hover); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--secondary:hover { background: var(--card); border-color: var(--ink-faint); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 1em; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { text-decoration: underline; }

/* App store buttons: plain text links, no badge artwork (see CONVENTIONS.md) */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1em; padding: 0; list-style: none; }
.store-buttons li + li { margin: 0; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; min-width: 176px; padding: 7px 18px 7px 14px;
  border-radius: 10px; text-decoration: none;
  background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-bg);
}
.store-btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn-big { font-weight: 650; font-size: 1.05rem; }
.store-btn-small { font-size: .78rem; opacity: .92; }

/* ---------- cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--lift);
}
.card > :last-child { margin-bottom: 0; }
.card h2, .card h3 { margin-top: 0; }
.card p { color: var(--ink-soft); }
.card-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 14px; }
.card-links a, .breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }

.audience-card { border-top: 3px solid var(--navy-soft); }
@media (prefers-color-scheme: dark) { .audience-card { border-top-color: var(--gold-soft); } }

/* feature grid: serif heading + one sourced line */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li + li { margin: 0; }
.feature-list li {
  position: relative; padding: 14px 16px 14px 44px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--display); font-size: 1.1rem; line-height: 1.4;
}
.feature-list li::before {
  content: ""; position: absolute; left: 17px; top: 21px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-soft) 30%, transparent);
}

.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--ink-soft); margin: 0; }

/* ---------- steps ---------- */

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1em; display: grid; gap: 16px; }
.steps > li { counter-increment: step; position: relative; padding-left: 56px; min-height: 40px; margin: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 1.1rem/1 var(--display);
  background: var(--navy); color: #ffffff;
}
@media (prefers-color-scheme: dark) { .steps > li::before { background: var(--gold-soft); color: #1b1405; } }
.steps h3 { margin-bottom: .2em; }
.steps p { color: var(--ink-soft); margin: 0; }

/* horizontal three-step flow on wide screens */
@media (min-width: 860px) {
  .steps--flow { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 24px; }
  .steps--flow > li { padding: 56px 0 0; }
  .steps--flow > li::after {
    content: ""; position: absolute; top: 19px; left: 52px; right: -12px;
    border-top: 2px dashed var(--line);
  }
  .steps--flow > li:last-child::after { display: none; }
}

/* ---------- category chips ---------- */

.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li + li { margin: 0; }
.chip {
  display: inline-block;
  font: 700 .76rem/1.2 var(--ui);
  letter-spacing: .045em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px; white-space: nowrap;
  background: var(--tone-bg, #eceff2); color: var(--tone-ink, var(--ink-soft));
}

.cat-list { margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cat-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.cat-item dt { margin: 0 0 6px; }
.cat-item dd { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* measured pairs, copied from portal/src/styles.css (lowest 6.04:1 light, 7.59:1 dark) */
.tone-slate { --tone-ink: #33506c; --tone-bg: #e7eef5; }
.tone-plum { --tone-ink: #6a3663; --tone-bg: #f5e8f2; }
.tone-ink { --tone-ink: #2b3945; --tone-bg: #e8ebee; }
.tone-amber { --tone-ink: #7a4b08; --tone-bg: #fbecd0; }
.tone-teal { --tone-ink: #125a5a; --tone-bg: #ddefee; }
.tone-moss { --tone-ink: #3b5921; --tone-bg: #e8f1de; }
.tone-indigo { --tone-ink: #3d3d8d; --tone-bg: #e8e8f7; }
.tone-rose { --tone-ink: #883150; --tone-bg: #fae8ed; }
.tone-stone { --tone-ink: #48596a; --tone-bg: #edebe4; }
.tone-sand { --tone-ink: #6b511e; --tone-bg: #f4edd8; }
@media (prefers-color-scheme: dark) {
  .tone-slate { --tone-ink: #a9c8e4; --tone-bg: #1b2a37; }
  .tone-plum { --tone-ink: #e0b3d6; --tone-bg: #33212f; }
  .tone-ink { --tone-ink: #c3cdd7; --tone-bg: #1e262e; }
  .tone-amber { --tone-ink: #f2c87a; --tone-bg: #332715; }
  .tone-teal { --tone-ink: #8fd3d0; --tone-bg: #122e2e; }
  .tone-moss { --tone-ink: #b6d493; --tone-bg: #1f2c16; }
  .tone-indigo { --tone-ink: #b3b3ee; --tone-bg: #22224a; }
  .tone-rose { --tone-ink: #f0a8bd; --tone-bg: #331a23; }
  .tone-stone { --tone-ink: #b7c3ce; --tone-bg: #232a31; }
  .tone-sand { --tone-ink: #e2cb8e; --tone-bg: #2e2716; }
}

/* ---------- callouts ---------- */

/* The record callout. ONLY on /for-municipalities/. */
.record {
  margin: 0 0 1em; padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: var(--record);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.record strong { color: var(--ink); }
.record p:last-child { margin-bottom: 0; }

/* Not-emergency block for resident-facing pages. */
.note {
  margin: 0 0 1em; padding: 16px 18px;
  border: 1px solid var(--line); border-left: 3px solid var(--ink-faint);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--card); color: var(--ink-soft);
  max-width: var(--measure);
}
.note strong { color: var(--ink); }
.note p:last-child { margin-bottom: 0; }

/* ---------- phone screenshots ---------- */

.phone { margin: 0 auto; max-width: 300px; width: 100%; }
.phone-screen {
  border: 9px solid var(--frame);
  border-radius: 38px;
  overflow: hidden;
  background: #fbfaf7;
  box-shadow: 0 0 0 1px var(--line), var(--lift-hover);
}
.phone-screen img { width: 100%; }
.phone--top .phone-screen {
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.phone figcaption { margin-top: 12px; text-align: center; font-size: .82rem; color: var(--ink-faint); }
.phone-pair { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); align-items: start; }
.phone-pair .phone { max-width: 250px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; max-width: var(--measure); margin: 0 0 1em; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  min-height: 52px; padding: 12px 18px;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 400 1.5rem/1 var(--ui); color: var(--ink-faint); flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline-offset: -2px; border-radius: var(--radius); }
.faq-answer { padding: 0 18px 16px; color: var(--ink-soft); }
.faq-answer > :last-child { margin-bottom: 0; }

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

.cta-band { background: var(--band); border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 72px); }
.cta-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cta-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); box-shadow: var(--lift); }
.cta-col h2 { font-size: 1.45rem; }
.cta-col p { color: var(--ink-soft); }
.cta-col > :last-child { margin-bottom: 0; }
.cta-single { max-width: 760px; margin-inline: auto; text-align: center; }
.cta-single .btn-row, .cta-single .store-buttons { justify-content: center; }

/* ---------- keep reading ---------- */

.keep-reading h2 { font-size: 1.2rem; font-family: var(--ui); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); font-weight: 700; }
.keep-reading ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.keep-reading li + li { margin: 0; }
.keep-reading a {
  display: block; height: 100%; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); box-shadow: var(--lift);
}
.keep-reading a:hover { box-shadow: var(--lift-hover); border-color: var(--ink-faint); }
.keep-reading strong { display: block; font-family: var(--display); font-size: 1.12rem; color: var(--link); margin-bottom: 4px; }
.keep-reading span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- footer ---------- */

.site-footer { background: var(--band); border-top: 1px solid var(--line); padding-block: 48px 36px; font-size: .95rem; color: var(--ink-soft); }
.footer-top { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); } }
.site-footer .brand { color: var(--ink); font-size: 1.3rem; }
.site-footer .brand:hover { color: var(--ink); }
.footer-tagline { margin: 4px 0 16px; }
.site-footer .store-btn { min-width: 0; min-height: 44px; padding: 5px 14px 5px 11px; }
.site-footer .store-btn-big { font-size: .95rem; }
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.footer-head { font: 700 .78rem/1.3 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 10px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li + li { margin-top: 0; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); text-decoration: none; }
.footer-cols a:hover { color: var(--link); text-decoration: underline; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-faint); }
.footer-legal p { margin: 0 0 6px; max-width: var(--measure); }

/* ---------- motion ---------- */

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

@media print {
  .utility, .site-nav, .nav-toggle, .cta-band, .store-buttons { display: none !important; }
  .masthead { background: none; color: #000; border-bottom: 1px solid #000; }
  .brand { color: #000; }
}

/* ---------- price table ---------- */

/* The chart sits centered on the page; full width on a phone. */
.price-center { max-width: 760px; margin-inline: auto; }

.table-wrap { overflow-x: auto; max-width: 100%; margin: 0 0 1em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table caption { text-align: left; padding: 14px 16px 6px; font-weight: 600; color: var(--ink-soft); font-size: .92rem; }
.price-table th, .price-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); font-weight: 700; }
.price-table tbody th { font-weight: 500; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
/* Price and staff accounts read as numbers: right-aligned, fixed-width digits. */
.price-table thead th + th, .price-table td { text-align: right; font-variant-numeric: tabular-nums; }
.price-table td:nth-child(2) { font-weight: 650; white-space: nowrap; }
@media (max-width: 420px) {
  .price-table { font-size: .95rem; }
  .price-table th, .price-table td { padding: 10px 10px; }
}
