/* Dark is the default; light follows the system setting unless the visitor picks a theme. */
:root {
  --bg: #121212;
  --raised: #1a1a1a;
  --field: #222;
  --ink: #ececec;
  --ink-2: #9b9b9b;
  --ink-3: #6b6b6b;
  --line: #2a2a2a;
  --strong-line: #444;
  --track: #3a3a3a;
  --accent: #39efa6;
  --accent-hover: #5df3b8;
  --on-accent: #121212;
  --accent-tint: rgba(57, 239, 166, .07);
  --notice-bg: rgba(217, 178, 92, .1);
  --fallback-bg: #2c2c2c;
  --good: #6cc18f;
  --ok: #d9b25c;
  --bad: #e2725b;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fbfaf8;
  --raised: #f1efeb;
  --field: #ffffff;
  --ink: #1b1b1b;
  --ink-2: #555350;
  --ink-3: #85827d;
  --line: #e3e0da;
  --strong-line: #c9c5bd;
  --track: #d8d4cc;
  --accent: #0b8a5c;
  --accent-hover: #097550;
  --on-accent: #ffffff;
  --accent-tint: rgba(11, 138, 92, .07);
  --notice-bg: rgba(196, 140, 30, .12);
  --fallback-bg: #e6e3dd;
  --good: #23824f;
  --ok: #9a6a00;
  --bad: #c2412b;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbfaf8;
    --raised: #f1efeb;
    --field: #ffffff;
    --ink: #1b1b1b;
    --ink-2: #555350;
    --ink-3: #85827d;
    --line: #e3e0da;
    --strong-line: #c9c5bd;
    --track: #d8d4cc;
    --accent: #0b8a5c;
    --accent-hover: #097550;
    --on-accent: #ffffff;
    --accent-tint: rgba(11, 138, 92, .07);
    --notice-bg: rgba(196, 140, 30, .12);
    --fallback-bg: #e6e3dd;
    --good: #23824f;
    --ok: #9a6a00;
    --bad: #c2412b;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
a { color: inherit; text-underline-offset: 3px; }
b { font-weight: 600; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Smooth fade when switching light/dark (class is added for a moment by app.js).
   It's a colour change only, nothing moves, so it's kept even with reduced motion on. */
.theme-fading, .theme-fading *, .theme-fading *::before, .theme-fading *::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease,
              fill .35s ease, stroke .35s ease, box-shadow .35s ease !important;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo img { display: block; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.theme-btn {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; cursor: pointer;
  background: var(--raised); border: 1px solid var(--line); color: var(--ink-2);
}
.theme-btn:hover { color: var(--ink); border-color: var(--ink-3); }
.theme-btn svg { display: block; }
.theme-btn .icon-sun, :root[data-shown="light"] .theme-btn .icon-moon { display: none; }
:root[data-shown="light"] .theme-btn .icon-sun { display: block; }
.currency select {
  appearance: none; -webkit-appearance: none;
  background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239b9b9b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--line); border-radius: 6px; color: var(--ink);
  font: 500 14px var(--sans); padding: 6px 30px 6px 10px; cursor: pointer; max-width: 200px;
}
.currency select:hover, .currency select:focus-visible { border-color: var(--ink-3); outline: none; }

/* Intro */
.intro { padding: 56px 0 40px; max-width: 680px; }
.kicker { font-size: 14px !important; font-weight: 600; color: var(--accent) !important; margin: 0 0 12px !important; }
.intro h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.hero-agent { white-space: nowrap; }
.hero-agent .num { font-weight: 500; letter-spacing: -0.04em; }
.hero-agent.lo .num { color: var(--good); }
.hero-agent.hi .num { color: var(--bad); }
.agent-logo.inline { width: .85em; height: .85em; border-radius: 6px; margin-right: .2em; vertical-align: -0.08em; }
.intro p { color: var(--ink-2); font-size: 17px; margin: 14px 0 0; }
.intro .facts { font-size: 15px; color: var(--ink-3); }
.intro .facts b, .intro .facts .num { color: var(--ink); }

/* Layout */
.calc { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
/* The form is two cards (payment & agents, shipping) with the Compare button under both. */
.inputs { display: flex; flex-direction: column; gap: 14px; }
.form-card { background: var(--raised); border-radius: 10px; padding: 20px 22px 22px; }
.card-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.card-num {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font: 700 13px var(--sans);
}

/* Fields */
.field { display: block; }
.field-label, .group legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.hint { display: block; font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.amount {
  display: flex; align-items: center; background: var(--field); border: 1px solid transparent;
  border-radius: 6px; padding: 0 12px;
}
.amount:focus-within { border-color: var(--accent); }
.amount-unit { color: var(--ink-2); font-size: 18px; }
.amount input {
  width: 100%; border: 0; outline: none; background: transparent; color: var(--ink);
  font: 500 22px var(--mono); padding: 10px 8px;
}
.quick { display: flex; gap: 6px; margin-top: 8px; }
.quick button {
  flex: 1; padding: 5px 0; border: 1px solid var(--line); border-radius: 6px; background: none;
  color: var(--ink-2); font: 500 13px var(--mono); cursor: pointer;
}
.quick button:hover { color: var(--ink); border-color: var(--ink-3); }

.group { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.group legend { display: flex; justify-content: space-between; width: 100%; }
.legend-actions { display: flex; gap: 10px; font-weight: 400; }
.text-btn {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent);
  font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}
.text-btn:hover { color: var(--ink); }

/* Checkboxes */
.check { display: flex; align-items: center; gap: 10px; padding: 4px 0; cursor: pointer; font-size: 15px; }
.check input { position: absolute; opacity: 0; }
.box { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--ink-3); display: grid; place-items: center; flex: none; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box::after { content: ""; width: 4px; height: 9px; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.check input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Luxury toggle */
.toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.toggle { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.toggle input { position: absolute; opacity: 0; }
.toggle small { display: block; font-size: 13px; color: var(--ink-3); }
.switch { flex: none; position: relative; width: 32px; height: 18px; margin-top: 3px; border-radius: 99px; background: var(--strong-line); transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle input:checked + .switch { background: var(--accent); }
.toggle input:checked + .switch::after { transform: translateX(14px); }
.toggle input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.info-btn {
  flex: none; background: none; border: 0; padding: 0; margin-top: 2px; cursor: pointer;
  color: var(--ink-2); font: 13px var(--sans); text-decoration: underline dotted; text-underline-offset: 3px;
}
.info-btn:hover, .info-btn[aria-expanded="true"] { color: var(--ink); }
.info-box { margin-top: 10px; font-size: 14px; color: var(--ink-2); border-left: 2px solid var(--line); padding-left: 12px; }
.info-box p { margin: 0 0 6px; }
.info-box p:last-child { margin: 0; }

/* Brands picker (shown under the luxury toggle) */
.brand-field { margin-top: 14px; }
.brand-field[hidden] { display: none; }
.sub-label { display: block; font-size: 14px; }
.brand-field .hint { margin: 0 0 8px; }
.chip.brand > span { padding: 4px 9px; }
.chip.brand input:checked + span { border-color: var(--accent); color: var(--ink); }

/* Slider */
.slider-field { margin-top: 18px; }
.slider-top { display: flex; justify-content: space-between; font-size: 15px; }
.slider-top output { font: 500 14px var(--mono); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; margin: 12px 0 4px;
  border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--accent) var(--fill, 45%), var(--track) var(--fill, 45%));
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--ink); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--accent-tint); }

/* Agent chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip > span {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px;
  border: 1px solid var(--line); border-radius: 6px; font-size: 13.5px; color: var(--ink-3);
  cursor: pointer; user-select: none;
}
.chip > span .agent-logo { opacity: .4; }
.chip input:checked + span { color: var(--ink); border-color: var(--strong-line); background: var(--field); }
.chip input:checked + span .agent-logo { opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.run-btn {
  width: 100%; margin-top: 4px; padding: 13px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: 600 15px var(--sans);
}
.run-btn:hover { background: var(--accent-hover); }
.form-error { color: var(--bad); font-size: 14px; margin: -4px 0 0; }

/* Logos */
.agent-logo {
  flex: none; display: inline-grid; place-items: center; overflow: hidden;
  width: 40px; height: 40px; border-radius: 8px;
}
/* Pinned to the tile so any shape (wide, tall, square) scales down to fit whole, never stretched or cropped. */
.agent-logo { position: relative; }
.agent-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.agent-logo.fallback { background: var(--fallback-bg); color: var(--ink-2); font: 600 11px var(--sans); text-transform: uppercase; }
.agent-logo.xs { width: 18px; height: 18px; border-radius: 4px; font-size: 8px; }
.with-logo { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }

/* Results */
.results h2 { font-size: 20px; margin-bottom: 12px; }
.empty { color: var(--ink-3); margin: 0; }
.verdict { font-size: 17px; margin: 0 0 18px; color: var(--ink-2); }
.verdict b { color: var(--ink); }
.notice {
  margin: 0 0 20px; padding: 16px 18px; border-radius: 8px;
  background: var(--notice-bg); border: 2px solid var(--ok); color: var(--ink); font-size: 16px;
}
.notice p { margin: 0; }
.notice b { color: var(--ink); }
.notice-head { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; margin-bottom: 6px !important; }
.notice-head .num { color: var(--ok); }
.notice-icon {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ok); color: var(--bg); font-size: 16px; font-weight: 700;
}
.notice-btn {
  margin-top: 12px; padding: 8px 14px; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--ok); color: var(--bg); font: 600 15px var(--sans);
}
.notice-btn:hover { filter: brightness(1.1); }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 18px 40px minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.pos { font: 500 14px var(--mono); color: var(--ink-3); padding-top: 10px; text-align: right; }
.row.best .pos { color: var(--accent); }
.row-name { font-weight: 600; font-size: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.row-name a { text-decoration: none; }
.row-name a:hover { text-decoration: underline; }
.tag { font-size: 12.5px; font-weight: 500; }
.tag.cheap { color: var(--accent); }
.tag.top { color: var(--good); }
.row-detail { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.row-note { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.row-side { text-align: right; }
.row-tp { margin-top: 4px; font-size: 13.5px; }
.tp { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--ink-2); }
.tp:hover { text-decoration: underline; }
.tp-star { color: #00b67a; } /* Trustpilot green */
.tp.ok .tp-star { color: var(--ok); }
.tp.bad .tp-star { color: var(--bad); }
.tp-count { color: var(--ink-3); }
.tp.flagged { color: var(--bad); font-weight: 600; }
.tp.doubtful .tp-star { color: var(--ink-3); }
.tp.doubtful { color: var(--ink-3); }
.tp-warn { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 600; }
.tp-mark.warn { background: var(--ok); }
.row-tp { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.dot-sep { color: var(--ink-3); }
/* Full-strength text colour: white in dark mode, near-black in light mode so it stays readable. */
.age { color: var(--ink); font-weight: 700; }
.tp-mark {
  display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bad); color: var(--bg); font-size: 11px; font-weight: 700;
}
.cost-bar { height: 6px; margin-top: 10px; border-radius: 3px; background: var(--line); overflow: hidden; }
.cost-bar i { display: block; height: 100%; border-radius: 3px; background: var(--strong-line); transform-origin: left; animation: grow .5s ease-out both; }
.row.best .cost-bar i { background: var(--accent); }
@keyframes grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .cost-bar i { animation: none; } }
.price { font-size: 18px; }
.row.best .price { color: var(--accent); }
.score.good { color: var(--good); }
.score.ok { color: var(--ok); }
.score.bad { color: var(--bad); }
.score.none { color: var(--ink-3); }
.excluded { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.excluded b { color: var(--ink-2); font-weight: 500; }

/* Sections */
.section { padding-top: 64px; }
.section h2 { font-size: 22px; }
.section-sub { margin: 4px 0 16px; color: var(--ink-2); font-size: 15px; }
.table-wrap { overflow-x: auto; }
.ladder { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.ladder th, .ladder td { padding: 10px 16px 10px 0; text-align: left; border-bottom: 1px solid var(--line); }
.ladder th { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.ladder tr.current td { color: var(--ink); background: var(--accent-tint); }
.ladder tr.current td:first-child { box-shadow: inset 2px 0 0 var(--accent); padding-left: 10px; }
.ladder td:first-child { padding-left: 0; }

.prose { max-width: 680px; }
.prose h2 { margin-bottom: 10px; }
.prose p { color: var(--ink-2); margin: 0 0 12px; }

.site-footer { margin-top: 72px; padding: 24px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.site-footer p { margin: 0 0 4px; }
.site-footer .muted { color: var(--ink-3); }

/* Responsive */
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .intro { padding: 36px 0 28px; }
  .currency select { max-width: 150px; }
  .row { grid-template-columns: 16px 28px minmax(0, 1fr); }
  .row .agent-logo:not(.xs) { width: 28px; height: 28px; }
  .row-side { grid-column: 3; text-align: left; display: flex; gap: 10px; align-items: baseline; }
}

/* Shipping details: electronics, size, weight, destination */
.toggle.electronics { margin-top: 16px; }
.ship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.ship-grid .span-2 { grid-column: span 2; }
.ship-grid .field-label { margin-bottom: 6px; }
.ship-grid > .field-label { margin-bottom: -6px; }
.text-input, .dims input {
  width: 100%; min-width: 0; background: var(--field); color: var(--ink); border: 1px solid var(--line);
  border-radius: 6px; padding: 8px 10px; font: 15px var(--sans);
}
.text-input:focus, .dims input:focus { outline: none; border-color: var(--accent); }
.dims { display: flex; align-items: center; gap: 6px; color: var(--ink-3); }
select.text-input { cursor: pointer; }

/* Live shipping */
.row-ship { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.row-ship b { color: var(--ink); font-weight: 500; }
.row-ship.unknown { color: var(--ink-3); font-style: italic; }
.ship-icon { color: var(--accent); margin-right: 4px; }
.rows-divider {
  list-style: none; padding: 18px 0 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.row.no-ship { opacity: .75; }
.loading { display: flex; align-items: center; gap: 10px; color: var(--ink-2); margin: 0; padding: 18px 0; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tax-free { color: var(--good); font-weight: 600; }
.saved-price { color: var(--ok); }

/* "How it was worked out" box in each agent row */
.calc-box { margin: 8px 0 0; font-size: 12.5px; }
.calc-box summary { cursor: pointer; display: inline-block; padding: 0; color: var(--ink-3); font-weight: 500; list-style: none; }
.calc-box summary:hover { color: var(--ink-2); }
.calc-box summary::-webkit-details-marker { display: none; }
.calc-box summary::before { content: "ⓘ"; color: var(--accent); margin-right: 5px; }
.calc-box[open] summary { margin-bottom: 6px; }
.calc-steps { list-style: none; margin: 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); }
.calc-steps li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 2px 0; color: var(--ink-2); line-height: 1.35; }
.calc-steps li small { display: block; color: var(--ink-3); font-size: 11.5px; }
.calc-steps li b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.calc-steps li.sum { border-top: 1px dashed var(--line); margin-top: 2px; padding-top: 4px; }
.calc-note { margin: 4px 0 0; color: var(--ink-3); font-size: 11.5px; }

/* Legal pages (privacy.html, terms.html) and footer links */
.legal-links { margin-top: 8px; }
.legal-links a, .site-footer a { color: var(--ink-2); }
.legal-links a:hover, .site-footer a:hover { color: var(--accent); }
.legal-back { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.legal-back:hover { color: var(--accent); }
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 56px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.legal h1 { color: var(--ink); font-size: clamp(28px, 5vw, 38px); margin: 0 0 6px; }
.legal h2 { color: var(--ink); font-size: 19px; margin: 34px 0 8px; }
.legal h3 { color: var(--ink); font-size: 15.5px; margin: 20px 0 4px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal b { color: var(--ink); }
.legal-updated { color: var(--ink-3); font-size: 13.5px; }
.legal-summary { border-left: 3px solid var(--accent); background: var(--accent-tint); padding: 12px 16px; border-radius: 0 6px 6px 0; margin: 20px 0 8px; }
.legal-summary p { margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 600; }
.legal code { font-family: "IBM Plex Mono", monospace; font-size: 13px; }
@media (max-width: 560px) { .legal-table { font-size: 13px; } .legal-table th, .legal-table td { padding: 6px; } }

/* Agent only partly accepts a brand you picked */
.row-partial { margin-top: 4px; font-size: 13.5px; color: var(--ok); font-weight: 600; }
.row-partial span { margin-right: 4px; font-size: 10px; vertical-align: 1px; }

/* Header logo: the box's fold lines are "cut out" in the page background colour, so they suit both themes. */
.logo-mark { display: block; flex: none; }
.logo-cut { stroke: var(--bg); transition: stroke .3s; }

/* New-user coupons and affiliate links */
.coupon-tag { color: var(--accent); font-weight: 600; font-size: 12.5px; }
.row-offer { margin-top: 8px; font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.offer-cta { display: inline-flex; align-items: center; }
.signup-btn { display: inline-block; padding: 8px 16px; border-radius: 6px; background: var(--accent); color: var(--on-accent) !important; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .15s; }
.signup-btn:hover { background: var(--accent-hover); }
.signup-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.aff-tag { margin-left: 6px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; font-weight: 500; color: var(--ink-3); vertical-align: 1px; }

/* Both payment methods on each agent row */
.pay-opt { display: block; color: var(--ink-3); }
.pay-opt.used { color: var(--ink-2); font-weight: 600; }
.pay-opt.off { font-style: italic; }
.pay-note { font-style: normal; color: var(--ink-3); font-weight: 400; }
.logo-fill { fill: var(--accent); transition: fill .3s; }

/* Compact agent rows */
.row { grid-template-columns: 16px 32px minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; }
.row .agent-logo:not(.xs):not(.inline) { width: 32px; height: 32px; border-radius: 7px; }
.pos { padding-top: 6px; font-size: 13px; }
.row-name { font-size: 15px; gap: 2px 8px; }
.row-detail { font-size: 12.5px; margin-top: 1px; }
.row-main .row-detail { display: flex; flex-wrap: wrap; gap: 0 10px; }
.pay-opt { display: inline; }
.pay-opt + .pay-opt::before { content: "|"; margin-right: 10px; color: var(--line); }
.row-ship { margin-top: 2px; font-size: 12.5px; }
.row-tp { margin-top: 2px; font-size: 12px; gap: 0 6px; }
.row-tp .row-note { font-size: 12px; margin: 0; color: var(--ink-3); }
.row-partial { margin-top: 2px; font-size: 12.5px; }
.row-offer { margin-top: 6px; gap: 4px 10px; font-size: 12.5px; flex-wrap: nowrap; }
.row-offer .offer-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-3); }
.signup-btn { flex: none; padding: 5px 12px; font-size: 13px; }
.calc-box { margin-top: 4px; font-size: 12px; }
.row-side .price { font-size: 17px; }
.row-side .cost-bar { width: 96px; height: 4px; margin: 6px 0 0 auto; }
@media (max-width: 560px) { .row-offer { flex-wrap: wrap; } .row-offer .offer-text { white-space: normal; } }

/* Payment and shipping side by side, results below */
.calc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.inputs .run-btn, .inputs .form-error { grid-column: 1 / -1; }
.inputs .run-btn { justify-self: center; width: min(360px, 100%); }
@media (max-width: 760px) { .inputs { grid-template-columns: minmax(0, 1fr); } }

/* Start page (index.html) */
.start-nav-btn { padding: 7px 14px; border-radius: 6px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.start-nav-btn:hover { background: var(--accent-hover); }
.start { padding-bottom: 24px; }
body:has(.start) { overflow-x: clip; } /* the hero glow may reach past the window edge */
.start-hero { padding: 64px 0 48px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.start-hero-text { max-width: 640px; }
.start-hero .start-stats { grid-column: 1 / -1; }
.start-preview { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55); }
.preview-kicker { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.preview-title { font-size: 19px; margin: 4px 0 14px; }
.preview-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.preview-list > li { display: grid; grid-template-columns: 16px 22px minmax(0, 1fr) auto; grid-template-areas: "p l n t" ". . b m"; gap: 4px 10px; align-items: center; padding: 8px 10px; border-radius: 8px; }
.preview-list > li.is-best { background: var(--accent-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.preview-list img, .preview-logo-blank { grid-area: l; width: 22px; height: 22px; object-fit: contain; border-radius: 5px; background: var(--fallback-bg); }
.preview-place { grid-area: p; font-size: 12px; color: var(--ink-3); }
.preview-name { grid-area: n; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.preview-tag { font-size: 11.5px; font-weight: 600; color: var(--accent); margin-left: 4px; }
.preview-total { grid-area: t; font-weight: 600; color: var(--ink); font-size: 15px; }
.is-best .preview-total { color: var(--accent); }
.preview-bar { grid-area: b; height: 4px; border-radius: 2px; background: var(--track); overflow: hidden; }
.preview-bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--ink-3); }
.is-best .preview-bar span { background: var(--accent); }
.preview-markup { grid-area: m; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.preview-gap { display: block !important; padding: 0 !important; text-align: center; color: var(--ink-3); line-height: 1; }
.preview-loading { display: block !important; color: var(--ink-3); font-size: 14px; padding: 18px 0 !important; }
.preview-spread { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.preview-spread b { color: var(--ink); }
.preview-foot { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 960px) { .start-hero { grid-template-columns: minmax(0, 1fr); } .start-preview { max-width: 560px; } }
.start-hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.start-lead { color: var(--ink-2); font-size: 18px; line-height: 1.6; margin: 18px 0 0; }
.start-lead em { color: var(--ink); font-style: normal; font-weight: 600; }
.start-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.start-cta { display: inline-block; padding: 13px 26px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 16px; text-decoration: none; transition: background .15s; }
.start-cta:hover { background: var(--accent-hover); }
.start-cta-2 { color: var(--ink-2); font-weight: 600; }
.start-cta-2:hover { color: var(--accent); }
.start-stats { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.start-stats li { border-left: 2px solid var(--accent); padding-left: 12px; }
.start-stats b { display: block; font-size: 22px; color: var(--ink); }
.start-stats span { font-size: 13.5px; color: var(--ink-3); }
.start-section { padding: 40px 0; border-top: 1px solid var(--line); }
.start-section h2 { font-size: 24px; margin-bottom: 20px; }
.start-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.start-steps li { display: flex; gap: 14px; background: var(--raised); border-radius: 10px; padding: 18px; }
.start-step-num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.start-steps b, .start-card b { color: var(--ink); }
.start-steps p, .start-card p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.start-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.start-card { background: var(--raised); border-radius: 10px; padding: 18px; border-top: 3px solid var(--accent); }
.start-agents { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.start-agents li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.start-agents img { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; }
.start-final { padding: 48px 0 24px; border-top: 1px solid var(--line); text-align: center; }
.start-final h2 { font-size: 26px; margin-bottom: 20px; }
.start-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: 20px; }
.start-section-head h2 { margin-bottom: 0; }
.start-section-sub { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.start-card-icon { display: block; color: var(--accent); margin-bottom: 10px; }
.start-agents.is-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.start-agents.is-cards > li.agent-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px; border-radius: 10px; background: var(--raised); font-weight: 400; }
.agent-card-head { display: flex; align-items: center; gap: 10px; }
.agent-card-head img, .agent-card-head .preview-logo-blank { width: 32px; height: 32px; border-radius: 7px; object-fit: contain; flex: none; }
.agent-card-head b { display: block; color: var(--ink); font-size: 15.5px; }
.agent-card-head span { display: block; font-size: 12.5px; color: var(--ink-3); }
.agent-card-pay { margin: 0; font-size: 13px; color: var(--ink-2); }
.agent-card-offer { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.agent-card-foot { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 4px; }
.agent-card-link { font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.agent-card-link:hover { text-decoration: underline; }
.start-aff-note { margin: 14px 0 0; font-size: 13px; }
.start-faq { display: grid; gap: 8px; }
.start-faq details { background: var(--raised); border-radius: 10px; padding: 0 18px; }
.start-faq summary { cursor: pointer; list-style: none; padding: 15px 28px 15px 0; position: relative; font-weight: 600; color: var(--ink); }
.start-faq summary::-webkit-details-marker { display: none; }
.start-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 20px; font-weight: 400; transition: transform .2s; }
.start-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.start-faq details p { margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 860px) { .start-steps, .start-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .start-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .start-hero { padding: 44px 0 32px; } .start-steps, .start-grid { grid-template-columns: minmax(0, 1fr); } .start-nav-btn { padding: 6px 10px; font-size: 13px; } }

/* Feedback button in the header */
.feedback-btn { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none; background: var(--raised); }
.feedback-btn:hover { color: var(--accent); border-color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 10px; }

/* On-site feedback form */
.feedback-btn { cursor: pointer; }
.feedback-dialog { width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.feedback-dialog::backdrop { background: rgba(0,0,0,.55); }
.feedback-form { padding: 20px 22px 18px; display: flex; flex-direction: column; }
.feedback-head { display: flex; align-items: center; justify-content: space-between; }
.feedback-head h2 { font-size: 19px; }
.feedback-close { border: 0; background: none; color: var(--ink-3); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.feedback-close:hover { color: var(--ink); }
.feedback-sub { margin: 6px 0 14px; color: var(--ink-2); font-size: 14px; }
.feedback-label { font-size: 13.5px; font-weight: 600; margin: 8px 0 6px; }
.feedback-label span { font-weight: 400; color: var(--ink-3); }
.feedback-form textarea, .feedback-form input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--ink); font: 14px/1.45 var(--sans); resize: vertical; }
.feedback-form textarea:focus, .feedback-form input:focus { outline: none; border-color: var(--accent); }
.feedback-status { min-height: 18px; margin: 10px 0 0; font-size: 13.5px; }
.feedback-status.ok { color: var(--accent); }
.feedback-status.err { color: #ff6b6b; }
.feedback-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
.feedback-send { padding: 9px 20px; border: 0; border-radius: 7px; background: var(--accent); color: var(--on-accent); font: 700 14px var(--sans); cursor: pointer; }
.feedback-send:hover { background: var(--accent-hover); }
.feedback-send:disabled { opacity: .6; cursor: default; }
.feedback-privacy { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); }
.feedback-privacy a { color: var(--ink-2); }

/* Keyboard accessibility: skip links and clear focus rings everywhere */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10000; padding: 10px 16px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; outline: 3px solid var(--ink); outline-offset: 2px; }
main:focus, #results-title:focus { outline: none; }
#results-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:not([tabindex="-1"]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
select:focus-visible, .currency select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.text-input:focus-visible, .dims input:focus-visible, .feedback-form textarea:focus-visible, .feedback-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.amount:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.amount input:focus-visible { outline: none; }
input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 6px; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--accent); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--accent); }
.feedback-btn { font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }

/* ── Motion ─────────────────────────────────────────────────────────────
   Every movement lives inside "no-preference", so with "reduce motion" on the
   site is completely still (only the colour cross-fade between themes stays).
   Colours come from the theme variables, so it all works in light and dark. */
@media (prefers-reduced-motion: no-preference) {
  :root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

  @keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes pop-in { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } }


  /* Landing hero and calculator intro: lines rise in one after another */
  .start-hero-text > *, .intro > * { animation: rise-in .7s var(--ease-out) both; }
  .start-hero-text > :nth-child(2), .intro > :nth-child(2) { animation-delay: .08s; }
  .start-hero-text > :nth-child(3), .intro > :nth-child(3) { animation-delay: .16s; }
  .start-hero-text > :nth-child(4), .intro > :nth-child(4) { animation-delay: .24s; }
  .start-hero-text > :nth-child(5), .intro > :nth-child(5) { animation-delay: .32s; }
  .start-stats li { animation: rise-in .6s var(--ease-out) both; }
  .start-preview { animation: rise-in .8s var(--ease-out) .2s both; }
  /* Bars grow out once the rates have loaded */
  .preview-bar span { transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease-out) calc(.35s + var(--i, 0) * .07s); }
  .preview-list.is-drawn .preview-bar span { transform: scaleX(1); }
  .start-stats li:nth-child(1) { animation-delay: .38s; }
  .start-stats li:nth-child(2) { animation-delay: .46s; }
  .start-stats li:nth-child(3) { animation-delay: .54s; }
  .start-stats li:nth-child(4) { animation-delay: .62s; }

  /* Soft accent glow behind the landing hero, fades in and stays still */
  .start-hero { position: relative; isolation: isolate; }
  .start-hero::before {
    content: ""; position: absolute; z-index: -1; top: -20px; right: -100px; width: 520px; height: 460px;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
    filter: blur(20px); pointer-events: none; animation: fade-in 1.6s ease-out .2s both;
  }
  @media (max-width: 1120px) { .start-hero::before { right: 0; width: min(480px, 100%); } }

  /* Main buttons: a little lift and press */
  .start-cta, .start-nav-btn, .run-btn, .signup-btn, .feedback-send {
    transition: background .15s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  }
  .start-cta:hover, .run-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
  }
  .start-cta:active, .run-btn:active, .start-nav-btn:active, .signup-btn:active { transform: translateY(0) scale(.98); box-shadow: none; }

  /* Landing cards and agent pills lift on hover */
  .start-steps li, .start-card, .start-agents li {
    transition: transform .3s var(--ease-out), border-color .2s, background-color .2s;
  }
  .start-steps li:hover, .start-card:hover, .agent-card:hover { transform: translateY(-3px); }
  .start-agents li:hover { transform: translateY(-2px); border-color: var(--accent); }

  /* Landing sections reveal as they scroll into view (start.js adds the classes;
     without JavaScript nothing is hidden) */
  .reveal-ready .start-section:not(.is-in), .reveal-ready .start-final:not(.is-in) { opacity: 0; transform: translateY(24px); }
  .reveal-ready .start-section, .reveal-ready .start-final { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .reveal-ready .start-section:not(.is-in) .start-steps > li,
  .reveal-ready .start-section:not(.is-in) .start-grid > *,
  .reveal-ready .start-section:not(.is-in) .start-agents > li,
  .reveal-ready .start-section:not(.is-in) .start-faq > * { opacity: 0; transform: translateY(12px); }
  .reveal-ready .start-steps > li, .reveal-ready .start-grid > *, .reveal-ready .start-agents > li, .reveal-ready .start-faq > * {
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), border-color .2s;
    transition-delay: calc(var(--i, 0) * 50ms);
  }
  .reveal-ready .is-in .start-steps > li:hover, .reveal-ready .is-in .start-grid > *:hover, .reveal-ready .is-in .start-agents > li:hover { transition-delay: 0s; }

  /* Calculator: form cards rise in, checkboxes and chips respond */
  .form-card { animation: rise-in .6s var(--ease-out) .2s both; }
  .form-card + .form-card { animation-delay: .28s; }
  .inputs .run-btn { animation: rise-in .6s var(--ease-out) .36s both; }
  .box { transition: background-color .15s, border-color .15s; }
  .check input:checked + .box::after { animation: pop-in .3s var(--ease-spring); }
  .chip > span { transition: color .2s, border-color .2s, background-color .2s, transform .2s var(--ease-out); }
  .chip > span .agent-logo { transition: opacity .2s; }
  .chip > span:active { transform: scale(.95); }
  .switch::after { transition: transform .3s var(--ease-spring); }
  .quick button { transition: color .15s, border-color .15s, transform .15s; }
  .quick button:active { transform: scale(.94); }

  /* Results: verdict fades in, agent rows cascade, cost bars grow after their row */
  #results .verdict, #results .notice, #results .empty { animation: rise-in .5s var(--ease-out) both; }
  #results .rows > li { animation: rise-in .5s var(--ease-out) both; }
  #results .rows > li:nth-child(1) { animation-delay: .06s; }
  #results .rows > li:nth-child(2) { animation-delay: .11s; }
  #results .rows > li:nth-child(3) { animation-delay: .16s; }
  #results .rows > li:nth-child(4) { animation-delay: .21s; }
  #results .rows > li:nth-child(5) { animation-delay: .26s; }
  #results .rows > li:nth-child(6) { animation-delay: .31s; }
  #results .rows > li:nth-child(7) { animation-delay: .36s; }
  #results .rows > li:nth-child(8) { animation-delay: .41s; }
  #results .rows > li:nth-child(9) { animation-delay: .46s; }
  #results .rows > li:nth-child(10) { animation-delay: .51s; }
  #results .rows > li:nth-child(n+11) { animation-delay: .56s; }
  #results .rows > li .cost-bar i { animation: grow .8s var(--ease-out) .25s both; }
  #results .row.best .price { animation: pop-in .5s var(--ease-spring) .25s both; display: inline-block; }
  #results .excluded { animation: fade-in .6s ease-out .5s both; }

  /* "How it was worked out" box opens smoothly */
  .calc-box[open] .calc-steps, .calc-box[open] .calc-note { animation: rise-in .3s var(--ease-out); }
}

/* ── Colour system ────────────────────────────────────────────────────
   Mint (--accent) does nearly everything. Aqua (--accent-2, its neighbour on the
   colour wheel at ~190°) is used sparingly: only in the headline gradient, the
   hero glow and the shipping step badge, so the page stays calm. */
:root { --accent-2: #3ad7ef; }
:root[data-theme="light"] { --accent-2: #0a7fa8; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --accent-2: #0a7fa8; } }
#card-ship .card-num { background: var(--accent-2); }

/* Headline key word: mint-to-aqua text with a coral marker stroke */
.start-hero h1 { font-weight: 800; letter-spacing: -0.035em; }
.h1-pop { position: relative; white-space: nowrap; color: var(--accent);
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.start-hero::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent) !important; }

/* ── Phones ───────────────────────────────────────────────────────────
   Header fits on one line, and anything you tap is at least ~40px tall. */
@media (max-width: 560px) {
  .header-inner { gap: 8px; }
  .header-tools { gap: 6px; min-width: 0; }
  .feedback-btn { padding: 6px 10px; font-size: 13px; }
  .quick button { min-height: 40px; flex: 1; }
  .text-btn { padding: 10px 4px; margin: -10px 0; }
  .info-btn { padding: 10px 0; margin: -10px 0; }
  input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; }
  input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; }
  .legal-links a { display: inline-block; padding: 8px 0; }
  .start-ctas .start-cta { flex: 1 1 100%; text-align: center; }
  .start-nav-btn { white-space: nowrap; }
  .preview-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .preview-tag { display: none; } /* the highlighted row already marks the cheapest */
  .preview-list > li { grid-template-areas: "p l n t" ". . b b" ". . m m"; }
}
@media (max-width: 400px) { .hide-sm { display: none; } .logo span { display: none; } /* the box mark alone still links home */ }
