/* =============================================================================
   Left for Death website
   Layout: sticky glass header, full-bleed hero with a red glow, content in a 1200px container.
   ========================================================================== */
:root {
    --bg: #0b0c0d;
    --bg-2: #0f1012;
    --panel: #141618;
    --panel-2: #1a1c1f;
    --line: #26292d;
    --line-2: #33373c;
    --red: #e11d2a;
    --red-2: #ff3b47;
    --bone: #ece6da;
    --muted: #9a958c;
    --good: #22c55e;
    --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
    --body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
    --radius: 14px;
    --header-h: 72px;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--bone);
    font: 16px/1.6 var(--body);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--red); color: #fff; }
.skip:focus { left: 8px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--red-2);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); animation: ping 1.8s infinite; }
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 71, .6); }
    80%, 100% { box-shadow: 0 0 0 12px rgba(255, 59, 71, 0); }
}
.display {
    margin: 0;
    font: 400 clamp(48px, 8vw, 104px)/.9 var(--display);
    letter-spacing: .005em;
    text-wrap: balance;
}
.display em { font-style: normal; color: var(--red); }
.h2 { margin: 0; font: 400 clamp(36px, 5vw, 58px)/.95 var(--display); text-wrap: balance; }
.lead { margin: 0; max-width: 58ch; font-size: 18px; color: var(--muted); }

/* ------------------------------------------------------------------ buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: 700 14px/1 var(--body);
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); }
.btn-sm { padding: 10px 14px; font-size: 12px; letter-spacing: .1em; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn.is-added { background: var(--panel-2); border-color: var(--good); color: var(--good); }
.icon-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    cursor: pointer;
}
.icon-btn:hover { border-color: var(--red); }

/* ------------------------------------------------------------------ ticker + header */
.ticker {
    position: relative;
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
    background: var(--red);
    color: #fff;
}
.ticker-track { display: flex; gap: 60px; white-space: nowrap; padding-left: 60px; animation: scroll 40s linear infinite; }
.ticker-track span { font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
@keyframes scroll { to { transform: translateX(-50%); } }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    background: rgba(11, 12, 13, .72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(11, 12, 13, .9); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.brand span { font: 400 26px/1 var(--display); letter-spacing: .03em; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--muted);
    transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--bone); background: rgba(255, 255, 255, .04); }
.nav a.is-active { color: var(--bone); }
.nav a.is-active::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--red); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
#login-btn.is-in { border-color: var(--good); color: var(--good); }
.basket-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--red);
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.basket-btn:hover { background: var(--red-2); }
.basket-btn svg { width: 20px; height: 20px; fill: #fff; }
.basket-btn b {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--bone);
    color: var(--bg);
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}
.basket-btn.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.18); } }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); cursor: pointer; }
.menu-btn i { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--bone); border-radius: 2px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; }
.hero::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto;
    height: 120%;
    background:
        radial-gradient(ellipse 40% 45% at 72% 30%, rgba(225, 29, 42, .45), transparent 70%),
        radial-gradient(ellipse 30% 40% at 20% 10%, rgba(255, 120, 60, .12), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-4%, 6%) scale(1.06); } }
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(236, 230, 218, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 230, 218, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(20, 22, 24, .7);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}
.chip b { color: var(--bone); }
.chip-red { border-color: rgba(225, 29, 42, .5); color: var(--red-2); }

.feature-card {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    text-decoration: none;
    box-shadow: 0 40px 90px -40px rgba(225, 29, 42, .55);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform .4s ease, border-color .2s ease;
}
.feature-card:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-6px); border-color: var(--red); }
.feature-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.feature-body { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 18px 20px 20px; }
.feature-body small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red-2); }
.feature-body h3 { margin: 4px 0 0; font: 400 30px/1 var(--display); }

/* ------------------------------------------------------------------ sections */
.section { padding: 70px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head .lead { font-size: 16px; }
.stripe { height: 8px; background: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--bg) 14px 28px); opacity: .9; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.stat { padding: 22px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 400 38px/1 var(--display); }
.stat small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ------------------------------------------------------------------ product cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 26px 50px -30px rgba(225, 29, 42, .7); }
.card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    z-index: 2;
    background: repeating-linear-gradient(135deg, var(--red) 0 12px, var(--bg) 12px 24px);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.card:hover::after { transform: scaleX(1); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 5px 10px 4px;
    border-radius: 5px;
    background: var(--red);
    color: #fff;
    font: 400 16px/1 var(--display);
    letter-spacing: .1em;
}
.tag-sub { left: auto; right: 12px; background: var(--bone); color: var(--bg); }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 18px 20px; }
.card-title { margin: 0; font: 400 28px/1 var(--display); letter-spacing: .02em; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--red-2); }
.card-text { margin: 0; font-size: 14.5px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 400 34px/1 var(--display); }
.price s { color: var(--muted); font-weight: 600; font-size: 15px; }
.price small { color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------------ scripts page */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-right: auto; }
.filter {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.filter:hover { color: var(--bone); border-color: var(--line-2); }
.filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 240px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
}
.search svg { width: 16px; height: 16px; fill: var(--muted); flex: none; }
.search input { width: 100%; height: 42px; border: 0; background: transparent; color: var(--bone); font: 500 15px var(--body); outline: none; }
.select { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--bone); font: 600 14px var(--body); }
.empty { padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* ------------------------------------------------------------------ product page */
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--bone); }
.product { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 32px; align-items: start; }
.product-media { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.product-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.buybox {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
}
.buybox h1 { margin: 0; font: 400 clamp(36px, 4vw, 48px)/.95 var(--display); }
.buybox .price b { font-size: 46px; }
.save { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: rgba(225, 29, 42, .14); color: var(--red-2); font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 4px; background: var(--red); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%); }
.fineprint { font-size: 12.5px; color: var(--muted); }

.prose { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: #cfc9be; overflow-wrap: anywhere; }
.prose h4 { color: var(--red-2); font: 400 24px/1 var(--display); letter-spacing: .06em; margin: 22px 0 8px; }
.prose h1, .prose h2, .prose h3 { color: var(--bone); font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: .02em; margin: 26px 0 10px; }
.prose h1 { font-size: 40px; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 26px; }
.prose > :first-child { margin-top: 0; }
.prose h1 span, .prose h2 span, .prose h3 span { font-size: inherit !important; }
.prose p { margin: 0 0 12px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red-2); }
.prose img { border-radius: 10px; margin: 12px 0; }
.prose strong { color: var(--bone); }

/* ------------------------------------------------------------------ subscription */
.plan {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--red);
    border-radius: 20px;
    overflow: hidden;
    background: var(--panel);
    box-shadow: 0 40px 90px -50px rgba(225, 29, 42, .8);
}
.plan-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.plan-body { display: flex; flex-direction: column; gap: 18px; padding: 34px; }
.plan-body .price b { font-size: 60px; }

/* ------------------------------------------------------------------ info blocks (why, steps, faq) */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-item { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .2s ease, transform .2s ease; }
.why-item:hover { border-color: var(--red); transform: translateY(-4px); }
.why-item b { display: block; font: 400 46px/1 var(--display); color: rgba(225, 29, 42, .45); }
.why-item h3 { margin: 8px 0 6px; font-size: 18px; }
.why-item p { margin: 0; font-size: 14.5px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.step { padding: 22px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step b { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; background: var(--red); color: #fff; font: 400 19px/1 var(--display); }
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 0 20px; }
.faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red-2); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.cta-band {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: radial-gradient(ellipse 50% 120% at 100% 0%, rgba(225, 29, 42, .3), transparent 60%), var(--panel);
}
.cta-band::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: repeating-linear-gradient(180deg, var(--red) 0 14px, var(--bg) 14px 28px); }

/* ------------------------------------------------------------------ page hero (inner pages) */
.page-hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% 30% auto -10%; height: 140%; background: radial-gradient(ellipse 40% 40% at 50% 40%, rgba(225, 29, 42, .3), transparent 70%); filter: blur(20px); pointer-events: none; }
.page-hero > .container { position: relative; display: flex; flex-direction: column; gap: 14px; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.box { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.box h2 { margin: 0 0 14px; font: 400 32px/1 var(--display); }
.ol { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 12px; }
.ol li { counter-increment: n; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.ol li::before { content: counter(n); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font: 400 17px/1 var(--display); }
.ol b, .box b { color: var(--bone); }
code { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); font: 13.5px Consolas, monospace; color: var(--bone); }

/* ------------------------------------------------------------------ drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); }
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 61;
    width: min(440px, 100vw);
    display: flex;
    flex-direction: column;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.2, .9, .3, 1);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 400 32px/1 var(--display); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.line img { width: 76px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.line h3 { margin: 0; font-size: 15px; line-height: 1.3; }
.line small { color: var(--muted); }
.line button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }
.line button:hover { color: var(--red-2); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font: 400 34px/1 var(--display); }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--bone); font: 600 14px var(--body); text-transform: uppercase; letter-spacing: .08em; }
.coupon-tag { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; border: 1px dashed var(--good); border-radius: 8px; color: var(--good); font-weight: 700; font-size: 13px; }
.coupon-tag button { border: 0; background: none; color: var(--muted); cursor: pointer; }
.login-box { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.login-box p { margin: 0; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------------ toasts + skeleton */
.toasts { position: fixed; bottom: 24px; left: 50%; z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; transform: translateX(-50%); pointer-events: none; }
.toast { padding: 12px 18px; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px; background: var(--panel-2); font-weight: 600; box-shadow: 0 20px 40px -20px #000; animation: toast .3s ease; }
.toast.good { border-left-color: var(--good); }
@keyframes toast { from { transform: translateY(16px); opacity: 0; } }
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; min-height: 320px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ------------------------------------------------------------------ reveal on scroll */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ footer */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; padding-top: 48px; padding-bottom: 36px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-grid a:not(.brand) { display: block; padding: 4px 0; text-decoration: none; color: var(--bone); font-size: 15px; }
.footer-grid a:not(.brand):hover { color: var(--red-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; }

/* ------------------------------------------------------------------ progress, page transition, spotlight */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--red-2));
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}
#app.page-enter { animation: page-in .45s cubic-bezier(.2, .9, .3, 1); }
/* starts at 40% opacity, not 0: if a browser ever pauses the animation, the page is still readable */
@keyframes page-in {
    from { opacity: .4; transform: translateY(14px); }
}

/* mouse-following light on cards and panels */
.card, .feature-card, .why-item, .box, .calc-result { --mx: -300px; --my: -300px; }
.card .card-body, .why-item, .box, .calc-result { position: relative; }
.card::before, .why-item::before, .box::before, .calc-result::before, .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 59, 71, .14), transparent 65%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.card:hover::before, .why-item:hover::before, .box:hover::before, .calc-result:hover::before, .feature-card:hover::before { opacity: 1; }
.card { transition: transform .15s ease-out, border-color .2s ease, box-shadow .2s ease; will-change: transform; }

/* ------------------------------------------------------------------ card tools (save + quick view) */
.card-img { display: block; width: 100%; height: 100%; }
.card-tools {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease;
}
.card:hover .card-tools, .card:focus-within .card-tools, .card-tools .is-on { opacity: 1; transform: none; }
.card-tools:has(.is-on) { opacity: 1; transform: none; }
.tool {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(236, 230, 218, .18);
    border-radius: 10px;
    background: rgba(11, 12, 13, .78);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
}
.tool svg { width: 17px; height: 17px; fill: var(--bone); }
.tool:hover { border-color: var(--red); transform: scale(1.08); }
.tool.is-on svg, .save-wide.is-on svg { fill: var(--red-2); }
.tool.is-on { border-color: var(--red); }
.tool.is-on svg { animation: heart .35s ease; }
@keyframes heart { 50% { transform: scale(1.35); } }
.tag-sub ~ .card-tools { top: 46px; }
.save-wide svg { width: 16px; height: 16px; fill: var(--bone); }
.filter-saved { display: inline-flex; align-items: center; gap: 6px; }
.filter-saved svg { width: 14px; height: 14px; fill: currentColor; }
.filter-saved b { padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; }
.inline-ico { display: inline-block; width: 15px; height: 15px; fill: var(--red-2); vertical-align: -2px; }

/* ------------------------------------------------------------------ header search button */
.search-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 12px 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.search-btn:hover { border-color: var(--line-2); color: var(--bone); }
.search-btn svg { width: 16px; height: 16px; fill: currentColor; }
kbd {
    padding: 2px 6px;
    border: 1px solid var(--line-2);
    border-radius: 5px;
    background: var(--bg);
    color: var(--muted);
    font: 600 11px var(--body);
}

/* ------------------------------------------------------------------ palette */
.palette, .modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    align-items: start;
    justify-items: center;
    padding: 12vh 16px 16px;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px);
    animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.palette-box {
    width: min(620px, 100%);
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: var(--bg-2);
    overflow: hidden;
    box-shadow: 0 40px 80px -30px #000, 0 0 0 1px rgba(225, 29, 42, .15);
    animation: pop .25s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes pop { from { transform: scale(.96) translateY(-8px); } }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.palette-input svg { width: 18px; height: 18px; fill: var(--muted); flex: none; }
.palette-input input { flex: 1; height: 58px; border: 0; background: transparent; color: var(--bone); font: 500 17px var(--body); outline: none; }
.palette-list { max-height: 52vh; overflow-y: auto; padding: 8px; }
.palette-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
}
.palette-page { grid-template-columns: minmax(0, 1fr) auto; }
.palette-item img { width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.palette-item b { display: block; font-size: 15px; }
.palette-item small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-item em { font-style: normal; font-weight: 700; color: var(--muted); }
.palette-item.is-active, .palette-item:hover { background: var(--panel-2); box-shadow: inset 3px 0 0 var(--red); }
.palette-item.is-active em { color: var(--red-2); }
.palette-empty { padding: 30px; text-align: center; color: var(--muted); }
.palette-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.palette-foot kbd { margin-right: 4px; }

/* ------------------------------------------------------------------ quick view */
.modal { align-items: center; padding: 16px; }
.modal-box {
    position: relative;
    width: min(900px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    border: 1px solid var(--line-2);
    border-radius: 18px;
    background: var(--bg-2);
    box-shadow: 0 40px 90px -30px #000;
    animation: pop .25s cubic-bezier(.2, .9, .3, 1.2);
}
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.quick { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.quick img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.quick-info { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; }
.quick-info h2 { margin: 0; font: 400 40px/.95 var(--display); }
.quick-desc { margin: 0; font-size: 14.5px; color: #cfc9be; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ------------------------------------------------------------------ marquee */
.marquee {
    overflow: hidden;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scroll 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    position: relative;
    flex: none;
    width: 260px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease;
}
.marquee-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.marquee-item span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(11, 12, 13, .95));
    font: 400 20px/1 var(--display);
    letter-spacing: .03em;
}
.marquee-item:hover { transform: translateY(-4px) scale(1.02); border-color: var(--red); }

/* ------------------------------------------------------------------ product toc */
.toc { padding-top: 14px; border-top: 1px dashed var(--line); }
.toc h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }
.toc a {
    display: block;
    padding: 5px 10px;
    border-left: 2px solid var(--line);
    font-size: 13.5px;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease;
}
.toc a:hover { color: var(--bone); }
.toc a.is-active { color: var(--bone); border-left-color: var(--red); }

/* ------------------------------------------------------------------ subscription calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.calc-list { display: grid; gap: 8px; }
.calc-row {
    display: grid;
    grid-template-columns: 22px 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    cursor: pointer;
    transition: border-color .15s ease, opacity .15s ease;
}
.calc-row:hover { border-color: var(--line-2); }
.calc-row:has(input:not(:checked)) { opacity: .5; }
.calc-row input { width: 18px; height: 18px; accent-color: var(--red); }
.calc-row img { width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.calc-row span { font-weight: 600; }
.calc-result {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px;
    border: 1px solid var(--red);
    border-radius: 16px;
    background: var(--panel);
    overflow: hidden;
}
.calc-result > * { position: relative; z-index: 2; }
.calc-result small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.calc-result b { font: 400 46px/1 var(--display); }
.calc-sub { color: var(--red-2); }
.calc-sub span { font: 600 15px var(--body); color: var(--muted); margin-left: 6px; }
.calc-bar { height: 8px; margin: 10px 0 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.calc-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-2)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.calc-result p { margin: 0 0 12px; color: #cfc9be; font-size: 14.5px; }
.calc-result p b { font: 700 14.5px var(--body); color: var(--bone); }

/* ------------------------------------------------------------------ back to top */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    background: var(--panel-2);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, border-color .15s ease;
}
.to-top svg { width: 20px; height: 20px; fill: var(--bone); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--red); }

/* ------------------------------------------------------------------ motion pack */

/* hero entrance: each line slides up after the one before */
.hero-in { animation: rise-in .8s cubic-bezier(.2, .9, .3, 1) backwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise-in { from { opacity: .2; transform: translateY(26px); filter: blur(6px); } }
.feature-card.hero-in { animation-name: card-in; animation-duration: 1s; }
@keyframes card-in { from { opacity: .2; transform: perspective(1200px) rotateY(-18deg) rotateX(6deg) translateY(40px); } }

/* hero: rotating word */
.rotator { display: inline-block; overflow: hidden; vertical-align: bottom; padding-right: .05em; }
.rotator em { display: inline-block; transition: transform .28s cubic-bezier(.6, 0, .4, 1), opacity .28s ease; }
.rotator em.is-out { transform: translateY(-100%); opacity: 0; }
.rotator em.is-in { animation: word-in .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes word-in { from { transform: translateY(100%); opacity: 0; } }

/* hero: mouse parallax + floating, glowing featured card */
.hero { --px: 0; --py: 0; }
.hero-copy { translate: calc(var(--px) * 10px) calc(var(--py) * 8px); transition: translate .4s ease-out; }
.hero-grid > .feature-card { translate: calc(var(--px) * -22px) calc(var(--py) * -16px); transition: translate .4s ease-out, transform .4s ease, border-color .2s ease; }
.feature-card img { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px) scale(1.015); } }
.feature-card { isolation: isolate; }
.feature-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--red-2) 85%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin-border 5s linear infinite;
    pointer-events: none;
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --angle: 360deg; } }

/* buttons: light sweep + magnetic movement + press */
.btn-red { position: relative; overflow: hidden; transition: transform .15s ease, background .15s ease, translate .2s ease-out; }
.btn-red::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .6s ease;
    pointer-events: none;
}
.btn-red:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.96); }
.basket-btn { transition: background .15s ease, transform .15s ease, translate .2s ease-out; }

/* cards come in one after another */
.js-reveal .card.reveal { opacity: 1; transform: none; transition: transform .15s ease-out, border-color .2s ease, box-shadow .2s ease; }
.js-reveal .card.reveal:not(.is-in) { opacity: 0; }
.js-reveal .card.reveal.is-in { animation: card-rise .65s cubic-bezier(.2, .9, .3, 1) backwards; animation-delay: calc(var(--i, 0) * 75ms); }
@keyframes card-rise { from { opacity: .2; transform: translateY(30px) scale(.97); } }

/* section headings and page heroes */
.section-head { animation: none; }
.section-head .h2 { background: linear-gradient(90deg, var(--bone) 60%, var(--red-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero .container > * { animation: rise-in .7s cubic-bezier(.2, .9, .3, 1) backwards; }
.page-hero .container > :nth-child(2) { animation-delay: .08s; }
.page-hero .container > :nth-child(3) { animation-delay: .16s; }
.page-hero .container > :nth-child(4) { animation-delay: .24s; }

/* nav underline grows, logo turns */
.nav a { position: relative; }
.nav a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::before { transform: scaleX(1); }
.nav a.is-active::before { display: none; }
.brand img { transition: transform .4s cubic-bezier(.2, .9, .3, 1.4); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }

/* moving hazard stripe */
.stripe { background-size: 39.6px 39.6px; animation: stripe-move 2.2s linear infinite; }
@keyframes stripe-move { to { background-position: 39.6px 0; } }

/* product page entrance + zoomable image */
.product-media { animation: media-in .8s cubic-bezier(.2, .9, .3, 1) backwards; }
@keyframes media-in { from { opacity: .2; transform: scale(.97); } }
.buybox { animation: slide-in .8s cubic-bezier(.2, .9, .3, 1) .12s backwards; }
@keyframes slide-in { from { opacity: .2; transform: translateX(30px); } }
.zoomable { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoomable img { transition: transform .6s ease; }
.zoomable:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .88); backdrop-filter: blur(6px); cursor: zoom-out; animation: fade .2s ease; }
.lightbox img { max-width: min(1400px, 100%); max-height: 88vh; border-radius: 14px; box-shadow: 0 40px 100px -30px #000; animation: pop .3s cubic-bezier(.2, .9, .3, 1.2); }
.lightbox .icon-btn { position: absolute; top: 18px; right: 18px; }
.lightbox.is-closing { animation: fade .2s ease reverse forwards; }

/* phones: sticky buy bar */
.buybar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 45;
    display: none;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: rgba(20, 22, 24, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -20px #000;
    transform: translateY(140%);
    transition: transform .35s cubic-bezier(.2, .9, .3, 1);
}
.buybar.is-shown { transform: none; }
.buybar img { width: 56px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.buybar-info { min-width: 0; }
.buybar-info b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.buybar .price b { font-size: 22px; }
@media (max-width: 1080px) { .buybar { display: grid; } }

/* drawer items slide in, FAQ answers glide open */
.drawer.is-open .line { animation: line-in .45s cubic-bezier(.2, .9, .3, 1) backwards; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
@keyframes line-in { from { opacity: .2; transform: translateX(30px); } }
.faq details[open] p { animation: faq-open .35s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* sale tags shimmer, checkboxes pop */
.tag:not(.tag-sub) { background-image: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); background-size: 250% 100%; background-repeat: no-repeat; animation: tag-shine 3.5s ease-in-out infinite; }
@keyframes tag-shine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
.calc-row input:checked { animation: tick .3s ease; }
@keyframes tick { 50% { transform: scale(1.35); } }

/* ------------------------------------------------------------------ admin-driven content: badges, gallery, facts */
.badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 5px 10px 4px;
    border-radius: 5px;
    font: 400 15px/1 var(--display);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--bone);
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6);
}
.badge-new { background: var(--good); }
.badge-hot { background: #ff7a1a; color: #fff; animation: pulse-badge 1.6s ease-in-out infinite; }
.badge-updated { background: #3b82f6; color: #fff; }
.badge-bestseller { background: #f5c542; }
.badge-soon { background: var(--panel-2); color: var(--bone); border: 1px dashed var(--line-2); }
@keyframes pulse-badge { 50% { transform: scale(1.07); } }

.gallery { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.shot {
    flex: none;
    width: 168px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
    cursor: zoom-in;
    scroll-snap-align: start;
    animation: rise-in .5s cubic-bezier(.2, .9, .3, 1) backwards;
    animation-delay: calc(var(--i, 0) * 60ms + .2s);
    transition: border-color .15s ease, transform .2s ease;
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot:hover { border-color: var(--red); transform: translateY(-3px); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 20px; }
.facts-box { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.facts-box h3 { margin: 0 0 12px; font: 400 26px/1 var(--display); letter-spacing: .03em; }
.req { display: flex; flex-wrap: wrap; gap: 8px; }

.lb-nav {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: rgba(20, 22, 24, .85);
    color: var(--bone);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s ease, transform .15s ease;
}
.lb-nav:hover { border-color: var(--red); transform: scale(1.08); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(20, 22, 24, .85); font-size: 13px; color: var(--muted); }
.lb-count b { color: var(--bone); }
.lightbox img { cursor: default; }
.lightbox img.lb-swap { animation: lb-swap .3s ease; }
@keyframes lb-swap { from { opacity: .3; transform: scale(.98); } }

/* ------------------------------------------------------------------ responsive */
.btn, .brand span, .search-btn, kbd { white-space: nowrap; }
@media (max-width: 1180px) {
    .search-btn span, .search-btn kbd { display: none; }
    .search-btn { width: 44px; padding: 0; justify-content: center; }
    .header-inner { gap: 18px; }
}
@media (max-width: 1080px) {
    .brand span { display: none; }
}
@media (max-width: 1080px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step:nth-child(2) { border-right: 0; }
    .step:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .product { grid-template-columns: minmax(0, 1fr); }
    .buybox { position: static; }
}
@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 10px 20px 20px;
        background: rgba(11, 12, 13, .97);
        border-bottom: 1px solid var(--line);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-12px);
        transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
    }
    .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: transform .25s ease, opacity .25s ease; }
    .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
    .nav a.is-active::after { display: none; }
    .menu-btn { display: flex; }
    #login-label { display: none; }
    .hero-grid, .plan { grid-template-columns: minmax(0, 1fr); }
    .feature-card { transform: none; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .faq, .two, .calc, .quick { grid-template-columns: minmax(0, 1fr); }
    .calc-result { position: static; }
    .search-btn span, .search-btn kbd { display: none; }
    .search-btn { width: 44px; padding: 0; justify-content: center; }
    .card-tools { opacity: 1; transform: none; }
    .marquee-item { width: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-inner { gap: 14px; }
    .brand span { display: none; }
}
@media (max-width: 600px) {
    .grid, .why, .steps { grid-template-columns: minmax(0, 1fr); }
    .step { border-right: 0; border-bottom: 1px solid var(--line); }
    .hero { padding: 56px 0 44px; }
    .search { min-width: 0; flex: 1; }
    .cta-band, .plan-body { padding: 26px 22px; }
    .prose { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .js-reveal .reveal { opacity: 1; transform: none; }
}
