/* ============================================================
   DroidHunt — design system
   Dark telemetry aesthetic: deep-space navy, signal cyan,
   monospace data chrome, instrument-grade motion.
   ============================================================ */

:root {
    /* palette */
    --bg: #050810;
    --bg-2: #080d18;
    --panel: #0c1220;
    --panel-2: #111a2b;
    --line: #1a2540;
    --line-soft: rgba(34, 211, 238, 0.10);

    --cyan: #22d3ee;
    --cyan-dim: #0e7490;
    --mint: #34d399;
    --amber: #fbbf24;
    --red: #f87171;

    --ink: #eef4fa;
    --muted: #9db0c4;
    --faint: #5b6b80;

    --paper: #f6f9fb;
    --paper-ink: #0b1e3a;

    /* type */
    --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

    /* rhythm */
    --maxw: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;

    --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* faint global scanline texture */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 60;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0 2px,
        rgba(255, 255, 255, 0.012) 2px 3px
    );
}

::selection { background: rgba(34, 211, 238, 0.28); color: #fff; }

a { color: var(--cyan); text-decoration: none; }

img { max-width: 100%; display: block; }

/* thin themed scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dim); }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ============ boot splash ============ */
.boot {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 42%, rgba(34, 211, 238, 0.07), transparent 70%),
        var(--bg);
}
.boot__scope {
    position: relative;
    width: 80px;
    height: 80px;
    color: var(--cyan);
}
.boot__cross { width: 100%; height: 100%; }
.boot__sweep {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(34, 211, 238, 0.5), transparent 24%);
    animation: sweep 1.6s linear infinite;
}
.boot__label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.28em;
    color: var(--muted);
    margin: 0;
}
.boot__dots i {
    font-style: normal;
    animation: dotblink 1.4s infinite;
}
.boot__dots i:nth-child(2) { animation-delay: 0.25s; }
.boot__dots i:nth-child(3) { animation-delay: 0.5s; }
@keyframes dotblink { 0%, 100% { opacity: 0.15; } 40% { opacity: 1; } }
.boot__about {
    max-width: 520px;
    padding: 0 24px;
    text-align: center;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}
.boot__about h1 { margin: 0 0 8px; font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; color: inherit; }
.boot__about p { margin: 0 0 10px; }
/* SEO-7 (#63): the static digest a news page's shell carries until the app replaces it. */
.boot__article { max-width: 760px; text-align: left; font-family: inherit; font-size: 15px; }
.boot__article h1 { font-size: 22px; letter-spacing: -0.01em; text-transform: none; }
.boot__article h2 { margin: 22px 0 6px; font-size: 17px; }
.boot__article ul { padding-left: 18px; }
.boot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.boot__links a { color: var(--cyan); text-decoration: none; }
.boot__links a:hover { text-decoration: underline; }

#blazor-error-ui {
    background: #2a0f14;
    color: #fecaca;
    border-top: 2px solid var(--red);
    bottom: 0;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-family: var(--mono);
    font-size: 13px;
}
#blazor-error-ui .reload { color: #fff; margin: 0 1em; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 1rem; }

/* ============ layout shell ============ */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ============ header ============ */
.site-head {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    background: rgba(5, 8, 16, 0.78);
    border-bottom: 1px solid var(--line);
}
.site-head__row {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}
.site-head__logo {
    display: flex;
    align-items: center;
    line-height: 0;
}
.site-head__logo img { height: 34px; width: auto; }
.site-head__nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
}
.site-head__nav a {
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.15s ease;
    position: relative;
}
.site-head__nav a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s var(--ease-standard);
}
.site-head__nav a:hover { color: var(--ink); }
.site-head__nav a:hover::before { transform: scaleX(1); }

/* ============ buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 13px 24px;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.3s ease, background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.btn .btn__arrow { transition: transform 0.18s var(--ease-standard); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
    background: var(--cyan);
    color: #04222b;
    animation: cta-breathe 3.4s ease-in-out infinite;
}
.btn--primary:hover {
    background: #67e8f9;
    transform: translateY(-1px);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--cyan-dim); color: var(--cyan); }
.btn--sm { padding: 9px 18px; font-size: 12px; }

/* ============ display currency picker (header) — ALG-1 ============ */
.ccy { display: inline-flex; align-items: center; margin-left: auto; }
.site-head__nav + .ccy { margin-left: 0; }
.ccy__select {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--muted);
    padding: 7px 8px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.ccy__select:hover { color: var(--ink); }
.ccy__select:focus { outline: none; border-color: var(--cyan-dim); color: var(--ink); }

@keyframes cta-breathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
    50% { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0.14); }
}

/* ============ ticker ============ */
.ticker {
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    overflow: hidden;
    position: relative;
}
.ticker::before,
.ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 52s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--muted);
    white-space: nowrap;
    border-right: 1px solid var(--line);
}
.ticker__item b { color: var(--ink); font-weight: 600; }
.ticker__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
}
.ticker__tag--drop { color: #04220f; background: var(--mint); }
.ticker__tag--stock { color: #04222b; background: var(--cyan); }
.ticker__tag--wait { color: #2a1a02; background: var(--amber); }
.ticker__tag--news { color: #04222b; background: var(--cyan); }
.ticker__news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-family: var(--mono);
    letter-spacing: inherit;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.ticker__news:hover { color: var(--ink); }
.ticker__date { font-weight: 700; color: var(--ink); }
.ticker__link {
    color: var(--cyan);
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.ticker__news:hover .ticker__link { border-color: var(--cyan); }

/* ============ news / daily wire ============ */
.news__status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--r-md);
    padding: 26px 28px;
}
.news__status--empty { color: var(--faint); }
.news__sweep {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid var(--cyan-dim);
    border-top-color: var(--cyan);
    animation: sweep 1s linear infinite;
}

.news__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; scroll-margin-top: 88px; }
.news__date-nav { display: inline-flex; align-items: center; gap: 14px; }
.news__date {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    min-width: 230px;
    text-align: center;
}
.news__nav-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.news__nav-btn:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.news__nav-btn:disabled { opacity: 0.35; cursor: default; }
.news__day-loading {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--faint);
    animation: pulse-dot 1.4s infinite;
}

.news__title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.news__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.015em; }
.news__count {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--faint);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 12px;
}

.news__highlights {
    list-style: none;
    margin: 0 0 34px;
    padding: 18px 22px;
    border-left: 3px solid var(--cyan);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    background: var(--panel);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news__highlights li { color: var(--muted); font-size: 15px; }
.news__highlights li::before {
    content: "▸ ";
    color: var(--cyan);
    font-weight: 700;
}

.news__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.ncard {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--panel);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-margin-top: 96px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-reveal);
}
.ncard:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 18px 44px -22px rgba(34, 211, 238, 0.22);
    transform: translateY(-3px);
}
.ncard:target { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 18px 44px -22px rgba(34, 211, 238, 0.35); }
.ncard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ncard__idx {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--cyan);
}
.ncard__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ncard__tag {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 9px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.ncard__tag:hover, .ncard__tag--active { border-color: var(--cyan); color: var(--cyan); }
.ncard__date {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--cyan);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.ncard__date:hover { text-decoration: underline; text-underline-offset: 3px; }
.ncard__headline { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.ncard__summary { margin: 0; color: var(--muted); font-size: 14.5px; }
.ncard__why {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
    border-left: 2px solid var(--amber);
    padding-left: 12px;
}
.ncard__why b { color: var(--amber); font-weight: 600; }
.ncard__sources {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-top: auto;
}
.ncard__source {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--faint);
    transition: color 0.2s ease;
}
.ncard__source:hover { color: var(--cyan); }

/* WEB-9 (#340): What's new (/updates) and the hero's latest-update pill */
.updates__list { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 860px; }
.updates__list .ncard { scroll-margin-top: 96px; }
.updates__kind { cursor: default; }
.updates__kind:hover { border-color: var(--line); color: var(--muted); }
.updates__link { font-family: var(--mono); font-size: 12.5px; color: var(--cyan); }
.updates__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero__new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 5px 14px 5px 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    font-size: 13.5px;
    color: var(--muted);
    max-width: 100%;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.hero__new b {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--cyan);
    border-radius: 999px;
    padding: 3px 9px;
}
.hero__new:hover { border-color: var(--cyan); color: var(--ink); }
.site-head__nav .site-head__wide { display: none; }
@media (min-width: 1240px) { .site-head__nav .site-head__wide { display: inline; } }

/* SEO-7 (#63): permalinks, product links and the per-day news pages (/news, /news/{date}/) */
.news__permalink {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.news__permalink:hover, a.ncard__idx:hover { text-decoration: underline; text-underline-offset: 3px; }
a.ncard__tag { text-decoration: none; }
.news__product { color: var(--ink); border-bottom: 1px dashed var(--cyan-dim); }
.news__product:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.newsday { padding-top: clamp(28px, 4vw, 48px); }
.newsday__digest, .newsday__lead { max-width: 860px; }
.newsday__date {
    margin: 0 0 8px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}
.newsday__title { margin: 0 0 22px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.newsday__lead { color: var(--muted); margin: 0 0 30px; }
.newsday .news__items { grid-template-columns: 1fr; }
.newsday__month {
    margin: 28px 0 12px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
}
.newsday__days { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.newsday__pager {
    margin-top: 34px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.news__watch {
    margin-top: 30px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--panel);
    padding: 18px 22px;
}
.news__watch-label {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--amber);
    white-space: nowrap;
    padding-top: 3px;
}
.news__watch ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.news__watch li { color: var(--muted); font-size: 14px; }
.news__watch li::before { content: "◎ "; color: var(--amber); }

.news__archive {
    margin-top: 26px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.news__day {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--muted);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.news__day:hover:not(:disabled):not(.news__day--active) { border-color: var(--cyan); color: var(--cyan); }
.news__day--active {
    color: #04222b;
    background: var(--cyan);
    border-color: var(--cyan);
    font-weight: 700;
    cursor: default;
}
.news__day:disabled:not(.news__day--active) { opacity: 0.5; cursor: wait; }
.news__month { display: inline-flex; align-items: center; gap: 10px; margin-right: 6px; }
.news__month-label,
.news__tags-label {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--faint);
}
.news__month-select {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    max-width: 100%;
}
.news__month-select:focus { outline: none; border-color: var(--cyan-dim); }

/* news: search + tag list (WEB-8) */
.news__finder { display: flex; flex-direction: column; gap: 16px; margin-bottom: 34px; }
.news__search { max-width: 640px; }
.news__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.news__tags-label { margin-right: 4px; }
.news__tagchip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.04em;
    color: var(--muted);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.news__tagchip:hover:not(.news__tagchip--active) { border-color: var(--cyan); color: var(--cyan); }
.news__tagchip--active { color: #04222b; background: var(--cyan); border-color: var(--cyan); font-weight: 700; }
.news__tagchip-count { font-size: 10px; opacity: 0.65; }
.news__tags-more {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--cyan);
    background: none;
    border: 0;
    padding: 5px 6px;
    cursor: pointer;
}
.news__tags-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.news__results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    scroll-margin-top: 88px;
}
.news__results-summary {
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--muted);
}
.news__back {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--cyan);
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
}
.news__back:hover { border-color: var(--cyan); }
.news__more { display: flex; justify-content: center; margin-top: 26px; }

/* ============ hero ============ */
.hero {
    position: relative;
    padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 128px);
    overflow: hidden;
}
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 30%, transparent 75%);
    animation: grid-pan 38s linear infinite;
    pointer-events: none;
}
@keyframes grid-pan { to { background-position: 64px 64px; } }

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin: 0 0 22px;
}
.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
    50% { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0); }
}

.hero h1 {
    font-size: clamp(40px, 5.4vw, 68px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.028em;
    margin: 0 0 24px;
    max-width: 14ch;
}
.hero h1 .h1-accent {
    color: transparent;
    background: linear-gradient(100deg, var(--cyan) 10%, #7ef3ff 55%, var(--mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero__sub {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--muted);
    max-width: 46ch;
    margin: 0 0 36px;
}
.hero__sub b { color: var(--ink); font-weight: 600; }

/* waitlist form */
.waitlist { max-width: 520px; }
.waitlist__row {
    display: flex;
    gap: 10px;
}
.waitlist__input {
    flex: 1;
    min-width: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 14px;
    padding: 13px 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.waitlist__input::placeholder { color: var(--faint); }
.waitlist__input:focus {
    outline: none;
    border-color: var(--cyan-dim);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}
.waitlist__note {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.05em;
    color: var(--faint);
    margin: 12px 0 0;
}
.waitlist__ok {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: var(--r-sm);
    padding: 14px 18px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--mint);
}
.waitlist__err {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--red);
    margin: 10px 0 0;
}
/* COST-5 (#48): the Turnstile widget; empty until the site key is configured. */
.waitlist__turnstile { margin: 12px 0 0; min-height: 0; }
.waitlist__turnstile:empty { display: none; }

/* hero visual: framed scope panel with light illustration */
.hero__visual { position: relative; }
.scope {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--paper);
    overflow: hidden;
    animation: float-y 7s ease-in-out infinite;
    box-shadow:
        0 30px 80px -30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(34, 211, 238, 0.06),
        0 0 60px -18px rgba(34, 211, 238, 0.25);
}
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.scope img { width: 100%; height: auto; }
.scope__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 9px 14px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--faint);
    text-transform: uppercase;
}
.scope__bar i {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--line);
}
.scope__bar i:first-child { background: var(--red); opacity: .7; }
.scope__bar i:nth-child(2) { background: var(--amber); opacity: .7; }
.scope__bar i:nth-child(3) { background: var(--mint); opacity: .7; }
.scope__bar span { margin-left: auto; color: var(--cyan); }
.scope__sweep {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(34, 211, 238, 0.10) 48%, rgba(34, 211, 238, 0.35) 50%, rgba(34, 211, 238, 0.10) 52%, transparent 100%);
    background-size: 100% 300%;
    animation: scanline 4.2s linear infinite;
    mix-blend-mode: multiply;
}
@keyframes scanline {
    0% { background-position: 0 -150%; }
    100% { background-position: 0 150%; }
}

/* floating telemetry chips over the hero visual */
.tele {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(12, 18, 32, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 9px 14px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.05em;
    color: var(--muted);
    box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.7);
    animation: float-y 6s ease-in-out infinite;
}
.tele b { color: var(--ink); font-weight: 600; }
.tele--a { top: 8%; left: -4%; animation-delay: 0.8s; }
.tele--b { bottom: 10%; right: -3%; animation-delay: 1.6s; }
.tele__dot { width: 7px; height: 7px; border-radius: 50%; }
.tele__dot--mint { background: var(--mint); animation: pulse-dot 1.5s infinite; }
.tele__dot--amber { background: var(--amber); animation: pulse-dot 1.9s infinite; }

/* ============ stat strip ============ */
.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}
.stats__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat {
    padding: 30px 28px;
    border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__value {
    font-family: var(--mono);
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: -0.02em;
}
.stat__value small { font-size: 0.55em; color: var(--cyan-dim); font-weight: 600; }
.stat__label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-top: 6px;
}

/* ============ price moves (GRO-2, #72) ============ */
.moves { border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.moves__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.moves__title { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.moves__sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.moves__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 32px; }
.moves__label { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.moves__list { list-style: none; margin: 0; padding: 0; }
.move { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.move .ticker__tag { min-width: 58px; text-align: center; }
.move__body { min-width: 0; display: flex; flex-direction: column; }
.move__name { color: var(--ink); font-weight: 600; font-size: 0.9rem; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.move__name:hover { color: var(--cyan); }
.move__detail { font-size: 0.76rem; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.move__price { font-family: var(--mono); font-size: 0.8rem; text-align: right; white-space: nowrap; }
.move__price s { display: block; color: var(--faint); font-size: 0.72rem; }
.move__price b { color: var(--mint); }

/* ============ sections ============ */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.sec-head__marker {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.sec-head__marker::after {
    content: "";
    height: 1px;
    width: 64px;
    background: linear-gradient(90deg, var(--cyan-dim), transparent);
}
.sec-head h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 20ch;
}
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; max-width: 56ch; }

/* ============ feature cards ============ */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.fcard {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--panel);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s var(--ease-reveal), border-color 0.25s ease, box-shadow 0.25s ease;
}
.fcard:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 24px 60px -24px rgba(34, 211, 238, 0.25);
}
.fcard__img {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.fcard__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-reveal);
}
.fcard:hover .fcard__img img { transform: scale(1.04); }
.fcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fcard__idx {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--cyan);
}
.fcard h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.fcard p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.fcard__meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--faint);
    text-transform: uppercase;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fcard__meta::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--mint);
    animation: pulse-dot 1.8s infinite;
}

/* ============ market section ============ */
.market {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
}
.market__copy p { color: var(--muted); margin: 0 0 18px; }
.market__copy p b { color: var(--ink); }
.market__legend {
    display: flex;
    gap: 22px;
    margin-top: 26px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    color: var(--muted);
    flex-wrap: wrap;
}
.market__legend span { display: inline-flex; align-items: center; gap: 8px; }
.market__legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.chart {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--panel);
    padding: 26px 26px 18px;
}
.chart__title {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.chart__title b { color: var(--cyan); font-weight: 600; }
.bars { display: flex; flex-direction: column; gap: 13px; }
.bar-row {
    display: grid;
    grid-template-columns: 168px 1fr 74px;
    align-items: center;
    gap: 14px;
}
.bar-row__name {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--muted);
    text-align: right;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bar-row__track {
    height: 22px;
    background: rgba(26, 37, 64, 0.5);
    border-radius: 4px;
    overflow: hidden;
}
.bar-row__fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    transition: width 1.1s var(--ease-reveal);
}
.bar-row__fill--y2025 { background: linear-gradient(90deg, #0e7490, var(--cyan)); }
.bar-row__fill--y2035 { background: linear-gradient(90deg, #1e3a5f, #3b82f6); }
.bar-row__fill--y2050 { background: linear-gradient(90deg, #92600a, var(--amber)); }
.bar-row__val {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}
.chart__foot {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: var(--faint);
    line-height: 1.7;
}

/* ============ steps ============ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.step {
    padding: 34px 30px 38px;
    background: var(--panel);
    border-right: 1px solid var(--line);
    position: relative;
}
.step:last-child { border-right: 0; }
.step__num {
    font-family: var(--mono);
    font-size: 44px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--cyan-dim);
    line-height: 1;
    display: block;
    margin-bottom: 20px;
}
.step h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ============ CTA / waitlist section ============ */
.cta {
    position: relative;
    text-align: center;
    padding: clamp(88px, 11vw, 150px) 0;
    overflow: hidden;
}
.cta__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 72%);
    animation: grid-pan 38s linear infinite;
    pointer-events: none;
}
.cta__inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta h2 {
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0 0 18px;
}
.cta h2 .h1-accent {
    color: transparent;
    background: linear-gradient(100deg, var(--cyan), var(--mint));
    -webkit-background-clip: text;
    background-clip: text;
}
.cta p { color: var(--muted); font-size: 17px; margin: 0 0 36px; }
.cta .waitlist { margin: 0 auto; }

/* ============ footer ============ */
.site-foot {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding: 48px 0 36px;
}
.site-foot__row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}
.site-foot__brand { max-width: 340px; }
.site-foot__brand .site-head__logo { margin-bottom: 16px; }
.site-foot__brand p {
    color: var(--faint);
    font-size: 13px;
    margin: 0;
    line-height: 1.7;
}
.site-foot__col { margin-left: auto; }
.site-foot__col h4 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--faint);
    margin: 0 0 14px;
}
.site-foot__col a {
    display: block;
    color: var(--muted);
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.15s ease;
}
.site-foot__col a:hover { color: var(--cyan); }
.site-foot__legal {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--faint);
}
.site-foot__disclosure {
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--faint);
    line-height: 1.7;
    max-width: 72ch;
}
.site-foot__disclosure a { color: var(--muted); text-decoration: underline; }

/* ============ legal and docs pages (/privacy, /terms, /connect) ============ */
.legal { max-width: 72ch; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.legal__meta { color: var(--faint); font-size: 0.85rem; margin: 0 0 28px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 8px; }
.legal h3 { font-size: 0.95rem; margin: 18px 0 4px; color: var(--ink); }
.legal p { color: var(--muted); line-height: 1.75; margin: 0 0 12px; }
.legal a { color: var(--ink); text-decoration: underline; }
.legal ul, .legal ol { color: var(--muted); line-height: 1.75; margin: 0 0 12px; padding-left: 1.4em; }
.legal li { margin: 0 0 4px; }
.legal code { font-family: var(--mono); font-size: 0.88em; color: var(--ink); }
.legal pre {
    font-family: var(--mono); font-size: 0.85rem; color: var(--cyan);
    background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
    padding: 12px 14px; margin: 0 0 12px; overflow-x: auto; white-space: pre;
}
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 0.9rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 600; }
.legal td { color: var(--muted); }
.legal__lead { display: flex; gap: 16px; align-items: center; margin: 0 0 28px; }
.legal__lead img { border-radius: 14px; flex: none; }
.legal__lead .legal__meta { margin: 0; }

/* ============ static drone pages (DRN-14, #238: scripts/generate-drone-pages.py) ============ */
.seo { max-width: 980px; padding-top: 32px; padding-bottom: 72px; }
.seo h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.seo h2 { font-size: 1.15rem; margin: 32px 0 8px; }
.seo p, .seo ul { color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.seo ul { padding-left: 1.4em; }
.seo b { color: var(--ink); }
.seo__crumbs { font-family: var(--mono); font-size: 12px; color: var(--faint); margin: 0 0 18px; }
.seo__note { font-size: 0.85rem; color: var(--faint); }
.seo .boot__links { justify-content: flex-start; }
/* The offers table of a product page's boot splash, and the tables of the plain pages. */
.seo-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 0.9rem; }
.seo-table th, .seo-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.seo-table thead th { color: var(--faint); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.seo-table td { color: var(--muted); }
.seo-table tbody th { color: var(--ink); font-weight: 600; }
.seo-table--compare td, .seo-table--compare thead th { width: 38%; }
@media (max-width: 640px) {
    .seo-table { display: block; overflow-x: auto; }
}

/* ============ report pages (WEB-10 (#409): scripts/generate-report-pages.py) ============ */
.seo ol { color: var(--muted); line-height: 1.7; margin: 0 0 12px; padding-left: 1.4em; }
.seo ol li { margin-bottom: 8px; }
.seo .report__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin: 0 0 6px; }
.seo .report__subtitle { font-size: 1.1rem; color: var(--ink); margin: 0 0 16px; }
.seo .report__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }

/* ============ reveal system (progressive enhancement) ============ */
/* Elements are visible by default; JS "arms" them for animation. If the
   observer never fires, content still shows. */
[data-reveal].reveal-armed {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.6s var(--ease-reveal),
        transform 0.6s var(--ease-reveal);
    transition-delay: calc(var(--i, 0) * 80ms);
}
[data-reveal].reveal-armed[data-revealed] {
    opacity: 1;
    transform: none;
}
/* bar charts animate only once revealed */
.reveal-armed:not([data-revealed]) .bar-row__fill { width: 0 !important; }

/* Blazor focuses h1 on navigation — suppress the resulting outline */
h1:focus-visible { outline: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    [data-reveal].reveal-armed { opacity: 1; transform: none; }
}

/* ============ responsive ============ */
@media (max-width: 1020px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { max-width: 640px; }
    .tele--a { left: 2%; }
    .tele--b { right: 2%; }
    .features { grid-template-columns: 1fr 1fr; }
    .market { grid-template-columns: 1fr; }
    .stats__row { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
    .news__items { grid-template-columns: 1fr; }
    .news__date { min-width: 0; }
}
@media (max-width: 720px) {
    .site-head__nav { display: none; }
    .features { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .step { border-right: 0; border-bottom: 1px solid var(--line); }
    .step:last-child { border-bottom: 0; }
    .waitlist__row { flex-direction: column; }
    .bar-row { grid-template-columns: 108px 1fr 62px; gap: 10px; }
    .bar-row__name { font-size: 10px; }
    .stats__row { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--line); }
    .stat:last-child { border-bottom: 0; }
    .news__watch { flex-direction: column; gap: 10px; }
    .news__date { font-size: 11px; letter-spacing: 0.08em; }
}

/* ============ cookie consent banner ============ */
.consent {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 72rem;
    margin-inline: auto;
    padding: 1rem 1.25rem;
    background: var(--panel, rgba(13, 20, 28, 0.96));
    border: 1px solid var(--line, rgba(148, 184, 220, 0.18));
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.consent__text {
    flex: 1 1 24rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text, #dbe6f2);
}

.consent__actions {
    display: flex;
    gap: 0.6rem;
    flex: 0 0 auto;
}

.btn--ghost {
    background: transparent;
    border: 1px solid var(--line, rgba(148, 184, 220, 0.25));
    color: var(--text-dim, #9fb2c8);
}

/* ============ catalog: search, grid, cards ============ */
.catalog { padding: 40px 0 80px; }
.catalog__head { margin-bottom: 28px; }
.catalog__head h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.catalog__sub { color: var(--muted); margin: 0 0 20px; max-width: 60ch; }

.catalog__search {
    position: relative;
    max-width: 560px;
}
.catalog__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--faint);
    pointer-events: none;
}
.catalog__search-input {
    width: 100%;
    padding: 12px 40px 12px 42px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    color: var(--ink);
    font: inherit;
}
.catalog__search-input::placeholder { color: var(--faint); }
.catalog__search-input:focus { outline: none; border-color: var(--cyan-dim); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12); }
.catalog__search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
}

.catalog__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}
/* The aside is sticky, but its content can be far taller than the viewport —
   cap its height and scroll internally so every filter stays reachable. */
.catalog__aside {
    position: sticky;
    top: 84px;
    align-self: start;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.catalog__aside::-webkit-scrollbar { width: 8px; }
.catalog__aside::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.catalog__count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--faint); margin: 0; }
.catalog__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.catalog__sort { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--faint); }
.catalog__sort select {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    padding: 6px 10px;
    font: inherit;
    font-family: inherit;
    letter-spacing: normal;
    font-size: 0.86rem;
}
.catalog__sort select:focus { outline: none; border-color: var(--cyan-dim); }

.catalog__filter-toggle { display: none; }

/* product grid */
/* GRO-5 (#75): the card and its Compare toggle, which may not sit inside the card's link */
.pcard-wrap { position: relative; display: flex; }
.pcard-wrap > .pcard { flex: 1; }
.cmp-toggle {
    font: inherit;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--muted);
    cursor: pointer;
}
.cmp-toggle:hover:not(:disabled) { color: var(--ink); border-color: var(--cyan-dim); }
.cmp-toggle[aria-pressed="true"] { color: #04222b; background: var(--cyan); border-color: var(--cyan); }
.cmp-toggle:disabled { opacity: 0.5; cursor: not-allowed; }
.cmp-toggle--card { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(10, 14, 20, 0.78); backdrop-filter: blur(4px); }

/* GRO-5 (#75): the compare tray and page */
.ctray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--panel-2); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, 0.6); }
.ctray__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.ctray__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.ctray__items { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.ctray__item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; max-width: 220px; }
.ctray__item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctray__x, .ctray__clear, .cmp__remove { font: inherit; background: none; border: 0; color: var(--faint); cursor: pointer; padding: 0 4px; }
.ctray__x:hover, .ctray__clear:hover, .cmp__remove:hover { color: var(--ink); }
.ctray__hint { font-size: 0.8rem; color: var(--faint); }
.cmp { padding-top: 32px; padding-bottom: 96px; }
.cmp__title { margin: 4px 0 20px; }
.cmp__tools { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.cmp__diff { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.cmp__note { font-size: 0.86rem; color: var(--amber); }
.cmp__table th[scope="row"] { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.cmp__table td { vertical-align: top; }
.cmp__head { vertical-align: top !important; text-transform: none !important; letter-spacing: normal !important; font-family: inherit !important; color: var(--ink) !important; min-width: 180px; }
.cmp__head img { display: block; width: 120px; height: 90px; object-fit: contain; margin-bottom: 8px; background: var(--bg-2); border-radius: var(--r-sm); }
.cmp__mfr { display: block; font-size: 11px; color: var(--faint); font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.cmp__name { display: block; font-size: 0.98rem; font-weight: 700; color: var(--ink); margin: 2px 0 8px; }
.cmp__variant { display: block; margin-bottom: 6px; max-width: 100%; }
.cmp__row--differs td { color: var(--ink); }
.cmp__none { color: var(--faint); font-size: 0.86rem; }

.pgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.pcard {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    color: inherit;
    transition: border-color 0.18s var(--ease-standard), transform 0.18s var(--ease-standard), box-shadow 0.18s var(--ease-standard);
}
.pcard:hover {
    border-color: var(--cyan-dim);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -24px rgba(34, 211, 238, 0.25);
}
.pcard__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bg-2);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
/* DRN-8 (#232): drone badges under the product name. */
.pcard__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }

.pcard__cat {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(5, 8, 16, 0.82);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 3px 8px;
    border-radius: 999px;
    max-width: calc(100% - 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__mfr { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.pcard__name { margin: 0; font-size: 1rem; line-height: 1.35; letter-spacing: -0.01em; }
.pcard__row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.pcard__from { font-weight: 700; color: var(--mint); }
.pcard__priceless { color: var(--muted); font-weight: 500; }
.pcard__ships { font-size: 0.78rem; color: var(--amber); }
.pcard__shops { font-size: 0.78rem; color: var(--faint); }
.pcard__row--foot { justify-content: space-between; align-items: center; margin-top: 0; padding-top: 0; }

/* skeletons */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--panel-2);
    border-radius: var(--r-sm);
}
.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.skeleton--media { aspect-ratio: 4 / 3; border-radius: 0; }
.skeleton--line { height: 12px; margin: 6px 0; }
.pcard--skeleton { pointer-events: none; }
.pcard--skeleton .pcard__body { gap: 2px; }

/* filters */
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filters__title { margin: 0; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--mono); color: var(--muted); }
.filters__clear { background: none; border: 0; color: var(--cyan); font-size: 0.82rem; cursor: pointer; padding: 0; }

.fgroup { border-bottom: 1px solid var(--line); padding: 12px 0; }
.fgroup--bare { border-bottom: 0; }
.fgroup__head {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fgroup__head::after { content: "+"; font-family: var(--mono); color: var(--faint); }
.fgroup[open] .fgroup__head::after { content: "\2212"; }
.fgroup__head::-webkit-details-marker { display: none; }
.fgroup__body { padding: 10px 0 2px; display: flex; flex-direction: column; gap: 6px; }
.fgroup__scroll { max-height: 220px; overflow-y: auto; }

.fcheck { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.fcheck:hover { color: var(--ink); }
.fcheck--child { margin-left: 22px; font-size: 0.84rem; }
.fcheck input[type="checkbox"] { accent-color: var(--cyan); width: 15px; height: 15px; flex: none; }

.fprice { display: flex; align-items: center; gap: 8px; }
.fprice__input {
    width: 100%;
    min-width: 0;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    padding: 8px 10px;
    font: inherit;
    font-size: 0.86rem;
}
.fprice__input:focus { outline: none; border-color: var(--cyan-dim); }
.fprice__dash { color: var(--faint); }

/* empty state */
.empty {
    border: 1px dashed var(--line);
    border-radius: var(--r-lg);
    padding: 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.empty--page { margin: 60px 0; }
.empty__title { margin: 0; font-size: 1.15rem; font-weight: 700; }
.empty__sub { margin: 0 0 12px; color: var(--muted); }

/* btn ghost */
.btn--ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
}
.btn--ghost:hover { border-color: var(--cyan-dim); }

/* mobile filter sheet */
.sheet__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 10, 0.7);
    z-index: 80;
}
.sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--panel);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
}
.sheet__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.sheet__title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.sheet__close { background: none; border: 0; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px 18px; }
.sheet__foot {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
}
.sheet__foot .btn { flex: 1; }

/* catalog CTA on landing */
.catalog-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.catalog-cta__hint { color: var(--faint); font-size: 0.86rem; max-width: 44ch; }

/* ============ product detail ============ */
.pdetail { padding: 32px 0 80px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs__sep { color: var(--line); }
.crumbs__here { color: var(--muted); }

.pdetail__mfr { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 0 0 4px; }
.pdetail__name { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; }
.pdetail__tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.views { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--faint); white-space: nowrap; }
.views svg { width: 15px; height: 15px; }
.tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 3px 9px;
    border-radius: 999px;
}
.tag--status { color: var(--amber); border-color: rgba(251, 191, 36, 0.4); }

.pdetail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    margin: 26px 0 40px;
    align-items: start;
}
.pdetail__gallery-skeleton { aspect-ratio: 4 / 3; }
.pdetail__hero {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-2);
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.pdetail__hero img { width: 100%; height: 100%; object-fit: cover; }
.pdetail__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdetail__thumb {
    width: 72px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--bg-2);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s, border-color 0.15s;
}
.pdetail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdetail__thumb--active { border-color: var(--cyan-dim); opacity: 1; }

.pdetail__desc { color: var(--muted); margin: 0 0 18px; }
.pdetail__bundle { margin: 0 0 14px; }
.pdetail__bundle-title { margin: 0 0 4px; }
.pdetail__bundle-sum { margin: 0; color: var(--muted); }
.pdetail__fits { margin: 0 0 14px; color: var(--muted); }
.pdetail__related { margin: 32px 0 0; }
.pdetail__related-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pdetail__related-note { margin-left: 8px; color: var(--muted); font-size: 0.85em; }

/* FEAT-10 (#341): product comments, collapsed by default. */
.comments { margin: 32px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.comments__toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
    background: none; border: 0; padding: 0; color: var(--ink); font: inherit; cursor: pointer; text-align: left;
}
.comments__toggle:focus-visible { outline: 2px solid var(--cyan-dim); outline-offset: 4px; border-radius: var(--r-sm); }
.comments__chevron { font-family: var(--mono); font-size: 1.3rem; color: var(--muted); }
.comments__body { margin-top: 16px; display: grid; gap: 18px; max-width: 760px; }
.comments__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comment { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; }
.comment__meta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; font-size: 0.85rem; }
.comment__meta time { color: var(--faint); font-family: var(--mono); font-size: 0.78rem; }
.comment__body { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--ink); }
.comment__report {
    margin-left: auto; background: none; border: 0; padding: 0; color: var(--faint); font: inherit; font-size: 0.78rem;
    cursor: pointer; text-decoration: underline;
}
.comment__report:hover { color: var(--red); }
.comment__reported { margin-left: auto; color: var(--faint); font-size: 0.78rem; }
.comments__empty { margin: 0; color: var(--muted); }
.comments__form { display: grid; gap: 8px; }
.comments__label { font-size: 0.85rem; color: var(--muted); }
.comments__label span { color: var(--faint); }
.comments__text { resize: vertical; min-height: 96px; font-family: var(--sans); line-height: 1.5; }
.comments__name { max-width: 320px; }
.comments__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.comments__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.comments__note { margin: 0; color: var(--faint); font-size: 0.8rem; flex: 1; min-width: 220px; }
.comments__note a { color: var(--muted); }
.pdetail__successor { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
.pdetail__summary { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pdetail__from { font-size: 1.3rem; font-weight: 800; color: var(--mint); }
.pdetail__shops { color: var(--faint); font-size: 0.85rem; }

.specs { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.specs__row:last-child { border-bottom: 0; }
.specs__row dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 0; }
.specs__row dd { margin: 0; font-size: 0.88rem; text-align: right; }

/* comparison table */
.compare__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.compare__title { margin: 0; font-size: 1.2rem; letter-spacing: -0.01em; }
.compare__variants { display: flex; gap: 8px; flex-wrap: wrap; }
.vtab {
    font: inherit;
    font-size: 0.84rem;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.vtab:hover { color: var(--ink); border-color: var(--cyan-dim); }
.vtab--active { background: rgba(34, 211, 238, 0.1); border-color: var(--cyan-dim); color: var(--ink); }
.vtab__tag { margin-left: 6px; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); }

.ctable-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; min-width: 720px; }
.ctable th, .ctable td { padding: 14px 16px; text-align: left; vertical-align: middle; }
.ctable thead th {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.ctable tbody tr { border-bottom: 1px solid var(--line); }
.ctable tbody tr:last-child { border-bottom: 0; }
.ctable tbody tr { transition: background 0.15s; }

.ctable__row--best { background: rgba(52, 211, 153, 0.06); box-shadow: inset 3px 0 0 var(--mint); }
.ctable__row--dim { opacity: 0.55; }
.ctable__row--pick:not(.ctable__row--best) { box-shadow: inset 3px 0 0 var(--cyan); }

/* ALG-3 (#28): sort control and the "why recommended" line; ALG-2 (#27): the destination picker */
.compare__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 12px; }
.compare__dest { display: inline-flex; align-items: center; gap: 8px; }
.compare__sort { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ctable__landed { cursor: help; position: relative; border-bottom: 1px dotted var(--faint); }
.ctable .ctable__landed:hover::after, .ctable .ctable__landed:focus::after { white-space: pre-line; font-weight: 400; }
.compare__sort-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.vtab--sm { padding: 5px 12px; font-size: 0.8rem; }
.compare__why { margin: 0 0 12px; font-size: 0.88rem; color: var(--muted); }
.compare__why strong { color: var(--ink); font-weight: 600; }

.ctable__shop { font-weight: 600; }
.ctable__ccy {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--faint);
    padding: 1px 5px;
    margin-left: 8px;
}
.ctable__was { color: var(--faint); text-decoration: line-through; margin-left: 8px; font-size: 0.86rem; }
/* ALG-1: the shop's own figure under a price converted to the visitor's currency */
.ctable__orig { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); white-space: nowrap; }
.ctable__price { font-weight: 700; font-size: 1.02rem; }
.ctable__ships { display: block; font-size: 0.78rem; color: var(--faint); margin-top: 3px; }
/* COR-5 (#23): a dispatch country or delivery window that is the shop's default, not the listing's own. */
.est { margin-left: 3px; font-size: 0.85em; font-style: italic; text-decoration: none; cursor: help; opacity: 0.85; }
.ctable__stale { display: block; font-size: 0.72rem; color: var(--amber); margin-top: 3px; font-style: italic; }
.ctable__seller { display: block; font-size: 0.78rem; color: var(--faint); margin-top: 3px; }
.ctable__badge { margin: 6px 6px 0 0; padding: 2px 7px; font-size: 9px; }
.ctable__note {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    color: var(--amber);
    cursor: help;
    position: relative;
    vertical-align: middle;
}
.ctable__note svg { width: 15px; height: 15px; }
.ctable__note:hover::after,
.ctable__note:focus::after,
.ctable__landed:hover::after,
.ctable__landed:focus::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 300px;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 8px 12px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--ink);
    white-space: normal;
    z-index: 20;
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
}
.ctable__cta { text-align: right; }

/* availability chips */
.chip {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    white-space: nowrap;
}
.chip--ok { color: var(--mint); border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.08); }
.chip--amber { color: var(--amber); border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.08); }
.chip--off { color: var(--faint); }
.chip--quote { color: var(--muted); text-transform: none; letter-spacing: 0.02em; }
.chip--pick { color: var(--cyan); border-color: rgba(34, 211, 238, 0.45); background: rgba(34, 211, 238, 0.08); }

.compare__hint { font-size: 0.78rem; color: var(--faint); margin: 12px 0 0; }
.compare__disclosure { font-size: 0.8rem; color: var(--muted); margin: 0 0 12px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* price history chart */
.phist-wrap { margin-top: 16px; }
.phist { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); padding: 18px; }
.phist__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.phist__ranges, .phist__shops { display: flex; gap: 8px; flex-wrap: wrap; }
.phist__shops .vtab { display: inline-flex; align-items: center; gap: 7px; }
.phist__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.phist__ccy {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    color: var(--faint);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 4px;
}
.phist__body { min-height: 120px; }
.phist__body--loading { display: grid; gap: 12px; padding: 8px 0; }
.phist__body--note { display: flex; align-items: center; gap: 14px; padding: 14px 0 6px; }
.phist__note { color: var(--muted); margin: 0; font-size: 0.88rem; }
.phist__canvas { position: relative; height: 320px; }
.phist__hint { font-size: 0.78rem; color: var(--faint); margin: 12px 0 0; }

.phist-toggle { display: inline-flex; align-items: center; gap: 7px; }
.phist-toggle__icon { width: 14px; height: 14px; transition: transform 0.2s var(--ease-standard); }
.phist-toggle--open .phist-toggle__icon { transform: rotate(180deg); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ============ catalog responsive ============ */
@media (max-width: 1020px) {
    .catalog__layout { grid-template-columns: 1fr; }
    .catalog__aside { display: none; }
    .catalog__filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 18px;
        position: relative;
    }
    .catalog__filter-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--cyan);
    }
    .pdetail__layout { grid-template-columns: 1fr; }
    .compare__head { flex-direction: column; align-items: flex-start; }
    .phist__toolbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .pgrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .ctable, .ctable thead, .ctable tbody, .ctable tr, .ctable td { display: block; min-width: 0; }
    .ctable { min-width: 0; }
    .ctable thead { display: none; }
    .ctable tbody tr { border: 1px solid var(--line); border-radius: var(--r-md); margin: 12px; padding: 6px 0; }
    .ctable tbody td { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 0; padding: 8px 14px; }
    .ctable tbody td::before {
        content: attr(data-label);
        font-family: var(--mono);
        font-size: 10px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--faint);
    }
    .ctable__cta { justify-content: flex-end; }
    .ctable__cta::before { display: none; }
    .ctable__row--best { box-shadow: inset 3px 0 0 var(--mint); }
    .phist { padding: 14px; }
    .phist__canvas { height: 240px; }
}

/* DRN-18 (#412): the drone home page's category tiles (dronepricehunt.com). */
.dcats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.dcat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    color: var(--ink);
    transition: border-color .15s ease, transform .15s ease;
}
.dcat:hover { border-color: var(--cyan); transform: translateY(-2px); }
.dcat__name { font-weight: 700; font-size: 17px; }
.dcat__count { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .04em; }
