/* Watchtower for Vets (SignalForge630) — site styles */
:root {
  --ink: #16212B;
  --ink-soft: #3E4A55;
  --ink-muted: #4A5560;
  --ground: #F5F6F2;
  --ground-alt: #EAEDE6;
  --card: #FFFFFF;
  --line: #DDE1DA;
  --accent: #2E5A4C;
  --accent-dark: #1F4036;
  --gold: #8A5E0E;
  --gold-light: #C9A45C;
  --gold-wash: #F7F1E4;
  --night-text: #C8D0D6;
  --error: #9B2C1F;
  --display: 'Manrope', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

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

h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.15; }

p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 24px; border-radius: 12px;
  font: inherit; font-weight: 600; font-size: 18px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: var(--card); color: var(--ink); border-color: #C9CFC6; }
.btn-secondary:hover { border-color: var(--ink-muted); color: var(--ink); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 16px; border-radius: 10px; }

.eyebrow {
  font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 16px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; }

/* Hero */
.hero .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: 80px; padding-bottom: 72px;
}
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.02em; }
.hero-lead { font-size: 20px; color: var(--ink-soft); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }

.sample {
  flex: 1 1 400px; min-width: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px; box-shadow: 0 18px 40px rgba(22,33,43,0.08);
  display: flex; flex-direction: column; gap: 18px;
}
.sample-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sample-title { font-family: var(--display); font-weight: 700; font-size: 20px; }
.tag { font-size: 13px; font-weight: 600; color: var(--ink-muted); background: #EEF0EB; padding: 4px 10px; border-radius: 999px; }
.meter-label { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-soft); }
.meter-label strong { color: var(--ink); }
.meter { height: 10px; background: #E6E9E3; border-radius: 999px; margin-top: 8px; }
.meter > div { height: 10px; width: 78%; background: var(--accent); border-radius: 999px; }
.sample-sub { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.bills { list-style: none; margin: 0; padding: 0; border: 1px solid #E6E9E3; border-radius: 12px; }
.bills li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; flex-wrap: wrap; }
.bills li + li { border-top: 1px solid #E6E9E3; }
.bills strong { font-weight: 600; }
.bills span { color: var(--ink-soft); font-size: 16px; }
.next-step { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-wash); border-radius: 12px; padding: 14px 16px; font-size: 16px; color: #3B2E12; }
.next-step svg { flex: none; margin-top: 2px; }

/* Dark band */
.band { background: var(--ink); color: var(--ground); }
.band .wrap { display: flex; flex-direction: column; gap: 36px; padding-top: 72px; padding-bottom: 72px; }
.band h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 38px); max-width: 760px; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.band .three > div { border-top: 2px solid var(--gold-light); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.band h3 { font-size: 21px; }
.band p { color: var(--night-text); }

/* Sections */
.section .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 88px; padding-bottom: 88px; }
.section-alt { background: var(--ground-alt); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-head h2 { font-weight: 800; font-size: clamp(30px, 3.8vw, 40px); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 21px; }
.card p { color: var(--ink-soft); font-size: 17px; }

.programs { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.programs p { flex: 1 1 260px; font-family: var(--display); font-weight: 700; font-size: 20px; }
.programs ul { margin: 0; padding-left: 20px; flex: 2 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 28px; row-gap: 6px; color: var(--ink-soft); font-size: 17px; }

.steps .num { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--accent); line-height: 1; }
.steps > div { display: flex; flex-direction: column; gap: 12px; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--ink-soft); font-size: 17px; }

.story .wrap { flex-direction: row; flex-wrap: wrap; align-items: center; }
.story-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.story-head h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 36px); }
.story-body { flex: 1.4 1 420px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.story-body p { font-size: 19px; color: var(--ink-soft); }
.story-body .sig { font-weight: 600; color: var(--ink); font-size: 18px; }

/* Join */
.join { background: var(--ink); color: var(--ground); }
.join .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 88px; padding-bottom: 88px; }
.join-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.join-copy h2 { font-weight: 800; font-size: clamp(30px, 3.8vw, 40px); }
.join-copy p { color: var(--night-text); }
.join-copy a { color: #E4CC97; }
.join-copy a:hover { color: #F2E2BC; }

.form { flex: 1 1 400px; min-width: 0; background: var(--card); color: var(--ink); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 16px; }
.field input, .field select {
  font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid #B8BFB5; border-radius: 10px;
  min-height: 48px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.form .btn { width: 100%; }
.form .fine { font-size: 14px; color: var(--ink-muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 16px; font-weight: 600; min-height: 1.6em; }
.form-msg.error { color: var(--error); }
.form-msg.ok { color: var(--accent); }
.thanks { display: flex; flex-direction: column; gap: 10px; }
.thanks h3 { font-size: 24px; }
.thanks p { color: var(--ink-soft); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.faq-grid > div { display: flex; flex-direction: column; gap: 8px; }
.faq-grid h3 { font-size: 20px; }
.faq-grid p { color: var(--ink-soft); font-size: 17px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 15px; color: var(--ink-muted); }
.site-footer a { color: var(--ink-muted); }

/* Privacy / plain pages */
.page .wrap { max-width: 760px; padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; }
.page h1 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 800; }
.page h2 { font-size: 24px; margin-top: 16px; }
.page ul { margin: 0; padding-left: 22px; }
.page li + li { margin-top: 6px; }
.page .updated { color: var(--ink-muted); font-size: 16px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 48px; gap: 36px; }
  .section .wrap, .join .wrap { padding-top: 60px; padding-bottom: 60px; }
  .band .wrap { padding-top: 56px; padding-bottom: 56px; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .sample, .form, .story-body { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.form-fields { display: flex; flex-direction: column; gap: 18px; }
.form-fields .btn { margin-top: 4px; }
.faq-title { font-weight: 800; font-size: clamp(28px, 3.4vw, 36px); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-name { font-family: var(--display); font-weight: 800; font-size: 21px; }
.brand-name em { font-style: normal; color: var(--accent); }
.brand-by { font-size: 13px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.02em; }

/* Claims-first sections */
.section-note { font-size: 16px; color: var(--ink-muted); }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards.rules .card { border-top: 4px solid var(--accent); }
.rules-link { font-weight: 600; font-size: 18px; }

.case { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 28px; box-shadow: 0 18px 40px rgba(22,33,43,0.06); }
.case-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.case-label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.case-value { font-family: var(--display); font-weight: 700; font-size: 19px; margin-top: 4px; }
.case-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; }
.case-title { font-size: 19px; margin-bottom: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 22px; display: flex; flex-direction: column; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline li.t-next::before { background: var(--card); border: 2px solid var(--gold); left: -8px; }
.t-date { font-weight: 700; font-size: 15px; color: var(--ink); }
.t-text { font-size: 16px; color: var(--ink-soft); }
.evidence { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.evidence li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid #E6E9E3; border-radius: 12px; }
.evidence li strong { font-size: 16px; }
.evidence li span { font-size: 15px; color: var(--ink-soft); }
.evidence li.ev-result { background: #E3EEE9; border-color: #BFD6CC; }
.evidence li.ev-missing { background: var(--gold-wash); border-color: #EADBB8; }
.meter-full > div { width: 100%; }
.case-foot { font-size: 15px; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 640px) { .case { padding: 22px; } }
