/* VA Mesothelioma Claims — modern medical-legal restraint (Session 71 re-forge).
 *
 * Design references: Mayo Clinic, Cleveland Clinic, Cooley LLP, Skadden,
 * Asbestos.com Veterans section. Top-tier medical/legal sites in 2026 share
 * a tight pattern:
 *   - Mostly white surfaces; navy reserved for headlines + dark sections
 *   - ONE accent color used sparingly (red, on conversion CTAs only)
 *   - Generous whitespace; typography hierarchy does the work
 *   - Soft shadows for depth, not colored borders or glows
 *   - No decorative stripes, no all-caps body labels, no parchment cards
 *
 * Palette per Hector (from logo):
 *   Navy   #1e336a   primary surface for hero/footer + headlines
 *   Red    #b92139   conversion CTAs only — never decoration
 *   White  #ffffff   dominant background
 *   Gold   #d4a635   ONE restrained accent (60px rule under hero H1)
 *
 * What this build deliberately does NOT do:
 *   - No flag-stripes, gold-red-gold ribbons, or decorative ::before borders
 *   - No cream / parchment / off-white card backgrounds
 *   - No all-caps form labels, branch card titles, footer link captions, or
 *     trust-stat captions (eyebrow label is the only all-caps element)
 *   - No glow shadows on CTAs
 *   - No colored top-borders on cards
 *
 * R1 non-affiliation surface area is preserved (top legal banner, footer
 * disambiguation block, Organization.disclaimer schema field).
 *
 * Honeypot rule (.hp-field) is required for BotDefense per Atrazine pattern.
 */

:root {
    --navy:           #1e336a;
    --navy-deep:      #15265a;
    --navy-darker:    #0e1a3f;
    --navy-light:     #e9edf5;
    --primary:        #1e336a;       /* alias */
    --primary-dark:   #15265a;       /* alias */
    --primary-light:  #e9edf5;       /* alias */
    --secondary:      #2a4a8c;

    --red:            #b92139;
    --red-dark:       #921a2d;
    --accent:         #b92139;       /* alias */

    --gold:           #d4a635;       /* used ONCE on hero rule */

    --white:          #ffffff;
    --bg:             #ffffff;
    --bg-soft:        #f7f9fc;       /* subtle gray, NOT cream */
    --bg-alt:         #f7f9fc;       /* alias */

    --text:           #1f2937;
    --text-light:     #4b5563;
    --text-muted:     #6b7280;
    --text-on-dark:   rgba(255,255,255,0.92);
    --text-on-dark-muted: rgba(255,255,255,0.78);

    --border:         #e5e9f0;
    --border-strong:  #c9d2e0;
    --trust-green:    #15803d;

    --content-max:    900px;
    --container-max:  1200px;
    --radius:         8px;
    --radius-lg:      12px;

    --shadow-sm:      0 1px 2px rgba(15,26,63,0.06);
    --shadow-md:      0 4px 12px rgba(15,26,63,0.08);
    --shadow-lg:      0 12px 32px rgba(15,26,63,0.12);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }

/* ===== Editorial typography
 * Source Serif 4 for H1/H2 — institutional gravitas (USNI / NEJM / Mayo grammar).
 * Inter for H3/H4, body, UI. Distinct from va.gov (which is all-sans).
 */
h1, h2 {
    font-family: 'Source Serif 4', 'Source Serif Pro', 'Charter', Georgia, 'Times New Roman', serif;
    color: var(--navy);
    line-height: 1.18;
    margin-top: 0;
    letter-spacing: -0.005em;
    font-weight: 700;
}
h3, h4 {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    line-height: 1.3;
    margin-top: 0;
    letter-spacing: -0.01em;
    font-weight: 700;
}
h1 { font-size: clamp(2.05rem, 4.8vw, 3rem); font-weight: 800; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.05rem); margin-top: 2.75rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

/* ===== Eyebrow — the ONLY all-caps element on the page ===== */
.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* ===== Hero accent — single 56px gold rule beneath H1 (the lone gold mark) ===== */
.hero-accent {
    width: 56px;
    height: 3px;
    background: var(--gold);
    margin: 0.5rem 0 1.5rem;
    border: none;
}

/* ===== MANDATORY top legal banner — per 07-risk-mitigation.md R1.
 *      Quiet navy field, no decorative border. */
.legal-banner {
    background: var(--navy-darker);
    color: rgba(255,255,255,0.92);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
}
.legal-banner strong { color: var(--white); font-weight: 600; }

/* ===== Header ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner { display: flex; align-items: center; gap: 1.75rem; justify-content: space-between; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.brand-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: -0.015em;
}
.brand-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 400;
}
.primary-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.primary-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
}
.primary-nav a:hover { color: var(--red); }

.header-cta {
    background: transparent;
    color: var(--navy);
    padding: 0.55rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1.5px solid var(--navy);
    transition: background 0.15s ease, color 0.15s ease;
}
.header-cta:hover {
    background: var(--navy);
    color: var(--white);
}
.header-cta strong { font-weight: 700; }

/* ===== Hero — deep navy with subtle topographic vignette (no flag stripes) ===== */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(212,166,53,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 0% 100%, rgba(185,33,57,0.06) 0%, transparent 55%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-darker) 100%);
    color: var(--white);
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}
.hero::before {
    /* Subtle 1px navy texture line at very bottom — institutional frame, not a stripe */
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: rgba(255,255,255,0.10);
}
.hero h1 { color: var(--white); }
.hero .gold { color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.hero-copy .lead {
    font-size: 1.12rem;
    color: var(--text-on-dark);
    margin-top: 0;
    max-width: 560px;
    line-height: 1.65;
}
.hero-copy .trust-line {
    margin-top: 2rem;
    font-size: 0.92rem;
    color: var(--text-on-dark-muted);
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    border-left: none;
    padding-left: 0;
}

/* ===== Hero form / intake card ===== */
.hero-form { display: flex; justify-content: flex-end; }
.intake-card {
    background: var(--white);
    color: var(--text);
    padding: 1.85rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
}
.intake-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    color: var(--navy);
}
.intake-card .reviewer-line {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0 0 1.25rem;
}
.intake-card .reviewer-line strong { color: var(--text); font-weight: 600; }

/* ===== Form fields ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-field { margin-bottom: 0.95rem; }
.form-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(30,51,106,0.12);
}
.form-field.error input,
.form-field.error select,
.form-field.error textarea { border-color: var(--red); }
.field-error {
    display: block;
    color: var(--red);
    font-size: 0.82rem;
    margin-top: 0.3rem;
}

.btn-submit {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.98rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-top: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.btn-submit:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-submit.loading { opacity: 0.7; cursor: wait; }

.form-disclaimer {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 0.95rem 0 0;
    line-height: 1.55;
}
.form-disclaimer a { color: var(--navy); }
.form-disclaimer strong { color: var(--text); font-weight: 600; }

/* Honeypot — REQUIRED for BotDefense */
.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 1px;
    overflow: hidden;
    opacity: 0;
}

/* ===== Trust stats — institutional data-card row ===== */
.trust-stats {
    background: var(--white);
    color: var(--text);
    padding: 3.25rem 0;
    border-bottom: 1px solid var(--border);
}
.trust-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.trust-stats-inner > div { text-align: center; }
.trust-stats .stat-num {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.trust-stats .stat-label {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ===== Sections ===== */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-soft); }

/* Disambiguation section — quiet bg-soft, no decorative stripes; the urgency
 * comes from H2 and copy weight, not visual noise. */
.disambiguation-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.disambiguation-section h2 {
    color: var(--navy);
}

.va-referral-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.5rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}
.va-referral-list li { margin: 0.4rem 0; }

/* ===== Branch grid — white cards, subtle border, soft shadow on hover ===== */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.branch-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1.4rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    display: block;
}
.branch-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.branch-card h3 {
    margin: 0 0 0.45rem;
    color: var(--navy);
    font-size: 1.08rem;
}
.branch-card .meta {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
}

/* Trust grid (used on /ships/, /jobs/) — same modern restraint */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.trust-grid-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1.2rem 1.35rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.trust-grid-card h3 { margin: 0 0 0.3rem; color: var(--navy); font-size: 1rem; }
.trust-grid-card .meta { font-size: 0.86rem; color: var(--text-light); }
.trust-grid-card a { text-decoration: none; color: inherit; }

/* ===== Sticky mobile call bar — red, no gold border ===== */
.sticky-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    padding: 0.95rem 1rem;
    font-weight: 600;
    font-size: 0.98rem;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(15,26,63,0.18);
}
.sticky-call-bar:hover { background: var(--red-dark); color: var(--white); }

/* ===== Footer — deep navy, restrained, no decorative top-stripes ===== */
.site-footer {
    background: var(--navy-darker);
    color: rgba(255,255,255,0.78);
    padding: 3rem 0 1.75rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-links a { font-weight: 500; font-size: 0.92rem; }
.footer-disclaimers {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
    max-width: 80ch;
}
.footer-disclaimers strong { color: var(--white); font-weight: 600; }
.footer-disclaimers p { margin: 0.7rem 0; }
.footer-disclaimers a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.footer-copyright {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

/* ===== Disambiguation table on /compensation/dual-process-vs-va-disability/ ===== */
.dual-process-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.dual-process-table thead th {
    background: var(--navy);
    color: var(--white);
    text-align: left;
    padding: 0.95rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
}
.dual-process-table tbody th {
    background: var(--bg-soft);
    color: var(--navy);
    font-weight: 600;
    text-align: left;
    padding: 0.8rem 0.85rem;
    border-bottom: 1px solid var(--border);
}
.dual-process-table tbody td {
    padding: 0.8rem 0.85rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}
.dual-process-table tbody tr:last-child th,
.dual-process-table tbody tr:last-child td { border-bottom: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .hero-form { justify-content: stretch; }
    .intake-card { max-width: 100%; }
    .primary-nav { display: none; }
    .header-inner { gap: 0.75rem; }
}

@media (max-width: 768px) {
    .sticky-call-bar { display: block; }
    body { padding-bottom: 70px; }
    .trust-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }
    .form-row { grid-template-columns: 1fr; }
    .header-cta { padding: 0.45rem 0.85rem; font-size: 0.88rem; }
    h1 { font-size: 1.85rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .legal-banner { font-size: 0.78rem; padding: 0.55rem 0.85rem; }
    .hero { padding: 3rem 0 3.5rem; }
    .intake-card { padding: 1.4rem; }
    .trust-stats .stat-num { font-size: 1.95rem; }
}

/* ===================================================================
 * SESSION 72 — Homepage v2 deep-build section patterns
 * Modern medical-legal restraint preserved (no decorative stripes,
 * white-dominant, single accent rule per section, soft shadows).
 * =================================================================== */

/* Eyebrow on light surface (already defined --gold variant; on light bg use red) */
.eyebrow-on-light {
    color: var(--red);
}

/* Section lead — short paragraph under H2 to set context */
.section-lead {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0 0 1.5rem;
    max-width: 70ch;
}

/* Generic in-line text link styled like a button-link (no fill, just confidence) */
.btn-link, .btn-cta-link {
    display: inline-block;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.btn-link {
    color: var(--navy);
    border: 1.5px solid var(--navy);
    background: transparent;
}
.btn-link:hover {
    background: var(--navy);
    color: var(--white);
}
.btn-cta-link {
    color: var(--white);
    background: var(--red);
    box-shadow: var(--shadow-sm);
}
.btn-cta-link:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== Three-stream compensation cards ===== */
.compensation-streams {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.stream-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.stream-card h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
}
.stream-card .stream-pay {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 0.85rem;
    font-weight: 500;
}
.stream-card p {
    font-size: 0.93rem;
    color: var(--text);
    margin: 0 0 0.75rem;
}
.stream-card .stream-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    margin-top: 0.85rem;
}
.stream-status {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.stream-handled {
    background: rgba(21,128,61,0.10);
    color: var(--trust-green);
}
.stream-referral {
    background: rgba(30,51,106,0.08);
    color: var(--navy);
}

/* ===== Rate / MOS grid ===== */
.rate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.rate-col {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.rate-col h3 {
    color: var(--navy);
    font-size: 1rem;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.rate-col ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.92rem;
    color: var(--text);
}
.rate-col li { margin: 0.25rem 0; }

/* ===== Ship class grid ===== */
.ship-class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.ship-class-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.ship-class-card h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin: 0 0 0.3rem;
}
.ship-class-card .meta {
    color: var(--text-muted);
    font-size: 0.83rem;
    font-weight: 500;
    margin: 0 0 0.85rem;
}
.ship-class-card .examples {
    color: var(--text);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ===== Locations (shipyards / bases) two-column ===== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 1.5rem;
}
.locations-grid h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin: 0 0 0.85rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--border);
}
.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 1;
}
.location-list li {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}
.location-list li:last-child { border-bottom: none; }
.location-list .state {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: var(--bg-soft);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ===== Era cards ===== */
.era-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.era-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    box-shadow: var(--shadow-sm);
}
.era-card h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin: 0 0 0.2rem;
}
.era-card .years {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 0.85rem;
}
.era-card p:last-child {
    color: var(--text);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.55;
}

/* ===== HowTo numbered steps ===== */
ol.how-to {
    list-style: none;
    counter-reset: how-to-step;
    padding: 0;
    margin: 1.5rem 0 0;
}
ol.how-to li {
    counter-increment: how-to-step;
    position: relative;
    padding: 0 0 1.5rem 4rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
ol.how-to li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0.5rem; }
ol.how-to li::before {
    content: counter(how-to-step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
ol.how-to h3 {
    margin: 0 0 0.4rem;
    color: var(--navy);
    font-size: 1.1rem;
}
ol.how-to p { margin: 0; color: var(--text); }

/* ===== Estimator preview table ===== */
.estimator-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 1.5rem;
}
.estimator-table thead th {
    background: var(--navy);
    color: var(--white);
    text-align: left;
    padding: 0.95rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
}
.estimator-table tbody th {
    background: var(--bg-soft);
    color: var(--navy);
    text-align: left;
    padding: 0.85rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
}
.estimator-table tbody td {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.estimator-table tbody tr:last-child th,
.estimator-table tbody tr:last-child td { border-bottom: none; }

/* ===== Magnet block (free guide) ===== */
.magnet-block {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
    box-shadow: var(--shadow-md);
}
.magnet-block .eyebrow,
.magnet-block .eyebrow-on-light { color: var(--gold); }
.magnet-block h2 { color: var(--white); margin-top: 0.5rem; }
.magnet-block p { color: rgba(255,255,255,0.9); }
.magnet-block .magnet-bullets {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: rgba(255,255,255,0.92);
}
.magnet-block .magnet-bullets li { margin: 0.4rem 0; font-size: 0.95rem; }
.magnet-form {
    background: var(--white);
    color: var(--text);
    padding: 1.5rem;
    border-radius: var(--radius);
}
.magnet-form .form-field label { color: var(--text); }
.magnet-form .form-disclaimer { color: var(--text-muted); }
.magnet-form .form-disclaimer a { color: var(--navy); }

/* ===== FAQ definition list ===== */
.faq-list {
    margin-top: 1.5rem;
}
.faq-list dt {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 1.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--border);
}
.faq-list dt:first-of-type { margin-top: 0; }
.faq-list dd {
    margin: 0.75rem 0 0;
    color: var(--text);
    line-height: 1.65;
    padding-bottom: 0.5rem;
}

/* ===== Authoritative sources list ===== */
.sources-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
.sources-list li {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--navy);
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.93rem;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.sources-list a { color: var(--navy); font-weight: 600; }

/* ===== Responsive overrides for new sections ===== */
@media (max-width: 900px) {
    .compensation-streams { grid-template-columns: 1fr; }
    .rate-grid             { grid-template-columns: 1fr; }
    .locations-grid        { grid-template-columns: 1fr; gap: 2rem; }
    .magnet-block          { grid-template-columns: 1fr; padding: 2rem; gap: 1.75rem; }
    .trust-stats-inner     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    /* trust-stats stays 2x2 on mobile per spec — do not collapse to 1fr */
    .ship-class-grid       { grid-template-columns: 1fr; }
    .era-grid              { grid-template-columns: 1fr; }
    ol.how-to li           { padding-left: 3.25rem; }
    ol.how-to li::before   { width: 2.25rem; height: 2.25rem; font-size: 0.95rem; }
}

/* ====================================================================
 * SESSION 73 — Editorial-authority components
 * Reference grammar: U.S. Naval Institute, NEJM, Mayo Clinic, top AmLaw
 * NOT va.gov (per R1 — different palette, different typography, different
 * card grammar). The gravitas here comes from typography + density +
 * citations + restraint, the same things that make USNI / NEJM read as
 * authoritative without being government.
 * ==================================================================== */

/* All cards on the homepage now share a consistent refined treatment */
.stream-card,
.rate-col,
.ship-class-card,
.era-card,
.branch-card,
.trust-grid-card,
.intake-card {
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15,26,63,0.04), 0 4px 16px rgba(15,26,63,0.05);
}

/* Subtle gold corner-mark on key authority cards (replaces top-borders).
 * One small mark in upper-left — a "service ribbon" indicator, not a stripe. */
.stream-card,
.ship-class-card,
.era-card {
    position: relative;
    overflow: hidden;
}
.stream-card::before,
.ship-class-card::before,
.era-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--gold);
}
.stream-card { padding: 1.75rem; }
.ship-class-card { padding: 1.6rem 1.7rem; }
.era-card { padding: 1.5rem 1.6rem; }

/* ===== Editorial-standards block — institutional "this content is verified" signal ===== */
.editorial-standards {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-left: 4px solid var(--navy);
    padding: 1.5rem 1.75rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}
.editorial-standards h3 {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    font-family: 'Inter', sans-serif;
}
.editorial-standards p {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.65;
}
.editorial-standards .standards-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.editorial-standards .standards-meta dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.editorial-standards .standards-meta dd {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== Editorial pull-quote — for breaking up long sections ===== */
.pull-quote {
    margin: 2.5rem 0;
    padding: 1.75rem 0 1.75rem 1.75rem;
    border-left: 4px solid var(--gold);
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy);
    letter-spacing: -0.01em;
}
.pull-quote cite {
    display: block;
    margin-top: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    font-style: normal;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===== Action callouts — info / important / tip — institutional pattern ===== */
.callout {
    border-radius: 8px;
    padding: 1.1rem 1.25rem 1.1rem 3.25rem;
    margin: 1.5rem 0;
    position: relative;
    border: 1px solid;
    box-shadow: var(--shadow-sm);
}
.callout::before {
    position: absolute;
    left: 1rem;
    top: 1.05rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1;
}
.callout p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.callout strong { font-weight: 700; }

.callout-info {
    background: rgba(30,51,106,0.04);
    border-color: rgba(30,51,106,0.18);
    color: var(--text);
}
.callout-info::before { content: "i"; background: var(--navy); color: var(--white); font-style: italic; }

.callout-important {
    background: rgba(185,33,57,0.04);
    border-color: rgba(185,33,57,0.20);
    color: var(--text);
}
.callout-important::before { content: "!"; background: var(--red); color: var(--white); }

.callout-verified {
    background: rgba(21,128,61,0.04);
    border-color: rgba(21,128,61,0.20);
    color: var(--text);
}
.callout-verified::before { content: "✓"; background: var(--trust-green); color: var(--white); font-size: 0.85rem; }

/* ===== Data card — large stat with attribution (institutional pattern) ===== */
.data-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.data-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.data-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--gold);
}
.data-card .data-num {
    display: block;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.data-card .data-label {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.45;
}
.data-card .data-source {
    display: block;
    margin-top: 0.85rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ===== Section hairline divider (used between major homepage blocks) ===== */
.section-divider {
    height: 1px;
    background: var(--border);
    border: 0;
    margin: 0;
}

/* ===== Trust stats refinement — make it feel like an institutional data row ===== */
.trust-stats .stat-num {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 800;
    font-size: 2.7rem;
    letter-spacing: -0.025em;
}
.trust-stats .stat-label {
    font-size: 0.93rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ===== Hero refinement — editorial serif H1 ===== */
.hero h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 800;
    letter-spacing: -0.018em;
}
.hero .hero-accent { background: var(--gold); width: 64px; height: 3px; }

/* ===== Magnet block refinement — editorial card on dark navy ===== */
.magnet-block {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-darker) 100%);
    position: relative;
    overflow: hidden;
}
.magnet-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.magnet-block h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    color: var(--white);
}

/* ===== Stream card title gets serif ===== */
.stream-card h3,
.ship-class-card h3,
.era-card h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ===== Pull-quote responsiveness ===== */
@media (max-width: 600px) {
    .pull-quote { font-size: 1.2rem; padding: 1.25rem 0 1.25rem 1.25rem; }
    .editorial-standards .standards-meta { grid-template-columns: 1fr; gap: 0.85rem; }
    .data-card-row { grid-template-columns: 1fr; }
    .data-card .data-num { font-size: 2rem; }
}
