/* ============================================================
   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; } }

#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; }

@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);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 9px;
}
.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); }

.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; }

/* ============ 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;
}

/* 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;
}

/* ============ 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;
}

/* ============ 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 0 14px; }

.catalog__filter-toggle { display: none; }

/* product grid */
.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; }
.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); }

/* 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; }
.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__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); }

.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__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; }
.ctable__price { font-weight: 700; font-size: 1.02rem; }
.ctable__ships { display: block; font-size: 0.78rem; color: var(--faint); margin-top: 3px; }
.ctable__stale { display: block; font-size: 0.72rem; color: var(--amber); margin-top: 3px; font-style: italic; }
.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 {
    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; }

.compare__hint { font-size: 0.78rem; color: var(--faint); margin: 12px 0 0; }

/* 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; }
}
