/* DVA Claims — built on the My Online GP design system (Plus Jakarta Sans, cream + deep green,
   pill buttons, soft rounded cards), with gold as the accent for a veterans' audience. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/pjs-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/pjs-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/pjs-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/pjs-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/pjs-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* My Online GP tokens */
  --cream: #f4f0e8;
  --cream-soft: #ffffff;
  --white: #ffffff;
  --sage: #e4ede7;
  --sage-2: #d6e6dc;
  --green: #3b7c62;
  --green-600: #347056;
  --green-700: #2c6149;
  --green-900: #173a2d;
  --ink: #1b211d;
  --muted: #636c63;
  --line: #e5dfd1;
  --line-soft: #ece7da;
  --line-strong: #cfc8b6;     /* control borders */
  --btn-top: #468c6d;
  --btn-bottom: #38765d;
  --mint: #8fd3b4;
  /* gold accent (DVA Claims) */
  --gold: #c9a13b;            /* fills and rules only */
  --gold-2: #d9ae48;          /* gold buttons, ink label 7.9:1 */
  --gold-light: #e8c66f;      /* gold text on green-900, 7.6:1 */
  --gold-ink: #7d5f17;        /* gold text on cream, 5.3:1 */
  --gold-bg: #f6ecd3;         /* gold tint */

  --font: "Plus Jakarta Sans", "Source Sans 3", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --pad: clamp(56px, 6.5vw, 100px);
  --r: 16px;
  --r-lg: 26px;
  --r-xl: 38px;
  --shadow: 0 18px 44px rgba(23, 58, 45, .10);
  --shadow-sm: 0 2px 14px rgba(23, 58, 45, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green-700); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 760px) { .wrap { padding: 0 20px; } }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 200; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(38px, 5.2vw, 66px); letter-spacing: -0.035em; line-height: 1.03; }
h2 { font-size: clamp(31px, 4.1vw, 52px); letter-spacing: -0.028em; line-height: 1.06; }
h3 { font-size: clamp(19px, 1.8vw, 22px); letter-spacing: -0.02em; line-height: 1.2; font-weight: 800; }
h4 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); line-height: 1.6; max-width: 600px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; }
.meta { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.small { font-size: 15px; }
.muted { color: var(--muted); }

/* ---------- independence strip ---------- */
.indep { background: var(--green-900); color: rgba(255, 255, 255, .86); font-size: 13.5px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid var(--gold); }
.indep .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.indep a { color: var(--gold-light); font-weight: 600; }
.indep .short { display: none; }
@media (max-width: 640px) { .indep .long, .indep > .wrap > a { display: none; } .indep .short { display: inline; } .indep .short a { display: inline; } }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(244, 240, 232, .9); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: none; display: block; }
.brand .wm { font-weight: 800; font-size: 20px; letter-spacing: -0.025em; line-height: 1; color: var(--ink); white-space: nowrap; }
.brand .wm b { color: var(--green); font-weight: 800; }
.brand .wm i { font-style: normal; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink); padding: 9px 13px; border-radius: 10px; text-decoration: none; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); font: inherit; font-weight: 700; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 0, 0, .06); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- buttons (pills) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font); font-weight: 700; font-size: 15.5px; line-height: 1.2; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s; background: linear-gradient(180deg, var(--btn-top), var(--btn-bottom)); color: #fff; box-shadow: 0 2px 10px rgba(44, 97, 73, .22); }
.btn:hover { transform: translateY(-1px); background: linear-gradient(180deg, #3e8264, var(--green-700)); color: #fff; box-shadow: 0 12px 28px rgba(31, 78, 62, .30); }
.btn.btn-gold { background: var(--gold-2); color: var(--ink); box-shadow: 0 2px 12px rgba(201, 161, 59, .35); }
.btn.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn.btn-quiet:hover { border-color: var(--green); color: var(--green-700); }
.btn.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn.btn-block { display: flex; width: 100%; white-space: normal; text-align: center; }

/* ---------- sections ---------- */
section { padding: var(--pad) 0; }
.band-white { background: #fff; }
.band-sage { background: var(--sage); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); margin: 0 auto; max-width: 600px; }

/* ---------- home hero ---------- */
.hero { padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; background: linear-gradient(180deg, #e9f0e9 0%, var(--cream) 62%); }
.hero::before { content: ""; position: absolute; top: -30%; left: 30%; transform: translateX(-50%); width: min(1100px, 120vw); height: 760px; background: radial-gradient(ellipse at center, rgba(46, 106, 86, .10), transparent 62%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-areas: "text calc" "facts calc"; grid-template-rows: auto 1fr; column-gap: clamp(28px, 5vw, 64px); align-items: start; }
.hero-text { grid-area: text; }
.hero-side { grid-area: facts; }
.hero-grid > .calc { grid-area: calc; }
.hero h1 { font-size: clamp(42px, 5.8vw, 74px); line-height: 1.0; max-width: 12ch; }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; margin-top: 18px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-bg); color: var(--gold-ink); font-size: 13.5px; font-weight: 700; padding: 8px 16px; border-radius: 999px; margin-bottom: 24px; border: 1px solid #ecdcb4; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 161, 59, .22); }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; max-width: 54ch; }
.hero-facts li { display: flex; gap: 10px; font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.hero-facts svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }
.basis { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line-soft); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); max-width: 54ch; font-size: 15px; }
.basis h2 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 8px; }
.basis ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.basis li { margin-bottom: 4px; }
.basis li::marker { color: var(--gold); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "calc" "facts"; grid-template-rows: auto; row-gap: 28px; } .hero h1 { max-width: 14ch; } .hero-facts { margin-top: 0; } }

/* ---------- calculator ---------- */
.calc { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); }
.calc h2, .calc h3 { font-size: 22px; letter-spacing: -0.02em; margin: 4px 0 4px; line-height: 1.2; }
.calc .calc-sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field > label, .field > .label, fieldset legend, .points-readout .label { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 7px; padding: 0; }
.field .hint { display: block; font-size: 13.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 12px 14px; min-height: 50px; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23347056' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(59, 124, 98, .18); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.seg { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 9px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r); font-weight: 700; font-size: 14.5px; cursor: pointer; background: #fff; line-height: 1.25; transition: border-color .15s, background .15s, box-shadow .15s; }
.seg label:hover { border-color: var(--green); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--green); background: #f3f8f4; color: var(--green-700); box-shadow: 0 0 0 3px rgba(59, 124, 98, .14); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--green-700); outline-offset: 2px; }

/* the points ruler: the site's signature, in gold */
.ruler-wrap { position: relative; padding-top: 6px; }
.ruler { position: relative; height: 34px; border-bottom: 2px solid var(--ink);
  background:
    repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 10%) bottom / 100% 13px no-repeat,
    repeating-linear-gradient(to right, var(--line-strong) 0 1px, transparent 1px 5%) bottom / 100% 7px no-repeat; }
.ruler .band { position: absolute; bottom: 0; height: 22px; background: linear-gradient(180deg, var(--gold-light), var(--gold)); border-radius: 4px 4px 0 0; }
.ruler .band.soft { background: var(--gold-bg); box-shadow: inset 0 0 0 1px #ecdcb4; }
.ruler .mark { position: absolute; bottom: -2px; width: 3px; height: 30px; background: var(--green-900); transform: translateX(-1px); border-radius: 2px; }
.ruler-labels { display: flex; justify-content: space-between; font-weight: 600; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.ruler-labels span { width: 0; display: flex; justify-content: center; }
.ruler-caption { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
input[type="range"].points { -webkit-appearance: none; appearance: none; width: 100%; background: transparent; margin: 0; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; }
input[type="range"].points::-webkit-slider-runnable-track { height: 40px; background: transparent; }
input[type="range"].points::-moz-range-track { height: 40px; background: transparent; }
input[type="range"].points::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 40px; border-radius: 8px; background: var(--green-900); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(23, 58, 45, .35); cursor: grab; }
input[type="range"].points::-moz-range-thumb { width: 16px; height: 34px; border-radius: 8px; background: var(--green-900); border: 3px solid #fff; cursor: grab; }
input[type="range"].points:disabled::-webkit-slider-thumb { cursor: default; }
input[type="range"].points:focus-visible { outline: none; }
input[type="range"].points:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(59, 124, 98, .45); }
.points-readout { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.points-readout output { font-weight: 800; font-size: 28px; letter-spacing: -0.03em; color: var(--green); line-height: 1; }

.result { margin-top: 22px; padding: 22px 22px 20px; background: linear-gradient(135deg, #1d4938 0%, #143529 58%, #122f25 100%); color: #fff; border-radius: 20px; position: relative; overflow: hidden; }
.result::before { content: ""; position: absolute; top: -60%; right: -25%; width: 300px; height: 300px; border-radius: 50%; background: rgba(232, 198, 111, .10); pointer-events: none; }
.result > * { position: relative; }
.result .r-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.result .r-figure { font-weight: 800; font-size: clamp(30px, 6vw, 40px); line-height: 1.05; letter-spacing: -0.035em; color: var(--gold-light); margin: 8px 0 8px; }
.result .r-weekly { font-size: 15px; color: rgba(255, 255, 255, .88); }
.result .r-note { font-size: 13px; color: rgba(255, 255, 255, .72); margin: 12px 0 16px; line-height: 1.5; }
.result .btn { width: 100%; background: var(--gold-2); color: var(--ink); box-shadow: none; }
.result .btn:hover { background: var(--gold-light); color: var(--ink); }
.result.is-zero .r-figure { color: #fff; font-size: 24px; letter-spacing: -0.02em; }

.cond-list { display: grid; gap: 8px; margin-bottom: 10px; }
.cond-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.cond-row select { min-height: 48px; font-size: 15px; }
.cond-row .rm { min-height: 48px; border: 1.5px solid var(--line-strong); background: #fff; border-radius: var(--r); font: inherit; font-size: 20px; cursor: pointer; color: var(--muted); }
.cond-row .rm:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 480px) {
  .cond-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .cond-row > :first-child { grid-column: 1 / -1; }
}
.linkish { background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--green); }
.mode-switch { margin: 8px 0 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }

/* ---------- inner page hero (centred, as My Online GP) ---------- */
.page-head { padding: clamp(48px, 6vw, 84px) 0 clamp(30px, 4vw, 48px); text-align: center; position: relative; overflow: hidden; background: linear-gradient(180deg, #e9f0e9 0%, var(--cream) 68%); }
.page-head::before { content: ""; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: min(1000px, 110vw); height: 640px; background: radial-gradient(ellipse at center, rgba(46, 106, 86, .09), transparent 62%); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 18ch; margin: 0 auto 18px; }
.page-head .lead { margin: 0 auto; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; font-weight: 600; }
.crumbs a { color: var(--green-700); }
.crumbs span[aria-hidden] { margin: 0 6px; color: var(--line-strong); }
.checked { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; background: var(--gold-bg); color: var(--gold-ink); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.checked::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- article layout ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose > h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.2; margin: 44px 0 14px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 26px 0 10px; }
.prose p, .prose li { font-size: 17px; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold); }
.prose strong { font-weight: 700; }
.prose a { font-weight: 600; }
.note { background: var(--sage); border: 1px solid var(--sage-2); border-radius: var(--r); padding: 16px 20px; margin: 24px 0; }
.note p { font-size: 15.5px; line-height: 1.6; color: var(--ink); margin: 0; }

.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 18px; margin-bottom: 8px; }
.aside-card p { font-size: 15px; color: var(--muted); }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { border-top: 1px solid var(--line-soft); }
.aside-card li:first-child { border-top: 0; }
.aside-card li a { display: block; padding: 10px 0; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.aside-card li a:hover { color: var(--green-700); }
.aside-card.dark { background: linear-gradient(135deg, #1d4938 0%, #143529 58%, #122f25 100%); border-color: transparent; color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.aside-card.dark::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; }
.aside-card.dark h3 { color: #fff; }
.aside-card.dark p { color: rgba(255, 255, 255, .82); }
.aside-card.dark .btn { background: var(--gold-2); color: var(--ink); box-shadow: none; }
.aside-card.dark .btn:hover { background: var(--gold-light); color: var(--ink); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0 24px; border: 1px solid var(--line-soft); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; line-height: 1.5; }
th { font-weight: 700; background: var(--sage); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
caption { caption-side: bottom; text-align: left; padding: 12px 14px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- condition grid ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cond-grid a { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 20px 22px 20px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.cond-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cond-grid a b { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.cond-grid a .pts { font-weight: 600; font-size: 13px; color: var(--muted); white-space: nowrap; }
.cond-grid a .mini { margin-top: 12px; height: 8px; background: var(--cream); position: relative; border-radius: 999px; overflow: hidden; }
.cond-grid a .mini i { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 999px; }

.topic-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .topic-cols { grid-template-columns: 1fr; } }
.topic { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.topic h3 { font-size: 20px; margin-bottom: 6px; }
.topic p { color: var(--muted); font-size: 15px; }
.topic ul { list-style: none; padding: 0; margin: 0; }
.topic li { border-top: 1px solid var(--line-soft); }
.topic li a { display: block; padding: 10px 0; font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--ink); }
.topic li a:hover { color: var(--green-700); }
.topic .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.topic .ico svg { width: 24px; height: 24px; color: var(--gold-ink); }

/* steps: only for real sequences */
.steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r); padding: 18px; counter-increment: s; margin: 0; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; font-size: 16px; }
.steps h3 { font-size: 17px; margin: 0 0 4px; }
.steps p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.aside-card .steps li { padding: 14px 0; background: none; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; }
.aside-card .steps li:first-child { border-top: 0; }

/* veteran cards */
.vcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 20px 0 10px; }
.vcard { border-radius: 18px; padding: 20px; aspect-ratio: 1.586 / 1; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); max-width: 380px; }
.vcard.gold { background: linear-gradient(135deg, #f0d685, #c9a13b); border-color: #d9b860; }
.vcard.white { background: #fff; }
.vcard.orange { background: linear-gradient(135deg, #f2b77a, #d98b3c); border-color: #e0a066; }
.vcard b { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.vcard span { font-size: 14.5px; font-weight: 500; line-height: 1.5; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(20px, 3vw, 40px) 0 clamp(46px, 5vw, 70px); }
.cta-band .cta { background: linear-gradient(135deg, #1d4938 0%, #143529 58%, #122f25 100%); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-band .cta::before { content: ""; position: absolute; top: -40%; right: -10%; width: 520px; height: 520px; border-radius: 50%; background: rgba(232, 198, 111, .12); }
.cta-band .cta::after { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 4px; transform: translateX(-50%); background: var(--gold); border-radius: 0 0 4px 4px; }
.cta-band h2 { color: #fff; max-width: 18ch; margin: 0 auto 14px; position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0 auto 28px; max-width: 560px; font-size: clamp(17px, 1.4vw, 19px); position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- claim check form ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } }
.form-panel { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); }
.form-panel h2 { font-size: 24px; letter-spacing: -0.02em; margin: 8px 0 16px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.form-panel h2:first-of-type { border-top: 0; padding-top: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); font-size: 15px; font-weight: 600; cursor: pointer; background: #fff; line-height: 1.3; }
.checks label:hover { border-color: var(--green); }
.checks label:has(input:checked) { border-color: var(--green); background: #f3f8f4; }
.checks input { margin-top: 1px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--sage); border-radius: var(--r); font-size: 15px; line-height: 1.5; cursor: pointer; }
.consent.opt-in { background: transparent; border: 1.5px solid var(--line-strong); margin-top: 10px; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); flex: none; }
.notice { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-top: 14px; }
.err { color: #9b2c1f; font-size: 15px; font-weight: 700; margin-top: 8px; }
.form-done { display: none; }
.form-done.show { display: block; }
.hp { position: absolute; left: -5000px; }

/* ---------- FAQ ---------- */
.faq { margin: 8px 0 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--gold-ink); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); line-height: 1.7; font-size: 16px; max-width: 92%; }

/* ---------- footer ---------- */
.site-foot { background: var(--green-900); color: rgba(255, 255, 255, .82); padding: clamp(46px, 6vw, 66px) 0 30px; border-top: 3px solid var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: .02em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li a { display: block; color: rgba(255, 255, 255, .88); font-size: 14px; padding: 5px 0; text-decoration: none; }
.site-foot li a:hover { color: var(--gold-light); }
.site-foot p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .76); }
.site-foot .brand .wm { color: #fff; }
.site-foot .brand .wm b { color: var(--gold-light); }
.site-foot .brand .wm i { color: rgba(255, 255, 255, .55); }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 22px; }
.foot-legal p { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); max-width: 960px; margin-bottom: 10px; }
.foot-legal a { color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } .btn:hover, .cond-grid a:hover { transform: none; } }
@media print { .site-head, .indep, .site-foot, .cta-band, .aside { display: none; } body { background: #fff; } }

/* small utilities used by markup */
.foot-about { margin-top: 16px; max-width: 34ch; }
.submit-row { margin-top: 20px; }
.form-done h2.done-h { border: 0; padding: 0; }
.group-note { font-size: 13.5px; line-height: 1.5; color: var(--green-900); background: var(--sage); border-radius: 12px; padding: 10px 12px; margin: 4px 0 8px; }
td.below { color: var(--muted); font-size: 14.5px; text-align: center; vertical-align: middle; }
