/* Ten-Eight Operations - the whole look.
   The photographs are not here; they are data URIs in images.js. */

/* ==========================================================================
   Ten-Eight Operations
   ==========================================================================

   A shop, with the product explained properly above the shelf.

   The imagery is real: every face on this page is a booking photograph the
   product generated, out of the ped library the terminal shows against a
   record. Nothing here is stock, and nothing is an invented screenshot - a
   product shot that is not the product is a lie, and a store full of them is
   the reason nobody trusts script stores.
   ========================================================================== */

:root {
    /* Duty navy. The greys are biased blue so no surface reads as a generic
       dark theme, and red appears only where a light bar would. */
    --bg:      #070b12;
    --raise:   #0e1522;
    --card:    #121a29;
    --card-hi: #1a2436;

    --line:    #1e2a3d;
    --line-hi: #2e3d55;

    --text:  #e7ecf4;
    --dim:   #97a3b6;
    --faint: #62708a;

    --accent:      #4da2ff;
    --accent-deep: #1a5ed0;
    --accent-wash: rgba(77, 162, 255, 0.12);

    --red:      #e5384c;
    --red-deep: #9e1226;

    --gold: #f0b94a;
    --ok:   #3fbf7f;

    --display: 'Archivo', system-ui, sans-serif;
    --body:    'Public Sans', system-ui, -apple-system, sans-serif;
    --mono:    'IBM Plex Mono', ui-monospace, Consolas, monospace;

    --gutter: clamp(16px, 3.5vw, 48px);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 15.5px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:where(a, button, input):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.shell { max-width: 1300px; margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 14px;
}

h2.sec {
    font-family: var(--display);
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.08;
    text-wrap: balance;
    margin: 0 0 14px;
}

.sec-lede { max-width: 62ch; color: var(--dim); margin: 0 0 30px; }

/* ---------------------------------------------------------------- header */

.top {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 60;
    background: rgba(7, 11, 18, 0.9);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid var(--line);
}

.top-in { display: flex; align-items: center; gap: 18px; height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.brand-mark {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(24, 111, 230, 0.24));
}

.brand-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-family: var(--display);
    line-height: 1;
}

.brand-name strong {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: #f3f7fc;
}

.brand-name span {
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: #72B7FF;
}

nav.cats { display: flex; gap: 2px; margin-left: 12px; overflow-x: auto; scrollbar-width: none; }
nav.cats::-webkit-scrollbar { display: none; }

nav.cats button, .navlink {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--dim);
    font-family: var(--body);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.14s ease, color 0.14s ease;
}

nav.cats button:hover, .navlink:hover { background: var(--raise); color: var(--text); }
nav.cats button.on { background: var(--accent-wash); color: var(--accent); }

.top-right { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 12px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: var(--raise);
    color: var(--dim);
    font-family: var(--mono);
    font-size: 11.5px;
}

/* --------------------------------------------------------------- lightbar */

.ticker {
    position: relative;
    background: #060c17;
    color: #dfeaf9;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.ticker::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg,
        var(--accent-deep) 0 60px, #060c17 60px 68px,
        var(--red-deep) 68px 128px, #060c17 128px 136px);
    opacity: 0.45;
    animation: bar 3.6s linear infinite;
}

@keyframes bar { from { background-position: 0 0; } to { background-position: 272px 0; } }

.ticker-run {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 46px;
    padding: 9px 0;
    width: max-content;
    font-family: var(--display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    animation: run 36s linear infinite;
}

.ticker-run span { display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; }
.ticker-run span::after { content: '\2605'; color: rgba(255, 255, 255, 0.45); }

@keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }

/* The wall: real booking photographs, tiled and pushed back so the headline
   sits in front of them. */
/* The plate behind the headline. Anchored right so the car sits clear of the
   copy, and scaled to cover at any shape of viewport. */
#wall {
    position: absolute;
    inset: 0;
    background-image: var(--hero-art);
    background-size: cover;
    background-position: 74% 42%;
    filter: saturate(1.05) contrast(1.04);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(5, 8, 14, 0.97) 0%, rgba(5, 8, 14, 0.9) 34%,
                                rgba(5, 8, 14, 0.5) 62%, rgba(5, 8, 14, 0.2) 100%),
        linear-gradient(0deg, var(--bg) 1%, transparent 34%);
    pointer-events: none;
}

.hero-in { position: relative; z-index: 2; padding-block: clamp(64px, 10vw, 132px); }

.hero h1 {
    font-family: var(--display);
    font-size: clamp(38px, 6.6vw, 72px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
    margin: 0 0 20px;
    max-width: 17ch;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    text-shadow: 0 0 44px rgba(77, 162, 255, 0.4);
}

.hero-lede {
    max-width: 56ch;
    font-size: clamp(16px, 1.6vw, 18px);
    color: #c3cdde;
    margin: 0 0 28px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 34px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid var(--line-hi);
    border-radius: 9px;
    background: rgba(18, 26, 41, 0.8);
    color: var(--text);
    font-family: var(--body);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.btn:hover { background: var(--card-hi); border-color: var(--faint); }
.btn:active { transform: translateY(1px); }

.btn.go {
    border-color: transparent;
    background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: #041021;
    box-shadow: 0 10px 30px -12px rgba(77, 162, 255, 0.7);
}

.btn.go:hover { filter: brightness(1.09); }

.btn[disabled] {
    background: transparent;
    border-style: dashed;
    color: var(--faint);
    cursor: not-allowed;
    box-shadow: none;
}

.btn[disabled]:hover { background: transparent; border-color: var(--line); }

/* Three facts, on the hero, in mono. */
.facts { display: flex; flex-wrap: wrap; gap: 10px 30px; }

.fact { display: flex; flex-direction: column; }

.fact b {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.fact span {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--faint);
}

/* -------------------------------------------------------------- the stop */

section { padding-block: clamp(46px, 6.5vw, 86px); }
section + section { border-top: 1px solid var(--line); }

.lane {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    counter-reset: beat;
}

.beat {
    counter-increment: beat;
    position: relative;
    padding: 20px 20px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(170deg, var(--card) 0%, var(--raise) 100%);
}

.beat::before {
    content: counter(beat, decimal-leading-zero);
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 9px;
}

.beat h3 {
    margin: 0 0 7px;
    font-family: var(--display);
    font-size: 18.5px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.beat p { margin: 0; color: var(--dim); font-size: 14.2px; }

.beat p em { font-style: normal; color: var(--text); }

/* ------------------------------------------------------------- the systems */

.systems { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.sys {
    padding: 22px 22px 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}

.sys .ico {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    margin-bottom: 13px;
    background: var(--accent-wash);
    border: 1px solid rgba(77, 162, 255, 0.28);
    font-size: 18px;
}

.sys h3 {
    margin: 0 0 8px;
    font-family: var(--display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.sys p { margin: 0 0 12px; color: var(--dim); font-size: 14.2px; }

.sys ul { margin: 0; padding-left: 17px; color: var(--dim); font-size: 13.6px; }
.sys ul li { margin-bottom: 3px; }
.sys ul li b { color: var(--text); font-weight: 600; }

/* The roadmap. Deliberately not a product card: no plate, no price, no button,
   because none of it can be bought and a card that looks buyable and is not is
   worse than no card. */
.road { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.road-item {
    display: flex;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
}

.road-item .tag {
    flex: 0 0 auto;
    align-self: flex-start;
    font: 600 10.5px/1 ui-monospace, Consolas, monospace;
    letter-spacing: 0.08em;
    padding: 5px 7px;
    border-radius: 5px;
    color: #fff;
}

.road-item h3 { margin: 0 0 4px; font-size: 14.6px; letter-spacing: -0.01em; }
.road-item p { margin: 0; color: var(--dim); font-size: 13.2px; line-height: 1.5; }

@media (max-width: 560px) { .road-item { padding: 12px; } }


/* ------------------------------------------------------------------ band */

.band {
    position: relative;
    min-height: clamp(280px, 38vw, 460px);
    display: grid;
    align-items: end;
    background-image: var(--band-art);
    background-size: cover;
    background-position: 50% 44%;
    border-block: 1px solid var(--line);
}

.band::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 8, 14, 0.96) 0%, rgba(5, 8, 14, 0.45) 46%, rgba(5, 8, 14, 0.15) 100%);
}

.band-in { position: relative; z-index: 2; padding-block: clamp(30px, 4vw, 52px); }

.band p {
    margin: 0;
    max-width: 24ch;
    font-family: var(--display);
    font-size: clamp(24px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.band p em { font-style: normal; color: var(--accent); }

.band span {
    display: block;
    margin-top: 12px;
    max-width: 52ch;
    font-family: var(--body);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: #c2ccdc;
}

/* The catalog header, on the third plate. */
.cat-art {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
    min-height: clamp(150px, 20vw, 240px);
    display: grid;
    align-items: end;
    background-image: var(--cat-art);
    background-size: cover;
    background-position: 50% 50%;
    border: 1px solid var(--line);
}

.cat-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 8, 14, 0.94) 0%, rgba(5, 8, 14, 0.3) 70%, rgba(5, 8, 14, 0.12) 100%);
}

.cat-art div { position: relative; z-index: 2; padding: 20px 22px; }

.cat-art b {
    display: block;
    font-family: var(--display);
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cat-art span { font-size: 14px; color: #c2ccdc; }

/* --------------------------------------------------------------- catalog */

.toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.search { position: relative; flex: 1 1 250px; max-width: 400px; }

.search input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--raise);
    color: var(--text);
    font-family: var(--body);
    font-size: 14.5px;
}

.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--accent); background: var(--card); }

.search svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--faint);
    fill: none;
    stroke-width: 2;
    pointer-events: none;
}

.count { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--faint); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

.card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    border-color: var(--accent-deep);
    transform: translateY(-4px);
    box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.95),
                0 0 0 1px rgba(77, 162, 255, 0.2);
}

.cover {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    display: grid;
    place-items: center;
    background: var(--plate, linear-gradient(145deg, #1a2740 0%, #0d1524 100%));
    overflow: hidden;
}

/* A strip of the library, run behind the plate. Real faces again. */
.cover .strip {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0.26;
    filter: grayscale(0.6);
}

.cover .strip img { flex: 1 1 0; height: 100%; object-fit: cover; min-width: 0; }

/* Reflective chevrons, the striping on a response vehicle. */
.cover .chev {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(118deg,
        rgba(255, 255, 255, 0.08) 0 16px, rgba(255, 255, 255, 0) 16px 48px);
    mask-image: linear-gradient(205deg, #000 0%, transparent 60%);
}

.cover .mark {
    position: relative;
    z-index: 2;
    font-family: var(--display);
    font-size: clamp(26px, 4.2vw, 40px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    padding-inline: 14px;
    text-align: center;
    text-shadow: 0 3px 26px rgba(0, 0, 0, 0.75);
}

.cover img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* Light-bar hairline along the bottom edge of every cover. */
.cover .bar {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0 34%, var(--red) 34% 66%, var(--accent) 66% 100%);
}

.badge {
    position: absolute;
    z-index: 3;
    top: 11px;
    left: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: var(--display);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(4, 9, 17, 0.78);
    color: #fff;
    backdrop-filter: blur(5px);
}

.badge.core { background: rgba(77, 162, 255, 0.92); color: #041021; }
.badge.soon { background: rgba(229, 56, 76, 0.9); color: #fff; }

.body { display: flex; flex-direction: column; gap: 11px; padding: 17px 18px 18px; flex: 1; }

.card h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 19.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.card p { margin: 0; color: var(--dim); font-size: 13.8px; line-height: 1.5; }

.tags { display: flex; flex-wrap: wrap; gap: 5px; }

.tag {
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--raise);
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--faint);
    white-space: nowrap;
}

.buy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.price {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.price small {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--faint);
}

.buy .btn { margin-left: auto; padding: 10px 17px; font-size: 13.5px; }

.card.dim { opacity: 0.6; }
.card.dim:hover { transform: none; }

.empty {
    padding: 46px 20px;
    text-align: center;
    color: var(--faint);
    border: 1px dashed var(--line-hi);
    border-radius: 12px;
}

/* ------------------------------------------------------------- requirements */

.strip-req {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.strip-req div { padding: 17px 19px; background: var(--card); }

.strip-req dt {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 5px;
}

.strip-req dd { margin: 0; font-size: 14px; }
.strip-req dd em { font-style: normal; color: var(--dim); }

/* ----------------------------------------------------------------- footer */

footer {
    border-top: 1px solid var(--line);
    padding-block: 26px 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    align-items: center;
    font-size: 13.5px;
    color: var(--faint);
}

footer a:hover { color: var(--accent); }
footer .right { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }

.setup {
    margin-top: 30px;
    padding: 16px 18px;
    border: 1px solid rgba(240, 185, 74, 0.32);
    border-radius: 12px;
    background: rgba(240, 185, 74, 0.06);
}

.setup b {
    display: block;
    font-family: var(--display);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
}

.setup p { margin: 0; font-size: 13.8px; color: var(--dim); max-width: 78ch; }

.setup code {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text);
    background: var(--raise);
    padding: 1px 6px;
    border-radius: 5px;
}

@media (max-width: 780px) {
    .top-in { height: auto; padding-block: 12px; flex-wrap: wrap; }
    .top-right { display: none; }
    nav.cats { order: 3; width: 100%; margin-left: 0; }
    #wall { background-position: 66% 40%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ===========================================================================
   The store page, below the hero
   =========================================================================== */

/* What it runs on. The hero says "0 framework lock-in"; this is the band that
   makes that checkable, which is the difference between a claim and a fact. */
.compat {
    border-bottom: 1px solid var(--line);
    background: var(--raise);
}

.compat .in {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 15px var(--gutter);
    max-width: 1300px;
    margin: 0 auto;
}

.compat .lab {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
}

.compat .fw {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text);
    border: 1px solid var(--line-hi);
    border-radius: 999px;
    padding: 4px 11px;
    white-space: nowrap;
}

.compat .fw.none { color: var(--dim); border-style: dashed; }

.compat .dep {
    margin-left: auto;
    font-size: 13px;
    color: var(--dim);
}

.compat .dep b { color: var(--accent); font-family: var(--mono); font-size: 12.5px; }

@media (max-width: 900px) {
    .compat .dep { margin-left: 0; flex-basis: 100%; }
}

/* The comparison. Two columns, and the left one is deliberately drab. */
.vs {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--raise);
}

.vs-head, .vs-row {
    display: grid;
    grid-template-columns: minmax(104px, 0.5fr) 1fr 1fr;
}

.vs-head {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.vs-head div {
    padding: 13px 16px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
}

.vs-head .them { color: var(--dim); }

.vs-head .us {
    color: var(--accent);
    background: var(--accent-wash);
    border-left: 1px solid var(--line);
}

.vs-row { border-top: 1px solid var(--line); }
.vs-row:first-of-type { border-top: 0; }

.vs-row > div { padding: 15px 16px; font-size: 14px; line-height: 1.5; }

.vs-row .what {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    align-self: center;
}

.vs-row .them { color: var(--dim); }

.vs-row .us {
    color: var(--text);
    background: rgba(77, 162, 255, 0.05);
    border-left: 1px solid var(--line);
}

.vs-row .us b { color: var(--accent); font-weight: 600; }

@media (max-width: 760px) {
    .vs-head { display: none; }
    .vs-row { grid-template-columns: 1fr; }
    .vs-row .what {
        padding-bottom: 0;
        color: var(--text);
        font-size: 12px;
    }
    .vs-row .them { padding-top: 7px; }

    /* The column headings went away with the header row, so each cell has to
       say which side it is on. */
    .vs-row .them::before,
    .vs-row .us::before {
        display: block;
        font-family: var(--mono);
        font-size: 9.5px;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .vs-row .them::before { content: 'Most police scripts'; color: var(--faint); }
    .vs-row .us::before { content: '10-8'; color: var(--accent); }
    .vs-row .us { border-left: 0; border-top: 1px solid var(--line); }
}

/* Questions, answered. <details> so it still opens with the script switched
   off, and so the browser handles the keyboard for us. */
.qa { display: grid; gap: 9px; }

.qa details {
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--raise);
    overflow: hidden;
}

.qa details[open] { border-color: var(--line-hi); }

.qa summary {
    padding: 15px 17px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14.6px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 11px;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
    content: '+';
    margin-left: auto;
    font-family: var(--mono);
    font-size: 17px;
    color: var(--faint);
    line-height: 1;
}

.qa details[open] summary::after { content: '\2212'; color: var(--accent); }
.qa summary:hover { background: var(--card); }
.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.qa p {
    margin: 0;
    padding: 0 17px 16px;
    color: var(--dim);
    font-size: 14px;
    line-height: 1.62;
    max-width: 72ch;
}

.qa code {
    font-family: var(--mono);
    font-size: 12.6px;
    color: var(--text);
    background: var(--card);
    padding: 1px 5px;
    border-radius: 4px;
}

/* The bar that follows you down. */
.buybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    transform: translateY(105%);
    transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
    border-top: 1px solid var(--line-hi);
    background: rgba(9, 14, 23, 0.94);
    backdrop-filter: blur(9px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.buybar.up { transform: none; }

.buybar .in {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px var(--gutter);
    max-width: 1300px;
    margin: 0 auto;
}

.buybar b {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.buybar .said {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
}

.buybar .btn { margin-left: auto; flex: 0 0 auto; }

@media (max-width: 620px) {
    .buybar .said { display: none; }
    .buybar .in { padding: 9px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .buybar { transition: none; }
}

/* The buy bar floats over the bottom of the page; the footer needs to clear it
   rather than ending underneath. */
.buybar ~ footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

/* ===========================================================================
   Storefront refresh
   A simpler sales page with a stable header and quieter motion.
   =========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { overflow-x: hidden; }

.top {
    position: sticky;
    top: 0;
    isolation: isolate;
    contain: layout paint;
    background: #070b12;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.top-in { height: 70px; gap: 24px; }
.top-right { flex-wrap: nowrap; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 8px;
    background: var(--accent);
    color: #041021;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.nav-cta:hover { background: #74b7ff; }

.hero-v2 { min-height: min(790px, calc(100svh - 70px)); display: grid; align-items: center; }
.hero-v2 #wall { background-position: center; filter: saturate(0.95) contrast(1.08); }
.hero-v2::after {
    background:
        linear-gradient(90deg, rgba(5, 8, 14, 0.98) 0%, rgba(5, 8, 14, 0.91) 34%, rgba(5, 8, 14, 0.38) 66%, rgba(5, 8, 14, 0.08) 100%),
        linear-gradient(0deg, rgba(7, 11, 18, 0.82) 0%, transparent 38%);
}

.hero-v2 .hero-in { width: 100%; padding-block: clamp(76px, 11vw, 142px); }
.hero-v2 h1 { max-width: 12ch; font-size: clamp(48px, 7vw, 82px); line-height: 0.94; margin-bottom: 24px; }
.hero-v2 .hero-lede { max-width: 49ch; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; }
.hero-v2 .hero-cta { margin-bottom: 38px; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof span {
    display: inline-flex;
    gap: 5px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(4, 9, 17, 0.55);
    color: var(--dim);
    font-size: 12px;
    backdrop-filter: blur(6px);
}
.hero-proof b { color: var(--text); }

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: end;
    gap: 40px;
    margin-bottom: 34px;
}
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading .sec { margin-bottom: 0; }
.section-heading .sec-lede { margin: 0 0 2px; }

.value-section { padding-top: clamp(64px, 8vw, 104px); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-card {
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(155deg, var(--card) 0%, #0a101a 100%);
}
.value-num { font-family: var(--mono); color: var(--accent); font-size: 11px; letter-spacing: 0.18em; }
.value-card h3 { margin: 50px 0 9px; font-family: var(--display); font-size: 21px; line-height: 1.15; }
.value-card p { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.6; }

.catalog-v2 { max-width: 1300px; }
.toolbar-v2 { align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--raise); }
.toolbar-v2 nav.cats { margin: 0; flex: 1 1 auto; }
.toolbar-v2 .search { max-width: 250px; }
.toolbar-v2 .count { min-width: 95px; text-align: right; }
.catalog-v2 .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-v2 .card { border-radius: 14px; overflow: hidden; }
.catalog-v2 .cover { aspect-ratio: 3 / 2; }
.catalog-v2 .cover img.shot { filter: saturate(0.92) contrast(1.05); transition: transform 0.35s ease; }
.catalog-v2 .card:hover .cover img.shot { transform: scale(1.025); }
.catalog-v2 .body { padding: 22px; }
.catalog-v2 .body > p { min-height: auto; }

.simple-proof {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: clamp(40px, 8vw, 110px);
    align-items: center;
}
.proof-copy > p:not(.eyebrow) { max-width: 54ch; color: var(--dim); }
.text-link { display: inline-flex; gap: 9px; margin-top: 12px; color: var(--accent); font-weight: 700; }
.proof-list { border-top: 1px solid var(--line-hi); }
.proof-list div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.proof-list b { font-family: var(--display); font-size: 15px; }
.proof-list span { color: var(--dim); font-size: 14px; }

.faq-v2 .qa { max-width: 900px; }

@media (max-width: 900px) {
    .section-heading, .simple-proof { grid-template-columns: 1fr; gap: 16px; }
    .value-grid { grid-template-columns: 1fr; }
    .value-card { min-height: auto; }
    .value-card h3 { margin-top: 26px; }
}

@media (max-width: 780px) {
    html { scroll-padding-top: 64px; }
    .top-in { height: 64px; padding-block: 0; flex-wrap: nowrap; }
    .top-right { display: flex; }
    .top-right .navlink { display: none; }
    .brand-mark { width: 42px; height: 42px; }
    .brand-name strong { font-size: 14px; letter-spacing: 0.045em; }
    .brand-name span { font-size: 6.8px; letter-spacing: 0.25em; }
    .nav-cta { min-height: 34px; padding-inline: 11px; font-size: 11.5px; }
    .hero-v2 { min-height: 690px; }
    .hero-v2 #wall { background-position: 84% center; }
    .hero-v2::after {
        background:
            linear-gradient(90deg, rgba(5, 8, 14, 0.96) 0%, rgba(5, 8, 14, 0.78) 58%, rgba(5, 8, 14, 0.20) 100%),
            linear-gradient(0deg, rgba(7, 11, 18, 0.78) 0%, transparent 48%);
    }
    .hero-v2 h1 { font-size: clamp(44px, 13vw, 64px); }
    .catalog-v2 .grid { grid-template-columns: 1fr; }
    .toolbar-v2 { align-items: stretch; }
    .toolbar-v2 nav.cats { order: 1; width: 100%; }
    .toolbar-v2 .search { order: 2; max-width: none; }
    .toolbar-v2 .count { order: 3; min-width: 0; text-align: left; }
    .proof-list div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 480px) {
    .hero-v2 .hero-in { padding-block: 74px 58px; }
    .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-proof span:last-child { grid-column: 1 / -1; width: max-content; }
}
