/* Watchtower for Vets - home page look (Nov 2026).
   Loaded only by the home page, after styles.css, so the organizer and the
   privacy page keep their own look. Idea: the claim file. Letterhead ink,
   a manila folder, and one red stamp for the result. */

.home {
  --ink: #15233B;
  --ink-2: #1D3050;
  --steel: #55657A;
  --mist: #F1F3F6;
  --line: #DCE1E8;
  --manila: #E9D7A4;
  --manila-edge: #C9AE6B;
  --green: #24584A;
  --green-dark: #183F35;
  --stamp: #B3261E;
  --on-ink: #C9D3E0;
  background: #fff;
  color: var(--ink);
}

.home a { color: var(--green); }
.home a:hover { color: var(--green-dark); }
.home :focus-visible { outline: 3px solid #E0B44C; outline-offset: 3px; }

/* Buttons */
.home .btn-primary, .home .btn-primary:visited { background: var(--green); color: #fff; border-radius: 10px; }
.home .btn-primary:hover { background: var(--green-dark); color: #fff; }
.home .btn-big { min-height: 56px; padding: 16px 30px; font-size: 19px; }
.home .btn-ghost, .home .btn-ghost:visited {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); border-radius: 10px;
}
.home .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.06); }

/* Header sits on the ink hero */
.home .site-header { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,0.08); position: sticky; top: 0; z-index: 20; }
.home .site-header .brand, .home .site-header .brand:hover { color: #fff; }
.home .brand-name em { color: var(--manila); }
.home .brand-by { color: var(--on-ink); }
.home .nav a:not(.btn) { color: var(--on-ink); }
.home .nav a:not(.btn):hover { color: #fff; }
.home .nav .btn-primary { background: var(--manila); color: var(--ink); }
.home .nav .btn-primary:hover { background: #F2E4BC; color: var(--ink); }

/* Hero */
.home .hero {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(233,215,164,0.10), transparent 60%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}
.home .hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px;
}
.home .hero-copy { display: flex; flex-direction: column; gap: 26px; }
.home .hero h1 {
  font-weight: 800; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04;
  letter-spacing: -0.025em; color: #fff; max-width: 13ch;
}
.home .hero-lead { font-size: 20px; line-height: 1.6; color: var(--on-ink); max-width: 34em; }
.home .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.proof { list-style: none; margin: 6px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,0.14);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; font-size: 16px; color: var(--on-ink); }
.proof li { position: relative; padding-left: 28px; line-height: 1.45; }
.proof li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--manila); border-bottom: 2.5px solid var(--manila); transform: rotate(-45deg);
}

/* The folder: the one memorable thing on the page */
.folder { margin: 0; position: relative; display: flex; flex-direction: column; gap: 18px; }
.folder-back {
  position: absolute; inset: 34px 0 64px 0; background: var(--manila); border-radius: 6px 14px 14px 14px;
  box-shadow: inset 0 -10px 0 var(--manila-edge);
}
.folder-tab {
  position: absolute; top: -30px; left: 0; height: 32px; padding: 6px 18px 0;
  background: var(--manila); border-radius: 10px 10px 0 0; font: 700 14px/1.4 var(--display);
  color: #5C4A1E;
}
.folder-pages { position: relative; height: 460px; margin: 0 8%; }
.folder-pages .pg {
  position: absolute; width: 58%; height: auto; top: 44px; background: #fff;
  border: 1px solid #D8D2C2; box-shadow: 0 14px 30px rgba(6,14,28,0.28);
}
.folder-pages .pg-1 { left: 2%; transform: rotate(-7deg); }
.folder-pages .pg-2 { left: 21%; transform: rotate(-1.5deg); top: 30px; }
.folder-pages .pg-3 { left: 40%; transform: rotate(5deg); top: 50px; }
.stamp {
  position: absolute; right: 2%; bottom: 36px; transform: rotate(-11deg);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 20px 8px; border: 4px solid var(--stamp); border-radius: 8px;
  color: var(--stamp); background: rgba(255,255,255,0.92);
  font: 800 34px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 0 0 2px rgba(179,38,30,0.25) inset;
}
.stamp small { font: 700 14px/1.2 var(--body); letter-spacing: 0.04em; text-transform: none; }
.folder figcaption { position: relative; font-size: 15px; color: var(--on-ink); max-width: 30em; }
.folder figcaption a { color: var(--manila); }
.folder figcaption a:hover { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .folder-pages .pg { animation: fan 900ms cubic-bezier(.2,.7,.2,1) both; }
  .folder-pages .pg-1 { animation-delay: 80ms; }
  .folder-pages .pg-2 { animation-delay: 180ms; }
  .folder-pages .pg-3 { animation-delay: 280ms; }
  .stamp { animation: thump 420ms cubic-bezier(.3,1.6,.5,1) 1050ms both; }
}
@keyframes fan { from { transform: translateY(40px) rotate(0deg); opacity: 0; } }
@keyframes thump { from { transform: rotate(-11deg) scale(1.6); opacity: 0; } }

/* Quick links: a plain row, not pills */
.home .quick { background: #fff; border-bottom: 1px solid var(--line); }
.home .quick .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.home .quick-label { font-weight: 600; color: var(--steel); font-size: 16px; }
.home .quick ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.home .quick li a, .home .quick li:first-child a { display: inline-block; min-height: 0; padding: 6px 0; font-weight: 600; font-size: 16px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--manila-edge); text-underline-offset: 5px; text-decoration-thickness: 2px;
  background: none; border: 0; border-radius: 0; }
.home .quick li a:hover { color: var(--green); text-decoration-color: var(--green); }

/* Problem band: light, not a second dark block */
.home .band { background: var(--mist); color: var(--ink); }
.home .band h2 { color: var(--ink); max-width: 24ch; letter-spacing: -0.015em; }
.home .band .three > div { border-top: 3px solid var(--ink); }
.home .band p { color: var(--steel); }

/* Section rhythm */
.home .section .wrap { gap: 40px; }
.home .section-head h2 { letter-spacing: -0.018em; max-width: 26ch; }
.home .section-alt { background: var(--mist); }

/* How it works: a real sequence, so it is numbered */
.how-steps { list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.how-steps li { counter-increment: step; padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.how-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.how-steps li::before {
  content: counter(step); font: 800 52px/1 var(--display); color: var(--manila-edge); letter-spacing: -0.03em;
}
.how-steps h3 { font-size: 22px; }
.how-steps p { color: var(--steel); font-size: 17px; }

/* What you get: a ruled list, not a wall of cards */
.benefits-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.benefits-list .benefit {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; row-gap: 6px;
  padding: 24px 0; border-top: 1px solid var(--line); align-items: start;
}
.benefits-list .benefit svg { grid-row: span 2; width: 36px; height: 36px; }
.benefits-list .benefit svg, .benefits-list .benefit svg * { stroke: var(--green); }
.benefits-list .benefit h3 { font-size: 20px; }
.benefits-list .benefit p { color: var(--steel); font-size: 17px; }

/* Real case files: each one is a folder you open */
.home .case { border-radius: 4px 14px 14px 14px; border: 1px solid #D9CFAF; box-shadow: none; position: relative; }
.home .case-head { background: #FBF6E8; border: 1px solid #EEE2C2; border-radius: 10px; padding: 18px 22px; }
.home .case-label { color: #7A6431; text-transform: none; letter-spacing: 0; font-size: 14px; }
.file-toggle { border-top: 1px solid var(--line); }
.file-toggle > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 20px 0; font: 700 18px/1.3 var(--display); color: var(--green);
}
.file-toggle > summary::-webkit-details-marker { display: none; }
.file-toggle > summary::before {
  content: ""; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg); transition: transform 160ms ease;
}
.file-toggle[open] > summary::before { transform: rotate(45deg); }
.file-toggle > summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.file-toggle[open] > summary span::after { content: " (tap again to close)"; font: 500 15px var(--body); color: var(--steel); }
.home .status-pill { background: #FBF0D6; color: #7A5510; }

/* Rules and family cards: quieter */
.home .card { border-radius: 10px; box-shadow: none; border-color: var(--line); }
.home #rules .card { border-top: 3px solid var(--green); }

/* Founder story */
.home .story-body { background: #FBF6E8; border: 0; border-left: 4px solid var(--manila-edge); border-radius: 0 12px 12px 0; }

/* Sign-up band */
.home .join { background: var(--ink); }
.home .join-copy a { color: var(--manila); }
.home .form { border-radius: 12px; }

/* Footer */
.home .site-footer { background: var(--ink); color: var(--on-ink); border-top: 0; }
.home .site-footer a { color: var(--manila); }

/* Phones and small tablets */
@media (max-width: 900px) {
  .home .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .home .hero h1 { max-width: none; }
  .folder-pages { height: 380px; margin: 0 2%; }
  .how-steps { grid-template-columns: minmax(0, 1fr); }
  .how-steps li, .how-steps li + li { padding: 22px 0 8px; border-left: 0; }
  .how-steps li + li { border-top: 1px solid var(--line); }
  .benefits-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .proof { grid-template-columns: minmax(0, 1fr); }
  .home .hero h1 { font-size: 36px; }
  .folder-pages { height: 300px; }
  .stamp { font-size: 24px; padding: 8px 14px 6px; bottom: 20px; }
  .stamp small { font-size: 12px; }
  .home .btn-big, .home .hero-actions .btn { width: 100%; }
  .home .site-header { position: static; }
}
.home [id] { scroll-margin-top: 96px; }
