/* Quicksift landing.
   Concept: the page reads like a search result. Key words are marked with the
   same yellow highlight the plugin uses for found words; numbers are set in a
   mono "readout" face like a stopwatch. One accent (cobalt) for actions. */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #141824;
  --muted: #5b6273;
  --line: #dfe2e9;
  --accent: #2446d6;
  --accent-ink: #ffffff;
  --hit: #ffe14d;
  --hit-ink: #141824;
  --good: #11815b;
  --bad: #c2352b;
  --warm: #c2410c;
  --warm-bg: #fff3e6;
  --bar-other: #b9bfcc;
  --shadow: 0 1px 2px rgba(20, 24, 36, .06), 0 12px 32px rgba(20, 24, 36, .08);
  --f-display: "Unbounded", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1120px;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f121a; --surface: #171b26; --ink: #eceef4; --muted: #9aa1b2; --line: #2a3040;
    --accent: #6f8cff; --accent-ink: #0b0e16; --hit: #f2cf2c; --hit-ink: #141824;
    --good: #3ccf95; --bad: #ff7a6e; --warm: #ffa04d; --warm-bg: #2a1d12; --bar-other: #3d4558;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f121a; --surface: #171b26; --ink: #eceef4; --muted: #9aa1b2; --line: #2a3040;
  --accent: #6f8cff; --accent-ink: #0b0e16; --hit: #f2cf2c; --hit-ink: #141824;
  --good: #3ccf95; --bad: #ff7a6e; --warm: #ffa04d; --warm-bg: #2a1d12; --bar-other: #3d4558;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
img { max-width: 100%; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.12rem; line-height: 1.3; }
p { margin: 0; }
mark, .hit { background: var(--hit); color: var(--hit-ink); padding: 0 .12em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow { font: 600 .78rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.05rem/1 var(--f-display); color: var(--ink); text-decoration: none; }
.logo svg { flex: none; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.top-tools { display: flex; gap: 8px; align-items: center; }
.lang { font: 600 .8rem/1 var(--f-mono); color: var(--muted); text-decoration: none; border: 1px solid var(--line); padding: 7px 9px; border-radius: 8px; }
.theme-btn { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; width: 34px; height: 30px; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 860px) { .nav { display: none; } .top-tools { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

section { padding-block: 88px; }
section + section { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }

/* hero */
.hero { padding-block: 64px 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero-note { font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* search mock */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; min-width: 0; }
.mock-field { display: flex; align-items: center; gap: 10px; border: 2px solid var(--accent); border-radius: 12px; padding: 11px 14px; font-size: 1.05rem; }
.mock-field .q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--ink); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.timer { font: 600 .8rem/1 var(--f-mono); color: var(--good); border: 1px solid currentColor; border-radius: 999px; padding: 5px 8px; white-space: nowrap; }
.fix { font-size: .9rem; color: var(--muted); padding: 0 4px; }
.fix b { color: var(--ink); }
.res { display: grid; gap: 2px; }
.row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 6px; border-radius: 10px; }
.row:first-child { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.thumb { width: 44px; height: 44px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 .7rem var(--f-mono); }
.t1 { background: linear-gradient(135deg, #3c64f0, #7c95ff); }
.t2 { background: linear-gradient(135deg, #e0603a, #f5a25d); }
.t3 { background: linear-gradient(135deg, #1b8f6a, #59c99a); }
.t4 { background: var(--line); color: var(--muted); }
.row .name { font-weight: 600; font-size: .98rem; line-height: 1.3; min-width: 0; }
.row .meta { font-size: .8rem; color: var(--muted); }
.row .meta .in { color: var(--good); }
.price { font: 600 .95rem var(--f-mono); white-space: nowrap; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; font-size: .82rem; color: var(--muted); }
.mock-foot .all { background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 8px 12px; font-weight: 600; }
.kbd { font: .75rem var(--f-mono); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }

/* proof strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.strip > div { padding: 22px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.strip > div + div { border-left: 1px solid var(--line); }
.strip .big { font: 600 clamp(1.7rem, 3vw, 2.3rem)/1 var(--f-mono); letter-spacing: -.02em; }
.strip .cap { font-size: .9rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip > div:nth-child(3) { border-left: 0; } .strip > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 460px) { .strip { grid-template-columns: minmax(0, 1fr); } .strip > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* bench */
.nav a.nav-arena { color: var(--warm); font-weight: 700; }
/* Link to the live plugin race: the brightest thing in the section, in the same orange as the hosting note. */
.arena { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; margin: 0 0 32px; padding: 18px 22px; color: var(--ink); text-decoration: none; background: var(--warm-bg); border: 2px solid var(--warm); border-radius: var(--r); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warm) 14%, transparent); transition: transform .15s, box-shadow .15s; }
.arena:hover, .arena:focus-visible { transform: translateY(-1px); box-shadow: 0 0 0 6px color-mix(in srgb, var(--warm) 22%, transparent); }
.arena-tag { font: 700 .72rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--bg); background: var(--warm); border-radius: 999px; padding: 7px 10px; white-space: nowrap; }
.arena-text { font-size: .95rem; line-height: 1.5; }
.arena-text b { color: var(--warm); }
.arena-go { font-weight: 700; color: var(--bg); background: var(--warm); border-radius: 10px; padding: 12px 16px; white-space: nowrap; }
@media (max-width: 860px) { .arena { grid-template-columns: minmax(0, 1fr); justify-items: start; } .arena-go { justify-self: stretch; text-align: center; white-space: normal; } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { font: 600 .92rem var(--f-body); background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.panel { display: grid; gap: 28px; }
.panel-intro { color: var(--muted); max-width: 70ch; }
.chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; }
.chart h3 { font-size: 1rem; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: center; }
.bar .who { font-weight: 600; font-size: .95rem; }
.bar .track { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.bar .fill { height: 22px; border-radius: 5px; background: var(--bar-other); min-width: 4px; flex: none; }
.bar.us .fill { background: var(--accent); }
.bar .val { font: 600 .9rem var(--f-mono); white-space: nowrap; }
.bar.us .val { color: var(--accent); }
.bar .val.err { color: var(--bad); white-space: normal; min-width: 0; flex-basis: 100%; }
.bar .val.muted { white-space: normal; }
.bar.est .fill { background: repeating-linear-gradient(135deg, var(--bar-other) 0 6px, transparent 6px 10px); outline: 1px dashed var(--bar-other); }
@media (max-width: 560px) { .bar { grid-template-columns: minmax(0, 1fr); gap: 4px; } .bar .val { white-space: normal; } }
.chart-note { font-size: .85rem; color: var(--muted); }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .95rem; }
th, td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
th:first-child, td:first-child { text-align: left; }
thead th { font: 600 .78rem var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td.n { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
td.best { font-weight: 700; }
td:last-child.wide { text-align: left; }
td.best span { background: var(--hit); color: var(--hit-ink); border-radius: 3px; padding: 0 4px; }
th.us, td.us, tr.us td { background: color-mix(in srgb, var(--accent) 6%, transparent); }
tr.us td:first-child { font-weight: 700; }

.honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.honest > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.honest ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.honest.one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .honest { grid-template-columns: minmax(0, 1fr); } }
details.method { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; }
details.method summary { cursor: pointer; font-weight: 600; }
details.method[open] summary { margin-bottom: 12px; }
details.method ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--muted); }

/* features */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat > div { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; background: var(--surface); }
.feat .ex { font: .85rem var(--f-mono); color: var(--muted); }
.feat .ex b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat { grid-template-columns: minmax(0, 1fr); } }

/* looks */
.looks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.skins { display: grid; gap: 12px; }
.skin { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 12px; font-size: .95rem; }
.skin .lbl { margin-left: auto; font: .75rem var(--f-mono); opacity: .7; }
.sk1 { background: #fff; color: #141824; border: 1px solid #d6dae3; }
.sk2 { background: #1a1f2c; color: #eef0f6; border: 1px solid #333a4d; border-radius: 999px; }
.sk3 { background: transparent; color: var(--ink); border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; }
.sk4 { background: #f1f4ff; color: #1c2a6b; border: 1px solid #c8d2ff; border-radius: 999px; }
.sk5 { background: #10141e; color: #fff; border: 1px solid #10141e; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 860px) { .looks { grid-template-columns: minmax(0, 1fr); } }

/* pro */
.pro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .pro-grid { grid-template-columns: minmax(0, 1fr); } }
.trumps { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.trumps > div { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 16px 20px; }
.trumps > div + div { border-top: 1px solid var(--line); }
.trumps .ok { color: var(--good); font-weight: 700; }
.trumps p { color: var(--muted); font-size: .92rem; margin-top: 2px; }

/* sandbox */
.sandbox { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 44px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.sandbox .lead { color: var(--muted); }
.sandbox ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.sandbox .soon { font: 600 .8rem var(--f-mono); background: var(--hit); color: var(--hit-ink); border-radius: 6px; padding: 4px 8px; justify-self: start; }
.sandbox-frame { width: 100%; aspect-ratio: 16 / 10; max-width: 100%; border: 0; border-radius: 12px; background: var(--surface); grid-column: 1 / -1; }
@media (max-width: 860px) { .sandbox { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; } }

/* migrate */
.migrate { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.migrate span { font: 600 .9rem var(--f-mono); border: 1px dashed var(--muted); border-radius: 8px; padding: 8px 12px; }

/* pricing */
.price-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.price-toggle button { border: 0; background: none; color: var(--ink); font: 600 .85rem var(--f-mono); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.price-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.plan ul { flex: 1; }
.plan .tag { align-self: flex-start; font: 600 .72rem var(--f-mono); background: var(--hit); color: var(--hit-ink); border-radius: 5px; padding: 3px 7px; }
.plan.feature { border: 2px solid var(--accent); }
.plan .pname { font: 600 1rem var(--f-display); }
.plan .amount { font: 600 2rem/1 var(--f-mono); letter-spacing: -.03em; }
.plan .per { font-size: .85rem; color: var(--muted); }
.plan ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .92rem; }
.plan .btn { justify-content: center; }
.price-notes { display: grid; gap: 6px; margin-top: 20px; color: var(--muted); font-size: .92rem; }
.price-notes .legal { font-size: .85rem; }
.price-notes .legal a { color: inherit; }
footer .seller { max-width: 640px; }
footer .seller a { color: inherit; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.vs { margin-top: 40px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 10px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }

/* benchmark tables scroll sideways instead of squeezing */
.table-wrap table { min-width: 980px; }
.table-wrap th, .table-wrap td:first-child { white-space: nowrap; }
/* "?" explanations */
.tip { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font: 700 11px/1 var(--f-body, inherit); cursor: help; padding: 0; vertical-align: 1px; }
.tip:hover, .tip:focus-visible, .tip[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); outline: none; }
.tip-pop { position: fixed; z-index: 50; max-width: min(320px, calc(100vw - 32px)); background: var(--ink); color: var(--bg); font: 400 .85rem/1.45 var(--f-body, inherit); padding: 10px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / .18); pointer-events: none; }
.table-wrap th, .table-wrap td { padding: 12px 13px; }

.price-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.plan .save { font: 600 .8rem var(--f-mono); color: var(--good, var(--accent)); }
.pro-badge { font: 600 .68rem var(--f-mono); background: var(--accent); color: var(--accent-ink); border-radius: 5px; padding: 2px 6px; vertical-align: 3px; margin-left: 4px; }
.plan ul { align-content: start; }

/* Live search in the hero: the real Quicksift form from the sandbox in an iframe; the mock stays as the fallback. */
.live { position: relative; display: grid; gap: 12px; min-width: 0; align-content: start; }
.live-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: nowrap; min-width: 0; }
.live-badge { min-width: 0; padding-left: 4px; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 22%, transparent); }
.live-look { flex: none; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; font: inherit; font-size: .88rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.live-look:hover, .live-look[aria-expanded="true"] { border-color: var(--accent); }
.live-pop { position: absolute; z-index: 30; top: 44px; right: 0; width: min(440px, 100%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; display: grid; gap: 14px; }
.live-pop[hidden] { display: none; }
.live-group { display: grid; gap: 8px; }
.live-cap { font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.live-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.live-chips button, .live-tries button { font: inherit; font-size: .85rem; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.live-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.live-chips button:hover, .live-tries button:hover { border-color: var(--accent); }
.live-hint { margin: 0; font-size: .82rem; color: var(--muted); }
.live-close { justify-self: end; font: inherit; font-size: .85rem; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 4px; }
.live-frame { position: relative; height: 64px; z-index: 10; }
.live-frame iframe { position: absolute; inset: 0 0 auto 0; width: 100%; height: 64px; border: 0; background: transparent; color-scheme: normal; }
.live-frame iframe.full { position: fixed; inset: 0; width: 100vw; height: 100vh !important; height: 100dvh !important; z-index: 1000; }
/* The full-screen search stretches the frame over the whole page, header included. */
html.qs-live-full .live-frame { z-index: 2147483000; }
.live-tries { margin: 0; display: grid; gap: 8px; font-size: .85rem; color: var(--muted); }
.live-tries-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.live-tries-list button { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-tries-list button[hidden] { display: none; }
.live-tries[hidden], .live-bar[hidden], .live-frame[hidden] { display: none; }
/* What hosting the demo runs on: important, so it is orange. */
.live-host, .warn-note { margin: 4px 0 0; padding: 12px 14px; font-size: .85rem; line-height: 1.5; color: var(--ink); background: var(--warm-bg); border: 1px solid color-mix(in srgb, var(--warm) 40%, transparent); border-left: 4px solid var(--warm); border-radius: 10px; }
.live-host b { color: var(--warm); }
.live.on .mock, .live.wait .mock { display: none; }
.live-wait { display: none; }
.live.wait .live-wait { display: flex; align-items: center; justify-content: center; height: 56px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.live.wait .live-frame iframe { opacity: 0; }
.live-spin { width: 20px; height: 20px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: live-spin .8s linear infinite; }
@keyframes live-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .live-spin { animation-duration: 2.4s; } }
@media (max-width: 560px) { .live-pop { left: 0; right: 0; width: auto; } }

/* Tables that scroll sideways: thin themed scrollbar, the first column stays in place. */
.table-wrap { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--muted) 45%, transparent) transparent; }
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: transparent; margin-inline: 12px; }
.table-wrap::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 45%, transparent); border-radius: 999px; }
.table-wrap::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.table-wrap::-webkit-scrollbar-button { display: none; }
.table-wrap td:first-child, .table-wrap th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.table-wrap tr.us td:first-child { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }

/* Footer links. */
footer .links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer .links a { color: var(--ink); text-decoration: none; font-weight: 500; padding-block: 2px; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
footer .links a:hover, footer .links a:focus-visible { color: var(--accent); border-bottom-color: currentColor; }

.live-badge .dot { flex: none; }
.live-badge-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Ordinary pages: privacy notes, report upload. */
.page-tools { margin-left: auto; }
.page-main { padding-top: 48px; padding-bottom: 80px; }
.page-body { max-width: 760px; color: var(--ink); line-height: 1.65; }
.page-body h1 { font: 600 clamp(1.6rem, 4vw, 2.2rem)/1.2 var(--f-display); margin: 0 0 24px; }
.page-body h2 { font: 600 1.3rem/1.3 var(--f-display); margin: 36px 0 12px; }
.page-body h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.page-body a { color: var(--accent); }
.page-body ul, .page-body ol { padding-left: 1.4em; }
.page-body li { margin: 4px 0; }
.page-body code { font-family: var(--f-mono, monospace); font-size: .9em; padding: 1px 5px; border-radius: 4px; background: var(--line); }
.page-body input, .page-body textarea, .page-body select { max-width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.page-body button, .page-body input[type="submit"] { font: inherit; font-weight: 600; color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 8px; padding: 10px 16px; cursor: pointer; }

/* Report upload form ([quicksift_report_upload]): a card with roomy fields. */
.qs-report-upload { display: grid; gap: 20px; max-width: 560px; margin: 28px 0 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.qs-report-upload p { margin: 0; }
.qs-report-upload label { display: grid; gap: 8px; font-weight: 600; }
.qs-report-upload label br { display: none; }
.qs-report-upload input[type="file"], .qs-report-upload input[type="email"] { width: 100%; box-sizing: border-box; padding: 12px 14px; font-weight: 400; }
.qs-report-upload input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; margin-right: 12px; cursor: pointer; }
.qs-report-upload label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.qs-report-upload input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.qs-report-upload button { justify-self: start; padding: 12px 22px; }
.qs-report-done, .qs-report-error { max-width: 560px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.qs-report-error { border-color: #d64545; }
@media (max-width: 460px) { .qs-report-upload { padding: 20px; } }

/* Promotion from the licence shop: crossed-out full price, the badge and the line above the cards. */
#pricing .promo { margin: 16px 0; padding: 12px 16px; border-radius: var(--r); background: var(--hit); color: var(--hit-ink); font-size: .92rem; line-height: 1.45; }
#pricing .promo[hidden], .plan .was-row[hidden], .plan .was[hidden] { display: none; }
.plan .was-row { display: flex; align-self: flex-start; }
.plan .price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.plan.on-promo .amount { font-size: 1.7rem; white-space: nowrap; }
.plan .was { font: 500 .95rem var(--f-mono); color: var(--muted); white-space: nowrap; }
.plan .ptag { font: 600 .72rem var(--f-mono); background: var(--hit); color: var(--hit-ink); border-radius: 5px; padding: 3px 7px; }
.plan.on-promo .amount { color: var(--accent); }

/* Logged-in admins: the sticky header sits under the WordPress toolbar, not beneath it.
   Below 600px the toolbar scrolls away with the page, so the header goes back to the top. */
body.admin-bar .top { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { body.admin-bar .top { top: calc(46px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 600px) { body.admin-bar .top { top: env(safe-area-inset-top, 0px); } }
