/*
 * FPM Labs: Sentinel Shield site
 * Design plan (frontend-design skill):
 *   Palette   fog #EEF1F3 / ink #15212B / slate #586874 / honey #E0A21B / brick #B23A2B / moss #2D6A4F
 *   Type      Bricolage Grotesque for everything; JetBrains Mono only for real request paths and keys
 *   Layout    left-aligned, asymmetric hero (copy + live request log); one bold element: the log
 * Motion plan (motion-design skill):
 *   Personality  Corporate: signature easing cubic-bezier(.2,0,0,1), durations 160 / 320 / 640ms
 *   Orchestrated moment  the hero log only; everything else moves only in response to the user
 *   Layers       primary = row enters, secondary = trap row is caught (honey sweep + stamp),
 *                ambient = slow "listening" line under the log
 */

:root {
    --fog: #EEF1F3;
    --paper: #F8FAFB;
    --ink: #15212B;
    --ink-2: #1D2B37;
    --slate: #586874;
    --line: #D3DAE0;
    --honey: #E0A21B;
    --honey-wash: rgba(224, 162, 27, 0.18);
    --brick: #B23A2B;
    --moss: #2D6A4F;

    --ease: cubic-bezier(0.2, 0, 0, 1);
    --ease-out: cubic-bezier(0.05, 0.7, 0.1, 1);
    --t1: 160ms;
    --t2: 320ms;
    --t3: 640ms;

    --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --wrap: 1180px;
    --radius-s: 6px;
    --radius-m: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--fog);
    color: var(--ink);
    font-family: var(--font);
    font-optical-sizing: auto;
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--brick); }

:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 4px; }

code {
    font-family: var(--mono);
    font-size: 0.88em;
    background: rgba(21, 33, 43, 0.07);
    padding: 0.08em 0.35em;
    border-radius: 4px;
}

h1, h2, h3 { line-height: 1.08; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

main > section { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main > section + section { margin-top: clamp(80px, 11vw, 140px); }

/* ------------------------------------------------------------ buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border: 2px solid var(--ink);
    border-radius: var(--radius-s);
    background: var(--ink);
    color: var(--paper);
    font: 600 1rem/1 var(--font);
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--t1) var(--ease), background-color var(--t1) var(--ease), color var(--t1) var(--ease);
}
.btn:hover { background: var(--ink-2); color: var(--paper); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }

/* ------------------------------------------------------------ masthead */

.masthead {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 22px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.wordmark svg { width: 30px; height: 30px; color: var(--ink); }
.masthead nav { display: flex; gap: 26px; font-weight: 500; }
.masthead nav a { text-decoration: none; color: var(--slate); transition: color var(--t1) var(--ease); }
.masthead nav a:hover { color: var(--ink); }

/* ------------------------------------------------------------ hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding-top: clamp(32px, 6vw, 72px) !important;
}
.product-name { font-weight: 600; color: var(--slate); margin-bottom: 18px; }
.hero h1 {
    font-size: clamp(2.6rem, 6.2vw, 5rem);
    font-variation-settings: "opsz" 96;
    font-weight: 750;
    letter-spacing: -0.035em;
    max-width: 14ch;
}
.hero h1 code {
    font-size: 0.82em;
    background: var(--honey-wash);
    color: var(--ink);
    padding: 0 0.18em;
    border-radius: 8px;
}
.lede { margin-top: 26px; font-size: 1.2rem; color: var(--slate); max-width: 52ch; }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* The request log: the page's one bold element */
.stream {
    margin: 0;
    background: var(--ink);
    color: #DCE4EA;
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(21, 33, 43, 0.55);
}
.stream-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 13px 16px;
    background: var(--ink-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stream-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.stream-title { margin-left: 8px; font: 500 0.82rem/1 var(--mono); color: #8FA1AE; }

.stream-rows {
    list-style: none;
    margin: 0;
    padding: 10px 0 14px;
    font: 400 0.84rem/1 var(--mono);
    position: relative;
}
.stream-rows li {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px 16px;
}
.stream-rows .m { color: #7E909D; }
.stream-rows .p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stream-rows .v { font-weight: 600; font-size: 0.78rem; padding: 4px 8px; border-radius: 4px; }
.stream-rows .v.ok { color: #7FC3A2; background: rgba(45, 106, 79, 0.25); }

/* Caught state (default when JS/animation is off) */
.stream-rows li.trap::before {
    content: "";
    position: absolute; inset: 2px 8px;
    background: var(--honey-wash);
    border-left: 3px solid var(--honey);
    border-radius: 4px;
    transform-origin: left center;
    z-index: 0;
}
.stream-rows li > * { position: relative; z-index: 1; }
.stream-rows li.trap .p { color: #F3C766; }
.stream-rows li.trap .v { color: #fff; background: var(--brick); }

/* Ambient layer: a slow listening line */
.stream-rows::after {
    content: "";
    position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(224, 162, 27, 0.55), transparent);
    background-size: 40% 100%;
    background-repeat: no-repeat;
    animation: listen 3.2s ease-in-out infinite;
    opacity: 0.6;
}
@keyframes listen {
    0%   { background-position: -40% 0; }
    50%  { background-position: 140% 0; }
    100% { background-position: -40% 0; }
}

.stream figcaption {
    padding: 12px 16px 16px;
    font-size: 0.82rem;
    color: #8FA1AE;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Orchestrated sequence, enabled by JS only when motion is allowed */
.stream-rows.is-playing li {
    opacity: 0;
    transform: translateY(10px);
}
.stream-rows.is-playing li.is-in {
    opacity: 1;
    transform: none;
    transition: opacity var(--t2) var(--ease-out), transform var(--t2) var(--ease-out);
}
.stream-rows.is-playing li.trap::before { transform: scaleX(0); }
.stream-rows.is-playing li.trap .p { color: inherit; transition: color var(--t2) var(--ease); }
.stream-rows.is-playing li.trap .v { opacity: 0; transform: scale(0.85); }

.stream-rows.is-playing li.trap.is-caught::before {
    transform: scaleX(1);
    transition: transform var(--t2) var(--ease);
}
.stream-rows.is-playing li.trap.is-caught .p { color: #F3C766; }
.stream-rows.is-playing li.trap.is-caught .v {
    opacity: 1;
    transform: scale(1);
    transition: opacity var(--t1) var(--ease) 120ms, transform var(--t2) cubic-bezier(0.175, 0.885, 0.32, 1.1) 120ms;
}
.stream-rows.is-resetting li {
    opacity: 0 !important;
    transition: opacity var(--t2) var(--ease) !important;
}

/* ------------------------------------------------------------ how */

.how h2 { max-width: 16ch; }
.sequence {
    list-style: none;
    counter-reset: step;
    margin: 44px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 2px solid var(--ink);
}
.sequence li {
    counter-increment: step;
    padding: 26px 28px 0 0;
}
.sequence li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.sequence li::before {
    content: counter(step);
    display: block;
    font-size: 3.4rem;
    font-weight: 300;
    line-height: 1;
    color: var(--honey);
    margin-bottom: 18px;
    font-variation-settings: "opsz" 96;
}
.sequence p { margin-top: 10px; color: var(--slate); }

/* ------------------------------------------------------------ rules */

.rules-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; }
.rules-head p { color: var(--slate); max-width: 60ch; }

.rules-table { margin-top: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.rules-table .row {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1.6fr 0.8fr;
    gap: 20px;
    padding: 15px 22px;
    border-top: 1px solid var(--line);
    align-items: center;
}
.rules-table .row.head { border-top: 0; font-weight: 600; color: var(--slate); font-size: 0.92rem; background: var(--fog); }
.rules-table .row span:last-child { font-weight: 600; }
.rules-table .row:not(.head) span:last-child { color: var(--slate); }
.rules-table .row span:last-child:is(:not(:empty)) { white-space: nowrap; }

.limits {
    margin-top: 28px;
    padding: 24px 26px;
    border-left: 3px solid var(--ink);
    background: transparent;
    max-width: 78ch;
}
.limits p { margin-top: 8px; color: var(--slate); }

/* ------------------------------------------------------------ pricing */

.pricing-intro { margin-top: 16px; color: var(--slate); max-width: 60ch; font-size: 1.12rem; }
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.plan {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 32px;
    display: flex; flex-direction: column;
}
.plan + .plan { border: 2px solid var(--ink); }
.plan .sites { color: var(--slate); margin-top: 6px; }

.price-display { margin-top: 26px; min-height: 76px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price .amt { font-size: 4.2rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variation-settings: "opsz" 96; }
.price .per { color: var(--slate); font-size: 1.1rem; }

/* Show the price for the selected term; animate only when the user switches */
.price-yearly, .php-yearly { display: none; }
.plan:has(input[value="yearly"]:checked) .price-yearly,
.plan:has(input[value="yearly"]:checked) .php-yearly { display: inline; }
.plan:has(input[value="yearly"]:checked) .price-yearly { display: flex; }
.plan:has(input[value="yearly"]:checked) .price-lifetime,
.plan:has(input[value="yearly"]:checked) .php-lifetime { display: none; }
.plan.is-touched .price { animation: price-in var(--t2) var(--ease-out); }
@keyframes price-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.terms { border: 0; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.term {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "radio name price" "radio note note";
    column-gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease);
}
.term:hover { border-color: var(--slate); }
.term:has(input:checked) { border-color: var(--ink); background: #fff; }
.term input { grid-area: radio; width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.term-name { grid-area: name; font-weight: 700; }
.term-price { grid-area: price; font-weight: 600; }
.term-note { grid-area: note; font-size: 0.9rem; color: var(--slate); }
.term:has(input[value="lifetime"]) .term-note { color: var(--moss); font-weight: 600; }

.includes { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 9px; }
.includes li { padding-left: 28px; position: relative; }
.includes li::before {
    content: ""; position: absolute; left: 2px; top: 0.5em;
    width: 12px; height: 7px;
    border-left: 2.5px solid var(--moss); border-bottom: 2.5px solid var(--moss);
    transform: rotate(-45deg);
}

.email { display: grid; gap: 6px; margin: 28px 0 14px; font-weight: 600; font-size: 0.95rem; }
.email input {
    font: 400 1rem var(--font);
    padding: 13px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-s);
    background: #fff;
    color: var(--ink);
    transition: border-color var(--t1) var(--ease);
}
.email input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--honey-wash); }
.plan .btn { margin-top: auto; }
.charged { margin-top: 12px; font-size: 0.86rem; color: var(--slate); }

/* ------------------------------------------------------------ licensing */

.facts-grid { margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.facts-grid > div { padding: 22px 28px 22px 0; border-bottom: 1px solid var(--line); }
.facts-grid > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.facts-grid dt { font-weight: 700; }
.facts-grid dd { margin: 6px 0 0; color: var(--slate); }

/* ------------------------------------------------------------ faq */

.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); max-width: 820px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 40px 20px 0;
    font-weight: 600;
    font-size: 1.12rem;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    position: absolute; right: 6px; top: 50%;
    width: 12px; height: 12px;
    border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
    transform: translateY(-70%) rotate(45deg);
    transition: transform var(--t2) var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--slate); max-width: 70ch; }
.faq details[open] p { animation: reveal var(--t2) var(--ease-out); }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ footer */

.site-footer {
    max-width: var(--wrap);
    margin: clamp(90px, 12vw, 150px) auto 0;
    padding: 32px 24px 48px;
    border-top: 2px solid var(--ink);
    display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    color: var(--slate);
    font-size: 0.95rem;
}
.footer-links { display: flex; gap: 20px; }

/* ------------------------------------------------------------ notice pages (checkout errors, success) */

.notice { max-width: 640px; margin: 80px auto; padding: 0 24px; }
.notice h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.notice h2 { font-size: 1.5rem; margin-top: 40px; }
.notice p { margin-top: 16px; color: var(--slate); }
.notice .btn { margin-top: 8px; }
.keybox {
    margin-top: 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 18px 20px;
    background: var(--ink);
    color: #F3C766;
    border-radius: var(--radius-m);
}
.keybox code { background: none; color: inherit; font-size: 1.25rem; letter-spacing: 0.04em; padding: 0; }
.keybox .btn-quiet { color: var(--paper); border-color: rgba(255,255,255,0.4); }
.keybox .btn-quiet:hover { background: var(--paper); color: var(--ink); }
.facts { margin: 24px 0 0; display: grid; gap: 10px; }
.facts div { display: flex; gap: 14px; }
.facts dt { width: 70px; color: var(--slate); }
.facts dd { margin: 0; font-weight: 600; }
.steps { margin: 14px 0 0; padding-left: 22px; color: var(--slate); }
.steps li + li { margin-top: 8px; }
.fine { font-size: 0.88rem; }

/* ------------------------------------------------------------ founding & counter additions */

.founding-strip {
    background: #090d16;
    color: #F8FAFC;
    padding: 10px 24px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.founding-content {
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.founding-pill {
    background: #F3C766;
    color: #15212B;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}
.founding-content a {
    color: #F3C766;
    font-weight: 600;
}

.live-counter {
    max-width: var(--wrap);
    margin: 40px auto 0;
    padding: 0 24px;
}
.counter-box {
    background: #15212B;
    color: #F8FAFC;
    border-radius: var(--radius-m);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}
.counter-num {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    color: #F3C766;
    font-family: var(--font-mono);
    line-height: 1;
}
.counter-info {
    flex: 1;
    min-width: 280px;
}
.counter-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 8px;
}
.counter-info p {
    color: #8FA1AE;
    font-size: 0.95rem;
    line-height: 1.5;
}
.counter-info code {
    color: #F3C766;
    background: rgba(243, 199, 102, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.terms-free {
    margin: 22px 0 0;
    padding: 14px 16px;
    background: rgba(0,0,0,0.03);
    border: 1.5px dashed var(--line);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--slate);
    font-weight: 600;
    text-align: center;
}

/* ------------------------------------------------------------ ticker marquee */

.ticker {
    position: relative;
    margin-top: 36px;
    display: flex; align-items: center; gap: 14px;
    padding: 10px 10px 10px 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.ticker-toggle {
    flex: none; min-height: 36px; padding: 6px 14px;
    border: 1.5px solid var(--line); border-radius: 99px; background: var(--paper);
    font: 600 0.82rem/1 var(--font); color: var(--slate); cursor: pointer;
    transition: all var(--t1) var(--ease);
}
.ticker-toggle:hover { border-color: var(--ink); color: var(--ink); }
.ticker-track {
    display: flex; width: max-content;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track ul { list-style: none; margin: 0; padding: 0 14px 0 0; display: flex; gap: 14px; }
.ticker-track code { display: inline-block; padding: 6px 12px; background: var(--ink); color: var(--honey-2); border-radius: 6px; white-space: nowrap; font-family: var(--font-mono); font-size: 0.88rem; }
@media (prefers-reduced-motion: no-preference) {
    .ticker-track { animation: ticker 42s linear infinite; }
    .ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-toggle, .ticker-track ul[aria-hidden] { display: none; }
    .ticker-track { width: auto; mask-image: none; }
    .ticker-track ul { flex-wrap: wrap; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ rules table & tags */

.rules-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; }
.rules-head p { color: var(--slate); max-width: 60ch; }
.rules-table { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.rules-table .row {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1.6fr 0.8fr;
    gap: 20px;
    padding: 15px 22px;
    border-top: 1px solid var(--line);
    align-items: center;
}
.rules-table .row.head { border-top: 0; font-weight: 600; color: var(--slate); font-size: 0.92rem; background: var(--fog); }
.rules-table .row span:last-child { font-weight: 600; white-space: nowrap; }
.rules-table .row:not(.head) span:last-child { color: var(--slate); }

.tag-free {
    display: inline-block;
    padding: 3px 10px; border-radius: 99px;
    background: #ecfdf5; color: #047857 !important; border: 1px solid #a7f3d0; font-size: 0.82rem; font-weight: 700;
}
.tag-pro {
    display: inline-block;
    padding: 3px 10px; border-radius: 99px;
    background: var(--ink); color: var(--honey-2) !important; font-size: 0.82rem; font-weight: 700;
}

/* ------------------------------------------------------------ founding banner */

.founding {
    margin-top: 28px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
    padding: 16px 20px;
    background: var(--ink); color: #DCE4EA;
    border-radius: var(--radius-m);
}
.founding strong { color: var(--honey-2); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; white-space: nowrap; }
.seats { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.seats b { color: #fff; }
.seats-bar { position: relative; width: 140px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.seats-bar i { position: absolute; inset: 0; background: var(--honey); transform-origin: left; transform: scaleX(max(var(--fill), 0.03)); border-radius: inherit; }

/* ------------------------------------------------------------ pricing ribbon & badges */

.plan-best { border: 2px solid var(--ink); box-shadow: 0 30px 60px -40px rgba(21, 33, 43, 0.6); }
.ribbon {
    position: absolute; top: -13px; left: 26px;
    padding: 4px 12px; border-radius: 99px;
    background: var(--honey); color: var(--ink);
    font-weight: 700; font-size: 0.82rem;
    overflow: hidden;
}
.ribbon::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%);
}
@media (prefers-reduced-motion: no-preference) { .ribbon::after { animation: gleam 5s var(--ease) 1s infinite; } }
@keyframes gleam { 0%, 20% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }

/* ------------------------------------------------------------ compare plans table */

.compare-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.97rem; }
.compare caption { text-align: left; padding: 18px 22px 6px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.compare th, .compare td { padding: 13px 22px; text-align: left; border-top: 1px solid var(--line); }
.compare thead th { color: var(--slate); font-weight: 600; font-size: 0.9rem; border-top: 0; }
.compare tbody th { font-weight: 500; }
.compare .yes { color: var(--moss); font-weight: 600; }
.compare .no { color: var(--slate); }
.guarantee { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--moss); background: var(--paper); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: 0.95rem; }

/* ------------------------------------------------------------ floating offer bar */

.offer-bar {
    position: fixed; left: 50%; bottom: 16px; z-index: 90;
    width: min(760px, calc(100vw - 24px));
    display: flex; align-items: center; gap: 14px;
    padding: 10px 10px 10px 20px;
    background: var(--ink); color: #DCE4EA;
    border-radius: 14px;
    box-shadow: 0 24px 50px -20px rgba(21, 33, 43, 0.7);
    transform: translateX(-50%);
    opacity: 1; translate: 0 0;
    transition: opacity var(--t2) var(--ease-out), translate var(--t2) var(--ease-out), display var(--t2);
    transition-behavior: allow-discrete;
}
.offer-bar p { flex: 1; font-size: 0.95rem; margin: 0; }
.offer-bar strong { color: #fff; }
.offer-bar[hidden] { display: none; }
.offer-bar[data-closing] { opacity: 0; translate: 0 120%; }
.icon-btn { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* ------------------------------------------------------------ toasts */

.toast {
    position: fixed;
    inset: auto auto var(--toast-bottom, 20px) 20px;
    margin: 0; z-index: 100;
    width: min(360px, calc(100vw - 40px));
    display: none;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px; align-items: center;
    padding: 12px 8px 12px 14px;
    background: var(--paper); color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 50px -24px rgba(21, 33, 43, 0.55);
}
.toast.is-open { display: grid; }
.toast-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); }
.toast-icon::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--honey); }
.toast[data-kind="sale"] .toast-icon { background: var(--moss); }
.toast[data-kind="sale"] .toast-icon::before { width: 11px; height: 6px; border-radius: 0; background: none; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.toast[data-kind="probe"] .toast-icon::before { background: var(--brick); border-radius: 50%; }
.toast-title { font-size: 0.8rem; font-weight: 600; color: var(--slate); margin: 0; }
.toast-body { font-weight: 600; font-size: 0.95rem; line-height: 1.3; font-variant-numeric: tabular-nums; margin: 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; }
    .rules-head { grid-template-columns: 1fr; gap: 16px; }
    .plans { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .masthead nav { display: none; }
    .sequence { grid-template-columns: 1fr; }
    .sequence li, .sequence li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .rules-table .row.head { display: none; }
    .rules-table .row { grid-template-columns: 1fr; gap: 4px; }
    .rules-table .row span:first-child { font-weight: 700; }
    .facts-grid { grid-template-columns: 1fr; }
    .facts-grid > div:nth-child(even) { padding-left: 0; border-left: 0; }
    .plan { padding: 24px; }
    .price .amt { font-size: 3.4rem; }
    .stream-rows { font-size: 0.78rem; }
    .stream-rows li { grid-template-columns: 40px minmax(0, 1fr) auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
