/* =============================================================================
   GuardPilot · customer website. Two watches share one design system:
   html[data-watch="night"] (deep ink navy, brass glow, radar screen) and
   html[data-watch="day"]   (warm paper, ink lines, survey-map radar).
   --brass is set from GP.state.agency.color at load (rebrand links).
   ============================================================================= */
:root {
    --brass: #c9a227;
    --navy: #0b1220; --navy-2: #111a2e; --paper: #f6f4ef; --slate: #4a5368;
    --ok: #1f9d6b; --bad: #d64545; --wa: #1faa59;
    --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
    --r-lg: 26px; --r: 18px; --r-sm: 12px;
    --ease: cubic-bezier(.2, .75, .2, 1);
    --hdr-h: 74px;
}
:root, html[data-watch="night"] {
    color-scheme: dark;
    --bg: #0b1220; --bg2: #111a2e; --card: #121c32; --field: #0e172b;
    --ink: #eef0f4; --mut: #9ca6bc; --line: rgba(238, 240, 244, .085); --line2: rgba(238, 240, 244, .17);
    --brass-text: var(--brass);
    --brass-soft: color-mix(in srgb, var(--brass) 15%, transparent);
    --bad-text: #ff8a80;
    --glass: rgba(11, 18, 32, .72);
    --shadow: 0 34px 70px -34px rgba(0, 0, 0, .85);
    --hero-veil: linear-gradient(100deg, rgba(11, 18, 32, .97) 22%, rgba(11, 18, 32, .82) 55%, rgba(11, 18, 32, .6));
    --radar-bg: #0c1527; --radar-line: color-mix(in srgb, var(--brass) 50%, transparent);
    --radar-fill: color-mix(in srgb, var(--brass) 7%, transparent); --radar-ring: color-mix(in srgb, var(--brass) 26%, transparent);
    --grain: .07;
}
html[data-watch="day"] {
    color-scheme: light;
    --bg: #f6f4ef; --bg2: #ede9df; --card: #fffdf8; --field: #ffffff;
    --ink: #0b1220; --mut: #4a5368; --line: rgba(11, 18, 32, .1); --line2: rgba(11, 18, 32, .2);
    --brass-text: color-mix(in srgb, var(--brass) 58%, #261b00);
    --brass-soft: color-mix(in srgb, var(--brass) 16%, transparent);
    --bad-text: #c23b3b;
    --glass: rgba(255, 253, 248, .82);
    --shadow: 0 30px 60px -36px rgba(11, 18, 32, .38);
    --hero-veil: linear-gradient(100deg, rgba(246, 244, 239, .97) 25%, rgba(246, 244, 239, .84) 55%, rgba(246, 244, 239, .58));
    --radar-bg: #efe9dc; --radar-line: rgba(11, 18, 32, .42);
    --radar-fill: rgba(11, 18, 32, .05); --radar-ring: rgba(11, 18, 32, .17);
    --grain: .045;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
       transition: background-color .8s ease, color .8s ease; line-height: 1.5; }
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain);
              background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
[hidden] { display: none !important; }
#chrome-top, #chrome-bottom { display: contents; }
section[id], [id="main"] { scroll-margin-top: calc(var(--hdr-h) + 12px); }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.04; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--brass-text); }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); margin-top: 14px; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(1240px, 100% - 64px); } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brass); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.mut { color: var(--mut); }
.mt { margin-top: 18px; }
.pt0 { padding-top: 0 !important; }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-text); }
.kick::before { content: ''; width: 28px; height: 1px; background: currentColor; flex: none; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31, 157, 107, .5); animation: live 2s ease-out infinite; display: inline-block; flex: none; }
.kick .live-dot { margin-right: -2px; }
.kick:has(.live-dot)::before { display: none; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(31, 157, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 107, 0); } }
.fine { font-size: .78rem; color: var(--mut); line-height: 1.55; }
.fine i { color: var(--brass-text); }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.17rem); line-height: 1.68; color: var(--mut); max-width: 570px; }
.sec { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4.4vw, 58px); }
.sec-head p { color: var(--mut); font-size: 1.04rem; line-height: 1.65; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 26px; font-weight: 800; font-size: .94rem;
       text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .3s, color .3s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn.brass { background: var(--brass); color: var(--navy); box-shadow: 0 16px 34px -16px var(--brass); }
.btn.brass:hover { box-shadow: 0 20px 40px -14px var(--brass); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brass); }
.btn.ghost-l { background: transparent; color: #eef0f4; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.sm { padding: 10px 18px; font-size: .85rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }
.link { background: none; border: 0; padding: 4px 0; color: var(--brass-text); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; font-size: .88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line2); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 14px;
        font-size: .83rem; font-weight: 600; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--brass); }
.chip[aria-pressed="true"] { border-color: var(--brass); background: var(--brass-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--brass); }
.chip i { color: var(--brass-text); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 22px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; }
.seg button { border: 0; background: transparent; color: var(--mut); padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; display: inline-flex; gap: 7px;
              align-items: center; transition: background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .55); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: .88rem; user-select: none; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.sw { width: 46px; height: 26px; border-radius: 999px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); position: relative; transition: background .3s; flex: none; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mut); transition: transform .38s var(--ease), background .3s; }
.switch input:checked + .sw { background: var(--brass); box-shadow: 0 0 18px -4px var(--brass); }
.switch input:checked + .sw::after { transform: translateX(20px); background: var(--navy); }
.switch input:focus-visible + .sw { outline: 2px solid var(--brass); outline-offset: 3px; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); background: var(--field); padding: 3px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg2); color: var(--ink); font-size: 1.15rem; font-weight: 700; line-height: 1; transition: background .2s; }
.stepper button:hover { background: var(--brass-soft); }
.stepper button[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }
.stepper input, .stepper output { width: 48px; text-align: center; border: 0; background: transparent; color: var(--ink); font: 800 1.05rem var(--sans); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ctl-l { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--mut); }
.fld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fld > span, .fld-l { font-weight: 700; font-size: .84rem; }
.fld > span small { font-weight: 500; color: var(--mut); }
.inp { width: 100%; padding: 13px 15px; border-radius: var(--r-sm); border: 1px solid var(--line2); background: var(--field); color: var(--ink); font: 500 .98rem var(--sans);
       transition: border-color .2s, box-shadow .2s, background .6s; min-width: 0; }
.inp::placeholder { color: color-mix(in srgb, var(--mut) 70%, transparent); }
.inp:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px var(--brass-soft); }
.inp[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 14%, transparent); }
[aria-invalid="true"].chips, [aria-invalid="true"].lines { outline: 1.5px dashed var(--bad); outline-offset: 6px; border-radius: 12px; }
textarea.inp { min-height: 100px; resize: vertical; line-height: 1.5; }
.err { color: var(--bad-text); font-size: .8rem; font-weight: 600; line-height: 1.4; }
.err:empty { display: none; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 18px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg2); color: var(--mut); display: inline-grid; place-items: center; flex: none; transition: color .2s, background .2s; }
.icon-btn:hover { color: var(--bad-text); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.swap { animation: swapIn .45s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- demo bar + header */
.demo-bar { background: #05080f; color: #c6ccd9; font-size: .78rem; padding: 7px 16px; text-align: center; line-height: 1.5; position: relative; z-index: 61; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.demo-bar b { color: #fff; }
.demo-bar a { color: var(--brass); font-weight: 700; text-decoration: none; white-space: nowrap; margin-left: 4px; }
.demo-bar a:hover { text-decoration: underline; }
.hdr { position: sticky; top: 0; z-index: 60; transition: background .4s, box-shadow .4s; }
.hdr.scrolled, body.nav-open .hdr { background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.hdr-in { display: flex; align-items: center; gap: 16px; height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; flex: 0 1 auto; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.mark svg { width: 100%; height: 100%; display: block; }
.sh-body { fill: var(--navy); stroke: var(--brass); stroke-width: 1.6; }
.sh-half { fill: color-mix(in srgb, var(--brass) 24%, transparent); }
.sh-tick { fill: none; stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-t { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-t b { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-t small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); font-weight: 700; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 13px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--mut); transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--brass-soft); }
.hdr-act { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.watch { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; padding: 4px; border-radius: 999px; font-weight: 700; font-size: .78rem; color: var(--ink); }
.watch-track { position: relative; width: 58px; height: 30px; border-radius: 999px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); display: flex; align-items: center;
               justify-content: space-between; padding: 0 9px; font-size: .74rem; color: var(--mut); }
.watch-track i { position: relative; z-index: 1; transition: color .4s; line-height: 1; }
.watch-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--brass); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .4); transition: transform .5s var(--ease); }
html[data-watch="night"] .watch-knob { transform: translateX(28px); }
html[data-watch="day"] .watch-track .bi-sun-fill, html[data-watch="night"] .watch-track .bi-moon-stars-fill { color: var(--navy); }
.watch-lbl { white-space: nowrap; letter-spacing: .02em; min-width: 76px; text-align: left; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--bg2); color: var(--ink); font-size: 1.4rem; place-items: center; }
@media (max-width: 1120px) { .hdr-cta { display: none; } }
/* header shows the short agency name when the nav needs the room */
.bn-short { display: none; }
@media (max-width: 1240px) { .hdr .bn-full { display: none; } .hdr .bn-short { display: inline; } }
@media (max-width: 920px) {
    .burger { display: inline-grid; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 8px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line);
           box-shadow: var(--shadow); display: none; margin: 0; }
    body.nav-open .nav { display: flex; }
    .nav a { padding: 14px 12px; font-size: 1rem; border-radius: 12px; }
}
@media (max-width: 520px) {
    .watch-lbl { display: none; }
    .brand-t b { font-size: 1.12rem; }
    .brand .mark { width: 34px; height: 34px; }
    .hdr-in { gap: 10px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 8vw, 110px); min-height: min(880px, calc(100svh - var(--hdr-h))); display: flex; align-items: center; }
.hero-ph { position: absolute; inset: 0; z-index: -3; background: var(--bg); }
.hero-ph span { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transition: opacity 1.2s ease; filter: saturate(.7); }
html[data-watch="day"] .hero-ph .ph-night, html[data-watch="night"] .hero-ph .ph-day { opacity: 0; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--hero-veil); transition: background .8s; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .7; pointer-events: none;
               background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px;
               -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 72% 50%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; width: min(1240px, 100% - 32px); }
@media (min-width: 768px) { .hero-grid { width: min(1240px, 100% - 64px); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.7rem, 6.3vw, 5.6rem); line-height: .98; letter-spacing: -.015em; margin: 22px 0; }
.hero h1 em { display: inline; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 44px 0 0; border-top: 1px solid var(--line2); max-width: 610px; }
.hero-stats div { padding: 16px 14px 0 0; min-width: 0; }
.hero-stats div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.hero-stats dt { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; line-height: 1; color: var(--ink); }
.hero-stats div:first-child dt { color: var(--brass-text); }
.hero-stats dd { margin: 7px 0 0; font-size: .8rem; color: var(--mut); line-height: 1.45; }

/* radar */
.radar-wrap { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; }
@media (max-width: 900px) { .radar-wrap { width: min(100%, 440px); } }
.bezel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bz { fill: none; stroke: var(--radar-ring); stroke-width: .25; }
.bz.dash { stroke-dasharray: .6 1.4; stroke-width: .5; }
.spin-slow { transform-origin: 50px 50px; transform-box: view-box; animation: spin 80s linear infinite; }
.bz-t { stroke: var(--radar-ring); stroke-width: .25; }
.bz-t.major { stroke: var(--radar-line); stroke-width: .4; }
.bz-l { font: 700 2.6px var(--mono); fill: var(--brass-text); dominant-baseline: middle; }
.radar { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: var(--radar-bg);
         box-shadow: 0 0 0 1px var(--radar-ring), 0 40px 90px -40px rgba(0, 0, 0, .7), inset 0 0 70px rgba(0, 0, 0, .22); transition: background .8s; }
.radar .city { position: absolute; inset: 0; width: 100%; height: 100%; }
.city .bld { fill: var(--radar-fill); stroke: var(--radar-line); stroke-width: .6; transition: fill .8s, stroke .8s; }
.city .park { fill: color-mix(in srgb, var(--ok) 13%, transparent); }
.city .tree { fill: color-mix(in srgb, var(--ok) 40%, transparent); }
.city .ave { stroke: var(--radar-bg); stroke-width: 9; fill: none; transition: stroke .8s; }
.city .ave-c { stroke: var(--radar-line); stroke-width: .7; stroke-dasharray: 3 4; fill: none; opacity: .8; }
.radar .rings { position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
                background: repeating-radial-gradient(circle closest-side at 50% 50%, transparent 0 24.6%, var(--radar-ring) 24.6% 25%),
                            linear-gradient(var(--radar-ring), var(--radar-ring)) center / 100% 1px no-repeat,
                            linear-gradient(var(--radar-ring), var(--radar-ring)) center / 1px 100% no-repeat,
                            radial-gradient(circle closest-side, transparent 70%, rgba(0, 0, 0, .28)); }
.sweep-host { position: absolute; inset: 0; }
.sweep { position: absolute; inset: 0; border-radius: 50%; animation: spin var(--t, 8s) linear infinite;
         background: conic-gradient(from 0deg, transparent 0deg 240deg, color-mix(in srgb, var(--brass) 3%, transparent) 270deg, color-mix(in srgb, var(--brass) 44%, transparent) 359.4deg, transparent 360deg); }
.sweep::after { content: ''; position: absolute; left: calc(50% - 1px); top: 0; width: 2px; height: 50%; background: linear-gradient(to bottom, var(--brass), transparent 95%); box-shadow: 0 0 14px var(--brass); }
@keyframes spin { to { transform: rotate(360deg); } }
.radar-pins { position: absolute; inset: 7%; pointer-events: none; }
.blip { position: absolute; width: 0; height: 0; }
.blip::before { content: ''; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); opacity: .3;
                animation: blip var(--t) linear var(--d) infinite; }
.blip::after { content: ''; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--brass); opacity: 0;
               animation: ping var(--t) ease-out var(--d) infinite; }
@keyframes blip { 0% { opacity: 1; box-shadow: 0 0 16px 3px var(--brass); } 38% { opacity: .35; box-shadow: 0 0 0 0 transparent; } 100% { opacity: .3; } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 24% { transform: scale(4.4); opacity: 0; } 100% { opacity: 0; } }
.blip em { position: absolute; left: 14px; top: 0; transform: translateY(-50%); white-space: nowrap; font: 700 .64rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase;
           font-style: normal; padding: 6px 9px; border-radius: 6px; background: var(--glass); color: var(--ink); box-shadow: 0 0 0 1px var(--line2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
           animation: tag var(--t) linear var(--d) infinite; opacity: .62; max-width: min(46vw, 250px); overflow: hidden; text-overflow: ellipsis; }
.blip.tag-l em { left: auto; right: 14px; }
@keyframes tag { 0% { opacity: 1; box-shadow: 0 0 0 1px var(--brass); } 45% { opacity: .62; box-shadow: 0 0 0 1px var(--line2); } 100% { opacity: .62; } }
.hud { position: absolute; font: 700 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hud-tl { left: 0; top: 2%; } .hud-tr { right: 0; top: 2%; } .hud-bl { left: 0; bottom: 2%; } .hud-br { right: 0; bottom: 2%; color: var(--brass-text); }
@media (max-width: 560px) { .blip:nth-child(3) em { display: none; } .hud { font-size: .56rem; letter-spacing: .1em; } }

/* ---------------------------------------------------------------- trust strip */
.trust { border-block: 1px solid var(--line); background: var(--bg2); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1px; background: var(--line); width: min(1240px, 100%); margin-inline: auto; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; background: var(--bg2); transition: background .8s; }
.trust-item i { font-size: 1.35rem; color: var(--brass-text); line-height: 1.2; }
.trust-item b { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 3px; }
.trust-item span { font-size: .8rem; color: var(--mut); line-height: 1.45; display: block; }

/* ---------------------------------------------------------------- cover cards */
.cover-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.cover { position: relative; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; display: flex; flex-direction: column;
         transition: box-shadow .5s, background .8s; }
.cover.is-armed { box-shadow: 0 0 0 1.5px var(--brass), 0 40px 80px -42px color-mix(in srgb, var(--brass) 65%, transparent); }
.cover-ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.cover-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease, transform 1.4s var(--ease), filter .7s; }
.cover-ph .img-armed { opacity: 0; filter: contrast(1.08) saturate(.8); }
.cover.is-armed .img-armed { opacity: 1; }
.cover.is-armed .img-plain { opacity: 0; }
.cover:hover .cover-ph img { transform: scale(1.04); }
.cover-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 32, .1) 40%, rgba(11, 18, 32, .75)); pointer-events: none; }
.cover-badge { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; font-size: .76rem; font-weight: 800;
               letter-spacing: .04em; background: rgba(11, 18, 32, .62); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .4s, color .4s; }
.cover.is-armed .cover-badge { background: var(--brass); color: var(--navy); }
.rifle-art { position: absolute; right: 18px; bottom: 16px; width: 46%; max-width: 250px; z-index: 2; fill: var(--brass); opacity: 0; transform: translateX(40px);
             transition: opacity .6s var(--ease), transform .7s var(--ease); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
.cover.is-armed .rifle-art { opacity: .95; transform: none; }
.cover-bd { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.cover-top { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.cover h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.cover-copy { color: var(--mut); line-height: 1.6; margin: 14px 0 16px; min-height: 3.2em; }
.cover-pts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.cover-pts li { display: flex; gap: 10px; font-size: .9rem; font-weight: 600; }
.cover-pts li::before { content: ''; width: 16px; height: 16px; flex: none; margin-top: 2px; border-radius: 50%; background: radial-gradient(circle, var(--brass) 0 2.5px, transparent 3px), var(--brass-soft);
                        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass) 55%, transparent); }
.cover-ft { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; margin-top: auto; }
.rate small { display: block; color: var(--mut); font-size: .76rem; line-height: 1.5; }
.rate b { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 600; line-height: 1.05; color: var(--ink); }
.cover.is-armed .rate b { color: var(--brass-text); }

/* ---------------------------------------------------------------- quick builder teaser */
.quick-sec { background: linear-gradient(180deg, transparent, var(--bg2) 30%, var(--bg2) 70%, transparent); }
.qb { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .qb { grid-template-columns: minmax(0, 1fr); } }
.qb-lede { margin: 16px 0 26px; line-height: 1.65; max-width: 480px; }
.qb-row { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.qb-row .ctl-l { width: 72px; }
.qb-card { border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.qb-est { padding: clamp(20px, 3vw, 30px); display: grid; gap: 8px; }
.qb-est > small { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.qb-num { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.qb-num b { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--brass-text); }
.qb-num span { color: var(--mut); font-weight: 600; }
.qb-break { font-size: .9rem; color: var(--mut); }
.qb-break b { color: var(--ink); }
.qb-est .btn { margin-top: 10px; }

/* ---------------------------------------------------------------- sites */
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); gap: 14px; }
.site { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 236px; padding: 22px; border-radius: var(--r); text-decoration: none; color: var(--ink);
        background: var(--card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s, background .8s; }
.site:hover, .site:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--brass), var(--shadow); }
.site.has-ph { color: #fff; }
.site img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.site:hover img { transform: scale(1.06); }
.site.has-ph::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 18, 32, .12), rgba(11, 18, 32, .9) 78%); }
.site-ic { position: absolute; top: 20px; left: 22px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brass-soft); color: var(--brass-text); font-size: 1.2rem; }
.site.has-ph .site-ic { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.site b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.site small { color: var(--mut); line-height: 1.5; font-size: .85rem; }
.site.has-ph small { color: rgba(255, 255, 255, .8); }
.site-go { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-text); margin-top: 6px; opacity: 0; transform: translateY(6px); transition: .3s var(--ease); }
.site.has-ph .site-go { color: var(--brass); }
.site:hover .site-go, .site:focus-visible .site-go { opacity: 1; transform: none; }
@media (hover: none) { .site-go { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- how it works + why */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.how-step { padding: 30px 26px 10px 0; border-top: 1px solid var(--line2); position: relative; }
.how-step::before { counter-increment: s; content: '0' counter(s); font: 700 .76rem var(--mono); color: var(--brass-text); letter-spacing: .12em; }
.how-step::after { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 5px var(--brass-soft); }
.how-step i { display: block; font-size: 1.7rem; margin: 18px 0 12px; color: var(--ink); }
.how-step h3 { font-size: 1.7rem; }
.how-step p { color: var(--mut); line-height: 1.6; font-size: .94rem; margin-top: 8px; }
.why { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } }
.why-ph { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; background: var(--navy-2); box-shadow: var(--shadow); }
@media (max-width: 860px) { .why-ph { aspect-ratio: 16 / 11; } }
.why-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.why-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 18, 32, .85)); }
.why-quote { position: absolute; left: 22px; right: 22px; bottom: 20px; margin: 0; z-index: 1; color: #fff; }
.why-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.why-quote cite { display: block; margin-top: 10px; font-style: normal; font: 700 .66rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.why-list { margin-top: 26px; }
.why-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.why-item > i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brass-soft); color: var(--brass-text); font-size: 1.2rem; }
.why-item h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.why-item p { color: var(--mut); line-height: 1.6; font-size: .93rem; margin-top: 5px; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line2); }
.faq details:first-child { border-top: 1px solid var(--line2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative; font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 600; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--brass-text); border-bottom: 1.5px solid var(--brass-text);
                      transform: translateY(-75%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--brass-text); }
.faq .ans { color: var(--mut); line-height: 1.72; padding: 0 52px 26px 0; max-width: 760px; }
.faq details[open] .ans { animation: swapIn .4s var(--ease); }

/* ---------------------------------------------------------------- show interest */
.interest-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
@media (max-width: 880px) { .interest-box { grid-template-columns: minmax(0, 1fr); } }
.int-side { position: relative; padding: clamp(26px, 4vw, 48px); color: #f1efe9; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
            background: var(--navy) center / cover no-repeat; isolation: isolate; }
.int-side::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 18, 32, .35), rgba(11, 18, 32, .94) 70%); }
.int-side .kick { color: var(--brass); }
.int-side h2 em { color: var(--brass); }
.int-side p { color: rgba(241, 239, 233, .82); line-height: 1.6; max-width: 420px; }
.int-side .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 880px) { .int-side { min-height: 320px; } }
.int-main { padding: clamp(22px, 4vw, 48px); }
.int-form, .apply-form { display: grid; gap: 18px; }
.int-form .chips { margin: 4px 0 4px; }
.done { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 14px; }
.done h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); outline: none; }
.done p { color: var(--mut); line-height: 1.65; max-width: 460px; }
.seal { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--navy); font-size: 2rem; box-shadow: 0 0 0 10px var(--brass-soft); animation: seal .7s var(--ease); flex: none; }
@keyframes seal { from { transform: scale(.4) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
.cta-col { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-col.center { justify-content: center; }

/* ---------------------------------------------------------------- footer (always night) */
.foot { background: #060a13; color: #c6ccd9; padding: clamp(56px, 7vw, 92px) 0 28px; position: relative; overflow: hidden; }
.foot .brand { color: #fff; }
.foot .brand-t small { color: #8b94a8; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 40px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }
.foot-brand p { margin: 18px 0 22px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; color: #e8e4d8; max-width: 360px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.foot h4 { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.foot a, .foot address, .foot .mut-s { display: block; color: #c6ccd9; text-decoration: none; font-size: .9rem; padding: 5px 0; font-style: normal; line-height: 1.55; overflow-wrap: anywhere; }
.foot .mut-s { color: #8b94a8; }
.foot a:hover { color: #fff; }
.foot a.btn { display: inline-flex; color: var(--navy); padding: 10px 18px; }
.foot-word { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3.2rem, 12.5vw, 11rem); line-height: .95; color: transparent;
             -webkit-text-stroke: 1px color-mix(in srgb, var(--brass) 42%, transparent); margin: 54px 0 14px; white-space: nowrap; overflow: hidden; user-select: none; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; font-size: .78rem; color: #8b94a8; }
.foot-legal a { display: inline; padding: 0; font-size: inherit; color: #c6ccd9; }

/* ---------------------------------------------------------------- inner page hero */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(26px, 4vw, 44px); position: relative; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1; margin: 16px 0 14px; }
.page-hero p { color: var(--mut); max-width: 660px; font-size: 1.05rem; line-height: 1.65; }

/* ---------------------------------------------------------------- team builder */
.bld { padding-bottom: clamp(72px, 8vw, 120px); }
.bld-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 1000px) { .bld-grid { grid-template-columns: minmax(0, 1fr); } }
.stage-card { border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.stage { position: relative; aspect-ratio: 960 / 330; min-height: 190px; overflow: hidden; background: #cfdbe6; }
.stage.mini { aspect-ratio: 16 / 8; min-height: 170px; }
@media (max-width: 640px) { .stage { aspect-ratio: 16 / 10; } .stage.mini { aspect-ratio: 16 / 10; } }
.stg-layer { position: absolute; inset: 0; }
.stg-layer svg { width: 100%; height: 100%; display: block; }
.stg-night { clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(.65, 0, .25, 1); }
.stage[data-mode="night"] .stg-night { clip-path: inset(0 0 0 0); }
.stage[data-mode="split"] .stg-night { clip-path: inset(0 0 0 50%); }
.stg-split { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s .3s; }
.stage[data-mode="split"] .stg-split { opacity: 1; }
.stg-split::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--brass) 18%, var(--brass) 82%, transparent); }
.stg-cap { position: absolute; top: 12px; font: 700 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.stg-cap.l { right: calc(50% + 10px); background: rgba(255, 255, 255, .78); color: #0b1220; }
.stg-cap.r { left: calc(50% + 10px); background: rgba(11, 18, 32, .72); color: #f1e6c2; }
@media (max-width: 520px) { .stg-cap { font-size: .54rem; padding: 5px 7px; } }
.stg-figs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fig { transition: transform .6s var(--ease); }
.fig-in { animation: figIn .6s var(--ease) both; }
.fig.leave .fig-in { animation: figOut .34s ease forwards; }
@keyframes figIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes figOut { to { opacity: 0; transform: translateY(20px); } }
.br { fill: var(--brass); }
.more-pill { fill: var(--brass); }
.more-t { fill: #0b1220; font: 800 14px var(--sans); }
.stg-stamp { position: absolute; right: 16px; bottom: 16px; padding: 9px 13px; border: 2px solid var(--brass); color: var(--brass); font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase;
             border-radius: 8px; transform: rotate(-5deg) scale(1.5); opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); background: rgba(11, 18, 32, .78); pointer-events: none; max-width: calc(100% - 32px); }
.stage.is-confirmed .stg-stamp { opacity: 1; transform: rotate(-5deg) scale(1); }
.stage-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 14px 20px; font-size: .84rem; color: var(--mut); border-top: 1px solid var(--line); }
.stage-legend span { display: inline-flex; gap: 6px; align-items: center; }
.stage-legend b { color: var(--ink); }
.stage-legend .lg-armed { color: var(--brass-text); font-weight: 700; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 26px 0 16px; }
.steps button { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; border-top: 2px solid var(--line2); padding: 12px 2px 0; color: var(--mut); font-weight: 700; font-size: .86rem; text-align: left; transition: color .3s, border-color .3s; }
.steps .n { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem var(--mono); box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s, color .3s; }
.steps [aria-current="step"] { color: var(--ink); border-top-color: var(--brass); }
.steps [aria-current="step"] .n { background: var(--brass); color: var(--navy); box-shadow: none; }
.steps .is-done { color: var(--ink); border-top-color: color-mix(in srgb, var(--brass) 50%, transparent); }
.steps .is-done .n { background: var(--brass-soft); color: var(--brass-text); }
@media (max-width: 620px) { .steps .t { display: none; } .steps [aria-current="step"] .t { display: inline; font-size: .8rem; line-height: 1.2; } }
.step { background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: clamp(18px, 3vw, 32px); animation: swapIn .45s var(--ease); }
.step-h { font-size: clamp(1.8rem, 3vw, 2.3rem); outline: none; margin: 0; }
.step-sub { color: var(--mut); margin: 8px 0 22px; line-height: 1.6; max-width: 640px; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap-reverse; }
@media (max-width: 480px) { .step-nav .btn { width: 100%; } .step-nav > span { display: none; } }
.presets { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.presets .ctl-l { margin-right: 4px; }
.lines { display: grid; gap: 14px; outline: none; }
.line { border-radius: var(--r); padding: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, background .8s; }
.line.is-armed { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brass) 70%, transparent); }
.line-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-height: 36px; }
.line-no { font: 700 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); white-space: nowrap; }
.line-desc { color: var(--mut); font-size: .86rem; flex: 1; min-width: 0; }
.line-bd { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: flex-end; }
.ctl { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 100%; }
.line-amt { margin-left: auto; text-align: right; }
.line-amt b { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.line-amt small { color: var(--mut); font-size: .76rem; }
@media (max-width: 600px) { .line-amt { margin-left: 0; text-align: left; } .line-bd { gap: 14px 16px; } .line { padding: 14px; } }
.add-line { width: 100%; margin-top: 14px; border: 1.5px dashed var(--line2); background: transparent; color: var(--ink); border-radius: var(--r); padding: 16px; font-weight: 800;
            display: flex; justify-content: center; align-items: center; gap: 10px; transition: border-color .2s, background .2s; }
.add-line:hover { border-color: var(--brass); background: var(--brass-soft); }
.add-line i { color: var(--brass-text); font-size: 1.1rem; }
.bld-aside { position: sticky; top: calc(var(--hdr-h) + 16px); }
@media (max-width: 1000px) { .bld-aside { position: static; } }
.summary { background: #0b1220; color: #eef0f4; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06); position: relative; overflow: hidden; scroll-margin-top: 90px; }
.summary::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--brass), transparent); }
.summary .kick { color: var(--brass); }
.sum-sent { display: inline-flex; gap: 8px; align-items: center; background: color-mix(in srgb, var(--ok) 22%, transparent); color: #9fe3c5; font-weight: 800; font-size: .8rem; padding: 7px 12px; border-radius: 999px; margin-bottom: 14px; }
.sum-hc { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 16px; }
.sum-hc b { font-family: var(--serif); font-size: 3.5rem; font-weight: 600; line-height: .9; color: var(--brass); }
.sum-hc span { color: #aeb6c8; font-weight: 600; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 14px; border-top: 1px dashed rgba(255, 255, 255, .15); }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); font-size: .88rem; }
.sum-lines li i { color: var(--brass); }
.sum-lines b { white-space: nowrap; }
.sum-lines small { color: #8b94a8; font-weight: 500; }
.sum-meta { font-size: .82rem; color: #aeb6c8; line-height: 1.6; margin-bottom: 12px; display: grid; gap: 3px; }
.sum-meta i { color: var(--brass); margin-right: 4px; }
.sum-money { margin: 0; }
.sum-money div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: .9rem; color: #cfd5e2; }
.sum-money dt, .sum-money dd { margin: 0; }
.sum-money .tot { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 8px; padding-top: 14px; font-weight: 800; color: #fff; align-items: baseline; }
.sum-money .tot dd { font-family: var(--serif); font-size: 2.1rem; color: var(--brass); font-weight: 600; line-height: 1; }
.summary .fine { color: #8b94a8; margin-top: 14px; }
.summary .fine i { color: var(--brass); }
.sum-trust { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 8px; font-size: .8rem; color: #aeb6c8; }
.sum-trust i { color: var(--brass); margin-right: 6px; }
.mbar { display: none; }
@media (max-width: 1000px) {
    .mbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 55; justify-content: space-between; align-items: center; gap: 12px; background: rgba(11, 18, 32, .94);
            -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #eef0f4; border-radius: 16px; padding: 10px 10px 10px 18px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
    .mbar b { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--brass); }
    .mbar small { color: #aeb6c8; font-size: .74rem; }
    body[data-page="book"] { padding-bottom: 86px; }
    body[data-page="book"] .toast { bottom: 100px; }
}
.rv { border-bottom: 1px solid var(--line); padding: 16px 0; }
.rv:first-child { padding-top: 0; }
.rv-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rv h3 { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text); }
.rv p { line-height: 1.6; margin-top: 8px; overflow-wrap: anywhere; }
.rv-list { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; }
.confirm { background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: clamp(22px, 4vw, 44px); margin-top: 22px; outline: none; animation: swapIn .5s var(--ease); }
.cf-hd { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cf-hd h2 { margin-top: 8px; font-size: clamp(2rem, 4vw, 3rem); outline: none; }
.cf-ref-l { margin-top: 28px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.cf-ref { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.ref-big { font: 700 clamp(1.6rem, 4.4vw, 2.4rem) var(--mono); letter-spacing: .04em; color: var(--brass-text); }
.next { list-style: none; counter-reset: n; padding: 0; display: grid; gap: 16px; margin: 26px 0 28px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; }
.next li::before { content: counter(n); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 .8rem var(--mono); box-shadow: inset 0 0 0 1px var(--brass); color: var(--brass-text); }
.next b { font-size: .98rem; }
.next span { color: var(--mut); font-size: .9rem; line-height: 1.55; }

/* ---------------------------------------------------------------- track */
.track-hero { overflow: hidden; isolation: isolate; padding-bottom: clamp(70px, 8vw, 120px); }
.track-bg { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; opacity: .16; filter: grayscale(1); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
html[data-watch="day"] .track-bg { opacity: .08; }
.track-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
@media (max-width: 920px) { .track-grid { grid-template-columns: minmax(0, 1fr); } }
.track-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; margin-top: 28px; align-items: start; max-width: 560px; }
.track-form .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 440px) { .track-form { grid-template-columns: minmax(0, 1fr); } .track-form .btn { justify-self: stretch; } }
.mono-inp { font-family: var(--mono); letter-spacing: .06em; }
.track-note { margin-top: 18px; }
.tk-card, .tk-empty { background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: clamp(20px, 3.4vw, 36px); animation: swapIn .45s var(--ease); }
.tk-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.tk-ref { font: 700 clamp(1.6rem, 3.6vw, 2.2rem) var(--mono); letter-spacing: .03em; margin-top: 8px; }
.st { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; background: var(--bg2); color: var(--ink); }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-new { background: var(--brass-soft); color: var(--brass-text); }
.st-confirmed { background: color-mix(in srgb, #4f7cff 16%, transparent); color: #7ea0ff; }
html[data-watch="day"] .st-confirmed { color: #2f56c9; }
.st-active { background: color-mix(in srgb, var(--ok) 18%, transparent); color: #3ccf92; }
html[data-watch="day"] .st-active { color: #13774f; }
.st-completed { color: var(--mut); }
.st-cancelled { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad-text); }
.tk-cancel { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--ink); line-height: 1.55; font-size: .92rem; }
.tk-cancel i { color: var(--bad-text); font-size: 1.2rem; }
.tk-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px 22px; margin: 20px 0 24px; padding: 18px 0; border-block: 1px solid var(--line); }
.tk-meta dt { font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--mut); }
.tk-meta dd { margin: 5px 0 0; font-weight: 600; line-height: 1.5; font-size: .93rem; }
.tl { list-style: none; padding: 0; margin: 0; }
.tl li { position: relative; padding: 0 0 26px 50px; min-height: 34px; }
.tl li::before { content: ''; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line2); }
.tl li:last-child { padding-bottom: 4px; }
.tl li:last-child::before { display: none; }
.tl li.done::before { background: var(--brass); }
.tl .dot { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); color: var(--mut); box-shadow: inset 0 0 0 1px var(--line2); font-size: .9rem; }
.tl .done .dot { background: var(--brass); color: var(--navy); box-shadow: none; }
.tl .current .dot { background: var(--card); color: var(--brass-text); box-shadow: inset 0 0 0 2px var(--brass); animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { box-shadow: inset 0 0 0 2px var(--brass), 0 0 0 0 color-mix(in srgb, var(--brass) 45%, transparent); } 80%, 100% { box-shadow: inset 0 0 0 2px var(--brass), 0 0 0 10px transparent; } }
.tl b { display: block; font-size: 1rem; padding-top: 5px; }
.tl b em { font-style: normal; font: 700 .62rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--brass); padding: 3px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.tl small { display: block; color: var(--mut); font-size: .87rem; line-height: 1.5; margin-top: 2px; }
.tl .todo b { color: var(--mut); }
.tl .void { opacity: .4; }
.tl .void b { text-decoration: line-through; text-decoration-color: var(--bad-text); }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--bg2); overflow: hidden; margin-top: 10px; max-width: 260px; box-shadow: inset 0 0 0 1px var(--line); }
.bar i { display: block; height: 100%; background: var(--brass); border-radius: 3px; transition: width .8s var(--ease); }
.tk-foot { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.tk-empty { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: clamp(32px, 5vw, 56px); }
.tk-empty h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 6px 0 0; }
.tk-empty p { color: var(--ink); line-height: 1.65; max-width: 440px; }
.tk-empty p.mut { color: var(--mut); }
.tk-empty a { color: var(--brass-text); font-weight: 700; }
.tk-radar { width: 132px; height: 132px; border-radius: 50%; position: relative; overflow: hidden; background: var(--radar-bg);
            box-shadow: 0 0 0 1px var(--radar-ring);
            background-image: repeating-radial-gradient(circle closest-side, transparent 0 32%, var(--radar-ring) 32% 33.5%); }
.tk-radar span { position: absolute; inset: 0; border-radius: 50%; animation: spin 6s linear infinite;
                 background: conic-gradient(from 0deg, transparent 0 260deg, color-mix(in srgb, var(--brass) 45%, transparent) 359deg, transparent 360deg); }
.tk-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: var(--brass-soft); color: var(--brass-text); }

/* ---------------------------------------------------------------- careers */
.car-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 10vw, 140px) 0 clamp(60px, 8vw, 110px); }
.car-ph { position: absolute; inset: 0; z-index: -2; background: center 35% / cover no-repeat; filter: saturate(.7); }
.car-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hero-veil); }
.car-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1; margin: 18px 0; max-width: 820px; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.benefit { background: var(--card); padding: 28px 24px; transition: background .8s; }
.benefit i { font-size: 1.5rem; color: var(--brass-text); }
.benefit h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; margin: 14px 0 6px; letter-spacing: 0; line-height: 1.3; }
.benefit p { color: var(--mut); font-size: .9rem; line-height: 1.6; }
.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.role-card { background: var(--card); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 0 0 1px var(--line); transition: background .8s; }
.role-card.armed { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--brass) 65%, transparent); }
.role-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brass-soft); color: var(--brass-text); font-size: 1.3rem; }
.role-card h3 { font-size: 1.9rem; margin: 16px 0 8px; }
.role-card p { color: var(--mut); line-height: 1.6; font-size: .93rem; }
.role-card ul { margin: 14px 0 0; padding-left: 18px; line-height: 1.8; font-size: .9rem; }
.role-card li::marker { color: var(--brass-text); }
.apply-sec { background: linear-gradient(180deg, transparent, var(--bg2) 25%); }
.apply-box { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
@media (max-width: 900px) { .apply-box { grid-template-columns: minmax(0, 1fr); } }
.apply-side p { margin-top: 16px; line-height: 1.65; }
.apply-ph { margin-top: 28px; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--navy-2) center / cover no-repeat; filter: grayscale(.4); box-shadow: var(--shadow); }
@media (max-width: 900px) { .apply-ph { display: none; } }
.apply-main { background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: clamp(20px, 3.4vw, 40px); }

/* ---------------------------------------------------------------- toast, reveal, motion */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600;
         font-size: .9rem; z-index: 90; transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .sweep { animation: none !important; transform: rotate(52deg); }
    .spin-slow, .tk-radar span { animation: none !important; }
    .blip::before { animation: none !important; opacity: .85; }
    .blip::after { display: none; }
    .blip em { animation: none !important; opacity: 1; }
    .live-dot { animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
