/* amzm.co.uk: Inter, navy ink, AMZM orange, white rounded cards on a cool grey page, navy hero. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f8f9fb;
  --surface: #ffffff;
  --ink: #0f1729;
  --muted: #5d6981;
  --rule: #e0e4eb;
  --tint: #f2f4f7;
  --accent: #ff6600;
  --accent-2: #ff8533;
  --accent-text: #c2410c;
  --accent-soft: #fff3eb;
  --accent-line: #ffd1b2;
  --accent-hover: #e65c00;
  --del: #dc2626;
  --del-bg: #fef2f2;
  --add: #047857;
  --add-bg: #ecfdf5;
  --success: #10b77f;
  --navy: #0f1729;
  --hero-bg: linear-gradient(135deg, #0b111e 0%, #122549 50%, #0f1729 100%);
  --hero-glow: radial-gradient(ellipse 80% 50% at 50% -20%, rgb(255 102 0 / 0.16), transparent);
  --on-navy: #ffffff;
  --on-navy-muted: #a9b4c9;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 18px;
  --shadow-card: 0 4px 24px -4px rgb(15 23 41 / 0.06);
  --shadow-card-hover: 0 12px 40px -8px rgb(15 23 41 / 0.12);
  --shadow-accent: 0 10px 40px -10px rgb(255 102 0 / 0.45);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 750; letter-spacing: -0.03em; }
h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-s); z-index: 20; }
.skip:focus { top: 12px; }
.text-link { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 650; text-decoration: none;
  border: 1px solid transparent; box-shadow: var(--shadow-accent); transition: transform 150ms ease, filter 150ms ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--rule); box-shadow: none; }
.btn-secondary:hover { border-color: #c9d0dc; filter: none; }
.btn-dark { background: var(--navy); color: #fff; box-shadow: none; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.95rem; border-radius: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.03em; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; }
.main-nav { display: flex; gap: 26px; flex: 1; justify-content: flex-end; }
.main-nav a, .link-quiet { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.97rem; }
.main-nav a:hover, .link-quiet:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; }
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; gap: 0 16px; padding-top: 10px; }
  .header-actions { margin-left: auto; }
  .main-nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; gap: 20px; padding: 8px 0 10px; }
  .main-nav a { white-space: nowrap; }
}

/* Sections */
.section { padding: clamp(68px, 9vw, 116px) 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--rule); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }
.pill-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 650; color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 3px 12px; margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.icon-tile svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Hero: navy, with an orange glow */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--on-navy); padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 9vw, 120px); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 72px); align-items: center; }
.hero-copy h1 { max-width: 19ch; color: #fff; font-size: clamp(2.3rem, 4.2vw, 3.6rem); }
.hero-copy h1 em { font-style: normal; color: var(--accent-2); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 550; color: #ff9a5c; background: rgb(255 102 0 / 0.12); border: 1px solid rgb(255 102 0 / 0.35); border-radius: 999px; padding: 6px 16px; margin-bottom: 26px; }
.hero-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 52ch; }
.hero .lede { color: var(--on-navy-muted); }
.hero .small { color: #7f8aa3; }
.btn-ghost-ink, .hero .btn-secondary { background: rgb(255 255 255 / 0.04); color: #fff; border-color: rgb(255 255 255 / 0.22); box-shadow: none; }
.btn-ghost-ink:hover, .hero .btn-secondary:hover { border-color: rgb(255 255 255 / 0.5); background: rgb(255 255 255 / 0.08); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy h1 { max-width: 20ch; } }

/* The hero alert card */
.redline { margin: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 0 24px 18px; overflow: hidden; }
.redline-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); margin: 0 -24px; padding: 13px 24px; background: var(--del-bg); border-bottom: 1px solid #fbd9d9; }
.tag { display: inline-flex; align-items: center; gap: 8px; color: var(--del); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--del); box-shadow: 0 0 0 3px rgb(220 38 38 / 0.15); }
.asin { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.when { margin-left: auto; }
.redline-title { font-size: 1.15rem; font-weight: 700; margin: 16px 0 8px; letter-spacing: -0.015em; }
.changes { margin: 0; }
.change { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.change dt { color: var(--muted); font-size: 0.88rem; padding-top: 2px; }
.change dd { margin: 0; }
del { color: var(--del); text-decoration: line-through; text-decoration-thickness: 2px; }
ins { color: var(--add); background: var(--add-bg); text-decoration: none; padding: 1px 4px; border-radius: 4px; font-weight: 600; }
.delta { color: var(--accent-text); font-weight: 700; margin-left: 4px; font-size: 0.85em; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba > div { border: 1px solid var(--rule); border-radius: 12px; padding: 8px 12px; }
.ba small { display: block; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ba del { color: var(--muted); font-weight: 700; font-size: 1.15rem; }
.ba-after { background: var(--accent-soft); border-color: var(--accent-line) !important; }
.ba-after small { color: var(--accent-text); }
.ba-after strong { font-size: 1.15rem; }
.image-swap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.thumb { width: 44px; height: 44px; border-radius: var(--radius-s); border: 1px solid var(--rule); overflow: hidden; }
.thumb.was { opacity: 0.55; }
.thumb.now { border-color: var(--success); }
.swap-arrow { width: 18px; height: 2px; background: var(--muted); position: relative; }
.swap-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--muted); border-right: 0; }
.image-swap > span:last-child { color: var(--muted); font-size: 0.93rem; }
.advice { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; margin-top: 8px; padding: 12px 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 12px; }
.advice > p { grid-column: 2; }
.advice::before { content: ""; grid-row: 1 / span 2; width: 18px; height: 18px; margin-top: 2px; background: var(--accent); -webkit-mask: var(--sparkle) center / contain no-repeat; mask: var(--sparkle) center / contain no-repeat; }
.advice p { margin: 0; font-size: 0.95rem; }
.advice-label { font-weight: 700; color: var(--accent-text); font-size: 0.85rem; margin-bottom: 2px !important; }
.redline figcaption { margin-top: 14px; font-size: 0.78rem; color: var(--muted); }
:root { --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.3L20.5 10l-6.3 2.2L12 18.5l-2.2-6.3L3.5 10l6.3-1.7z'/%3E%3Cpath d='M19 15l.9 2.1L22 18l-2.1.9L19 21l-.9-2.1L16 18l2.1-.9z'/%3E%3C/svg%3E"); }

/* One orchestrated moment: the change lands on load */
@media (prefers-reduced-motion: no-preference) {
  .redline del { text-decoration-color: transparent; animation: strike 500ms 500ms ease-out forwards; }
  .redline .ba-after, .redline ins { animation: insert 500ms 950ms ease-out both; }
  .redline .advice { animation: rise 500ms 1400ms ease-out both; }
}
@keyframes strike { to { text-decoration-color: currentColor; } }
@keyframes insert { from { opacity: 0.2; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* What we watch: feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 22px 22px 20px; box-shadow: var(--shadow-card); transition: box-shadow 200ms ease, transform 200ms ease; display: flex; flex-direction: column; gap: 14px; }
.feature:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.feature h3 { margin: 0; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.plan-note { font-size: 0.72rem; font-weight: 650; color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Steps: a real sequence, so it is numbered */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; text-align: center; }
.steps li { display: flex; flex-direction: column; align-items: center; }
.step-icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow-accent); display: grid; place-items: center; }
.step-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; margin: 18px 0 12px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; max-width: 32ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Digest preview: a window */
.digest { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 0 22px 18px; box-shadow: var(--shadow-card-hover); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; margin: 0 -22px 16px; padding: 12px 18px; border-bottom: 1px solid var(--rule); background: var(--paper); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.window-bar i:nth-child(1) { background: #f26464; } .window-bar i:nth-child(2) { background: #f5b83d; } .window-bar i:nth-child(3) { background: #36c08a; }
.window-bar span { margin: 0 auto; padding-right: 40px; }
.digest-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 6px; }
.digest-head span { color: var(--muted); font-size: 0.9rem; }
.digest-list { list-style: none; margin: 0; padding: 0; }
.digest-list li { display: flex; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--rule); }
.digest-list strong { display: block; font-size: 0.98rem; }
.digest-list span { color: var(--muted); font-size: 0.92rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; flex: none; }
.dot-down { background: var(--del); }
.dot-up { background: var(--success); }
.dot-neutral { background: var(--accent); }
.advice-compact { margin-top: 14px; }
.digest-foot { font-size: 0.78rem; color: var(--muted); margin: 12px 0 0; }

/* Calculator */
.calc-form { display: grid; gap: 24px; margin-top: 24px; }
.calc-form label { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-weight: 550; }
.calc-form output { font-weight: 750; color: var(--accent-text); }
.calc-form input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.calc-result { background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); border: 1px solid var(--accent-line); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-card); }
.calc-big { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 12px; }

/* Pricing */
.pricing-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 12px; margin: -12px 0 36px; }
.billing-toggle { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 4px; margin: 0; background: var(--surface); box-shadow: var(--shadow-card); }
.billing-toggle label { position: relative; padding: 7px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.billing-toggle label small { color: var(--add); font-weight: 650; margin-left: 4px; }
.billing-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.billing-toggle label:has(input:checked) { background: var(--navy); color: #fff; }
.billing-toggle label:has(input:checked) small { color: #6ee7b7; }
.billing-toggle label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-l); box-shadow: var(--shadow-card); }
.plan-featured { border: 2px solid var(--accent); box-shadow: var(--shadow-accent); }
.ribbon { position: absolute; top: -1px; right: 18px; transform: translateY(-50%); font-size: 0.7rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 8px; padding: 4px 10px; }
.ribbon-dark { background: var(--navy); }
.plan h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.badge { font-size: 0.72rem; font-weight: 650; color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 1px 8px; border-radius: 999px; }
.plan header p { min-height: 2.9em; font-size: 0.95rem; }
.price { margin: 10px 0 2px; }
.price strong { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; }
.per { color: var(--muted); }
.billing-note { font-size: 0.85rem; color: var(--muted); min-height: 2.6em; }
.plans.billing-monthly .show-annual, .plans.billing-annual .show-monthly { display: none; }
.limits, .features { list-style: none; padding: 0; margin: 0 0 14px; }
.limits { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; margin-top: 6px; }
.limits li { padding: 3px 0; }
.features li { padding: 5px 0 5px 26px; position: relative; font-size: 0.95rem; }
.features li::before { content: ""; position: absolute; left: 3px; top: 0.78em; width: 10px; height: 5px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.plan-featured .features li::before { border-color: var(--accent); }
.excluded-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin: 6px 0 2px; }
.features.excluded li { color: #9aa3b5; }
.features.excluded li::before { width: 10px; height: 10px; border: 0; transform: none; top: 0.7em; left: 3px; background: linear-gradient(45deg, transparent 44%, #b6bdcb 44%, #b6bdcb 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #b6bdcb 44%, #b6bdcb 56%, transparent 56%); }
.plan-cta { margin-top: auto; width: 100%; }
.plan:not(.plan-featured) .plan-cta.btn-secondary { background: var(--surface); }
.plan.plan-last .plan-cta, .plan.plan-last .plan-cta.btn-secondary { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: none; }
#pricing .plans + p { margin-top: 22px; text-align: center; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan header p, .billing-note { min-height: 0; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
blockquote { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 22px; box-shadow: var(--shadow-card); }
blockquote p { font-size: 1.05rem; }
blockquote footer { color: var(--muted); font-size: 0.92rem; }

/* FAQ: one card per question */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 200ms ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); max-width: 68ch; padding: 0 24px 20px; margin: 0; }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.final-cta .cta-row { justify-content: center; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; list-style: none; padding: 0; margin: 8px 0 0; font-size: 0.92rem; }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks li::before { content: ""; width: 16px; height: 16px; background: currentColor; opacity: 0.75; -webkit-mask: var(--check-circle) center / contain no-repeat; mask: var(--check-circle) center / contain no-repeat; }
:root { --check-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E"); }

/* Sample report */
.report h1 { font-size: clamp(2rem, 4vw, 3rem); }
.report h2 { margin-top: 56px; font-size: 1.5rem; }
.notice { display: inline-block; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; margin-bottom: 28px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--surface); box-shadow: var(--shadow-card); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.data th, .data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.data thead th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.data tbody tr:last-child > * { border-bottom: 0; }
.data tbody th { font-weight: 650; }
.row-you { background: var(--accent-soft); }
.actions { padding-left: 1.4em; }
.actions li { padding: 6px 0 10px; }
.actions li::marker { color: var(--accent); font-weight: 700; }
.actions h3 { margin-bottom: 4px; }
.actions p { color: var(--muted); max-width: 70ch; }
.report-cta { margin-top: 56px; padding: 28px; border-radius: var(--radius-l); background: var(--hero-bg); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.report-cta p { margin: 0; font-size: 1.15rem; font-weight: 600; }
.report-cta .btn-secondary { background: rgb(255 255 255 / 0.06); color: #fff; border-color: rgb(255 255 255 / 0.25); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--rule); padding: 36px 0 28px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; }
.brand-small { font-size: 1.1rem; margin-bottom: 8px; }
.brand-small .logo-mark { width: 26px; height: 26px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--ink); }
.fineprint { color: var(--muted); font-size: 0.8rem; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); }

/* ---------- Charts ---------- */
.chart { margin: 0; position: relative; }
.chart-title { font-weight: 650; font-size: 0.95rem; margin-bottom: 4px; }
.chart-title span { color: var(--muted); font-weight: 450; font-size: 0.85rem; }
.chart-plot { position: relative; }
.chart-plot > svg { width: 100%; height: auto; overflow: visible; display: block; }
.chart-plot > svg:focus-visible { outline-offset: 6px; }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .tick { fill: var(--muted); font-size: 11.5px; font-family: var(--font); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.dashed { stroke-dasharray: 5 5; }
.chart .end-dot { stroke: var(--surface); stroke-width: 2; }
.chart .end-label { fill: var(--ink); font-size: 12px; font-weight: 650; font-family: var(--font); }
.chart .end-label .end-name { fill: var(--muted); font-weight: 500; }
.chart .annot { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.55; }
.chart .annot-label { fill: var(--ink); font-size: 11.5px; font-weight: 600; font-family: var(--font); }
.chart .band { fill: var(--tint); }
.chart .crosshair { stroke: var(--ink); stroke-width: 1; opacity: 0; pointer-events: none; }
.chart .is-hovering .crosshair { opacity: 0.35; }
.chart .hover-dot { stroke: var(--surface); stroke-width: 2; pointer-events: none; }
.chart .hit { fill: transparent; cursor: crosshair; }
.legend { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.85rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend .swatch { display: inline-block; width: 18px; height: 6px; flex: none; }
.tooltip { position: absolute; z-index: 3; min-width: 168px; background: var(--navy); color: #fff; border-radius: var(--radius-s); padding: 8px 10px; font-size: 0.82rem; pointer-events: none; box-shadow: 0 6px 20px rgba(26, 34, 48, 0.18); }
.tooltip p { margin: 0; }
.tooltip-head { color: #b9c1cf; margin-bottom: 4px !important; }
.tooltip-row { display: flex; align-items: center; gap: 8px; padding: 1px 0; }
.tooltip-row strong { margin-left: auto; padding-left: 12px; }
.tooltip-swatch { width: 10px; height: 3px; border-radius: 2px; flex: none; }
.chart-compact { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.chart-compact .chart-title { font-size: 0.85rem; color: var(--muted); font-weight: 550; }
.chart-compact .legend { display: none; }

/* Hero card shadow */
.redline-stack { position: relative; }
.redline-stack > .redline { position: relative; z-index: 1; box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.55); }
.live-dot { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .redline .chart .lines path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1100ms 300ms ease-out forwards; }
  .redline .chart .end-dot, .redline .chart .end-label, .redline .chart .annot, .redline .chart .annot-label { animation: rise 400ms 1300ms ease-out both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Dark sections: the same navy as the hero */
.section-ink { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--on-navy); }
.section-ink::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.section-ink > .wrap { position: relative; }
.section-ink .muted, .section-ink p { color: var(--on-navy-muted); }
.section-ink h2 { color: #fff; }
.section-ink .pill-label { color: #ff9a5c; background: rgb(255 102 0 / 0.12); border-color: rgb(255 102 0 / 0.35); }
.btn-on-ink { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.section-ink :focus-visible { outline-color: #fff; }

/* Scenario */
.scenario-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.scenario { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 0; background: var(--surface); color: var(--ink); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.55); }
.scenario p { color: inherit; }
.timeline { list-style: none; margin: 0; padding: 28px 28px 28px 52px; background: var(--paper); border-right: 1px solid var(--rule); position: relative; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 40px; bottom: 48px; width: 2px; background: var(--rule); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline li:first-child::before { border-color: var(--del); }
.timeline li:last-child::before { background: var(--accent); }
.timeline p { margin: 0; }
.t-when { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px !important; }
.timeline li p:not(.t-when) { color: var(--muted) !important; font-size: 0.97rem; }
.scenario-charts { padding: 24px 28px 20px; display: grid; gap: 22px; }
.scenario-note { margin: 16px 0 0; font-size: 0.82rem; color: #7f8aa3 !important; text-align: center; }
@media (max-width: 900px) {
  .scenario { grid-template-columns: 1fr; }
  .timeline { border-right: 0; border-bottom: 1px solid var(--rule); }
  .scenario-charts { padding: 20px 16px; }
}

/* Digest extras */
.digest-list li { align-items: flex-start; }
.digest-list li > div { flex: 1; min-width: 0; }
.spark { flex: none; margin-top: 6px; }
.chip { flex: none; font-size: 0.78rem; font-weight: 600; color: var(--muted); background: var(--tint); border-radius: 999px; padding: 2px 9px; margin-top: 6px; white-space: nowrap; }

/* Calculator bars */
.calc-bars { width: 100%; height: auto; margin: 4px 0 14px; overflow: visible; }
.calc-bars .bar-label { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.calc-bars .bar-value { fill: var(--ink); font-size: 12px; font-weight: 650; font-family: var(--font); }
.calc-bars .bar-risk { fill: var(--del); transition: width 200ms ease-out; }
.calc-bars .bar-cost { fill: var(--accent); transition: width 200ms ease-out; }
@media (prefers-reduced-motion: reduce) { .calc-bars rect { transition: none; } }

/* Report extras */
.kpis { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpis li { padding: 16px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); box-shadow: var(--shadow-card); }
.kpis li:first-child { background: var(--accent-soft); border-color: var(--accent-line); }
.kpis strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.kpis span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 700px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.report-charts { display: grid; gap: 20px; margin-top: 28px; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 20px 22px 14px; box-shadow: var(--shadow-card); }

/* Small screens: SVG text scales with the chart, so enlarge it and let the legend carry series names */
@media (max-width: 600px) {
  .chart .tick { font-size: 20px; }
  .chart .annot-label { font-size: 20px; }
  .chart .end-label { display: none; }
  .chart .line { stroke-width: 3; }
  .chart-compact .legend { display: flex; }
}

/* Discount code */
.promo { display: flex; flex-direction: column; gap: 4px; }
.promo-input { height: 44px; width: 220px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-family: var(--mono); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: var(--shadow-card); }
.promo-input::placeholder { color: var(--muted); font-weight: 450; letter-spacing: 0.08em; }
.promo-input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.promo.is-valid .promo-input { border-color: var(--success); box-shadow: 0 0 0 3px var(--add-bg); }
.promo.is-invalid .promo-input { border-color: var(--del); }
.promo-status { margin: 0; min-height: 1.3em; font-size: 0.85rem; font-weight: 600; padding-left: 14px; }
.promo.is-valid .promo-status { color: var(--add); }
.promo.is-valid .promo-status::before { content: ""; display: inline-block; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); margin: 0 7px 3px 1px; }
.promo.is-invalid .promo-status { color: var(--del); }
.plan.has-promo .billing-annual .annual-note, .plans.billing-annual .plan.has-promo .annual-note { color: var(--add); font-weight: 600; }

/* ---------- Extension page ---------- */
.ext-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ext-hero h1 { max-width: 16ch; }
.ext-version { font-weight: 600; color: var(--accent-text); margin-bottom: 14px; }
.pair-card { background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 8px 24px 16px; box-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.55); }
.pair-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.pair-row strong { display: block; }
.pair-row span { color: var(--muted); font-size: 0.93rem; }
.pair-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex: none; }
.pair-dot.is-on { background: var(--add); box-shadow: 0 0 0 4px var(--add-bg); }
.pair-dot.is-wait { background: var(--surface); border: 2px solid var(--accent); }
.pair-foot { margin: 12px 0 0; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) { .ext-hero-grid { grid-template-columns: 1fr; } }
.ext-intro { max-width: 60ch; }

.lanes { display: grid; grid-template-columns: 120px repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 14px 14px; margin-top: 28px; position: relative; align-items: start; }
.lanes::before, .lanes::after { content: ""; position: absolute; left: 0; right: 0; border-radius: var(--radius-m); z-index: 0; }
.lane-label { margin: 0; align-self: center; font-weight: 700; font-size: 0.9rem; position: relative; z-index: 1; padding-left: 4px; }
.lane-server { grid-row: 1; grid-column: 1; color: var(--accent-text); }
.lane-chrome { grid-row: 2; grid-column: 1; color: var(--ink); }
.flow-step { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 16px 16px 14px; box-shadow: var(--shadow-card); }
.flow-step h3 { font-size: 1rem; margin: 10px 0 4px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.lane-server-step { grid-row: 1; border-top: 3px solid var(--accent); }
.lane-chrome-step { grid-row: 2; border-top: 3px solid var(--ink); }
.col-1 { grid-column: 2; } .col-2 { grid-column: 3; } .col-3 { grid-column: 4; } .col-4 { grid-column: 5; } .col-5 { grid-column: 6; }
.flow-num { position: absolute; top: 12px; right: 14px; font-weight: 750; color: var(--muted); font-size: 0.9rem; }
.flow-icon { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; background: var(--tint); align-items: center; justify-content: center; }
.flow-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lane-server-step .flow-icon { background: var(--accent-soft); }
.lane-server-step .flow-icon svg { stroke: var(--accent); }
.flow-where { display: none; }
@media (max-width: 960px) {
  .lanes { grid-template-columns: 1fr; }
  .lane-label { display: none; }
  .flow-step, .lane-server-step, .lane-chrome-step { grid-row: auto; grid-column: 1; }
  .flow-where { display: block; font-size: 0.8rem !important; font-weight: 650; margin-top: 8px !important; }
  .lane-server-step .flow-where { color: var(--accent-text) !important; }
}

.reads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.reads-col { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 22px 24px; box-shadow: var(--shadow-card); }
.reads-col h3 { margin-bottom: 12px; }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--rule); }
.tick-list li:first-child { border-top: 0; }
.tick { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--add-bg); flex: none; align-items: center; justify-content: center; margin-top: 2px; }
.tick svg { width: 12px; height: 12px; fill: none; stroke: var(--add); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.reads-never .tick { background: var(--tint); }
.reads-never .tick svg { stroke: var(--muted); }
@media (max-width: 760px) { .reads { grid-template-columns: 1fr; } }
.pause-table td, .pause-table th { white-space: normal; vertical-align: top; min-width: 200px; }
.steps-vertical { grid-template-columns: 1fr; margin-top: 0; gap: 24px; }
.tip h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* Privacy notice and terms */
.legal h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 0.3em; }
.legal h2 { font-size: 1.35rem; margin: 1.8em 0 0.5em; }
.legal ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 0.6em; margin: 0 0 1em; }
.legal p, .legal li { max-width: 68ch; }
@media (max-width: 480px) { .hero-badge { font-size: 0.8rem; padding: 5px 12px; } h1 { letter-spacing: -0.03em; } }

/* ================================================================
   Motion. Everything below is decoration: with reduced motion the page shows the final state.
   ================================================================ */

/* Hero: a slowly drifting glow over a faint grid */
.hero::before { background: radial-gradient(ellipse 55% 45% at 25% 0%, rgb(255 102 0 / 0.20), transparent 70%), radial-gradient(ellipse 45% 40% at 85% 20%, rgb(37 99 235 / 0.22), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); }
@keyframes drift { 0% { transform: translate3d(-3%, -2%, 0) scale(1); } 50% { transform: translate3d(4%, 3%, 0) scale(1.08); } 100% { transform: translate3d(-2%, 4%, 0) scale(1.02); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(220 38 38 / 0.45); } 80%, 100% { box-shadow: 0 0 0 9px rgb(220 38 38 / 0); } }
@keyframes ping-orange { 0% { box-shadow: 0 0 0 0 rgb(255 102 0 / 0.5); } 80%, 100% { box-shadow: 0 0 0 14px rgb(255 102 0 / 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes slide-in-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(255 102 0 / 0); } 50% { box-shadow: 0 0 0 6px rgb(255 102 0 / 0.14); } }

/* Hero card: a bigger, louder before and after */
.change-price { align-items: center; }
.ba { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.ba > div { padding: 10px 14px; }
.ba del, .ba-after strong { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ba-after strong { color: var(--ink); }
.ba-arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.ba-arrow svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-after .delta { display: inline-block; background: var(--del); color: #fff; border-radius: 6px; padding: 1px 6px; font-size: 0.78rem; vertical-align: 5px; margin-left: 6px; }

/* Floating live rank card */
.redline-stack { margin-left: 40px; }
.float-card { position: absolute; z-index: 2; left: -64px; bottom: -48px; width: 300px; background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: 16px; padding: 12px 14px 8px; box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.55); }
.float-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.live-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); letter-spacing: 0.02em; text-transform: none; font-weight: 650; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.float-legend { display: flex; gap: 14px; margin: 0 0 4px; font-size: 0.78rem; color: var(--muted); }
.float-legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: 3px; }
.float-legend b { color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 2px; }
.live-chart { width: 100%; height: 86px; display: block; overflow: visible; }
@media (max-width: 960px) { .redline-stack { margin-left: 0; } .float-card { position: relative; left: auto; bottom: auto; width: 100%; margin-bottom: 14px; } }

/* Ticker of example changes along the bottom of the hero */
.ticker { position: relative; display: flex; align-items: center; gap: 16px; width: min(1200px, 100% - 40px); margin: clamp(48px, 6vw, 72px) auto 0; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / 0.09); border-bottom: 1px solid rgb(255 255 255 / 0.09); }
.ticker-label { flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ff9a5c; }
.ticker-window { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 34px; width: max-content; }
.tick-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 0.92rem; color: var(--on-navy-muted); }
.tick-item b { color: #fff; font-weight: 600; }
.tick-dot { width: 8px; height: 8px; border-radius: 50%; }
.tick-dot.down { background: #f87171; } .tick-dot.up { background: #34d399; } .tick-dot.warn { background: #ff9a5c; }

/* Before & after section */
.ba-section { background: var(--surface); border-bottom: 1px solid var(--rule); }
.compare { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.compare-stage { --pos: 50%; position: relative; display: grid; border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-card-hover); user-select: none; touch-action: pan-y; }
.compare-layer { grid-area: 1 / 1; background: var(--surface); }
.compare-layer.is-before { background: #fbfbfc; }
.compare-layer.is-after { clip-path: inset(0 0 0 var(--pos)); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.6); }
.compare-knob { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow-accent); display: grid; place-items: center; }
.compare-knob svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-range:focus-visible + * , .compare-stage:has(.compare-range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.compare-tag { position: absolute; top: 14px; z-index: 1; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.t-before { left: 14px; background: var(--navy); color: #fff; }
.t-after { right: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.lst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding: 60px 30px 30px; align-items: start; }
.lst-img svg { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--rule); }
.lst-info p { margin: 0 0 8px; }
.lst-brand { font-size: 0.82rem; color: #2563eb; }
.lst-title { font-size: 1.12rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
.lst-rating { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.stars { width: 74px; height: 13px; flex: none; background: linear-gradient(90deg, #ff9900 var(--pct), #d7dbe3 var(--pct)); -webkit-mask: var(--star) 0 0 / 14.8px 13px repeat-x; mask: var(--star) 0 0 / 14.8px 13px repeat-x; }
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M12 1l3.1 6.9 7.4.7-5.6 5 1.7 7.4L12 17.2 5.4 21l1.7-7.4-5.6-5 7.4-.7z'/%3E%3C/svg%3E"); }
.lst-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lst-price strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.lst-price s { color: var(--muted); font-size: 0.95rem; }
.lst-cut { color: #fff; background: var(--del); font-weight: 750; font-size: 0.85rem; border-radius: 6px; padding: 2px 7px; align-self: center; }
.lst-coupon { display: inline-block; font-size: 0.82rem; font-weight: 650; color: var(--add); background: var(--add-bg); border: 1px dashed #6ee7b7; border-radius: 6px; padding: 2px 8px; }
.lst-coupon.is-empty { color: var(--muted); background: var(--tint); border-color: var(--rule); }
.lst-bullets { margin: 6px 0 10px; padding-left: 18px; font-size: 0.9rem; color: var(--muted); }
.lst-bullets li { padding: 2px 0; }
.lst-buybox { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 8px; }
.lst mark { background: rgb(255 102 0 / 0.16); color: var(--ink); border-radius: 3px; padding: 0 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.compare-side { display: flex; flex-direction: column; gap: 10px; }
.compare-side-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 12px 16px; background: var(--del-bg); border: 1px solid #fbd9d9; border-radius: 12px; }
.compare-changes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.compare-changes li { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 7px 12px; box-shadow: var(--shadow-card); transition: border-color 300ms ease, background-color 300ms ease, transform 300ms ease; transition-delay: calc(var(--i) * 90ms); }
.compare-changes .icon-tile { width: 34px; height: 34px; border-radius: 9px; }
.compare-changes .icon-tile svg { width: 19px; height: 19px; }
.compare-changes strong { display: block; font-size: 0.94rem; line-height: 1.3; }
.compare-changes span:not(.icon-tile) { color: var(--muted); font-size: 0.85rem; }
.compare[data-state="after"] .compare-changes li { border-color: var(--accent-line); background: linear-gradient(90deg, var(--accent-soft), var(--surface) 70%); transform: translateX(4px); }
.ba-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin: 18px 0 0; }
@media (max-width: 960px) { .compare { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lst { grid-template-columns: 1fr; padding: 48px 16px 18px; gap: 14px; } .lst-img { max-width: 220px; } }

/* Reveal on scroll (only once main.js has run, so nothing hides without JS) */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift 16s ease-in-out infinite alternate; }
  .hero-badge svg { animation: spin 3.2s linear infinite; }
  .tag::before { animation: ping 1.6s ease-out infinite; }
  .live-pill i { animation: ping-orange 1.8s ease-out infinite; }
  .float-card { animation: float 6s ease-in-out infinite; }
  .ticker-track { animation: marquee 38s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .redline-stack > .redline { animation: slide-in-up 700ms 150ms cubic-bezier(.2,.8,.2,1) both; }
  .float-card { animation: slide-in-up 700ms 450ms cubic-bezier(.2,.8,.2,1) both, float 6s 1.2s ease-in-out infinite; }
  .ba-after .delta { animation: pop 500ms 2000ms cubic-bezier(.2,.8,.2,1) both; }
  .ba-arrow { animation: glow-pulse 2.4s 2.2s ease-in-out infinite; }
  .hero-copy > * { animation: slide-in-up 700ms cubic-bezier(.2,.8,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 80ms; } .hero-copy > *:nth-child(3) { animation-delay: 160ms; } .hero-copy > *:nth-child(4) { animation-delay: 240ms; } .hero-copy > *:nth-child(5) { animation-delay: 320ms; }

  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .chart.draw .lines path { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
  .js .chart.draw.is-in .lines path { animation: draw 1600ms 200ms ease-out forwards; }
  .js .chart.draw .end-dot, .js .chart.draw .end-label, .js .chart.draw .annot, .js .chart.draw .annot-label { opacity: 0; }
  .js .chart.draw.is-in .end-dot, .js .chart.draw.is-in .end-label, .js .chart.draw.is-in .annot, .js .chart.draw.is-in .annot-label { animation: rise 500ms 1500ms ease-out both; }
  .js .spark polyline { stroke-dasharray: 300; stroke-dashoffset: 300; }
  .js .is-in .spark polyline { animation: draw 1200ms 400ms ease-out forwards; }
  .js .step-icon { transform: scale(0.7); opacity: 0; transition: transform 600ms cubic-bezier(.2,1.4,.4,1), opacity 400ms ease; transition-delay: calc(var(--d, 0) * 120ms + 150ms); }
  .js .is-in .step-icon { transform: none; opacity: 1; }
  .step-icon { position: relative; }
  .step-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ping-orange 2.6s ease-out infinite; }
  .feature:hover .icon-tile svg { animation: spin 900ms cubic-bezier(.2,.8,.2,1); }
  .js .digest-list li { opacity: 0; transform: translateX(18px); transition: opacity 500ms ease, transform 500ms ease; }
  .js .digest.is-in .digest-list li { opacity: 1; transform: none; }
  .js .digest.is-in .digest-list li:nth-child(2) { transition-delay: 180ms; } .js .digest.is-in .digest-list li:nth-child(3) { transition-delay: 360ms; }
  .js .calc-bars rect { transition: width 600ms cubic-bezier(.2,.8,.2,1); }
  .plan { transition: transform 250ms ease, box-shadow 250ms ease; }
  .plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
  .plan-featured:hover { box-shadow: 0 20px 50px -14px rgb(255 102 0 / 0.5); }
  .faq details[open] p { animation: rise 350ms ease-out; }
}
.hero > .wrap, .hero > .ticker { position: relative; z-index: 1; }
.compare-side .advice { margin-top: 2px; }
.redline .advice { margin-bottom: 4px; }
.change-rank dt { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.change-rank .live-pill { font-size: 0.72rem; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 0 8px; }
.change-rank .live-chart { height: 74px; }
.redline-stack { margin-left: 0; }

/* Calm pass: one light theme, quiet hero, no decoration. Overrides the earlier dark-hero rules. */
.hero { background: var(--paper); color: var(--ink); padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--rule); }
.hero::before, .hero::after { content: none; animation: none; }
.hero-copy h1 { color: var(--ink); max-width: 18ch; }
.hero-copy h1 em { color: var(--accent-text); }
.hero .lede { color: var(--muted); max-width: 46ch; }
.hero .btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--rule); }
.hero .btn-secondary:hover { border-color: var(--ink); background: var(--surface); }
.final-cta { background: var(--surface); border-top: 1px solid var(--rule); }
.final-cta h2 { color: var(--ink); }
.final-cta p { color: var(--muted); }
.final-cta .checks { color: var(--muted); }
.section-tint { background: var(--tint); }
.btn, .btn-secondary { box-shadow: none; }
.hero-copy h1 { font-size: clamp(2.1rem, 3.5vw, 3rem); max-width: 20ch; }
.promo-input { font-family: var(--font); letter-spacing: 0.02em; }
.promo-input::placeholder { text-transform: none; letter-spacing: 0; }
