:root {
    color-scheme: dark;
    --ink: #f4fbff;
    --muted: #91a6b4;
    --dim: #607683;
    --base: #03070a;
    --panel: rgba(8, 18, 23, 0.88);
    --panel-strong: #081218;
    --line: rgba(137, 208, 229, 0.15);
    --line-bright: rgba(137, 232, 255, 0.34);
    --cyan: #62e6ff;
    --jade: #86f7c5;
    --amber: #ffc875;
    --red: #ff7d8b;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 12% 10%, rgba(47, 180, 208, 0.13), transparent 28rem),
        radial-gradient(circle at 88% 30%, rgba(60, 232, 166, 0.08), transparent 26rem),
        linear-gradient(180deg, #050b0f 0%, var(--base) 45%, #020507 100%);
    color: var(--ink);
    font-family: var(--sans);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(128, 210, 230, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 210, 230, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 84%);
}

a { color: inherit; }
button, input { font: inherit; }
code, pre { font-family: var(--mono); }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; position: relative; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 7, 10, 0.78);
    backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 760; letter-spacing: -0.02em; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-bright);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(98, 230, 255, 0.16), rgba(134, 247, 197, 0.06));
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 13px;
    box-shadow: inset 0 0 22px rgba(98, 230, 255, 0.08);
}
.brand small { display: block; color: var(--dim); font-size: 10px; font-family: var(--mono); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--ink); }

.status-chip, .eyebrow, .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border: 1px solid var(--line-bright);
    border-radius: 999px;
    background: rgba(98, 230, 255, 0.06);
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 11px;
}
.status-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 12px var(--jade); }

.hero { padding: 108px 0 76px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr); gap: 72px; align-items: center; }
.hero h1, .product-hero h1 { margin: 24px 0 20px; max-width: 820px; font-size: clamp(50px, 7vw, 92px); line-height: 0.96; letter-spacing: -0.065em; }
.hero h1 span, .product-hero h1 span { color: var(--cyan); }
.hero-copy { color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.62; max-width: 720px; }
.hero-copy strong { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 10px;
    border: 1px solid var(--line-bright);
    background: rgba(98, 230, 255, 0.08);
    color: var(--ink);
    text-decoration: none;
    font-weight: 650;
    font-size: 14px;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(98, 230, 255, 0.13); }
.button.primary { color: #021015; background: linear-gradient(135deg, var(--cyan), #b7f8ff); border-color: transparent; }
.button.compact { min-height: 38px; padding: 0 13px; font-size: 12px; font-family: var(--mono); }
.button.is-copied { background: var(--jade); color: #03100c; }

.terminal {
    position: relative;
    border: 1px solid var(--line-bright);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(1, 7, 10, 0.94);
    box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,0.04);
}
.terminal-top { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.terminal-lights { display: flex; gap: 6px; }
.terminal-lights i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.terminal-lights i:first-child { background: var(--cyan); }
.terminal pre { margin: 0; padding: 24px; white-space: pre-wrap; overflow-wrap: anywhere; color: #bfeaf3; line-height: 1.7; font-size: 12px; }
.terminal .prompt { color: var(--jade); }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(8, 18, 23, 0.64); }
.trust-item { padding: 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-value { font-size: 24px; font-weight: 760; letter-spacing: -0.04em; }
.trust-label { margin-top: 7px; color: var(--dim); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; }

.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.05em; line-height: 1; }
.section-head p { max-width: 600px; color: var(--muted); line-height: 1.65; margin: 0; }
.kicker { color: var(--cyan); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }

.lane-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lane-card, .product-card, .info-card {
    border: 1px solid var(--line);
    border-radius: 15px;
    background: linear-gradient(150deg, rgba(12, 26, 33, 0.88), rgba(4, 11, 15, 0.92));
    box-shadow: inset 0 1px rgba(255,255,255,0.025);
}
.lane-card { padding: 25px; min-height: 240px; display: flex; flex-direction: column; }
.lane-card .index { font-family: var(--mono); color: var(--cyan); font-size: 11px; }
.lane-card h3 { margin: 34px 0 10px; font-size: 20px; letter-spacing: -0.025em; }
.lane-card p { color: var(--muted); line-height: 1.55; font-size: 14px; margin: 0 0 22px; }
.lane-card a { margin-top: auto; color: var(--jade); font-family: var(--mono); text-decoration: none; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.info-card { padding: 27px; }
.info-card strong { display: block; color: var(--cyan); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; margin-bottom: 18px; }
.info-card h3 { margin: 0 0 12px; font-size: 21px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.catalog-tools { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 16px; align-items: center; margin: 26px 0 18px; }
.search {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(2, 8, 11, 0.8);
    color: var(--ink);
    padding: 0 16px;
    outline: none;
}
.search:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(98, 230, 255, 0.08); }
.result-count { color: var(--dim); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 18px; scrollbar-width: thin; }
.filter {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    min-height: 36px;
    padding: 0 13px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.filter[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); background: rgba(98, 230, 255, 0.08); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-card { padding: 22px; display: flex; flex-direction: column; min-height: 270px; transition: transform 160ms ease, border-color 160ms ease; }
.product-card:hover { transform: translateY(-3px); border-color: var(--line-bright); }
.product-card[hidden] { display: none; }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.method { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--jade); }
.price { color: var(--ink); font-family: var(--mono); font-size: 12px; }
.product-card h3 { font-size: 18px; margin: 22px 0 9px; letter-spacing: -0.025em; }
.product-card p { color: var(--muted); font-size: 13px; line-height: 1.58; margin: 0 0 18px; }
.source { color: var(--dim); font-family: var(--mono); font-size: 10px; line-height: 1.5; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.product-link { display: inline-flex; margin-top: 17px; color: var(--cyan); font-family: var(--mono); font-size: 10px; text-decoration: none; letter-spacing: 0.07em; text-transform: uppercase; }

.cta-panel { margin: 72px 0 96px; padding: 42px; border: 1px solid var(--line-bright); border-radius: 20px; background: linear-gradient(125deg, rgba(12, 38, 45, 0.94), rgba(5, 14, 18, 0.98)); display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.cta-panel h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.045em; }
.cta-panel p { color: var(--muted); margin: 0; line-height: 1.6; }

.product-hero { padding: 80px 0 48px; }
.breadcrumb { color: var(--dim); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.breadcrumb a { color: var(--cyan); text-decoration: none; }
.product-hero h1 { font-size: clamp(44px, 6vw, 74px); max-width: 950px; }
.product-summary { max-width: 850px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0; }
.meta-chip { color: var(--muted); border-color: var(--line); background: rgba(255,255,255,0.02); }
.meta-chip.price-chip { color: var(--jade); border-color: rgba(134,247,197,0.3); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; align-items: start; padding-bottom: 90px; }
.content-stack { display: grid; gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 28px; }
.panel h2 { margin: 0 0 18px; font-size: 22px; letter-spacing: -0.025em; }
.panel p { color: var(--muted); line-height: 1.65; }
.code-wrap { position: relative; }
.code-wrap pre { margin: 0; padding: 23px; background: #02070a; border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; color: #bcebf4; font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-wrap .button { position: absolute; top: 12px; right: 12px; }
.param-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.param-table th, .param-table td { border-bottom: 1px solid var(--line); padding: 13px 8px; text-align: left; vertical-align: top; }
.param-table th { color: var(--dim); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; }
.param-table td { color: var(--muted); }
.param-table code { color: var(--cyan); }
.side-panel { position: sticky; top: 96px; }
.fact-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.fact { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact span { display: block; color: var(--dim); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.fact strong { color: var(--ink); font-size: 13px; font-weight: 560; overflow-wrap: anywhere; }
.related { margin-top: 24px; }
.related a { display: block; color: var(--muted); text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.related a:hover { color: var(--cyan); }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 46px; color: var(--dim); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }
.legal-main { max-width: 980px; }
.legal-panel { padding: clamp(28px, 5vw, 58px); }
.legal-panel h1 { margin-bottom: 12px; }
.legal-panel h2 { margin: 34px 0 10px; font-size: clamp(18px, 2.5vw, 24px); }
.legal-panel p { max-width: 78ch; }
.legal-panel .lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--text); }

@media (max-width: 980px) {
    .hero, .product-layout { grid-template-columns: 1fr; }
    .hero { gap: 42px; padding-top: 72px; }
    .lane-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .side-panel { position: static; }
}

@media (max-width: 720px) {
    .shell { width: min(100% - 24px, 1180px); }
    .nav { min-height: 62px; }
    .nav-links a:not(.nav-keep) { display: none; }
    .brand small { display: none; }
    .hero h1 { font-size: clamp(46px, 16vw, 66px); }
    .trust-strip, .lane-grid, .how-grid, .product-grid { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: 0; }
    .section { padding: 68px 0; }
    .section-head, .cta-panel { align-items: flex-start; flex-direction: column; }
    .catalog-tools { grid-template-columns: 1fr; }
    .cta-panel { padding: 28px; margin-bottom: 68px; }
    .product-hero { padding-top: 58px; }
    .panel { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
