/* =========================================================
   TISKET / shared styles
   ========================================================= */

:root {
  --page-bg: #F5F5F5;
  --page-bg-alt: #EBEBEB;
  --page-ink: #1A1A1A;
  --page-dim: #6F6F6F;
  --brass: #7A5F2A;
  --blood: #B11226;
  --blood-hover: #8C0E1E;
  --blood-soft: rgba(177,18,38,0.12);
  --rule: #DDDDDD;

  --w-paper: #FFFFFF;
  --w-ink: #15171C;
  --w-ink-soft: rgba(21,23,28,0.66);
  --w-stamp: #B11226;

  /* spacing — 4px base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-14: 56px;
  --s-16: 64px;
  --s-22: 88px;
  --s-24: 96px;

  /* motion */
  --t-fast: 0.15s;
  --t-med: 0.2s;
  --t-slow: 0.3s;

  /* elevation */
  --shadow-1: 0 8px 16px -8px rgba(0,0,0,0.18);
  --shadow-2: 0 14px 22px -10px rgba(0,0,0,0.22);
  --shadow-3: 0 22px 32px -8px rgba(0,0,0,0.22);
}

* { box-sizing: border-box; }
/* overflow-x: clip (not hidden) — `hidden` creates an implicit scroll container
   on the root, which breaks position: sticky on all descendants (notably the
   composer preview-col ticket pin). `clip` is paint-only, doesn't create a
   scroll container, and still prevents the zoom-gutter horizontal-scroll bug.
   Safari 16+ / Chrome 90+ / FF 81+. */
html, body { margin: 0; padding: 0; overflow-x: clip; }

/* Screen-reader-only utility — visually hides but keeps content in the AT tree. */
.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;
}

/* Global focus ring — visible to keyboard users, suppressed for mouse clicks. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 2px;
  border-radius: 1px;
}

/* Respect reduced-motion preference: disable transitions + animations site-wide. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--page-bg);
  color: var(--page-ink);
  min-height: 100vh;
  font-size: 17px;
  line-height: 1.55;
  background-image: radial-gradient(ellipse at top, rgba(177,18,38,0.05) 0%, transparent 55%);
  /* removed: background-attachment: fixed + SVG noise filter — known Safari renderer
     bug where the data-URI SVG filter + fixed attachment can blank entire sections. */
}

/* ===== PAGE HEADER (non-landing pages) ===== */
.page-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(245,245,245,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.page-header .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.wordmark {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--w-stamp);
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--w-stamp);
  margin-left: 6px;
  transform: rotate(45deg);
  vertical-align: middle;
  margin-bottom: 2px;
}
/* ===== BUTTONS ===== */
.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 11px 18px;
  border: 1px solid var(--blood);
  color: var(--w-paper);
  background: var(--blood);
  text-decoration: none;
  border-radius: 1px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  display: inline-block;
  cursor: pointer;
}
.btn:hover { background: var(--blood-hover); border-color: var(--blood-hover); }
.btn.ghost {
  background: transparent;
  border-color: var(--page-ink);
  color: var(--page-ink);
}
.btn.ghost:hover { background: var(--page-ink); color: var(--page-bg); }

/* ===== SECTION CHROME ===== */
section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
  position: relative;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--brass);
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--brass);
  transform: rotate(45deg);
}
h2.section-title {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(40px, 5.5vw, 64px);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  line-height: 1;
}
h2.section-title em { color: var(--brass); font-weight: 700; }
.section-lede {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--page-dim);
  max-width: 580px;
  line-height: 1.55;
  margin: 0 0 56px;
}

/* ===== HERO (landing) ===== */
.hero {
  padding: 88px 24px 56px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.hero .left .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -0.005em;
  line-height: 1;
  margin: 0 0 22px;
  color: var(--page-ink);
}
.hero h1 .stamp { color: var(--w-stamp); display: inline-block; }
.hero h1 .aas {
  display: block;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.7em;
  color: var(--blood);
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.hero .lede {
  font-size: 21px;
  color: var(--page-ink);
  max-width: 540px;
  line-height: 1.5;
  margin: 0 0 32px;
  font-family: 'EB Garamond', serif;
}
.hero .lede strong { color: var(--brass); font-weight: 700; font-style: italic; }
.hero .who-did-it {
  display: block;
  margin: 0 0 18px;
  max-width: 560px;
}
.hero .who-did-it label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--page-dim);
  font-weight: 700;
  margin-bottom: 8px;
}
.hero .who-row {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.hero .who-row input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  padding: 13px 14px;
  border: 1.5px solid var(--page-ink);
  background: var(--w-paper);
  color: var(--page-ink);
  border-radius: 1px;
  font-weight: 500;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.hero .who-row input::placeholder { color: var(--page-dim); opacity: 0.55; font-style: italic; }
.hero .who-row input:focus { border-color: var(--blood); box-shadow: 0 0 0 2px rgba(177,18,38,0.12); }
.hero .who-row input.errored { border-color: var(--blood); box-shadow: 0 0 0 2px rgba(177,18,38,0.16); }
.hero .who-row .btn { flex: 0 0 auto; white-space: nowrap; }
.hero .who-hint {
  margin: 8px 0 0;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--blood);
  line-height: 1.4;
}
@media (max-width: 520px) {
  .hero .who-row { flex-wrap: wrap; }
  .hero .who-row input { flex: 1 1 100%; }
  .hero .who-row .btn { flex: 1 1 100%; text-align: center; }
}

.hero .cta-row.secondary { margin-top: 0; }

.hero .reassure-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--page-dim);
  font-weight: 700;
  margin: 0 0 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.hero .reassure-row span::before {
  content: '✓';
  color: var(--blood);
  margin-right: 6px;
  font-weight: 700;
}
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
/* Live activity ticker — populated by /api/activity.php */
.hero .activity-ticker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--page-dim);
  font-weight: 700;
  min-height: 14px;
}
.hero .activity-ticker strong { color: var(--blood); font-weight: 700; }
.hero .activity-ticker:empty { display: none; }

/* ===== TICKET (Municipal / White) — used on landing hero, ticket view, composer preview ===== */
.ticket-wrap {
  position: relative;
  transform: rotate(3.2deg);
  transition: transform 0.3s ease;
}
.ticket-wrap.straight { transform: rotate(0deg); }
.ticket-wrap:hover { transform: rotate(0deg) scale(1.02); }
.ticket-wrap .municipal-w {
  box-shadow: var(--shadow-3);
}
.hero .right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.municipal-w {
  width: 380px;
  background: var(--w-paper);
  color: var(--w-ink);
  padding: 14px 20px 22px;
  font-family: 'IBM Plex Mono', monospace;
  overflow: hidden;
  border: 0.5px solid rgba(21,23,28,0.1);
  position: relative;
}
.municipal-w .head { text-align: center; margin: 4px 0 14px; position: relative; z-index: 2; }
.municipal-w .head h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 60px;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  color: var(--w-stamp);
}
.municipal-w .head .copy-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.28em;
  margin-top: 6px;
  color: var(--w-ink-soft);
  text-transform: uppercase;
  font-weight: 500;
}
.municipal-w .field { margin-bottom: 12px; line-height: 1.2; position: relative; z-index: 2; }
.municipal-w .field-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--w-ink-soft);
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}
.municipal-w .field-value {
  border-bottom: 1px solid rgba(21,23,28,0.4);
  padding: 1px 2px 4px;
  display: block;
  letter-spacing: 0.01em;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.3;
  min-height: 22px;
}
.municipal-w .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  z-index: 2;
  align-items: end;
  margin-bottom: 24px;   /* extra breathing room before VIOLATOR/DESCRIPTION labels */
}
.municipal-w .row .field { display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 0; }
.municipal-w .row .field .field-value { margin-top: auto; }
.municipal-w .fine-block {
  border: 2px solid var(--w-ink);
  margin: 12px 0 8px;
  padding: 8px 12px 10px;
  text-align: center;
  position: relative;
  z-index: 2;
  background: transparent;
}
.municipal-w .fine-block .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--w-ink-soft);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  display: block;
  margin-bottom: 2px;
}
.municipal-w .fine-block .amount {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--w-stamp);
  display: block;
  text-align: center;
}
.municipal-w .tasket-field {
  border: 1.5px solid var(--w-ink);
  padding: 8px 10px 10px;
  margin: 8px 0;
  position: relative;
  z-index: 2;
  background: transparent;
}
.municipal-w .tasket-field .field-label { color: var(--w-stamp); }
.municipal-w .tasket-field .tasket-text {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.4;
  margin-top: 3px;
}
.municipal-w .checkbox {
  display: inline-block;
  width: 11px; height: 11px;
  border: 1.5px solid var(--w-ink);
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.municipal-w .footer-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w-ink-soft);
  font-weight: 700;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 0.5px solid var(--w-ink);
  position: relative;
  z-index: 2;
}

/* ===== HOW IT WORKS ===== */
.how { background: var(--page-bg-alt); position: relative; z-index: 2; isolation: isolate; }
.how > section { max-width: 1180px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.step {
  padding: 32px 24px 36px;
  background: var(--w-paper);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.step .num {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--brass);
  margin-bottom: 14px;
  display: block;
}
.step h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--page-ink);
}
.step p {
  font-size: 15px;
  color: var(--page-dim);
  margin: 0;
  line-height: 1.55;
}

/* ===== OFFENSE LIBRARY ===== */
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.offense-card {
  background: var(--w-paper);
  border: 1px solid var(--rule);
  padding: 22px 22px 24px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.offense-card:hover,
.offense-card:focus-visible {
  border-color: var(--blood);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.offense-card:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 2px;
}
.offense-card .code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 10px;
}
.offense-card .title {
  font-family: 'EB Garamond', serif;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--page-ink);
  margin: 0 0 14px;
}
.offense-card .desc {
  font-size: 14px;
  color: var(--page-dim);
  margin: 0 0 18px;
  line-height: 1.5;
  font-style: italic;
}
.offense-card .footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.offense-card .tier {
  font-family: 'Anton', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--w-stamp);
  letter-spacing: -0.01em;
  line-height: 1;
}
.offense-card .tasket {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--page-dim);
  text-transform: uppercase;
  text-align: right;
  font-weight: 700;
}

/* ===== RESPONSE OPTIONS ===== */
.responses {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.response {
  padding: 28px 22px 32px;
  background: var(--w-paper);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.response .verb {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--page-ink);
}
.response.primary .verb { color: var(--w-stamp); }
.response p {
  font-size: 15px;
  color: #4F4F4F;
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 920px) {
  .response p { font-size: 16px; }
}

/* ===== DISCLAIMER STRIP ===== */
.disclaimer-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(177,18,38,0.05);
}
.disclaimer-strip .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.disclaimer-strip .stamp {
  font-family: 'Anton', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.12em;
  color: var(--w-stamp);
  border: 3px double var(--w-stamp);
  padding: 8px 18px;
  text-transform: uppercase;
  transform: rotate(-3deg);
  flex-shrink: 0;
}
.disclaimer-strip p {
  margin: 0;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--page-ink);
  line-height: 1.5;
  flex: 1;
  min-width: 260px;
}
.disclaimer-strip p strong { color: var(--brass); font-style: normal; font-weight: 700; }

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  padding: 112px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.final-cta h2 {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(48px, 7vw, 84px);
  margin: 0 0 18px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.final-cta h2 em { color: var(--w-stamp); font-weight: 900; }
.final-cta p {
  font-size: 19px;
  color: var(--page-dim);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.55;
  font-style: italic;
}
.final-cta .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta .btn { padding: 14px 22px; font-size: 12px; }

/* ===== FOOTER (shared) ===== */
footer.page {
  border-top: 1px solid var(--rule);
  padding: 32px 24px 56px;
}
footer.page .inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--page-dim);
  font-weight: 700;
}
footer.page .sig {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: var(--brass);
  text-transform: none;
  letter-spacing: 0;
}
footer.page a {
  color: var(--page-dim);
  text-decoration: none;
  margin: 0 2px;
  padding: 12px 6px;          /* 44px touch target via line-height (font-size 17 + 24 padding) */
  display: inline-block;
  min-height: 44px;
  line-height: 1.4;
}
footer.page a:hover { color: var(--page-ink); }

/* ===== ERROR PAGES (404, 500) ===== */
.err-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  text-align: center;
}
.err-page h1 {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(56px, 9vw, 96px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 0 0 14px;
}
.err-page h1 em { color: var(--blood); font-weight: 700; }
.err-page .lede {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--page-dim);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.55;
}
.err-page .ticket-wrap { transform: rotate(-1.5deg); margin: 0 auto 40px; width: fit-content; }
.err-page .ticket-wrap:hover { transform: rotate(0deg) scale(1.01); }
.err-page .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== LEGAL / STATIC CONTENT PAGES (verify, terms, privacy, report) ===== */
.legal-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.legal-page .eyebrow { margin-bottom: 16px; }
.legal-page h1 {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(48px, 6.5vw, 76px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 14px;
}
.legal-page h1 em { color: var(--blood); font-weight: 700; }
.legal-page .lede {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--page-dim);
  line-height: 1.55;
  margin: 0 0 48px;
}
.legal-page .body {
  counter-reset: section;
}
.legal-page .body h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 40px 0 14px;
  color: var(--page-ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.legal-page .body h2::before {
  content: counter(section, decimal-leading-zero);
  counter-increment: section;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  color: var(--brass);
  letter-spacing: 0;
  text-transform: none;
}
.legal-page .body p {
  font-size: 22px;
  line-height: 1.6;
  margin: 0 0 14px;
  font-family: 'EB Garamond', serif;
}
.legal-page .body p strong { color: var(--page-ink); font-weight: 700; }
.legal-page .body ul {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  line-height: 1.55;
  padding-left: 24px;
  margin: 0 0 16px;
}
.legal-page .body ul li { margin-bottom: 8px; }
.legal-page .body a {
  color: var(--blood);
  text-decoration: none;
  border-bottom: 1px dotted var(--blood);
}
.legal-page .body a:hover { background: rgba(177,18,38,0.08); }
.legal-page .meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--page-dim);
  text-transform: uppercase;
  font-weight: 700;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  margin-top: 64px;
}

/* Verify page table */
.verify-table {
  border: 1px solid var(--rule);
  background: var(--w-paper);
  margin-top: 8px;
}
.verify-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  gap: 20px;
}
.verify-row:last-child { border-bottom: 0; }
.verify-row .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--page-dim);
  font-weight: 700;
}
.verify-row .value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  word-break: break-all;
  color: var(--page-ink);
}
.verify-row .value .none {
  font-style: italic;
  color: var(--page-dim);
  font-family: 'EB Garamond', serif;
  font-weight: 400;
}
.verify-callout {
  margin-top: 36px;
  padding: 22px 26px;
  background: rgba(177,18,38,0.06);
  border-left: 4px solid var(--blood);
}
.verify-callout p {
  margin: 0;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.55;
}
.verify-callout p strong { color: var(--blood); font-style: normal; font-weight: 700; }
.verify-callout .btn { margin-top: 14px; }

/* ===== TISKET FORM PATTERN — shared across composer, report, accounts ===== */
.tisket-form .field-set { margin-bottom: 18px; }
.tisket-form .field-set:last-child { margin-bottom: 0; }
.tisket-form label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--page-dim);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.tisket-form .field-input {
  width: 100%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  background: var(--w-paper);
  color: var(--page-ink);
  border-radius: 1px;
  font-weight: 500;
  outline: none;
  transition: border-color var(--t-fast);
}
.tisket-form .field-input:focus { border-color: var(--blood); }
.tisket-form .field-input::placeholder { color: var(--page-dim); opacity: 0.55; }
.tisket-form textarea.field-input {
  resize: vertical;
  min-height: 64px;
  line-height: 1.4;
}
.tisket-form select.field-input {
  cursor: pointer;
  background: var(--w-paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1 L6 6 L11 1' stroke='%231A1A1A' stroke-width='2' fill='none'/></svg>") no-repeat right 12px center;
  background-size: 10px;
  padding-right: 32px;
  appearance: none;
  -webkit-appearance: none;
}
.tisket-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Report-form extends tisket-form with larger textarea + submit-row */
.report-form { margin-top: 8px; }
.report-form .field-set { margin-bottom: 18px; }
.report-form .field-input { font-size: 14px; }
.report-form textarea.field-input { min-height: 120px; line-height: 1.5; }
.report-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.report-form .submit-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.report-form .submit-row .help {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--page-dim);
}
.report-success {
  display: none;
  margin-top: 28px;
  padding: 24px;
  background: rgba(177,18,38,0.06);
  border: 1.5px solid var(--blood);
}
.report-success.visible { display: block; }
.report-success h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--blood);
}
.report-success .ref {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 8px 0;
}
.report-success p {
  margin: 6px 0 0;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .verify-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .tisket-form .row { grid-template-columns: 1fr; }
}

/* ===== UPVOTE BUTTON — shared across t.html (vote-bar) + leaderboard cards ===== */
.upvote-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
  background: var(--w-paper);
  color: var(--page-ink);
  border: 1px solid var(--rule);
  border-radius: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--t-fast);
}
.upvote-btn:hover { border-color: var(--blood); color: var(--blood); }
.upvote-btn.voted {
  background: var(--blood);
  color: var(--w-paper);
  border-color: var(--blood);
  cursor: default;
}
.upvote-btn .arrow { font-size: 14px; line-height: 1; }
/* Larger variant used inside the ticket-view vote-bar */
.vote-bar .upvote-btn {
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 8px 14px;
  border-width: 1.5px;
}
.vote-bar .upvote-btn .arrow { font-size: 13px; }
@media (max-width: 600px) {
  .upvote-btn { font-size: 10px; padding: 5px 8px; }
}

/* ===== ACTION BUTTON — recipient response actions on t.html ===== */
.action-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px 8px;
  border: 1px solid var(--rule);
  background: var(--w-paper);
  color: var(--page-ink);
  cursor: pointer;
  border-radius: 1px;
  transition: all var(--t-fast);
  line-height: 1.3;
}
.action-btn:hover { border-color: var(--page-ink); }
.action-btn.primary {
  border-color: var(--blood);
  background: var(--blood);
  color: var(--w-paper);
}
.action-btn.primary:hover { background: var(--blood-hover); border-color: var(--blood-hover); }
.action-btn.active { background: var(--page-ink); color: var(--page-bg); border-color: var(--page-ink); }
.action-btn.primary.active { background: var(--blood-hover); }
@media (max-width: 720px) {
  .action-btn { font-size: 10.5px; padding: 14px 6px; }
}

/* ===== MOBILE ===== */
@media (max-width: 920px) {
  section { padding: 64px 20px; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 56px; }
  .hero .right { order: 2; }
  .ticket-wrap { transform: rotate(2deg); }
  .steps { grid-template-columns: 1fr 1fr; }
  .library-grid { grid-template-columns: 1fr 1fr; }
  .responses { grid-template-columns: 1fr 1fr; }
  /* Ticket spacing — the preview is rendered at 0.92x scale on mobile,
     so a slightly larger row gap holds its own optically. */
  .municipal-w .row { margin-bottom: 26px; }
  .municipal-w .field { margin-bottom: 18px; }
  .municipal-w .head { margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .steps, .library-grid, .responses { grid-template-columns: 1fr; }
  .municipal-w { width: min(100%, 360px); }
  .disclaimer-strip .stamp { font-size: 24px; padding: 6px 14px; }
}

/* iPhone portrait (≤430px) — tighten padding, scale display type, allow stamp to wrap */
@media (max-width: 430px) {
  body { padding-left: 12px; padding-right: 12px; }
  section { padding: 56px 16px; }
  .hero { padding: 48px 16px 40px; gap: 40px; }
  .hero h1 { font-size: 46px; line-height: 1; }
  .hero h1 .aas { font-size: 0.7em; margin-top: 4px; }
  .hero .lede { font-size: 17px; }
  .ticket-wrap { transform: rotate(1.5deg); }
  .ticket-wrap:hover { transform: rotate(0deg) scale(1.01); }
  .disclaimer-strip .inner { padding: 28px 18px; gap: 18px; }
  .disclaimer-strip .stamp { font-size: 22px; padding: 6px 12px; }
  .disclaimer-strip p { font-size: 15px; min-width: 100%; }
  h2.section-title { font-size: 36px; }
  .final-cta { padding: 80px 16px; }
  .final-cta h2 { font-size: 44px; }
  .records-footer, footer.page .inner { font-size: 9.5px; letter-spacing: 0.22em; }
  /* Library grid cards more breathable */
  .offense-card { padding: 18px 18px 20px; }
  .offense-card .title { font-size: 21px; }
  /* Page-header is sticky — keep it slim on narrow */
  .page-header .inner { padding: 12px 16px; }
  .page-header .wordmark { font-size: 18px; }
}
