:root {
  --paper: #f8f4ed;
  --paper-deep: #efe6d8;
  --ink: #211f1d;
  --muted: #635e58;
  --line: #d8cbbb;
  --accent: #8f231d;
  --accent-dark: #641914;
  --slate: #34414a;
  --focus: #174f7a;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(143, 35, 29, 0.05), transparent 18rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 1rem;
  padding: 0.7rem 0.9rem;
  position: absolute;
  top: -5rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(248, 244, 237, 0.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 0.65rem 1rem;
}

.brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

nav a {
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.story {
  margin: 0 auto;
  max-width: 760px;
  padding: 3rem 1.2rem 0;
}

.story-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
}

.content-note,
.eyebrow,
.source-number {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.08;
}

h1 {
  font-size: 3.25rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
}

.page-hero h1 {
  max-width: 820px;
}

.deck,
.page-hero > p:not(.eyebrow) {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.45;
  margin: 0;
  max-width: 760px;
}

.article-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  margin: 0.7rem 0 1rem;
}

.article-meta span {
  align-items: center;
  display: inline-flex;
  font-size: 0.88rem;
}

.article-meta span:not(:last-child)::after {
  color: var(--line);
  content: "/";
  margin-left: 0.75rem;
}

.utility-row {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.download-button,
.share-tools button,
.share-tools a,
.quick-exit,
.story-form button {
  background: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  border-radius: 6px;
  color: #fffaf1;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
  min-height: 2.5rem;
  padding: 0.72rem 0.86rem;
  text-decoration: none;
}

.share-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.share-tools a,
.share-tools button {
  background: transparent;
  color: var(--accent-dark);
}

.share-status {
  color: var(--muted);
  font-size: 0.85rem;
  min-height: 1.3rem;
}

.article-copy {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.72;
}

.article-copy p {
  margin: 0 0 1.16rem;
}

.article-block {
  margin: 0;
}

.lead-quote {
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.26;
}

.pull-line {
  border-left: 4px solid var(--accent);
  color: var(--accent-dark);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 1.7rem 0;
  padding-left: 1rem;
}

.final-line {
  color: var(--accent-dark);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 1.8rem;
}

.source-markers {
  display: inline-flex;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.72rem;
  gap: 0.35rem;
  margin-left: 0.45rem;
  vertical-align: baseline;
}

.source-markers a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate);
  padding: 0.08rem 0.36rem;
  text-decoration: none;
}

.figure {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin: 1.8rem 0 2.2rem;
  padding: 0.85rem 0;
}

.figure a {
  display: block;
}

.figure img {
  background: #ffffff;
  margin: 0 auto;
}

.figure-quote img {
  max-width: 460px;
  width: 100%;
}

.figure-wide {
  margin-left: -1.4rem;
  margin-right: -1.4rem;
}

.figure-wide img {
  width: 100%;
}

figcaption {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0.7rem auto 0;
  max-width: 760px;
}

.action-panel,
.qr-share,
.page-shell {
  margin: 0 auto;
  max-width: 960px;
  padding: 3rem 1.2rem;
}

.action-panel {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.action-panel a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 9rem;
  padding: 1.1rem;
  text-decoration: none;
}

.action-panel span {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 0.75rem;
}

.action-panel small {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
}

.qr-share {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding-top: 2rem;
}

.qr-share h2,
.page-shell h2 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.qr-share p,
.page-shell p {
  color: var(--muted);
}

.page-shell {
  padding-top: 4rem;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.launch-block,
.support-box,
.method-note {
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
  padding: 0.4rem 0 0.4rem 1rem;
}

.story-form {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

label {
  color: var(--ink);
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

input,
textarea {
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 0.75rem;
  width: 100%;
}

fieldset[disabled] {
  opacity: 0.68;
}

.checkbox-group label,
label:has(input[type="checkbox"]) {
  align-items: start;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1.1rem 1fr;
}

input[type="checkbox"] {
  margin-top: 0.25rem;
  width: auto;
}

.form-status {
  color: var(--accent-dark);
  font-weight: 700;
}

.form-help {
  color: var(--muted);
  margin: 0 0 1rem;
}

.required-note {
  color: var(--accent-dark);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
}

.honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.message-page .page-hero {
  max-width: 780px;
}

.policy-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2rem 0;
}

.policy-grid > div,
.sources-list article,
.report-list,
.link-list {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.report-list dl {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0 0;
}

.report-list dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.report-list dd {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0.2rem 0 0;
}

.urgent-line {
  color: var(--accent-dark);
  font-size: 1.12rem;
}

.sources-list {
  display: grid;
  gap: 1.4rem;
}

.sources-list article {
  scroll-margin-top: 5rem;
}

.quick-exit {
  bottom: 1rem;
  position: fixed;
  right: 1rem;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 0.55rem 0.75rem;
    justify-content: flex-start;
  }

  nav a {
    font-size: 0.76rem;
  }

  .story {
    padding-top: 1.55rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .article-copy {
    font-size: 1.1rem;
  }

  .lead-quote,
  .final-line {
    font-size: 1.45rem;
  }

  .pull-line {
    font-size: 1.23rem;
  }

  .figure-wide {
    margin-left: 0;
    margin-right: 0;
  }

  .action-panel,
  .policy-grid,
  .report-list dl {
    grid-template-columns: 1fr;
  }

  .qr-share {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-exit {
    bottom: 0.75rem;
    left: 1rem;
    right: auto;
  }
}

@media print {
  .site-header,
  .share-tools,
  .quick-exit,
  .action-panel,
  .qr-share {
    display: none;
  }

  body {
    background: #ffffff;
  }

  .story {
    max-width: none;
    padding: 0;
  }

  a {
    color: #000000;
  }
}
