/* ============================================================
   $STIMMY — UNITED STATES STIMULUS PROGRAM
   Vintage US Treasury document aesthetic. Hand-coded.
   ============================================================ */

:root {
  --paper: #f1e5c8;
  --paper-2: #ebd9b0;
  --paper-3: #e2cb95;
  --ink: #15233f;
  --ink-2: #0d172b;
  --ink-soft: #2d3a55;
  --red: #9d2235;
  --red-2: #b8323f;
  --green: #2e5d3a;
  --green-2: #4a7a52;
  --gold: #b8923a;
  --line: rgba(21, 35, 63, 0.35);
  --line-soft: rgba(21, 35, 63, 0.15);
  --shadow: rgba(13, 23, 43, 0.18);

  --font-serif: 'IM Fell English', 'Times New Roman', serif;
  --font-sc: 'IM Fell English SC', 'IM Fell English', serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-typewriter: 'Special Elite', 'Courier New', monospace;
  --font-display: 'Playfair Display', 'IM Fell English', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;

  /* Aged paper texture using gradients */
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(157, 34, 53, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(46, 93, 58, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(184, 146, 58, 0.06) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      rgba(21, 35, 63, 0.012) 0px,
      rgba(21, 35, 63, 0.012) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(21, 35, 63, 0.012) 0px,
      rgba(21, 35, 63, 0.012) 1px,
      transparent 1px,
      transparent 4px
    );
}

/* Subtle vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(21,35,63,0.14) 100%);
}

a { color: var(--ink); text-decoration: none; }

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

/* ============================================================
   CLASSIFICATION TICKER BAR
   ============================================================ */
.classification-bar {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px double var(--paper);
  border-top: 3px double var(--ink-2);
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 100;
}

.cls-track {
  display: inline-block;
  animation: ticker 60s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  border-bottom: 1px solid var(--ink);
  background:
    linear-gradient(to bottom, rgba(21,35,63,0.04), transparent);
  position: relative;
}

.masthead::before,
.masthead::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ink);
}
.masthead::before { bottom: 4px; }
.masthead::after { bottom: 0; }

.masthead-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px 36px;
}

.seal-wrap {
  width: 96px;
  height: 88px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-img { width: 100%; height: 100%; display: block; object-fit: contain; }
.footer-seal-img { width: 100%; height: 100%; display: block; object-fit: contain; }

.title-block { text-align: center; }

.dept-line {
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-shadow: 1px 1px 0 var(--paper-2);
}

.subtitle {
  font-family: var(--font-sc);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ink);
  margin-top: 6px;
}

.topnav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: var(--font-sc);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.topnav a {
  border-bottom: 1px dotted transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s, color 0.15s;
}

.topnav a:hover {
  border-bottom-color: var(--ink);
}

.topnav a.ext {
  color: var(--red);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 56px 36px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.kicker {
  display: inline-block;
  font-family: var(--font-sc);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 5px 12px;
  margin-bottom: 24px;
  background: rgba(157, 34, 53, 0.04);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-headline .ink {
  color: var(--red);
  font-style: italic;
  font-weight: 700;
  border-bottom: 3px solid var(--red);
  padding-bottom: 2px;
}

.hero-lede {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-sc);
  font-size: 14px;
  letter-spacing: 0.22em;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn-primary::after { border-color: var(--paper); }

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* APPROVED STAMP */
.stamp-approved {
  display: inline-block;
  margin-top: 36px;
  margin-left: 12px;
  transform: rotate(-9deg);
  opacity: 0.7;
  pointer-events: none;
}

.stamp-inner {
  border: 4px double var(--red);
  padding: 12px 22px;
  color: var(--red);
  font-family: var(--font-sc);
  text-align: center;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--red);
  filter: contrast(1.15);
}

.stamp-line {
  display: block;
  font-size: 22px;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.stamp-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 0.25em;
  margin-top: 4px;
}

.stamp-date {
  display: block;
  font-family: var(--font-typewriter);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-top: 4px;
  opacity: 0.85;
}

/* ============================================================
   THE CHECK
   ============================================================ */
.check {
  position: relative;
  background:
    linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--ink);
  padding: 22px 26px 16px;
  box-shadow:
    0 1px 0 var(--ink),
    0 2px 0 rgba(13, 23, 43, 0.5),
    0 18px 40px -8px var(--shadow),
    inset 0 0 0 6px rgba(21, 35, 63, 0.04);
  font-family: var(--font-typewriter);
  color: var(--ink);
  transform: rotate(-1.2deg);
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);

  /* Guilloché pattern */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(46, 93, 58, 0.05) 0, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(157, 34, 53, 0.05) 0, transparent 30%),
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 4px,
      rgba(21, 35, 63, 0.025) 4px,
      rgba(21, 35, 63, 0.025) 5px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 4px,
      rgba(46, 93, 58, 0.02) 4px,
      rgba(46, 93, 58, 0.02) 5px
    ),
    linear-gradient(135deg, var(--paper) 0%, var(--paper-2) 100%);
}

.check:hover {
  transform: rotate(-0.2deg) translateY(-4px);
}

/* Corner ornaments */
.check-corners .c {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--ink);
}
.c-tl { top: 6px; left: 6px; border-top: 2px solid; border-left: 2px solid; }
.c-tr { top: 6px; right: 6px; border-top: 2px solid; border-right: 2px solid; }
.c-bl { bottom: 6px; left: 6px; border-bottom: 2px solid; border-left: 2px solid; }
.c-br { bottom: 6px; right: 6px; border-bottom: 2px solid; border-right: 2px solid; }

.check-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
}

.check-eagle {
  width: 32px;
  color: var(--ink);
}

.check-eagle svg { width: 100%; height: auto; }

.check-treasury .treasury-name {
  font-family: var(--font-sc);
  font-size: 17px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.check-treasury .treasury-sub {
  font-family: var(--font-sc);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-top: 2px;
}

.check-no {
  text-align: right;
}

.check-no-label {
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.check-no-value {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.check-body {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding-top: 14px;
}

.check-stub {
  border-right: 1px dashed var(--ink);
  padding-right: 8px;
  color: var(--ink);
  opacity: 0.85;
}

.check-stub svg { width: 100%; height: auto; }

.check-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.field-label {
  font-family: var(--font-sc);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.15;
  color: var(--ink-soft);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.field-line {
  flex: 1;
  border-bottom: 1px solid var(--ink);
  padding: 0 4px 4px;
  min-height: 24px;
}

.written {
  font-family: var(--font-typewriter);
  color: var(--red);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.cursive {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  letter-spacing: 0;
  color: var(--ink);
}

.amount-box {
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.35);
  padding: 6px 10px;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 140px;
  justify-content: space-between;
}

.amt-sym {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.amt-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.1em;
}

.dollars {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  justify-content: space-between;
}

.dollars-label {
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
}

.memo-sig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
}

.memo {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.memo .field-label { text-align: left; }

.signature {
  text-align: center;
  position: relative;
}

.sig-line {
  display: block;
  border-bottom: 1px solid var(--ink);
  height: 1px;
  width: 100%;
}

.sig-name {
  display: block;
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-top: -28px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.sig-sub {
  font-family: var(--font-sc);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
}

.micr {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink);
  border-top: 1px solid var(--ink);
  padding-top: 8px;
  text-align: center;
  filter: blur(0.2px);
}

.check-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 90px;
  letter-spacing: 0.1em;
  color: rgba(157, 34, 53, 0.06);
  pointer-events: none;
  transform: rotate(-12deg);
  user-select: none;
}

.check-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 14px 0;
}

/* ============================================================
   MINT ADDRESS ROW — sits inside the check itself, styled like
   the other check fields (PAY TO THE ORDER OF / MEMO / etc).
   ============================================================ */
.mint-row {
  align-items: flex-end;
}

.mint-label {
  /* Same styling as other field-labels — already applied via class. */
}

.mint-line {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.mint-value {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--red);
  background: transparent;
  border: none;
  padding: 0 0 2px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  user-select: all;
  cursor: text;
}

.mint-copy {
  /* Looks like a hand-stamped sub-line, not a webby button. */
  background: transparent;
  border: none;
  border-bottom: 1px dotted var(--red);
  color: var(--red);
  font-family: var(--font-typewriter);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 2px 1px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}

.mint-copy:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.mint-copy.copied {
  color: var(--green);
  border-bottom-color: var(--green);
}

@media (max-width: 720px) {
  .mint-value { font-size: 11px; }
  .mint-copy { font-size: 9px; letter-spacing: 0.12em; }
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-k {
  font-family: var(--font-sc);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
}

.m-v {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--ink);
}

/* ============================================================
   TICKER STRIP
   ============================================================ */
.ticker-strip {
  background: var(--ink);
  color: var(--paper);
  border-top: 3px double var(--paper-2);
  border-bottom: 3px double var(--paper-2);
  padding: 30px 36px;
  position: relative;
}

.ticker-strip::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(241, 229, 200, 0.2);
  pointer-events: none;
}

.ticker-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.ticker-card {
  text-align: center;
  position: relative;
}

.ticker-card + .ticker-card::before {
  content: "★";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--paper-3);
  opacity: 0.5;
}

.tc-label {
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--paper-3);
  opacity: 0.85;
}

.tc-value {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 6px 0;
  color: var(--paper);
}

.mono { font-family: var(--font-mono) !important; font-weight: 700 !important; }

.tc-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--paper-3);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 96px 36px;
  position: relative;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}

.st-mark {
  color: var(--red);
  font-size: 0.6em;
  margin: 0 0.4em;
  vertical-align: middle;
}

.section-sub {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 19px;
  margin-bottom: 64px;
}

.section-title-2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--ink);
}

.section-title-2 .cursive {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  color: var(--red);
}

/* ============================================================
   PROGRAM DOCUMENT
   ============================================================ */
.program { background: linear-gradient(to bottom, transparent 0%, rgba(21,35,63,0.025) 100%); }

.document {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 0;
  box-shadow:
    0 1px 0 var(--ink),
    0 2px 0 rgba(13,23,43,0.4),
    0 24px 60px -16px var(--shadow);
  position: relative;
}

.document::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.doc-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 3px double var(--ink);
  background: rgba(21,35,63,0.04);
}

.doc-meta-left,
.doc-meta-right {
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
}

.doc-form { color: var(--red); font-weight: 700; }

.doc-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  text-align: center;
  letter-spacing: 0.04em;
}

.doc-body {
  padding: 48px 56px 56px;
}

.lead {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.65;
  margin-bottom: 36px;
  color: var(--ink);
  text-indent: 2em;
}

.lead strong { color: var(--red); }

.legal-list {
  list-style: none;
  margin: 32px 0;
  padding: 0;
}

.legal-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px dashed var(--line);
}

.legal-list li:last-child { border-bottom: 1px dashed var(--line); }

.li-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--red);
  line-height: 1;
}

.legal-list h3 {
  font-family: var(--font-sc);
  font-size: 16px;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
  color: var(--ink);
}

.legal-list p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.pull-quote {
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  padding: 32px 48px;
  margin-top: 36px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
  position: relative;
}

.pq-mark {
  display: block;
  font-size: 52px;
  color: var(--red);
  line-height: 0.5;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.pq-cite {
  display: block;
  font-family: var(--font-sc);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* ============================================================
   FLOW
   ============================================================ */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.flow-step {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  padding: 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    0 1px 0 var(--ink),
    0 2px 0 rgba(13,23,43,0.4),
    0 14px 30px -10px var(--shadow);
  transition: transform 0.25s;
}

.flow-step:hover { transform: translateY(-4px); }

.flow-step::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed var(--line);
  pointer-events: none;
}

.fs-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--red);
}

.fs-icon {
  width: 56px;
  height: 56px;
  color: var(--ink);
}

.flow-step h3 {
  font-family: var(--font-sc);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.flow-step p {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
  opacity: 0.6;
}

/* ============================================================
   ELIGIBILITY
   ============================================================ */
.eligibility {
  background: rgba(157, 34, 53, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.elig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.elig-left p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.checklist {
  list-style: none;
  margin: 22px 0 28px;
}

.checklist li {
  font-family: var(--font-typewriter);
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink);
}

.cb {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink);
  text-align: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--red);
  line-height: 20px;
  flex-shrink: 0;
}

.footnote {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

/* FORM CARD */
.form-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow:
    0 1px 0 var(--ink),
    0 2px 0 rgba(13,23,43,0.4),
    0 18px 40px -12px var(--shadow);
  transform: rotate(1deg);
  position: relative;
  transition: transform 0.3s;
}

.form-card:hover { transform: rotate(0deg); }

.form-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--line);
  pointer-events: none;
}

.form-card-header {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-family: var(--font-sc);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-align: center;
}

.form-card-body {
  padding: 30px 28px 30px;
  position: relative;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-family: var(--font-sc);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.form-line {
  border-bottom: 1px solid var(--ink);
  padding: 4px 6px;
  min-height: 28px;
}

.form-line .written {
  font-size: 14px;
  color: var(--ink-soft);
}

.form-stamp {
  position: absolute;
  right: 24px;
  bottom: 24px;
  transform: rotate(8deg);
}

.stamp-circle {
  width: 100px;
  height: 100px;
  border: 3px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
  opacity: 0.75;
  filter: contrast(1.15);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--ink);
  padding: 24px 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.faq-item:last-child { border-bottom: 1px solid var(--ink); }

.faq-item:hover { background: rgba(21,35,63,0.025); }

.faq-item summary {
  list-style: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-right: 40px;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red);
  font-weight: 900;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-right: 40px;
}

/* ============================================================
   CONTRACT / BUY
   ============================================================ */
.buy {
  background: linear-gradient(180deg, transparent 0%, rgba(46,93,58,0.04) 100%);
}

.contract-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  position: relative;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 1px 0 var(--ink),
    0 2px 0 rgba(13,23,43,0.4),
    0 24px 60px -16px var(--shadow);
}

.cc-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 90px;
  letter-spacing: 0.06em;
  color: rgba(157, 34, 53, 0.06);
  pointer-events: none;
  white-space: nowrap;
}

.cc-header {
  display: flex;
  justify-content: space-between;
  padding: 14px 28px;
  border-bottom: 3px double var(--ink);
  font-family: var(--font-sc);
  font-size: 12px;
  letter-spacing: 0.22em;
  background: rgba(21, 35, 63, 0.04);
}

.cc-h-right { color: var(--red); }

.cc-body {
  padding: 40px 48px 48px;
  position: relative;
}

.cc-instructions {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
  text-align: center;
}

.contract-field { margin-bottom: 32px; }

.contract-field label {
  display: block;
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  margin-bottom: 8px;
  text-align: center;
}

.contract-value {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.4);
}

.contract-value input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.04em;
  outline: none;
}

.copy-btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 0 22px;
  font-family: var(--font-sc);
  font-size: 12px;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: background 0.18s;
}

.copy-btn:hover { background: var(--red); }
.copy-btn.copied { background: var(--green); }

.cc-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 36px 0;
  border-top: 3px double var(--paper-2);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 1px dashed rgba(241, 229, 200, 0.18);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 56px;
  position: relative;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(241, 229, 200, 0.18);
}

.footer-seal {
  width: 110px;
  height: 80px;
  color: var(--paper);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.footer-cite {
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.22em;
  line-height: 1.8;
  color: var(--paper-3);
}

.footer-col h4 {
  font-family: var(--font-sc);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--paper-3);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px dotted transparent;
  width: fit-content;
  padding-bottom: 2px;
  transition: border-color 0.15s, color 0.15s;
}

.footer-col a:hover {
  border-bottom-color: var(--paper);
  color: var(--paper);
}

.disclaimer p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper-3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-family: var(--font-sc);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--paper-3);
  position: relative;
}

.bottom-stars {
  color: var(--red-2);
  letter-spacing: 0.3em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .flow-grid { grid-template-columns: 1fr; gap: 12px; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .elig-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ticker-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .ticker-card + .ticker-card::before { display: none; }
}

@media (max-width: 720px) {
  .masthead-inner { grid-template-columns: 1fr; text-align: center; gap: 16px; padding: 20px 20px; }
  .seal-wrap { margin: 0 auto; }
  .topnav { justify-content: center; flex-wrap: wrap; gap: 14px; }
  .hero { padding: 36px 20px 60px; }
  .section { padding: 64px 20px; }
  .ticker-grid { grid-template-columns: 1fr; gap: 22px; }
  .ticker-strip { padding: 24px 20px; }
  .doc-body { padding: 28px 22px; }
  .doc-header { grid-template-columns: 1fr; gap: 8px; text-align: center; padding: 16px 20px; }
  .doc-title { font-size: 17px; }
  .legal-list li { grid-template-columns: 1fr; gap: 8px; }
  .li-num { font-size: 22px; }
  .pull-quote { padding: 22px 18px; font-size: 17px; }
  .check { padding: 16px 14px 12px; transform: rotate(-0.5deg); }
  .check-body { grid-template-columns: 60px 1fr; gap: 10px; }
  .check-header { grid-template-columns: auto 1fr; gap: 10px; }
  .check-no { grid-column: 1 / -1; text-align: left; }
  .memo-sig { grid-template-columns: 1fr; gap: 14px; }
  .amount-box { min-width: 110px; }
  .treasury-name { font-size: 14px !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .cc-body { padding: 28px 22px; }
  .contract-value { flex-direction: column; }
  .copy-btn { padding: 12px; }
  .stamp-approved { left: 20px; bottom: -5px; }
  .stamp-line { font-size: 18px; }
}
