/* ============================================================
   Stonewall Security — Policies / Legal Hub
   Extends base.css + home.css. Introduces no new fonts, colours
   or motion language: reuses the existing tokens, chiselled
   metal tabs, mono kickers, gold accents and data-anim reveals.

   The page is deliberately transparent end-to-end so the shared
   animated polygon network (#network-bg) reads through every
   section — see /css/network-bg.css for the layering contract.
   ============================================================ */

/* ──────────────────────────────────────────────
   HERO — no photo plate. The animated network IS
   the artwork here; only soft scrims sit on top.
   ────────────────────────────────────────────── */
/* `section.` on the hero and console: base.css sets the site-wide section
   rhythm through `section[data-section]`, which outranks a bare class. Matching
   its specificity is what lets these two sections set their own padding. */
section.policy-hero {
    position: relative;
    width: 100%;
    /* Shorter than the marketing heroes on purpose. This is a utility page —
       people arrive needing a specific clause, so the fold should not cost
       them a full screen of scrolling before the navigator appears. */
    min-height: clamp(420px, 60vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(126px, 16vh, 180px) 0 clamp(48px, 7vh, 84px);
    background-color: transparent;
    background-image: none;
}

/* Directional light wash — keeps the title legible over the network
   without hiding it. */
.policy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 48% at 50% 34%, rgba(205,173,110,0.075) 0%, transparent 68%),
        radial-gradient(ellipse 74% 62% at 50% 50%, rgba(4,5,6,0.62) 0%, rgba(4,5,6,0.30) 52%, transparent 82%);
}

/* Faint blueprint rule grid — a "filed document" cue, purely decorative. */
.policy-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.030) 1px, transparent 1px),
        linear-gradient(0deg,  rgba(255,255,255,0.020) 1px, transparent 1px);
    background-size: 92px 92px, 92px 92px;
    -webkit-mask-image: radial-gradient(ellipse 66% 60% at 50% 50%, #000 12%, transparent 78%);
            mask-image: radial-gradient(ellipse 66% 60% at 50% 50%, #000 12%, transparent 78%);
}

.policy-hero-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-5);
}

.policy-hero .kicker { justify-content: center; margin-bottom: 0; }

.policy-hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(46px, 7.4vw, 104px);
    line-height: 0.90;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0;
    background: var(--grad-chrome);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,0.65));
}

.policy-hero .lede {
    color: var(--c-bone);
    max-width: 660px;
    margin: 0 auto;
}

/* Document stamp row — effective / revised / jurisdiction */
.policy-stamp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: var(--s-2);
}

.policy-stamp li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(8,9,11,0.55);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--c-grey-light);
}
.policy-stamp li b {
    font-weight: 500;
    color: var(--c-bone);
    letter-spacing: 0.14em;
}
.policy-stamp li::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--c-chrome);
    box-shadow: 0 0 0 3px rgba(205,173,110,0.14);
}

/* ══════════════════════════════════════════════
   POLICY NAVIGATOR

   The five documents used to be a horizontal strip pinned above the page,
   with a separate contents rail per document — two navigation systems
   describing the same thing. They are now one tree: documents at the top
   level, that document's sections nested beneath. Where you are and where
   else you can go read as a single structure.
   ══════════════════════════════════════════════ */
section.policy-console {
    background: transparent;
    padding-top: clamp(28px, 4vh, 52px);
}

.policy-workspace {
    display: grid;
    grid-template-columns: 296px minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
}

.policy-nav {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 124px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    background: rgba(11, 11, 14, 0.78);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    box-shadow: 0 30px 70px -44px rgba(0, 0, 0, 0.95);
    overflow: hidden;
}
/* The same gold file-rail the documents carry, so the navigator reads as part
   of the same set of records. */
.policy-nav::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--c-chrome), var(--c-silver-dark));
    opacity: 0.5;
    pointer-events: none;
}

.pnav-tree {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    padding: 18px 16px 0;
}
.pnav-tree::-webkit-scrollbar { width: 0; display: none; }

.pnav-head {
    display: block;
    padding: 0 8px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-grey-light);
}

/* — Level 1: the documents — */
.pnav-doc + .pnav-doc { margin-top: 2px; }

.pnav-doc-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 10px;
    border-radius: 3px;
    border-left: 2px solid transparent;
    color: var(--c-bone);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    line-height: 1.15;
    transition:
        color 220ms var(--ease-soft),
        background 220ms var(--ease-soft),
        border-color 220ms var(--ease-soft);
}
.pnav-num {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--c-silver);
    flex: 0 0 auto;
    transition: color 220ms var(--ease-soft);
}
.pnav-name { flex: 1 1 auto; min-width: 0; }
.pnav-count {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--c-silver-dark);
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    transition: color 220ms var(--ease-soft), border-color 220ms var(--ease-soft);
}

.pnav-doc-link:hover {
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.03);
    border-left-color: rgba(205, 173, 110, 0.45);
}
.pnav-doc-link:hover .pnav-num { color: var(--c-chrome); }
.pnav-doc-link:focus-visible { outline: 2px solid var(--c-gold); outline-offset: -2px; }

/* The open document. The chiselled gold plate that used to mark the active
   tab now marks the active branch — same signal, one place. */
.pnav-doc.is-current > .pnav-doc-link {
    background: var(--grad-silver-btn);
    border-left-color: rgba(255, 255, 255, 0.4);
    color: #14141a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.pnav-doc.is-current > .pnav-doc-link .pnav-num { color: rgba(20, 20, 26, 0.62); }
.pnav-doc.is-current > .pnav-doc-link .pnav-count {
    color: rgba(20, 20, 26, 0.72);
    border-color: rgba(20, 20, 26, 0.28);
}

/* — Level 2: that document's sections — */
.pnav-sections {
    margin: 4px 0 10px 17px;
    padding-left: 13px;
    border-left: 1px solid rgba(205, 173, 110, 0.24);
}
.pnav-sections[hidden] { display: none; }

.pnav-sections a {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 6px 8px;
    border-radius: 2px;
    color: var(--c-grey-light);
    font-size: 12.5px;
    line-height: 1.45;
    transition: color 200ms var(--ease-soft), background 200ms var(--ease-soft);
}
.pnav-sec-num {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--c-silver);
    flex: 0 0 auto;
    transition: color 200ms var(--ease-soft);
}
.pnav-sections a:hover { color: var(--c-white); background: rgba(255, 255, 255, 0.03); }
.pnav-sections a:hover .pnav-sec-num { color: var(--c-chrome); }
.pnav-sections a:focus-visible { outline: 2px solid var(--c-gold); outline-offset: -2px; }
.pnav-sections a.is-current { color: #f1e6c9; background: rgba(205, 173, 110, 0.08); }
.pnav-sections a.is-current .pnav-sec-num { color: var(--c-chrome); }

/* — Foot — */
.pnav-foot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding: 14px 10px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* — Mobile handle (hidden on desktop) — */
.pnav-handle { display: none; }

/* — Document body — */
.policy-doc {
    position: relative;
    max-width: 860px;
    padding: clamp(28px, 3.4vw, 52px) clamp(22px, 3vw, 48px) clamp(36px, 4vw, 56px);
    background: rgba(13,13,16,0.74);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    box-shadow: 0 40px 100px -46px rgba(0,0,0,0.95);
}

/* Paper scanline texture, matching the dossier cards elsewhere */
.policy-doc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent 0, transparent 4px, rgba(255,255,255,0.012) 4px, rgba(255,255,255,0.012) 5px);
}
/* Gold side-rail — the site's file-card signature */
.policy-doc::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    border-radius: 4px 0 0 4px;
    background: linear-gradient(180deg, var(--c-chrome), var(--c-silver-dark));
    opacity: 0.55;
    pointer-events: none;
}

.policy-doc > * { position: relative; z-index: 2; }

/* Document header block */
.policy-doc-head {
    padding-bottom: var(--s-5);
    margin-bottom: var(--s-6);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.policy-doc-head .kicker { margin-bottom: var(--s-4); }
.policy-doc-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 0.96;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    background: var(--grad-chrome);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.policy-doc-sub {
    margin-top: var(--s-4);
    color: var(--c-grey-light);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 70ch;
}
.policy-doc-rev {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: var(--s-4);
    font-family: var(--font-mono);
    /* Bumped from 9.5px/--c-silver-dark: at this size that pairing lands near
       3.4:1 on the card, under the 4.5:1 floor. These are the dates a carrier
       or auditor reads off the document, so they have to be legible. */
    font-size: 10px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--c-grey-light);
}
.policy-doc-rev b { font-weight: 500; color: var(--c-bone); }

/* Sections inside a policy document */
.policy-sec { scroll-margin-top: 110px; }
.policy-sec + .policy-sec { margin-top: var(--s-7); }

.policy-sec > h3 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(21px, 1.9vw, 27px);
    line-height: 1.1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    color: var(--c-white);
    margin-bottom: var(--s-4);
}
.policy-sec > h3 .sec-num {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--c-chrome);
}

.policy-sec h4 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-bone);
    margin: var(--s-5) 0 var(--s-3);
}

.policy-sec p {
    color: var(--c-grey-light);
    font-size: 15.5px;
    line-height: 1.75;
    max-width: 72ch;
}
.policy-sec p + p { margin-top: var(--s-4); }
.policy-sec strong { color: var(--c-bone); font-weight: 600; }

.policy-sec a:not(.btn) {
    color: var(--c-chrome);
    border-bottom: 1px solid rgba(205,173,110,0.32);
    transition: color 200ms var(--ease-soft), border-color 200ms var(--ease-soft);
}
.policy-sec a:not(.btn):hover { color: #f1e6c9; border-bottom-color: var(--c-chrome); }
.policy-sec a:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; border-radius: 2px; }

/* Bulleted / numbered lists */
.policy-list { margin-top: var(--s-4); max-width: 72ch; }
.policy-list li {
    position: relative;
    padding-left: 22px;
    color: var(--c-grey-light);
    font-size: 15px;
    line-height: 1.7;
}
.policy-list li + li { margin-top: 10px; }
.policy-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.72em;
    width: 6px; height: 1px;
    background: var(--c-chrome);
    opacity: 0.8;
}
.policy-list li strong { color: var(--c-bone); }

.policy-list-num { counter-reset: pnum; }
.policy-list-num li { padding-left: 30px; }
.policy-list-num li::before {
    counter-increment: pnum;
    content: counter(pnum, decimal-leading-zero);
    top: 0;
    left: 0;
    width: auto; height: auto;
    background: none;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--c-chrome);
    line-height: 1.85;
}

/* Definition grid — used for "what we collect / why" style tables */
.policy-grid {
    margin-top: var(--s-4);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 3px;
    overflow: hidden;
}
.policy-grid-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 0;
}
.policy-grid-row + .policy-grid-row { border-top: 1px solid rgba(255,255,255,0.06); }
.policy-grid-row > dt {
    padding: 14px 18px;
    background: rgba(255,255,255,0.018);
    border-right: 1px solid rgba(255,255,255,0.06);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-bone);
    line-height: 1.6;
}
.policy-grid-row > dd {
    margin: 0;
    padding: 14px 18px;
    color: var(--c-grey-light);
    font-size: 14.5px;
    line-height: 1.65;
}

/* Callouts */
.policy-note {
    margin-top: var(--s-5);
    padding: 18px 20px 18px 22px;
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 2px solid var(--c-chrome);
    border-radius: 3px;
    background: rgba(205,173,110,0.045);
}
.policy-note p { font-size: 14.5px; color: var(--c-bone); max-width: none; }
.policy-note .note-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--c-chrome);
    margin-bottom: 8px;
}

/* Carrier / statute reference chips */
.policy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--s-4);
}
.policy-chips li {
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-grey-light);
}

/* Keyword strip — STOP / HELP / START, the carrier-mandated commands */
.policy-keywords {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: var(--s-5);
}
.policy-keyword {
    padding: 18px 18px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 3px;
    background: rgba(20,20,26,0.6);
    transition: border-color 280ms var(--ease-soft), background 280ms var(--ease-soft);
}
.policy-keyword:hover { border-color: rgba(216,217,221,0.34); background: rgba(29,29,36,0.72); }
.policy-keyword b {
    display: block;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: #f1e6c9;
    margin-bottom: 8px;
}
.policy-keyword span {
    display: block;
    color: var(--c-grey-light);
    font-size: 13.5px;
    line-height: 1.6;
}

/* Contact block that closes each document */
.policy-contact {
    margin-top: var(--s-7);
    padding-top: var(--s-5);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--s-5);
}
.policy-contact div span {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--c-grey-light);
    margin-bottom: 8px;
}
.policy-contact div a,
.policy-contact div p {
    color: var(--c-bone);
    font-size: 14.5px;
    line-height: 1.6;
    border-bottom: 0;
}
.policy-contact div a:hover { color: var(--c-chrome); }

/* ──────────────────────────────────────────────
   CLOSING CTA
   ────────────────────────────────────────────── */
/* The full section rhythm (160px) after a 6,800px document is dead air, and
   this block is a continuation of the reading, not a new chapter. */
section.policy-close {
    background: transparent;
    padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 128px);
}
.policy-close .section-head { margin-bottom: var(--s-7); }

/* — Request routes — */
.policy-routes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.policy-route {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px 24px;
    background: rgba(13, 13, 16, 0.72);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    overflow: hidden;
    transition:
        border-color 320ms var(--ease-soft),
        background 320ms var(--ease-soft),
        transform 320ms var(--ease-premium);
}

/* Same gold file-rail the document cards carry, so these read as part of the
   same set of records rather than as marketing tiles. */
.policy-route::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--c-chrome), var(--c-silver-dark));
    opacity: 0.45;
    transition: opacity 320ms var(--ease-soft);
}
.policy-route:hover {
    border-color: rgba(216, 217, 221, 0.34);
    background: rgba(20, 20, 26, 0.82);
    transform: translateY(-2px);
}
.policy-route:hover::after { opacity: 0.95; }
.policy-route:focus-within { border-color: rgba(216, 217, 221, 0.34); }

.route-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.26em;
    color: var(--c-chrome);
    margin-bottom: 12px;
}

.route-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--c-white);
    margin-bottom: 12px;
}

.route-body {
    color: var(--c-grey-light);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: var(--s-5);
}
.route-body strong {
    color: #f1e6c9;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 0.12em;
}

/* The action sits directly above the clause reference, and the pair is pinned
   to the bottom so all four cards line up regardless of body length. */
.route-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 11px 16px;
    border: 1px solid rgba(205, 173, 110, 0.28);
    border-radius: 3px;
    background: rgba(205, 173, 110, 0.06);
    color: #f1e6c9;
    font-size: 13.5px;
    font-weight: 500;
    align-self: flex-start;
    max-width: 100%;
    overflow-wrap: anywhere;
    transition: background 240ms var(--ease-soft), border-color 240ms var(--ease-soft), color 240ms var(--ease-soft);
}
.route-action svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--c-chrome); }
.route-action:hover {
    background: rgba(205, 173, 110, 0.13);
    border-color: rgba(205, 173, 110, 0.6);
    color: #fff6e0;
}
.route-action:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

.route-clause {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-grey-light);
    align-self: flex-start;
    transition: color 220ms var(--ease-soft);
}
.route-clause::before {
    content: '';
    width: 14px; height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.route-clause:hover { color: var(--c-chrome); }
.route-clause:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; border-radius: 2px; }

/* — Records bar — */
.policy-close-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5) var(--s-6);
    max-width: 1100px;
    margin: 20px auto 0;
    padding: 26px 28px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    background: rgba(20, 20, 26, 0.55);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
}
.close-bar-text { flex: 1 1 380px; min-width: 0; }
.close-bar-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--c-chrome);
    margin-bottom: 10px;
}
.close-bar-text p {
    color: var(--c-grey-light);
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 60ch;
}
.close-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    flex: 0 0 auto;
}
.close-bar-actions .btn { padding: 14px 24px; font-size: 12px; }
.btn-lead-icon { width: 16px; height: 16px; flex: 0 0 auto; }

/* ──────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────── */
/* Below the two-column breakpoint the navigator becomes a sticky handle at the
   top of the document: it always says which policy is open, and tapping it
   drops the whole tree down. That is one control doing the job the horizontal
   strip and the per-document contents card used to split between them — in
   less vertical space than the strip alone occupied. */
@media (max-width: 1080px) {
    .policy-workspace { grid-template-columns: minmax(0, 1fr); gap: 0; }

    .policy-nav {
        position: sticky;
        top: 72px;
        z-index: 40;
        max-height: none;
        margin-bottom: var(--s-6);
        border-radius: 3px;
        background: rgba(9, 9, 12, 0.94);
    }

    .pnav-handle {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 13px 16px;
        min-height: 52px;
        text-align: left;
        color: var(--c-bone);
    }
    .pnav-handle-label {
        flex: 0 0 auto;
        font-family: var(--font-mono);
        font-size: 9.5px;
        letter-spacing: 0.26em;
        text-transform: uppercase;
        color: var(--c-grey-light);
    }
    .pnav-handle-current {
        flex: 1 1 auto;
        min-width: 0;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 17px;
        letter-spacing: 0.045em;
        text-transform: uppercase;
        color: #f1e6c9;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .pnav-handle-chevron {
        width: 18px; height: 18px;
        flex: 0 0 auto;
        color: var(--c-chrome);
        transition: transform 300ms var(--ease-soft);
    }
    .pnav-handle[aria-expanded="true"] .pnav-handle-chevron { transform: rotate(180deg); }
    .pnav-handle:focus-visible { outline: 2px solid var(--c-gold); outline-offset: -2px; }

    /* The tree drops out of the handle and is capped so it can never bury the
       document it belongs to. */
    .pnav-tree {
        max-height: min(62vh, 460px);
        padding: 0 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .pnav-tree[hidden] { display: none; }
    .pnav-head { display: none; }
    .pnav-list { padding-top: 10px; }
    .pnav-doc-link { padding: 13px 10px; }
    .pnav-sections a { padding: 9px 8px; font-size: 13px; }
    .pnav-foot { padding: 12px 10px 14px; flex-direction: row; gap: 18px; }
}

@media (max-width: 860px) {
    .policy-routes { grid-template-columns: minmax(0, 1fr); }
    .policy-close-bar { padding: 22px 20px; }
    .close-bar-actions { width: 100%; }
    .close-bar-actions .btn { flex: 1 1 200px; }
}

@media (max-width: 720px) {
    .policy-hero { min-height: clamp(400px, 56vh, 560px); }
    .policy-hero-inner { gap: var(--s-4); }
    /* Three stamps wrap to three rows on a phone and push the navigator off
       screen. Tighten them rather than dropping any — the dates are the point. */
    .policy-stamp { gap: 7px; }
    .policy-stamp li { padding: 6px 12px; font-size: 9.5px; letter-spacing: 0.16em; gap: 7px; }

    .policy-grid-row { grid-template-columns: minmax(0, 1fr); }
    .policy-grid-row > dt { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .policy-doc {
        border-radius: 3px;
        /* A 14px backdrop blur across a ~7,000px element is the single most
           expensive thing on this page for a phone GPU. mobile.css already
           strips blur from the heavy panels site-wide; do the same here and
           pay for it with a more opaque fill. */
        -webkit-backdrop-filter: none;
                backdrop-filter: none;
        background: rgba(10, 10, 13, 0.90);
    }
    .policy-route {
        -webkit-backdrop-filter: none;
                backdrop-filter: none;
        background: rgba(12, 12, 15, 0.88);
    }
    .policy-close-bar {
        -webkit-backdrop-filter: none;
                backdrop-filter: none;
        background: rgba(16, 16, 20, 0.88);
    }

    .policy-sec p, .policy-list li { font-size: 15px; }
    .policy-sec { scroll-margin-top: 145px; }
}

/* ──────────────────────────────────────────────
   TOUCH TARGETS

   Measured on a 390px viewport: the print control came out 17px tall, the
   clause references 16px and the breadcrumb links 18px — all under the 24px
   WCAG 2.2 minimum. They are standalone controls, not inline prose links, so
   the exemption does not cover them. Keyed on `pointer: coarse` as well as
   width, because a touch laptop deserves the same treatment.
   ────────────────────────────────────────────── */
@media (max-width: 900px), (pointer: coarse) {
    .policy-print {
        padding: 12px 0;
        min-height: 44px;
        align-items: center;
    }
    .route-clause {
        padding: 12px 0 4px;
        min-height: 34px;
        align-items: center;
    }
    .pnav-sections a { padding-top: 10px; padding-bottom: 10px; }

    /* Breadcrumbs come from navigation.css; widen the rows only here. */
    .policies-page .breadcrumbs-list li { min-height: 34px; }
    .policies-page .breadcrumbs-list a {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 0 2px;
    }
}


/* ──────────────────────────────────────────────
   PRINT — every policy prints, tabs and chrome
   drop away. Carriers and underwriters routinely
   ask for a PDF of these documents.
   ────────────────────────────────────────────── */
@media print {
    .topbar, .side-menu, .menu-backdrop, .mobile-actionbar, .assessment-rail,
    .policy-nav, .breadcrumbs, .policy-close, .footer,
    #network-bg, #logo-rig { display: none !important; }

    body { background: #fff !important; color: #111 !important; }
    body::before, body::after { display: none !important; }

    .policy-hero { min-height: auto; padding: 0 0 18pt; }
    .policy-hero::before, .policy-hero::after { display: none !important; }
    .policy-hero-title, .policy-doc-title, .section-title {
        -webkit-text-fill-color: #111 !important;
        color: #111 !important;
        background: none !important;
        filter: none !important;
    }

    .policy-panel[hidden] { display: block !important; }
    .policy-panel + .policy-panel { break-before: page; page-break-before: always; }

    .policy-workspace { display: block; }
    .policy-doc {
        max-width: none;
        padding: 0;
        background: none !important;
        border: 0;
        box-shadow: none;
        -webkit-backdrop-filter: none;
                backdrop-filter: none;
    }
    .policy-doc::before, .policy-doc::after { display: none !important; }

    .policy-sec { break-inside: avoid-page; }
    .policy-sec > h3, .policy-sec h4 { color: #111 !important; }
    .policy-sec p, .policy-list li, .policy-grid-row > dd { color: #333 !important; }
    .policy-sec > h3 .sec-num, .policy-list li::before { color: #666 !important; }
    .policy-sec a:not(.btn) { color: #111 !important; border-bottom: 0; }
    .policy-sec a[href^="http"]::after,
    .policy-sec a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
    .policy-note { background: none; border: 1px solid #bbb; border-left: 2px solid #666; }
    .policy-note p, .policy-keyword span, .policy-contact div a, .policy-contact div p { color: #333 !important; }
    .policy-keyword b { color: #111 !important; }
    .policy-grid, .policy-keyword { border-color: #bbb; }
    .policy-grid-row > dt { background: #f2f2f2; color: #111 !important; }
}

/* Reduced motion — no transform-based motion anywhere on the page */
@media (prefers-reduced-motion: reduce) {
    .pnav-doc-link, .pnav-sections a, .policy-keyword,
    .policy-route, .route-action, .route-clause,
    .pnav-handle, .pnav-handle-chevron { transition: none; }
    .policy-route:hover { transform: none; }
}
