/* 530Nay landing page
   Visual language echoes trumpaccounts.gov (editorial serif + handwriting accents
   + warm cream + minimal corners) but rendered in 530Nay's own navy/red brand. */
:root {
  --cream:    #f9f6f0;   /* warm page background (theirs) */
  --cream-2:  #f2eee6;   /* alt surface / cards */
  --ink:      #212c33;   /* charcoal body text (theirs) */
  --navy:     #1b2a4a;   /* 530Nay brand — headlines */
  --navy-soft:#2c3e60;
  --red:      #c0392b;   /* 530Nay brand — accent / handwriting / underline */
  --red-dark: #a5311f;
  --border:   #d8d2c6;   /* warm taupe (theirs) */
  --muted:    #6f6a60;
  --chip-bg:  #efeadf;

  --serif:  "Instrument Serif", Georgia, "Times New Roman", serif;
  --script: "Dancing Script", "Segoe Script", cursive;
  --sans:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* contain tilted cards / angled bands */
}

/* Editorial serif headlines, like theirs */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--navy);
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

section { padding: 0 24px; }

/* ---------- Buttons (minimal corners, like theirs) ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--sans);
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: 14px; }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: #fff; }

.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1040px; margin: 0 auto; padding: 18px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px; background: var(--navy);
}
.brand-word { font-family: var(--sans); font-size: 22px; font-weight: 800; color: var(--navy); }
.brand-accent { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--navy); font-weight: 600; font-size: 15px; }
.nav-links a.btn { color: #fff; }

/* ---------- Hero ---------- */
.hero { max-width: 800px; margin: 0 auto; padding: 60px 24px 56px; text-align: center; }
.hero h1 { font-size: 64px; margin: 0 0 26px; }

/* Handwriting accent + hand-drawn underline */
.script-wrap { position: relative; display: inline-block; }
.script {
  font-family: var(--script);
  font-weight: 700;
  color: var(--red);
  font-size: 0.92em;
  padding: 0 0.1em;
}
.underline {
  position: absolute; left: 0; right: 0; bottom: -0.18em;
  width: 100%; height: 0.4em; overflow: visible;
}

.lede { font-size: 20px; color: var(--ink); max-width: 620px; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.microline { margin-top: 18px; font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- Before → after chip ---------- */
.swap-chip {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px; background: var(--chip-bg);
  border: 1px solid var(--border); border-radius: 8px; font-size: 18px;
}
.swap-chip .from { color: var(--muted); text-decoration: line-through; }
.swap-chip .arrow { color: var(--red); font-weight: 800; }
.swap-chip .to { color: var(--navy); font-weight: 800; }
.hero-chip {
  margin-top: 46px;
  transform: rotate(-2.5deg);
  box-shadow: 0 12px 26px rgba(33, 44, 51, 0.14);
}

/* ---------- Poster banner ---------- */
.poster-banner { max-width: 1040px; margin: 8px auto 0; padding: 0 24px; }
.poster-banner img {
  width: 100%; display: block; height: auto;
  aspect-ratio: 1600 / 660;        /* crop the empty bottom band */
  object-fit: cover;
  object-position: center top;     /* keep the rays + hills, drop dead cream below */
  border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(33, 44, 51, 0.13);
}

/* ---------- Mission ---------- */
.mission { max-width: 720px; margin: 0 auto; padding: 44px 24px 68px; text-align: center; }
.mission h2 { font-size: 40px; margin: 0 0 18px; }
.mission p { font-size: 19px; color: var(--ink); margin: 0; }

/* ---------- Bands (navy, for brand contrast against the cream) ---------- */
.band { background: var(--navy); color: #fff; text-align: center; padding: 68px 24px; }
.band h2, .band p { color: #fff; }

/* Diagonal slabs — the navy cuts across the cream at an angle */
.money-beat {
  clip-path: polygon(0 0, 100% 3vw, 100% 100%, 0 calc(100% - 3vw));
  padding-top: 100px; padding-bottom: 100px;
}
.closing {
  clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%);
  padding-top: 100px;
}

.money-beat .eyebrow {
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px;
  font-weight: 800; opacity: 0.7; margin: 0 0 14px;
}
.big-number { font-family: var(--serif); font-size: 96px; margin: 0; line-height: 1; }
.band-lede { max-width: 640px; margin: 20px auto 0; font-size: 18px; opacity: 0.92; font-family: var(--sans); }
.band-lede strong { color: #fff; }
.band-kicker {
  font-family: var(--script); font-size: 38px; font-weight: 700;
  margin: 22px 0 0; color: #fff;
}
.fineprint { font-family: var(--sans); font-size: 13px; opacity: 0.6; margin: 30px auto 0; max-width: 520px; }

/* ---------- How it works ---------- */
.how { max-width: 1040px; margin: 0 auto; padding: 76px 24px 28px; text-align: center; }
.how h2 { font-size: 40px; margin: 0 0 42px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: left; }
.steps li {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 34px 28px 28px;
  box-shadow: 0 8px 22px rgba(33, 44, 51, 0.06);
}
.steps li::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 13px;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 55%);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; font-family: var(--serif); font-size: 22px;
  transform: rotate(-4deg);
}
.steps h3 { font-size: 24px; margin: 16px 0 8px; }
.steps p { margin: 0; color: var(--ink); font-size: 16px; }

/* ---------- Features (angled, numbered, tilted) ---------- */
.features {
  max-width: 1040px; margin: 0 auto; padding: 64px 24px 88px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
  counter-reset: feat;
}
.feature {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 12px;
  padding: 40px 30px 30px;
  box-shadow: 0 10px 26px rgba(33, 44, 51, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:nth-child(odd)  { transform: rotate(-1.4deg); }
.feature:nth-child(even) { transform: rotate(1.4deg); }
.feature:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 18px 34px rgba(33, 44, 51, 0.14); }

/* Angled colored corner banner, alternating red / navy */
.feature::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 16px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}
.feature:nth-child(even)::after { background: var(--navy); }

/* Oversized serif numeral watermark */
.feature::before {
  counter-increment: feat;
  content: counter(feat, decimal-leading-zero);
  position: absolute; right: 14px; bottom: -10px;
  font-family: var(--serif); font-size: 90px; line-height: 1;
  color: rgba(33, 44, 51, 0.06);
}
.feature h3 { font-size: 24px; margin: 4px 0 10px; position: relative; }
.feature p { margin: 0; color: var(--ink); font-size: 16px; position: relative; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; padding: 28px 24px 84px; }
.faq h2 { font-size: 40px; text-align: center; margin: 0 0 34px; }
.faq details { background: var(--cream-2); border: 1px solid var(--border); border-radius: 8px; padding: 2px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-family: var(--sans); font-weight: 700; font-size: 17px; padding: 17px 0; list-style: none; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 24px; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink); font-size: 16px; }

/* ---------- Closing ---------- */
.closing h2 { font-size: 46px; margin: 0 0 16px; }
.closing p { max-width: 560px; margin: 0 auto 28px; font-size: 18px; opacity: 0.92; font-family: var(--sans); }

/* ---------- Footer ---------- */
.site-footer { max-width: 780px; margin: 0 auto; padding: 44px 24px 60px; text-align: center; }
.disclaimer { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.copyright { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 44px; }
  .lede { font-size: 18px; }
  .mission h2, .how h2, .faq h2 { font-size: 32px; }
  .big-number { font-size: 68px; }
  .closing h2 { font-size: 34px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature:nth-child(odd), .feature:nth-child(even) { transform: none; }
  .nav-links a:not(.btn) { display: none; }
}
