/* ==========================================================================
   iam4hosts.com
   Night-sky sections alternate with paper ones, product-page style. The moon
   is the motif throughout: an account "goes dark" as it moves from detected
   to removed, exactly as the plugin draws its lifecycle.
   ========================================================================== */

:root {
    --night: #05060c;
    --night-2: #0b0e1c;
    --night-3: #141831;
    --night-line: rgba(255, 255, 255, .09);
    --on-night: #f5f5f7;
    --on-night-2: #a1a1aa;
    --on-night-3: #6b6b78;

    --paper: #f5f5f7;
    --white: #ffffff;
    --ink: #1d1d1f;
    --ink-2: #48484f;
    --ink-3: #86868b;
    --line: #e3e3e8;

    --moon: #f0c987;
    --moon-hi: #ffe7b3;
    --moon-lo: #d9a24a;
    --link: #2b7de9;

    --c-detected: #4c6fae;
    --c-notified: #b7790d;
    --c-suspended: #cf5a17;
    --c-removed: #c4302b;
    --c-protected: #2e7d4f;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--night);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; letter-spacing: -.025em; line-height: 1.07; }
p { margin: 0; }
code, pre { font-family: var(--mono); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- sections ---------- */
.section { position: relative; padding: 140px 0; overflow: hidden; overflow: clip; }
.dark  { background: var(--night); color: var(--on-night); }
.light { background: var(--white); color: var(--ink); }
.paper { background: var(--paper); color: var(--ink); }

.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--moon-lo); margin-bottom: 14px; }
.dark .eyebrow { color: var(--moon); }
.sec-head { margin-bottom: 72px; }
.sec-head.center { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2, .split-copy h2 { font-size: clamp(40px, 6.4vw, 80px); font-weight: 700; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--ink-2); margin-top: 22px; }
.dark .lede { color: var(--on-night-2); }
.lede b { color: var(--ink); font-weight: 600; }
.dark .lede b { color: var(--on-night); }
.muted { color: var(--ink-3); }

.moonlit {
    background: linear-gradient(100deg, var(--moon-hi) 0%, var(--moon) 45%, #e59a5a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.light .moonlit, .paper .moonlit { background-image: linear-gradient(100deg, #c98a2b, #e0752e); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
    font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn .ic { width: 19px; height: 19px; }
.btn:active { transform: scale(.97); }
.btn-primary {
    color: #1b1406;
    background: linear-gradient(180deg, var(--moon-hi), var(--moon) 60%, #e7b467);
    box-shadow: 0 0 0 1px rgba(255, 220, 150, .35) inset, 0 8px 28px rgba(240, 201, 135, .25);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 220, 150, .5) inset, 0 10px 36px rgba(240, 201, 135, .42); }
.light .btn-primary, .paper .btn-primary { box-shadow: 0 0 0 1px rgba(160, 110, 30, .25) inset, 0 8px 24px rgba(201, 138, 43, .25); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 19px; }
.btn-sm { height: 34px; padding: 0 15px; font-size: 14px; gap: 6px; }
.btn-sm .ic { width: 15px; height: 15px; }
.btn-block { width: 100%; }
.btn-link { color: var(--link); padding: 0 6px; background: none; }
.dark .btn-link { color: #6cb0ff; }
.btn-link .ic { width: 15px; height: 15px; transition: transform .2s; }
.btn-link:hover .ic { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 0 0 0 1.5px var(--line) inset; }
.btn-ghost:hover { box-shadow: 0 0 0 1.5px var(--ink-3) inset; }
.cta-star { display: inline-flex; margin-left: -4px; margin-top: -12px; }
.cta-star .star { width: 12px; height: 12px; color: #a2620b; }

.free-note { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); margin-top: 16px; max-width: 520px; }
.free-note .star { width: 15px; height: 15px; flex: none; color: var(--moon-lo); margin-top: 1px; }
.dark .free-note { color: var(--on-night-3); }
.dark .free-note .star { color: var(--moon); }
.free-note.center { justify-content: center; margin: 32px auto 0; max-width: none; }
.center > .free-note, .hero-ctas.center .free-note { justify-content: center; margin-left: auto; margin-right: auto; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo .mark { flex: none; border-radius: 8px; }
.logo-type { font-size: 21px; font-weight: 500; letter-spacing: -.03em; color: var(--on-night); }
.logo-type b { font-weight: 800; }
.logo-type i { font-style: normal; font-weight: 800; color: var(--moon); padding: 0 1px; }

/* ---------- nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50; height: 56px;
    background: rgba(5, 6, 12, .72);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--night-line); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-logo { text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--on-night-2); text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--on-night); }
.nav-account { display: inline-flex; align-items: center; gap: 6px; color: var(--on-night-2); text-decoration: none; font-size: 13.5px; font-weight: 500; padding-left: 22px; border-left: 1px solid var(--night-line); transition: color .2s; }
.nav-account:hover { color: var(--on-night); }
.nav-account .ic { width: 17px; height: 17px; }
.nav-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; position: relative; margin-right: -10px; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--on-night); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- platforms ---------- */
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.platforms li {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
    border-radius: 999px; font-size: 15px; font-weight: 600;
    background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px var(--night-line) inset; color: var(--on-night);
}
.platforms .pi { width: 17px; height: 17px; color: var(--moon); }
.os-pair { display: inline-flex; gap: 5px; align-items: center; padding-left: 8px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .16); }
.os { width: 18px; height: 18px; display: block; }
.os-pair .os:first-child { background: #fff; border-radius: 5px; padding: 1px; }
.platforms-hero { justify-content: center; margin-top: 34px; }
.platforms-sm li { height: 32px; font-size: 13px; padding: 0 12px; }
.platforms-sm .os { width: 15px; height: 15px; }

/* ---------- hero ---------- */
.hero { padding: 110px 0 0; text-align: center; overflow: hidden; overflow: clip; }
.hero-glow {
    position: absolute; left: 50%; top: -260px; width: 1200px; height: 900px; transform: translateX(-50%);
    background:
        radial-gradient(closest-side, rgba(240, 201, 135, .22), rgba(240, 201, 135, 0) 70%),
        radial-gradient(closest-side at 30% 60%, rgba(76, 111, 174, .28), transparent 70%);
    pointer-events: none; filter: blur(10px);
}
.hero-glow.small { top: auto; bottom: -500px; opacity: .8; }
.hero-stars {
    position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image:
        radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 82% 12%, #fff 50%, transparent 51%),
        radial-gradient(1.4px 1.4px at 70% 34%, #ffe7b3 50%, transparent 51%),
        radial-gradient(1px 1px at 22% 46%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 92% 52%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 6% 70%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 40% 8%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 58% 22%, #cfd8ff 50%, transparent 51%);
}
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(54px, 10.5vw, 132px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero .lede { max-width: 720px; margin: 28px auto 0; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 34px; }
.hero-ctas.center { flex-direction: column; }
.hero-copy > .free-note { justify-content: center; margin: 18px auto 0; }

.hero-shot { position: relative; max-width: 1240px; margin: 84px auto 0; padding: 0 22px; perspective: 1800px; }
.hero-shot .win {
    transform-origin: 50% 0;
    transform: rotateX(calc(var(--tilt, 1) * 22deg)) scale(calc(.9 + (1 - var(--tilt, 1)) * .1));
    transition: transform .1s linear;
    box-shadow: 0 -10px 120px rgba(240, 201, 135, .18), 0 40px 100px rgba(0, 0, 0, .6);
}
.hero-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.hero-callouts { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.callout {
    position: absolute; display: flex; flex-direction: column; gap: 2px; text-align: left;
    padding: 12px 16px; border-radius: 14px; font-size: 13px; color: var(--on-night-2);
    background: rgba(20, 24, 49, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 20px 40px rgba(0, 0, 0, .4);
    opacity: calc(1 - var(--tilt, 1) * 1.6); transform: translateY(calc(var(--tilt, 1) * 30px));
}
.callout b { color: var(--on-night); font-size: 14.5px; }
.callout.c1 { left: 4%; top: 22%; }
.callout.c2 { right: 26%; top: 62%; }
.callout.c3 { right: 3%; top: 76%; }

/* ---------- window frames ---------- */
.win { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 30px 80px rgba(17, 20, 40, .18); }
.win-dark { background: #1a1c24; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #ececef; border-bottom: 1px solid #dcdce0; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-url { flex: 1; margin: 0 60px 0 20px; text-align: center; font-size: 12px; color: #77777f; background: #fff; border-radius: 7px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-dark .win-bar, .win-dark-chrome .win-bar { background: #1f2230; border-color: #2a2e40; }
.win-dark .win-url, .win-dark-chrome .win-url { background: #141623; color: #8b8fa3; }

/* Scale-to-fit wrapper: mockups are laid out at a design width and scaled down as one picture. */
.fit { position: relative; width: 100%; }
.fit-in { transform-origin: 0 0; }

/* ---------- highlights carousel ---------- */
.highlights { padding-top: 60px; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.row-head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
.car-nav { display: flex; gap: 10px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: var(--on-night); display: grid; place-items: center; transition: background .2s; }
.car-btn:hover { background: rgba(255, 255, 255, .18); }
.car-btn .ic { width: 18px; height: 18px; }
.car-btn[data-car="-1"] .ic { transform: scaleX(-1); }
.carousel {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 6px max(22px, calc((100vw - var(--wrap)) / 2 + 22px)) 30px;
    scroll-padding: 0 max(22px, calc((100vw - var(--wrap)) / 2 + 22px));
}
.carousel::-webkit-scrollbar { display: none; }
.hl {
    position: relative; flex: none; width: min(400px, 82vw); min-height: 520px; scroll-snap-align: start;
    border-radius: 28px; padding: 34px 32px; overflow: hidden;
    background: linear-gradient(180deg, var(--night-3), var(--night-2));
    box-shadow: 0 0 0 1px var(--night-line) inset;
    display: flex; flex-direction: column;
}
.hl-k { font-size: 13px; font-weight: 600; color: var(--moon); margin-bottom: 10px; }
.hl h3 { font-size: 30px; font-weight: 700; }
.hl > p:not(.hl-k) { color: var(--on-night-2); font-size: 16px; margin-top: 14px; }
.hl > p b { color: var(--on-night); }
.hl-art { margin-top: auto; padding-top: 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rec { font-family: var(--mono); font-size: 14px; padding: 9px 13px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--on-night); display: inline-flex; gap: 12px; }
.rec b { color: var(--moon); font-weight: 500; }
.verdict { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.v-out { background: rgba(196, 48, 43, .18); color: #ff8b85; }
.phases { flex-direction: row; gap: 14px; align-items: center; }
.ph { width: 58px; height: 58px; border-radius: 50%; position: relative; overflow: hidden; background: var(--moon); box-shadow: 0 0 30px rgba(240, 201, 135, .3); }
.ph::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--night-2); }
.ph-0::after { transform: translateX(105%); }
.ph-1::after { transform: translateX(55%); }
.ph-2::after { transform: translateX(22%); }
.ph-3 { background: transparent; box-shadow: none; border: 1.5px dashed rgba(240, 201, 135, .5); }
.ph-3::after { display: none; }
.keep-big { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: #6cb0ff; padding: 16px 26px; border-radius: 16px; background: rgba(58, 124, 198, .16); box-shadow: 0 0 0 1px rgba(108, 176, 255, .35) inset; }
.keep-big .ic { width: 26px; height: 26px; }
.env { width: 150px; height: 100px; border-radius: 14px; background: linear-gradient(160deg, #fff, #e8e8ee); position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.env::before { content: ""; position: absolute; inset: 0 0 auto; height: 60px; background: linear-gradient(160deg, #3a7cc6, #23255f); clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 14px 14px 0 0; }
.env span { position: absolute; left: 22px; right: 22px; bottom: 18px; height: 6px; border-radius: 4px; background: #d0d0da; box-shadow: 0 -12px 0 #e0e0e8; }
.people { flex-direction: row; }
.people i { width: 64px; height: 64px; border-radius: 50%; margin-right: -14px; box-shadow: 0 0 0 3px var(--night-2); background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.85) 0 17%, transparent 18%), radial-gradient(circle at 50% 100%, rgba(255,255,255,.85) 0 38%, transparent 39%), var(--moon-lo); }
.people i:nth-child(2) { background-color: var(--c-detected); }
.people i:nth-child(3) { background-color: var(--c-protected); }
.hl-art code { font-size: 14px; color: #7ee2a3; padding: 12px 16px; border-radius: 10px; background: rgba(0, 0, 0, .4); box-shadow: 0 0 0 1px rgba(126, 226, 163, .2) inset; }

/* ---------- statement ---------- */
.statement { padding-top: 60px; }
.big-lines { font-size: clamp(36px, 5.6vw, 68px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.big-lines .line { display: block; opacity: .12; transition: opacity .6s var(--ease); }
.big-lines .line.in { opacity: 1; }
.big-lines .line.dim.in { opacity: 1; color: var(--on-night-3); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 110px; }
.stat { border-top: 1px solid var(--night-line); padding-top: 26px; }
.stat b { font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: var(--moon); font-variant-numeric: tabular-nums; }
.stat span { font-size: 20px; font-weight: 600; margin-left: 8px; color: var(--on-night); }
.stat p { color: var(--on-night-2); font-size: 15px; margin-top: 10px; }

/* ---------- detection demo ---------- */
.detect { display: grid; grid-template-columns: 320px 1fr; gap: 28px; background: var(--paper); border-radius: 32px; padding: 28px; }
.detect-list { display: flex; flex-direction: column; gap: 8px; }
.dom { text-align: left; border: 0; border-radius: 16px; padding: 16px 18px; background: transparent; display: flex; flex-direction: column; gap: 2px; transition: background .2s, box-shadow .2s; }
.dom span { font-weight: 600; font-size: 16px; }
.dom small { font-size: 13.5px; color: var(--ink-3); }
.dom:hover { background: rgba(0, 0, 0, .04); }
.dom[aria-selected="true"] { background: var(--white); box-shadow: 0 2px 12px rgba(0, 0, 0, .07); }
.detect-stage { background: var(--white); border-radius: 22px; padding: 34px; box-shadow: 0 2px 12px rgba(0, 0, 0, .05); display: flex; flex-direction: column; }
.probe-dom { display: flex; align-items: center; gap: 12px; font-size: 26px; letter-spacing: -.02em; }
.globe { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); position: relative; flex: none; }
.globe::before, .globe::after { content: ""; position: absolute; inset: -2px 9px; border: 2px solid var(--ink); border-radius: 50%; }
.globe::after { inset: 14px -2px auto; height: 2px; border: 0; background: var(--ink); border-radius: 0; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li {
    display: grid; grid-template-columns: 110px 100px 1fr auto; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 14px; background: var(--paper);
    opacity: .35; transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.checks li.done { opacity: 1; transform: none; }
.ck-k { font-weight: 600; }
.ck-q { font-size: 13px; color: var(--ink-3); }
.ck-v { font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.ck-r { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ck-r.here { background: #e4f4ea; color: var(--c-protected); }
.ck-r.away { background: #fbe9e8; color: var(--c-removed); }
.ck-r.none { background: #ececf0; color: var(--ink-3); }
.ck-r.trust { background: #e8f0fb; color: var(--c-detected); }
.result {
    display: flex; gap: 16px; align-items: center; margin-top: 22px; padding: 20px 22px; border-radius: 18px;
    background: var(--paper); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s;
}
.result.show { opacity: 1; transform: none; }
.result b { font-size: 20px; }
.result p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.result.active { background: #e9f6ee; }
.result.inactive { background: #fdf1e7; }
.moon-sm { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--moon); position: relative; overflow: hidden; }
.moon-sm::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: #fdf1e7; transform: translateX(45%); transition: transform .6s var(--ease); }
.result.active .moon-sm { background: var(--c-protected); }
.result.active .moon-sm::after { transform: translateX(110%); }
.server-ips { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--ink-3); }
.server-ips code { font-size: 12.5px; background: var(--paper); padding: 2px 7px; border-radius: 6px; color: var(--ink-2); }

.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.rule { background: var(--paper); border-radius: 24px; padding: 26px; }
.rule h3 { font-size: 19px; margin: 18px 0 8px; }
.rule p { font-size: 15px; color: var(--ink-2); }
.rule-n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.rule-n .ic { width: 20px; height: 20px; }
.rule-n.ok { background: #e4f4ea; color: var(--c-protected); }
.rule-n.no { background: #fbe9e8; color: var(--c-removed); }

/* ---------- lifecycle (sticky moon) ---------- */
.life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.life-sticky { position: relative; }
.moon-stage { position: sticky; top: 18vh; height: 64vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; }
.moon-xl {
    --shade: 105%;
    width: min(340px, 70vw); aspect-ratio: 1; border-radius: 50%; position: relative; overflow: hidden;
    background: radial-gradient(circle at 34% 30%, var(--moon-hi), var(--moon) 45%, var(--moon-lo));
    box-shadow: 0 0 120px rgba(240, 201, 135, calc(.45 * var(--glow, 1))), 0 0 0 1px rgba(240, 201, 135, .25);
    transition: box-shadow 1s var(--ease), background 1s;
}
.moon-xl::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .25;
    background:
        radial-gradient(circle at 62% 38%, rgba(0,0,0,.25) 0 8%, transparent 9%),
        radial-gradient(circle at 40% 66%, rgba(0,0,0,.18) 0 11%, transparent 12%),
        radial-gradient(circle at 72% 70%, rgba(0,0,0,.15) 0 5%, transparent 6%);
}
.moon-xl .shade { position: absolute; inset: -2px; border-radius: 50%; background: var(--night); transform: translateX(var(--shade)); transition: transform 1.1s var(--ease); }
.moon-xl.gone { background: transparent; box-shadow: none; outline: 2px dashed rgba(240, 201, 135, .4); outline-offset: -2px; }
.moon-xl.gone::before { display: none; }
.moon-day { text-align: center; }
.moon-day span { display: block; font-size: 15px; color: var(--moon); font-weight: 600; }
.moon-day b { font-size: 38px; letter-spacing: -.03em; }
.moon-track { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.moon-track li { width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); transition: background .4s; }
.moon-track li.on { background: var(--moon); }
.life-steps { padding: 10vh 0 20vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin: 18px 0 16px; }
.step p { font-size: 19px; color: var(--on-night-2); max-width: 480px; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.t-detected { background: rgba(76, 111, 174, .2); color: #93b1ea; }
.t-notified { background: rgba(183, 121, 13, .2); color: #f2c25e; }
.t-suspended { background: rgba(207, 90, 23, .2); color: #ff9e63; }
.t-removed { background: rgba(196, 48, 43, .2); color: #ff8b85; }

/* ---------- plugin UI (mockups) ---------- */
.ui { font-size: 13px; color: #2b2f36; background: #fff; padding: 22px 24px; text-align: left; }
.ui b { font-weight: 600; }
.ui small { display: block; color: #737b86; font-size: 11.5px; }
.kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #737b86; }
.ui-title { font-size: 22px; letter-spacing: -.01em; margin: 4px 0 16px; font-weight: 600; }
.ui-split { display: grid; grid-template-columns: 1fr 560px; padding: 0; min-height: 420px; }
.ui-dim { padding: 18px 20px; background: #f5f6f8; opacity: .55; }
.ui-row { display: grid; grid-template-columns: 24px 110px 1fr auto auto; gap: 10px; align-items: center; padding: 13px 4px; border-bottom: 1px solid #e1e4e8; }
.ui-row .r { text-align: right; }
.mphase { width: 18px; height: 18px; border-radius: 50%; position: relative; overflow: hidden; border: 1.5px solid currentColor; }
.mphase::after { content: ""; position: absolute; inset: 1.5px; border-radius: 50%; background: currentColor; clip-path: inset(0 0 0 50%); }
.mphase.lg { width: 30px; height: 30px; border-width: 2px; }
.mphase.lg::after { inset: 3px; }
.m-detected { color: var(--c-detected); }
.m-detected::after { clip-path: inset(0 0 0 0); border-radius: 50%; inset: 3px !important; background: var(--c-detected); transform: translateX(-30%); }
.m-notified { color: var(--c-notified); }
.m-suspended { color: var(--c-suspended); }
.m-suspended::after { clip-path: inset(0 0 0 72%); }
.m-removed { color: var(--c-removed); border-style: dashed; }
.m-removed::after { display: none; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.p-detected { color: var(--c-detected); background: #eef2fa; border-color: #cbd7ee; }
.p-notified { color: #9a6609; background: #fdf6e7; border-color: #f0dba9; }
.p-suspended { color: var(--c-suspended); background: #fdf0e8; border-color: #f4c9ad; }
.drawer { background: #fff; border-left: 1px solid #e1e4e8; padding: 22px 24px; box-shadow: -20px 0 40px rgba(20, 24, 36, .08); display: flex; flex-direction: column; }
.drawer-h { display: flex; justify-content: space-between; align-items: start; }
.drawer-h h4 { font-size: 20px; margin-top: 4px; font-weight: 600; letter-spacing: -.01em; }
.ui-x { font-size: 22px; color: #a3a9b1; line-height: 1; }
.drawer-sum { margin: 14px 0 16px; font-size: 13px; line-height: 1.55; color: #4f5661; background: #f8f9fa; border: 1px solid #e1e4e8; border-radius: 6px; padding: 10px 12px; }
.ui-table { width: 100%; border-collapse: collapse; }
.ui-table th { text-align: left; font-size: 11px; font-weight: 600; color: #737b86; padding: 8px 8px; border-bottom: 1px solid #cfd4da; background: #f8f9fa; }
.ui-table td { padding: 10px 8px; border-bottom: 1px solid #e1e4e8; vertical-align: top; font-size: 12.5px; }
.ui-table td small { margin-top: 1px; }
.dot-out, .dot-none { font-size: 11px; font-weight: 600; white-space: nowrap; }
.dot-out { color: var(--c-removed); }
.dot-none { color: #737b86; }
.dot-out::before, .dot-none::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 5px; }
.drawer-f { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 18px; }
.drawer-f .muted { margin-right: auto; font-size: 12px; }
.ui-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 4px; font-size: 12.5px; font-weight: 600; border: 1px solid; }
.ui-btn .ic { width: 14px; height: 14px; }
.ui-btn-primary { background: #3a7cc6; color: #fff; border-color: #2c66a8; }
.ui-btn-ghost { background: #fff; color: #2b2f36; border-color: #cfd4da; }
.ui-btn-keep { background: #eaf2fb; color: #1f63b0; border-color: #b9d3ef; }
.ui-input { flex: 1; height: 34px; display: flex; align-items: center; padding: 0 12px; border: 1px solid #cfd4da; border-radius: 4px; color: #a3a9b1; font-size: 12.5px; }
.ui-input.sm { max-width: 300px; }
.ui-add { display: flex; gap: 10px; margin-bottom: 14px; }
.ui-link { color: #1f63b0; font-size: 12px; font-weight: 600; }

.prot { border: 1px solid #e1e4e8; border-radius: 6px; }
.prot-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #e1e4e8; }
.prot-row:last-child { border-bottom: 0; }
.prot-row.new { background: #f1f9f4; animation: flash 3s var(--ease) infinite; }
@keyframes flash { 0%, 100% { background: #f1f9f4; } 50% { background: #fff; } }
.shield-c { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e4f4ea; color: var(--c-protected); }
.shield-c .ic { width: 16px; height: 16px; }

.log-day { font-size: 11.5px; font-weight: 700; color: #737b86; margin: 12px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.log { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid #eef0f3; }
.lg { width: 12px; height: 12px; border-radius: 50%; margin: 4px 0 0 4px; }
.lg-removed { background: var(--c-removed); }
.lg-keep { background: var(--c-protected); }
.lg-check { background: #3a7cc6; }
.lg-notified { background: var(--c-notified); }
.lg-suspended { background: var(--c-suspended); }
.lg-detected { background: var(--c-detected); }

.ui-tabs { display: flex; gap: 2px; border-bottom: 1px solid #e1e4e8; margin: -6px -4px 16px; }
.ui-tabs span { padding: 10px 14px; font-size: 13px; color: #4f5661; border-top: 3px solid transparent; }
.ui-tabs span.on { color: #2b2f36; font-weight: 600; border-top-color: #3a7cc6; background: #fff; box-shadow: 1px 0 #e1e4e8, -1px 0 #e1e4e8; }
.ui-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.ui-count { margin-left: auto; font-size: 12px; font-weight: 600; color: #1f63b0; background: #eaf2fb; border: 1px solid #b9d3ef; padding: 5px 12px; border-radius: 4px; }
.ui-list tbody tr { transition: opacity .35s var(--ease); }
.ui-list tr.hide { display: none; }
[data-root-only] { transition: opacity .3s; }
.roles.reseller [data-root-only] { display: none; }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(40px, 5.2vw, 64px); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.ticks .ic { width: 20px; height: 20px; flex: none; color: var(--c-protected); margin-top: 2px; }
.ticks-dark li { color: var(--on-night-2); font-size: 15px; }
.ticks-dark .ic { color: #7ee2a3; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.trio h3, .panel-notes h3 { font-size: 21px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.trio p, .panel-notes p { color: var(--ink-2); font-size: 16px; }

/* ---------- email demo ---------- */
.mail-demo { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.light .seg, .paper .seg { background: var(--paper); }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--on-night-2); display: inline-flex; align-items: center; gap: 6px; transition: background .25s, color .25s; }
.light .seg button { color: var(--ink-2); }
.seg button.on { background: var(--on-night); color: var(--ink); font-weight: 600; }
.light .seg button.on { background: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.seg .os { width: 15px; height: 15px; }
.mail-ctl .seg { flex-direction: column; border-radius: 22px; width: 100%; }
.mail-ctl .seg button { justify-content: flex-start; border-radius: 18px; padding: 12px 18px; }
.ctl-label { font-size: 13px; font-weight: 600; color: var(--on-night-3); margin: 26px 0 10px; text-transform: uppercase; letter-spacing: .06em; }
.swatches { display: flex; gap: 12px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--c); box-shadow: 0 0 0 2px var(--night); transition: box-shadow .2s, transform .2s; }
.sw.on, .sw:hover { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--on-night); }
.sw:hover { transform: scale(1.08); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: 11.5px; padding: 5px 9px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: var(--on-night-2); }
.chips.light .chip { background: var(--paper); color: var(--ink-2); }
.mail-prev { --accent: #3a7cc6; background: #fff; color: #2b2f36; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
.mail-head { padding: 18px 26px; background: #f5f6f8; border-bottom: 1px solid #e1e4e8; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.mail-head span { display: inline-block; width: 70px; color: #737b86; }
.mail-body { padding: 28px 34px 30px; }
.mail-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.mail-logo .mark { border-radius: 6px; display: block; }
.mail-band { height: 4px; border-radius: 2px; background: var(--accent); margin: 18px 0 22px; transition: background .4s; }
.mail-body h5 { font-size: 22px; letter-spacing: -.015em; transition: color .4s; color: var(--accent); filter: brightness(.85); }
.mail-body > p { font-size: 15px; line-height: 1.6; color: #4f5661; margin-top: 10px; }
.mail-tbl { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 13.5px; }
.mail-tbl th { text-align: left; font-size: 11.5px; color: #737b86; font-weight: 600; padding: 8px 10px; border-bottom: 2px solid var(--accent); transition: border-color .4s; }
.mail-tbl td { padding: 10px; border-bottom: 1px solid #eef0f3; }
.mail-btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: 8px; transition: background .4s; }
.mail-foot { font-size: 12px; color: #a3a9b1; margin-top: 22px; }

/* ---------- settings configurator ---------- */
.cfg { display: grid; grid-template-columns: 380px 1fr; gap: 40px; background: var(--paper); border-radius: 32px; padding: 38px; }
.sl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin-bottom: 24px; }
.sl-k { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.sl output { grid-row: 1; grid-column: 2; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.sl input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); }
.pdot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.d-detected { background: var(--c-detected); }
.d-notified { background: var(--c-notified); }
.d-suspended { background: var(--c-suspended); }
.d-removed { background: var(--c-removed); }
.toggles { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.tg { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; cursor: pointer; }
.tg input { position: absolute; opacity: 0; }
.tg span { width: 44px; height: 26px; border-radius: 999px; background: #d1d1d6; position: relative; transition: background .25s; flex: none; }
.tg span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.tg input:checked + span { background: var(--c-protected); }
.tg input:checked + span::after { transform: translateX(18px); }
.tg input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.cfg-time { background: var(--white); border-radius: 22px; padding: 34px 30px 28px; display: flex; flex-direction: column; justify-content: center; }
.tl { position: relative; height: 186px; margin: 0 40px; }
.tl-bar { position: absolute; top: 20px; left: 0; right: 0; height: 6px; border-radius: 3px; background: #ececf0; }
.tl-fill { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, var(--c-detected), var(--c-notified), var(--c-suspended), var(--c-removed)); }
.tl-pt { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; transition: left .45s var(--ease), opacity .3s; width: 110px; }
.tl-pt .pdot { width: 22px; height: 22px; margin: 12px 0 14px; box-shadow: 0 0 0 5px #fff; }
.tl-pt b { font-size: 14px; }
.tl-pt span { font-size: 13px; color: var(--ink-3); }
.tl-pt.off { opacity: .35; }
.tl-pt.off .pdot { background: #c7c7cc; }
.tl-pt.low b, .tl-pt.low span { position: relative; top: 44px; }
.tl-note { font-size: 14px; color: var(--ink-2); text-align: center; margin-top: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.card { background: var(--paper); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; }
.card p { font-size: 15px; color: var(--ink-2); }
.card .chips { margin-top: auto; padding-top: 6px; }
.mini-meter { margin-top: auto; height: 8px; border-radius: 4px; background: #e3e3e8; overflow: hidden; }
.mini-meter span { display: block; height: 100%; background: var(--c-detected); border-radius: 4px; animation: meter 5s linear infinite; }
@keyframes meter { from { width: 0; } to { width: 100%; } }
.ok-line { margin-top: auto; display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-protected) !important; }
.ok-line .ic { width: 18px; height: 18px; }

/* ---------- roles ---------- */
.roles { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.seg-dark { align-self: center; }

/* ---------- panels ---------- */
.center-seg { display: flex; width: fit-content; margin: 0 auto 40px; }
.shots { max-width: 1140px; margin: 0 auto; }
.shot-stack { position: relative; aspect-ratio: 2000 / 1090; background: #fff; }
.shot-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .5s var(--ease); }
.shot-stack img.on { opacity: 1; }

.panel-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.panel-notes > div { transition: opacity .4s; }
.panel-notes > div.dim { opacity: .4; }
.panel-notes .os { width: 18px; height: 18px; }
.panel-notes .os-pair { border-left-color: var(--line); }
.panel-notes .os-pair .os:first-child { box-shadow: 0 0 0 1px var(--line); }

/* ---------- install terminal ---------- */
.install-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.install-steps li { counter-increment: s; display: flex; gap: 14px; color: var(--on-night-2); font-size: 16.5px; }
.install-steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(240, 201, 135, .15); color: var(--moon); }
.install-steps b { color: var(--on-night); }
.term { border-radius: 14px; overflow: hidden; background: #0d0f18; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 100px rgba(0, 0, 0, .6); }
.term-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #171a26; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { flex: 1; text-align: center; font-size: 12px; color: #6b6f85; margin-right: 50px; }
.term-body { margin: 0; padding: 22px 22px 26px; min-height: 360px; font-size: 13.5px; line-height: 1.75; color: #c9cddf; white-space: pre-wrap; word-break: break-word; }
.term-body .p { color: var(--moon); }
.term-body .ok { color: #7ee2a3; }
.term-body .dim { color: #6b6f85; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--moon); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.plan { position: relative; border-radius: 30px; padding: 40px 36px; background: var(--paper); display: flex; flex-direction: column; }
.plan .ticks { margin: 26px 0 32px; flex: 1; }
.plan-k { font-size: 15px; font-weight: 700; color: var(--moon-lo); }
.plan-price { font-size: 52px; font-weight: 800; letter-spacing: -.04em; margin-top: 6px; }
.plan-sub { color: var(--ink-3); margin-top: 4px; }
.plan-pro { background: var(--night); color: var(--on-night); }
.plan-pro .plan-k { color: var(--moon); }
.plan-pro .plan-sub { color: var(--on-night-3); }
.plan-pro .ticks .ic { color: var(--moon); }
.plan-pro .btn-ghost { color: var(--on-night); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .2) inset; }
.plan-badge { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(240, 201, 135, .15); color: var(--moon); }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 40px 26px 0; font-size: 21px; font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 28px 0; color: var(--ink-2); font-size: 17px; }
.faq code { font-size: 14px; background: var(--white); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- finale ---------- */
.finale { padding: 160px 0; }
.finale-mark { display: flex; justify-content: center; margin-bottom: 30px; }
.finale-mark .mark { border-radius: 22px; box-shadow: 0 0 80px rgba(240, 201, 135, .3); }
.finale h2 { font-size: clamp(48px, 8vw, 104px); font-weight: 800; letter-spacing: -.045em; }
.finale .lede { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.foot { background: var(--night-2); color: var(--on-night-2); border-top: 1px solid var(--night-line); padding: 70px 0 34px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.foot-brand p { margin: 16px 0 20px; max-width: 380px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-cols h4 { color: var(--on-night); font-size: 13px; letter-spacing: 0; margin-bottom: 14px; }
.foot-cols a { display: block; text-decoration: none; padding: 4px 0; transition: color .2s; }
.foot-cols a:hover { color: var(--on-night); }
.foot-legal { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 8px; }
.foot-legal a { color: var(--moon); text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }
.foot-legal .tm { font-size: 12px; color: var(--on-night-3); }

/* ---------- download page ---------- */
.dl-hero { padding: 100px 0 60px; text-align: center; }
.dl-hero h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 800; letter-spacing: -.045em; }
.dl-hero .lede { max-width: 640px; margin: 22px auto 0; }
.dl-hero .free-note { justify-content: center; margin: 22px auto 0; }
.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 120px; }
.ed { scroll-margin-top: 80px; border-radius: 28px; padding: 32px 30px; background: linear-gradient(180deg, var(--night-3), var(--night-2)); box-shadow: 0 0 0 1px var(--night-line) inset; display: flex; flex-direction: column; gap: 14px; }
.ed-k { display: flex; align-items: center; gap: 10px; }
.ed-k .pi { width: 26px; height: 26px; color: var(--moon); }
.ed h2 { font-size: 28px; font-weight: 700; }
.ed .os-pair { border-left-color: rgba(255, 255, 255, .16); }
.ed p { color: var(--on-night-2); font-size: 15.5px; }
.ed-ver { font-size: 13px; color: var(--on-night-3); }
.ed-ver b { color: var(--moon); }
.cmd { position: relative; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: #c9cddf; background: #070810; border-radius: 12px; padding: 14px 70px 14px 14px; box-shadow: 0 0 0 1px var(--night-line) inset; overflow-wrap: anywhere; }
.cmd::before { content: "# "; color: var(--on-night-3); }
.copy { position: absolute; top: 8px; right: 8px; min-width: 32px; padding: 0 10px; height: 30px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .08); color: var(--on-night-2); display: grid; place-items: center; font-size: 12px; }
.copy:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.copy.done { color: #7ee2a3; }
.ed .btn { margin-top: auto; }
.ed ol { margin: 0; padding-left: 20px; color: var(--on-night-2); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.req { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.req h3 { font-size: 21px; margin-bottom: 12px; }
.req ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.verify { margin-top: 70px; scroll-margin-top: 80px; }
.verify h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.verify p { color: var(--ink-2); max-width: 760px; }
.verify pre { margin: 20px 0 0; background: var(--night); color: #c9cddf; border-radius: 14px; padding: 20px; font-size: 13px; overflow-x: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .rules, .grid-4 { grid-template-columns: 1fr 1fr; }
    .detect { grid-template-columns: 1fr; }
    .detect-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .dom { flex: none; }
    .mail-demo, .cfg { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 48px; }
    .split.reverse .split-copy { order: 0; }
    .editions { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
    .callout.c2 { display: none; }
}
@media (max-width: 860px) {
    .nav-links {
        position: fixed; inset: 56px 0 auto; flex-direction: column; gap: 0; padding: 10px 22px 26px;
        background: rgba(5, 6, 12, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--night-line);
        opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
    }
    .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
    .nav-links a { font-size: 20px; font-weight: 600; padding: 12px 0; color: var(--on-night); border-bottom: 1px solid var(--night-line); }
    .nav-account { margin-left: auto; border-left: 0; padding-left: 0; }
    .nav-cta { margin-left: 0; }
    .nav-toggle { display: block; }
    .section { padding: 96px 0; }
    .sec-head { margin-bottom: 48px; }
    .stat-row, .trio, .panel-notes, .req { grid-template-columns: 1fr; gap: 28px; }
    .stat-row { margin-top: 70px; }
    .life-grid { grid-template-columns: 1fr; gap: 0; }
    .life-sticky { position: sticky; top: 56px; z-index: 2; background: var(--night); margin: 0 -22px; padding: 0 22px; }
    .moon-stage { position: static; height: auto; padding: 18px 0; flex-direction: row; gap: 20px; }
    .moon-xl { width: 92px; }
    .moon-day { text-align: left; }
    .moon-day b { font-size: 26px; }
    .moon-track { display: none; }
    .life-steps { padding: 0 0 10vh; }
    .step { min-height: 56vh; }
    .plans { grid-template-columns: 1fr; }
    .foot-in { grid-template-columns: 1fr; gap: 40px; }
    .hero-callouts { display: none; }
    .checks li { grid-template-columns: 1fr auto; }
    .ck-q { display: none; }
    .ck-v { grid-column: 1 / -1; grid-row: 2; }
    .cfg { padding: 22px; }
    .tl { margin: 0 30px; }
    .tl-pt { width: 84px; }
    .tl-pt b { font-size: 12.5px; }
    .tl-pt span { font-size: 11.5px; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .wrap, .nav-in { padding: 0 16px; }
    .nav-cta span, .nav-account span { display: none; }
    .nav-cta { width: 34px; padding: 0; }
    .rules, .grid-4 { grid-template-columns: 1fr; }
    .hero { padding-top: 76px; }
    .hero-shot { margin-top: 56px; padding: 0 12px; }
    .platforms li { height: 36px; font-size: 14px; padding: 0 13px; }
    .detect { padding: 14px; border-radius: 24px; }
    .detect-stage { padding: 22px 18px; }
    .probe-dom { font-size: 20px; }
    .hl { min-height: 460px; padding: 28px 24px; }
    .plan { padding: 32px 24px; }
    .faq summary { font-size: 18px; }
    .life-sticky { margin: 0 -16px; padding: 0 16px; }
    .seg button { padding: 8px 12px; font-size: 13px; }
}
