@font-face { font-family: Rubik; src: url("fonts/rubik.b65daadded74.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans.e010923d59d4.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

/* Tokens from the ui-ux-pro-max design system; chart colours validated for colour-blind separation */
:root {
  color-scheme: light;
  --primary: #1f3a68;
  --primary-deep: #1a3156;
  --accent: #d86f1d;
  --accent-deep: #b85a12;
  --page: #f7f3ec;
  --ink: #1b2540;
  --card: #fffdfa;
  --muted: #efe9df;
  --ink-2: #566079;
  --rule: #e3dac9;
  --chart-surface: #fbf8f3;
  --grid: #e6dfd1;
  --series-price: #2a78d6;
  --series-was: #eb6834;
  --series-code: #1baf7a;
  --on-accent-hover: #fff;
  --rule-strong: #9aa3b5;
  --on-ink: #fff;
  --on-ink-2: #cbd5e1;
  --tint: #ebe4d6;
  --quilt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cpath d='M0 44 44 0l44 44-44 44z' fill='none' stroke='%231f3a68' stroke-opacity='.22' stroke-width='1.5' stroke-dasharray='5 5'/%3E%3Cg fill='%231f3a68' fill-opacity='.2'%3E%3Ccircle cx='44' r='3'/%3E%3Ccircle cx='44' cy='88' r='3'/%3E%3Ccircle cy='44' r='3'/%3E%3Ccircle cx='88' cy='44' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --good-bg: #dcebdd; --good-ink: #24552f;
  --usual-bg: #f4e6c3; --usual-ink: #6a4a0f;
  --wait-bg: #f3d9d2; --wait-ink: #8a2c1d;
  --unknown-bg: #e6e3dc; --unknown-ink: #3d4458;
  --danger: #9b2c1d;
  --bar-good: #3f8a55; --bar-usual: #d9a233; --bar-wait: #c4503b;
  --radius: 16px;
  --ease: 200ms ease;
  --display: Rubik, system-ui, sans-serif;
  --text: "Nunito Sans", system-ui, sans-serif;
}

/* Dark theme follows the device unless the visitor picks one with the switch (data-theme) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --primary: #8fb0f0;
  --primary-deep: #b3cbf7;
  --accent: #e58a2c;
  --accent-deep: #f0a04e;
  --on-accent-hover: #1b2540;
  --page: #111729;
  --ink: #eceff7;
  --card: #192039;
  --muted: #1f2845;
  --ink-2: #a8b1c8;
  --rule: #2a3454;
  --rule-strong: #5d6a8c;
  --on-ink: #111729;
  --on-ink-2: #3f4a69;
  --tint: #232d4c;
  --quilt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cpath d='M0 44 44 0l44 44-44 44z' fill='none' stroke='%238fb0f0' stroke-opacity='.3' stroke-width='1.5' stroke-dasharray='5 5'/%3E%3Cg fill='%238fb0f0' fill-opacity='.28'%3E%3Ccircle cx='44' r='3'/%3E%3Ccircle cx='44' cy='88' r='3'/%3E%3Ccircle cy='44' r='3'/%3E%3Ccircle cx='88' cy='44' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --chart-surface: #151c33;
  --grid: #2a3352;
  --series-price: #6aa5f0;
  --series-was: #f0875a;
  --series-code: #36c98f;
  --good-bg: #1b3a28; --good-ink: #9be0b0;
  --usual-bg: #3d3010; --usual-ink: #f5d98a;
  --wait-bg: #4a2018; --wait-ink: #f5b3a6;
  --unknown-bg: #252d44; --unknown-ink: #cbd2e3;
  --danger: #f2a79b;
  --bar-good: #5cb577; --bar-usual: #e0b24a; --bar-wait: #e07a66;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary: #8fb0f0;
  --primary-deep: #b3cbf7;
  --accent: #e58a2c;
  --accent-deep: #f0a04e;
  --on-accent-hover: #1b2540;
  --page: #111729;
  --ink: #eceff7;
  --card: #192039;
  --muted: #1f2845;
  --ink-2: #a8b1c8;
  --rule: #2a3454;
  --rule-strong: #5d6a8c;
  --on-ink: #111729;
  --on-ink-2: #3f4a69;
  --tint: #232d4c;
  --quilt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cpath d='M0 44 44 0l44 44-44 44z' fill='none' stroke='%238fb0f0' stroke-opacity='.3' stroke-width='1.5' stroke-dasharray='5 5'/%3E%3Cg fill='%238fb0f0' fill-opacity='.28'%3E%3Ccircle cx='44' r='3'/%3E%3Ccircle cx='44' cy='88' r='3'/%3E%3Ccircle cy='44' r='3'/%3E%3Ccircle cx='88' cy='44' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --chart-surface: #151c33;
  --grid: #2a3352;
  --series-price: #6aa5f0;
  --series-was: #f0875a;
  --series-code: #36c98f;
  --good-bg: #1b3a28; --good-ink: #9be0b0;
  --usual-bg: #3d3010; --usual-ink: #f5d98a;
  --wait-bg: #4a2018; --wait-ink: #f5b3a6;
  --unknown-bg: #252d44; --unknown-ink: #cbd2e3;
  --danger: #f2a79b;
  --bar-good: #5cb577; --bar-usual: #e0b24a; --bar-wait: #e07a66;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1.0625rem/1.6 var(--text); -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, dl, dd, ul, ol, figure, table, details { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
a, button, summary { cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and footer */
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.625rem; font: 700 1.1875rem var(--display); letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 2.25rem; height: 2.25rem; }
.brand__accent { color: var(--primary); }
.nav__links { display: flex; align-items: center; gap: 1.5rem; font-weight: 600; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--primary-deep); }
.theme-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -0.5rem -0.5rem -0.5rem 0; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--muted); }
.theme-toggle svg { width: 1.375rem; height: 1.375rem; }
.theme-toggle .sun, :root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
}
@media (max-width: 40rem) { .hide-sm { display: none; } }
.foot { margin-top: clamp(3rem, 7vw, 5rem); padding-block: 2rem; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 0.9375rem; }
.foot__inner { display: grid; gap: 1.25rem; }
.foot p { max-width: 40rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; padding: 0; list-style: none; }
.foot__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }

/* Information pages */
.info { display: grid; gap: 2.5rem; padding-top: clamp(1rem, 3vw, 2rem); }
@media (min-width: 64rem) { .info { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; } }
@media (max-width: 63.99rem) { .info__nav { display: none; } }
.info__nav ul { padding: 0; list-style: none; }
.info__nav a { display: flex; align-items: center; min-height: 2.75rem; padding: 0 0.875rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
.info__nav a:hover { background: var(--card); }
.info__nav a[aria-current] { background: var(--ink); color: var(--on-ink); }
.prose { max-width: 44rem; }
.prose h1 { margin-top: 0.75rem; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; }
.prose .lede { margin-top: 1rem; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); color: var(--ink-2); }
.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.1875rem; }
.prose p, .prose ul, .prose ol, .prose dl { margin-top: 0.875rem; }
.prose li + li { margin-top: 0.375rem; }
.prose a { color: var(--primary-deep); font-weight: 700; }
.prose dt { margin-top: 1rem; font: 600 1.0625rem var(--display); }
.prose dd { margin-left: 0; color: var(--ink-2); }
.prose .updated { margin-top: 2.5rem; font-size: 0.9375rem; color: var(--ink-2); }

/* Shared pieces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0 1.5rem; border: 0; border-radius: 999px; font: 600 1.0625rem var(--display); text-decoration: none; transition: background-color var(--ease), transform var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #000; }
.btn--accent:hover { background: var(--accent-deep); color: var(--on-accent-hover); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.375rem; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 0.375rem; color: var(--rule-strong); }
.crumbs a { font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Verdict colours: green good time, yellow usual, red worth waiting. Each also has its own icon. */
.verdict-badge, .pill { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.verdict-badge { margin-top: 1rem; padding: 0.375rem 0.875rem 0.375rem 0.625rem; font-family: var(--display); }
.verdict-badge svg { width: 1.125rem; height: 1.125rem; }
.pill { padding: 0.25rem 0.75rem; font-size: 0.875rem; }
.pill svg { width: 0.875rem; height: 0.875rem; }
.verdict-badge--good, .pill--good { background: var(--good-bg); color: var(--good-ink); }
.verdict-badge--usual, .pill--usual { background: var(--usual-bg); color: var(--usual-ink); }
.verdict-badge--wait, .pill--wait { background: var(--wait-bg); color: var(--wait-ink); }
.verdict-badge--unknown, .pill--unknown { background: var(--unknown-bg); color: var(--unknown-ink); }

.mock-note { margin-top: 0.5rem; padding: 0.5rem 1rem; background: var(--usual-bg); color: var(--usual-ink); border-radius: 10px; font-size: 0.875rem; }
.checked { display: flex; align-items: center; justify-content: center; gap: 0.375rem; margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-2); }
.checked svg { width: 1rem; height: 1rem; }

/* Home */
/* Stitched diamonds like a mattress top behind the home page's opening, fading into the page */
body:has(.hero) { background-image: linear-gradient(transparent, var(--page) 44rem), var(--quilt); background-repeat: no-repeat, repeat; }
.hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); text-align: center; }
.hero--example { display: grid; gap: 2rem; align-items: center; }
.hero--example .hero__main { min-width: 0; }
@media (min-width: 60rem) {
  .hero--example { grid-template-columns: 1fr 22rem; gap: 3.5rem; text-align: left; }
  .hero--example h1 { margin-inline: 0; font-size: clamp(3rem, 1rem + 4vw, 4.5rem); }
  .hero--example .hero__sub, .hero--example .search, .hero--example .shops { margin-inline: 0; }
}
.example { display: flex; flex-direction: column; width: 100%; max-width: 24rem; margin-inline: auto; padding: 1.25rem; background: var(--card); border: 1px solid var(--rule); border-radius: 24px; box-shadow: 0 24px 48px -32px rgb(27 37 64 / 0.28); text-align: left; text-decoration: none; transition: border-color var(--ease), transform var(--ease); }
.example:hover { border-color: var(--primary); transform: translateY(-2px); }
.example__label { align-self: flex-start; padding: 0.25rem 0.75rem; background: var(--tint); border-radius: 999px; font: 700 0.8125rem var(--display); color: var(--primary-deep); }
.example__photo { display: grid; place-items: center; height: 9.5rem; margin-block: 0.875rem; background: var(--muted); border-radius: 16px; overflow: hidden; }
.example__photo img { width: 100%; height: 9.5rem; object-fit: contain; }
.card__photo svg { width: 62%; fill: var(--card); stroke: var(--primary-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.example__photo svg { width: 70%; fill: var(--card); stroke: var(--primary-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.example__slab { fill: var(--tint); }
.example__facts { display: grid; margin-top: 0.875rem; font-variant-numeric: tabular-nums; }
.example__facts > span { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 0.5rem; border-top: 1px solid var(--rule); color: var(--ink-2); }
.example__facts s { text-decoration: line-through var(--accent) 2px; }
.example__facts b { color: var(--ink); }
.example__today b { font: 800 1.75rem/1 var(--display); letter-spacing: -0.02em; }
.example__verdict { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.example__more { font-weight: 700; font-size: 0.9375rem; color: var(--primary-deep); }
.example__credit { margin-top: 0.625rem; font-size: 0.75rem; color: var(--ink-2); }
.hero h1 { max-width: 15ch; margin-inline: auto; font-size: clamp(2.75rem, 1.5rem + 5vw, 5.25rem); font-weight: 800; }
.hero__sub { max-width: 38rem; margin: 1rem auto 0; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); color: var(--ink-2); }
.shops { display: flex; align-items: center; gap: 0.5rem; max-width: 40rem; margin: 1rem auto 0; }
.shops__arrow { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); cursor: pointer; }
.shops__arrow svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.shops__arrow:hover:not(:disabled) { border-color: var(--primary); color: var(--primary-deep); }
.shops__arrow:disabled { opacity: 0.35; cursor: default; }
/* Touch screens swipe the row, so the arrows are for mouse and trackpad users */
@media (hover: none) { .shops__arrow { display: none; } }
/* One scrolling line; the fade hints there's more until the end is reached */
.shops__list { display: flex; gap: 0.5rem; margin: 0; padding: 0.25rem 0 0.5rem; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5rem, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 1.5rem, #000 calc(100% - 3rem), transparent); }
.shops__list::-webkit-scrollbar { display: none; }
.shops__list.is-start { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); }
.shops__list.is-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5rem); mask-image: linear-gradient(90deg, transparent, #000 1.5rem); }
.shops__list.is-start.is-end { -webkit-mask-image: none; mask-image: none; }
.shops__list li { flex: none; scroll-snap-align: start; }
.shops__list a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.875rem; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; font: 600 0.9375rem var(--display); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.shops__list a:hover { color: var(--primary-deep); border-color: var(--primary); }
.search { display: flex; gap: 0.5rem; max-width: 40rem; margin: 2rem auto 0; padding: 0.5rem; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; box-shadow: 0 16px 40px -24px rgb(27 37 64 / 0.3); }
.search input { flex: 1; min-width: 0; padding: 0 1rem; border: 0; background: none; font: 1.0625rem var(--text); color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--primary); outline-offset: 2px; }

.section { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.section--first { margin-top: 1rem; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.page-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; }
.section__head a { font-weight: 700; color: var(--primary-deep); text-decoration: none; }
.section__lede { margin-top: 0.5rem; max-width: 42rem; color: var(--ink-2); }
.section__lede a { color: var(--primary-deep); font-weight: 700; }
.group-title { margin-top: 2.5rem; font-size: 1.5rem; }
.brand-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
.brand-facts div { padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.brand-facts dt { font-size: 0.875rem; color: var(--ink-2); }
.brand-facts dd { font: 800 2rem/1.1 var(--display); }
.brand-facts small { display: block; margin-top: 0.25rem; font: 400 0.875rem var(--text); color: var(--ink-2); }
.group-title a { text-decoration: none; }
.group-title span { font: 400 0.9375rem var(--text); color: var(--ink-2); letter-spacing: 0; }
.group-title { scroll-margin-top: 1rem; }
.jump ul { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.25rem; padding: 0 0.875rem; background: var(--muted); border-radius: 999px; font: 600 0.9375rem var(--display); color: var(--ink); text-decoration: none; }
.jump a:hover { color: var(--primary-deep); }
.jump a span { font: 400 0.8125rem var(--text); color: var(--ink-2); }
.more-cards { margin-top: 1rem; }
.more-cards > summary { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.25rem; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; font-weight: 700; color: var(--primary-deep); cursor: pointer; list-style: none; }
.more-cards > summary::-webkit-details-marker { display: none; }
.more-cards > summary:hover { border-color: var(--primary); }
.more-cards .when-open, .more-cards[open] .when-closed { display: none; }
.more-cards[open] .when-open { display: inline; }
.more-cards[open] > summary { margin-bottom: 0.25rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; height: 100%; padding: 1.25rem; background: var(--card); border: 1px solid var(--rule); border-radius: 20px; text-decoration: none; transition: border-color var(--ease), transform var(--ease); }
.card:hover { border-color: var(--primary); transform: translateY(-2px); }
.card__photo { display: grid; place-items: center; aspect-ratio: 4 / 3; margin: -0.25rem -0.25rem 0.875rem; background: var(--muted); border-radius: 14px; overflow: hidden; }
.card__photo img { width: 100%; height: 100%; object-fit: contain; }
.card__brand { font-size: 0.875rem; font-weight: 700; color: var(--ink-2); }
.card__name { margin-top: 0.125rem; font: 600 1.125rem/1.25 var(--display); }
.card__size { font-size: 0.875rem; color: var(--ink-2); }
.card__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin-top: auto; padding-top: 1.25rem; }
.card__price { font: 800 1.75rem/1 var(--display); letter-spacing: -0.02em; }
.card__claim { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-2); }
.card__claim s { text-decoration: line-through var(--accent) 2px; }
.card__deal { margin-top: 0.75rem; font-weight: 700; font-size: 0.9375rem; color: var(--good-ink); }
.empty-note { margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--card); border: 1px dashed var(--rule); border-radius: var(--radius); color: var(--ink-2); }
.mini { position: relative; height: 0.5rem; margin-top: 1rem; border-radius: 999px; background: linear-gradient(90deg, var(--bar-good) 0 33.4%, var(--bar-usual) 33.4% 66.7%, var(--bar-wait) 66.7%); }
.mini i { position: absolute; top: 50%; width: 1.125rem; height: 1.125rem; margin: -0.5625rem 0 0 -0.5625rem; background: var(--ink); border: 3px solid var(--card); border-radius: 50%; }
.mini-flat { margin-top: 1rem; padding: 0.375rem 0.75rem; background: var(--muted); border-radius: 999px; font-size: 0.8125rem; color: var(--ink-2); align-self: flex-start; }
.mini-ends { display: flex; justify-content: space-between; margin-top: 0.375rem; font-size: 0.75rem; color: var(--ink-2); }

.league { display: grid; gap: 0; margin-top: 1.5rem; padding: 0.25rem clamp(1rem, 3vw, 2rem); background: var(--card); border: 1px solid var(--rule); border-radius: 24px; list-style: none; }
.league__row { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; grid-template-areas: "brand bar" "brand text"; gap: 0.25rem 1.25rem; align-items: center; padding-block: 0.875rem; border-bottom: 1px solid var(--rule); }
.league__row:last-child { border-bottom: 0; }
.league__brand { grid-area: brand; font: 700 1.0625rem var(--display); text-decoration: none; }
.league__brand:hover { color: var(--primary-deep); text-decoration: underline; }
.league__bar { grid-area: bar; display: flex; height: 0.625rem; overflow: hidden; background: var(--muted); border-radius: 999px; }
.league__bar i, .league__key i { display: block; height: 100%; }
.league__good { background: var(--bar-good); }
.league__usual { background: var(--bar-usual); }
.league__wait { background: var(--bar-wait); }
.league__text { grid-area: text; font-size: 0.9375rem; color: var(--ink-2); }
.league__text b { color: var(--ink); }
.league__text span::before { content: ", "; }
.league__new { margin-top: 1rem; max-width: 46rem; font-size: 0.9375rem; color: var(--ink-2); }
.league__new a { font-weight: 600; }
.league__key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.875rem; font-size: 0.875rem; color: var(--ink-2); }
.league__key span { display: inline-flex; align-items: center; gap: 0.5rem; }
.league__key i { width: 0.875rem; height: 0.875rem; border-radius: 3px; }
@media (max-width: 40rem) { .league__row { grid-template-columns: 1fr; grid-template-areas: "brand" "bar" "text"; } }
.honesty { margin-top: 1.5rem; padding: 0.5rem clamp(1rem, 3vw, 2rem); background: var(--card); border: 1px solid var(--rule); border-radius: 24px; }
.honesty ul { padding: 0; list-style: none; }
.honesty li { display: grid; grid-template-columns: 7rem 1fr 4rem; align-items: center; gap: 1rem; padding-block: 0.875rem; border-bottom: 1px solid var(--rule); }
.honesty li:last-child { border-bottom: 0; }
.honesty a { text-decoration: none; font-family: var(--display); }
.bar { height: 0.625rem; background: var(--muted); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.honesty em { font-style: normal; text-align: right; font-weight: 700; }
@media (max-width: 34rem) { .honesty li { grid-template-columns: 1fr auto; } .bar { grid-column: 1 / -1; grid-row: 2; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1.5rem; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 1.5rem; background: var(--card); border: 1px solid var(--rule); border-radius: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--ink); color: var(--on-ink); border-radius: 50%; font: 700 1rem var(--display); }
.steps h3 { margin-top: 1rem; font-size: 1.1875rem; }
.steps p { margin-top: 0.375rem; color: var(--ink-2); }

/* Product page: the answer, then the buy box */
.top { display: grid; gap: 2rem; padding-top: clamp(1rem, 3vw, 2rem); }
@media (min-width: 64rem) {
  .top { grid-template-columns: 1fr 23rem; gap: 3.5rem; align-items: start; }
  .top--image { grid-template-columns: minmax(16rem, 22rem) 1fr 21rem; gap: 2.5rem; }
}
.top h1 { margin-top: 0.75rem; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); font-weight: 800; }
.top__name { display: block; margin-bottom: 0.625rem; font: 700 clamp(1.125rem, 1rem + 0.5vw, 1.375rem)/1.3 var(--display); letter-spacing: 0; color: var(--ink-2); }
.top__sub { margin-top: 1rem; max-width: 36rem; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--ink-2); }

.photo__frame { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--card); border: 1px solid var(--rule); border-radius: 24px; overflow: hidden; }
.photo__frame img { width: 100%; height: 100%; object-fit: contain; }
.photo figcaption { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--ink-2); }

.buy { padding: 1.5rem; background: var(--card); border: 1px solid var(--rule); border-radius: 24px; }
.buy__head { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; color: var(--ink-2); }
.buy__head span:last-child { text-align: right; }
.buy__price { margin-top: 0.25rem; font: 800 3.25rem/1 var(--display); letter-spacing: -0.03em; }
.buy__was { margin-top: 0.375rem; color: var(--ink-2); }
.buy__was s { text-decoration: line-through var(--series-was) 2px; }
.buy__code { margin-top: 1rem; padding: 0.75rem 0.875rem; background: var(--tint); border-radius: 12px; }
.buy__code p:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 0.375rem; }
.buy__code svg { width: 1.125rem; height: 1.125rem; color: var(--primary-deep); }
.buy__code strong { font: 700 1.1875rem var(--display); }
.buy__code-text { margin-top: 0.25rem; font-size: 0.875rem; color: var(--ink-2); }
.sizes { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 1.25rem; }
.sizes a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.875rem; background: var(--muted); border: 1px solid transparent; border-radius: 999px; font-weight: 600; font-size: 0.875rem; text-decoration: none; transition: border-color var(--ease); }
.sizes a:hover { border-color: var(--primary); }
.tier { margin-top: 2.25rem; font-size: 1.25rem; }
.tier span { font: 400 0.9375rem var(--text); color: var(--ink-2); letter-spacing: 0; }
.tier + .cards { margin-top: 1rem; }
.sort { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.sort a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; font-weight: 600; font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; }
.sort a:hover { border-color: var(--primary); color: var(--primary-deep); }
.sort a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.sizes a[aria-current] { background: var(--ink); color: var(--on-ink); }
.buy .btn { width: 100%; margin-top: 1.25rem; }
.buy__note { margin-top: 0.625rem; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }

/* The price ruler */
.ruler { margin-top: clamp(2.5rem, 6vw, 4rem); padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem); background: var(--card); border: 1px solid var(--rule); border-radius: 28px; }
.ruler h2 { font-size: 1.25rem; }
.ruler--flat .ruler__note { border-top: 0; padding-top: 0; margin-top: 0.75rem; }
.track { position: relative; height: 1.25rem; margin-top: 8rem; border-radius: 999px; background: linear-gradient(90deg, var(--bar-good) 0 33.4%, var(--bar-usual) 33.4% 66.7%, var(--bar-wait) 66.7%); }
.track::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), color-mix(in srgb, var(--card) 70%, transparent) calc(10% - 2px) 10%); }
.median { position: absolute; top: -0.375rem; bottom: -0.375rem; width: 2px; margin-left: -1px; background: var(--ink-2); border-radius: 1px; }
.today-dot { position: absolute; top: 50%; width: 1.5rem; height: 1.5rem; margin: -0.75rem 0 0 -0.75rem; background: var(--ink); border: 4px solid var(--card); border-radius: 50%; box-shadow: 0 2px 6px rgb(15 23 42 / 0.3); }
.marker { position: absolute; bottom: 50%; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.marker--start { align-items: flex-start; transform: translateX(-1.25rem); }
.marker--end { align-items: flex-end; transform: translateX(calc(-100% + 1.25rem)); }
.marker__bubble { display: block; padding: 0.625rem 1rem; background: var(--ink); color: var(--on-ink); border-radius: 14px; white-space: nowrap; text-align: center; }
.marker__bubble small { display: block; font-size: 0.8125rem; color: var(--on-ink-2); }
.marker__bubble b { font: 800 1.75rem/1.1 var(--display); }
.marker__stem { width: 3px; height: 1.5rem; background: var(--ink); }
.marker--start .marker__stem { margin-left: calc(1.25rem - 1.5px); }
.marker--end .marker__stem { margin-right: calc(1.25rem - 1.5px); }
@media (prefers-reduced-motion: no-preference) {
  .marker, .today-dot { animation: slide 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both; }
  @keyframes slide { from { left: 0%; } }
}
.ends { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.75rem; }
.ends div:last-child { text-align: right; }
.ends b { display: block; font: 700 1.375rem var(--display); }
.ends span { color: var(--ink-2); font-size: 0.9375rem; }
.ends s { text-decoration: line-through var(--accent) 2px; }
.usual-pin { position: absolute; top: 100%; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.usual-pin--start { align-items: flex-start; transform: translateX(-0.75rem); }
.usual-pin--end { align-items: flex-end; transform: translateX(calc(-100% + 0.75rem)); }
.usual-pin__stem { width: 2px; height: 0.75rem; background: var(--ink-2); }
.usual-pin--start .usual-pin__stem { margin-left: calc(0.75rem - 1px); }
.usual-pin--end .usual-pin__stem { margin-right: calc(0.75rem - 1px); }
.usual-pin__label { padding: 0.25rem 0.625rem; background: var(--muted); border: 1px solid var(--rule); border-radius: 999px; font-size: 0.875rem; color: var(--ink-2); white-space: nowrap; }
.usual-pin__label b { color: var(--ink); }
.was-tick { position: absolute; top: -0.5rem; bottom: -0.5rem; width: 4px; margin-left: -2px; background: var(--series-was); border-radius: 2px; }
.ruler__keys { display: grid; gap: 0.375rem; margin-top: 1.25rem; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--ink-2); }
.ruler__keys li { display: flex; align-items: flex-start; gap: 0.625rem; line-height: 1.4; }
.ruler__keys li > i { margin-top: 0.15rem; }
.ruler__keys b { color: var(--ink); }
.ruler__keys i { flex: none; }
.key-dot { width: 0.875rem; height: 0.875rem; background: var(--ink); border-radius: 50%; }
.key-median { width: 2px; height: 1.125rem; margin-inline: 0.375rem; background: var(--ink-2); border-radius: 1px; }
.key-was { width: 4px; height: 1.125rem; margin-inline: 0.3125rem; background: var(--series-was); border-radius: 2px; }
.median-key { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }
.median-key i { flex: none; width: 2px; height: 1.25rem; background: var(--ink-2); border-radius: 1px; }
.median-key b { color: var(--ink); }
.ruler__note { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--ink-2); }
.ruler__note b { color: var(--ink); }
.archive-note { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-2); }

.watch { margin-top: clamp(2.5rem, 6vw, 4rem); max-width: 46rem; }
.watch h2 { font-size: 1.5rem; }
.watch__lede { margin-top: 0.5rem; color: var(--ink-2); }
.watch__when { display: grid; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; border: 0; }
.watch__when label { display: flex; align-items: center; gap: 0.625rem; }
.watch__when input[type=radio] { flex: none; width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--primary); }
.watch__target { width: 6rem; padding: 0.375rem 0.625rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; }
.watch__row { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1rem; }
.watch__row input { flex: 1 1 16rem; min-height: 3rem; padding: 0 1.125rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; }
.watch__row input:focus, .watch__target:focus { outline: 3px solid var(--primary); outline-offset: 1px; }
.watch__trap { position: absolute; left: -9999px; }
.watch__note { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-2); }
.alert-page { max-width: 40rem; margin: clamp(2rem, 8vw, 5rem) auto; }
.alert-page form { margin: 1.5rem 0; }
.about { margin-top: clamp(2.5rem, 6vw, 4rem); max-width: 46rem; }
.about h2 { font-size: 1.5rem; }
.about__text { margin-top: 0.75rem; color: var(--ink-2); }
.about__text p + p { margin-top: 0.75rem; }
.about__text[data-collapsed] { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { min-height: 2.75rem; margin-top: 0.25rem; padding: 0; border: 0; background: none; font: 700 1rem var(--text); color: var(--primary-deep); }
.credit { font-size: 0.8125rem; color: var(--ink-2); }

/* Price history, closed by default */
.history { margin-top: clamp(2.5rem, 6vw, 4rem); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.history > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; font: 600 1.125rem var(--display); list-style: none; }
.history > summary::-webkit-details-marker { display: none; }
.history > summary::after { content: "Show"; font: 700 0.9375rem var(--text); color: var(--primary-deep); }
.history[open] > summary::after { content: "Hide"; }
.history__body { padding: 0 1.5rem 1.5rem; }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 0; list-style: none; font-size: 0.9375rem; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: 0.5rem; }
.key { display: inline-block; width: 1rem; height: 3px; border-radius: 2px; flex: none; }
.key--price { background: var(--series-price); }
.key--was { background: var(--series-was); }
.key--code { background: var(--series-code); }

/* The SVG stretches to the box; labels are HTML so text keeps its size at any width */
.chart { margin-top: 1rem; padding: 1rem; background: var(--chart-surface); border-radius: 12px; }
.chart__plot { position: relative; height: 15rem; touch-action: pan-y; cursor: crosshair; }
@media (min-width: 48rem) { .chart__plot { height: 20rem; } }
.chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grid { stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__line--price { stroke: var(--series-price); }
.chart__line--was { stroke: var(--series-was); stroke-dasharray: 6 5; }
.chart__line--code { stroke: var(--series-code); }
.chart__ytick, .chart__end, .chart__xaxis span { position: absolute; font-size: 0.8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart__ytick { left: 0; transform: translateY(-100%); padding-bottom: 2px; color: var(--ink-2); }
.chart__end { right: 0; padding-left: 0.375rem; font-weight: 700; background: var(--chart-surface); }
.chart__end--price, .chart__end--code { transform: translateY(6px); }
.chart__end--was { transform: translateY(calc(-100% - 6px)); }
.chart__xaxis { position: relative; height: 1.5rem; margin-top: 0.5rem; color: var(--ink-2); }
.chart__xaxis span { transform: translateX(-50%); }
@media (max-width: 40rem) { .chart__xaxis span:nth-child(even) { display: none; } }
.chart__cursor, .chart__dot, .chart__tip { position: absolute; visibility: hidden; pointer-events: none; }
.chart.is-active .chart__cursor, .chart.is-active .chart__dot, .chart.is-active .chart__tip { visibility: visible; }
.chart__cursor { top: 0; bottom: 0; width: 1px; background: var(--ink-2); }
.chart__dot { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--chart-surface); }
.chart__dot--price { background: var(--series-price); }
.chart__dot--was { background: var(--series-was); }
.chart__dot--code { background: var(--series-code); }
.chart__dot[hidden] { display: none; }
.chart__tip { top: 0; z-index: 1; display: grid; gap: 0.125rem; padding: 0.625rem 0.75rem; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 8px 24px rgb(15 23 42 / 0.12); font-size: 0.875rem; white-space: nowrap; }
.chart__tip-date { color: var(--ink-2); }
.chart__tip-row { display: flex; align-items: center; gap: 0.5rem; color: var(--ink-2); }
.chart__tip-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.chart__tip-row[hidden] { display: none; }
.empty { margin-top: 0.5rem; padding: 2rem 1rem; text-align: center; color: var(--ink-2); background: var(--muted); border-radius: 12px; }

.changes { width: 100%; margin-top: 1.5rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.changes caption { padding-bottom: 0.5rem; text-align: left; font: 600 1.0625rem var(--display); }
.changes th, .changes td { padding: 0.625rem 1rem 0.625rem 0; text-align: left; border-bottom: 1px solid var(--rule); }
.changes th { font-size: 0.875rem; color: var(--ink-2); }

.faq { margin-top: clamp(2.5rem, 6vw, 4rem); }
.faq h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.faq__list { margin-top: 1rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.faq details + details { border-top: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.125rem 1.5rem; font: 600 1.0625rem var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.375rem; line-height: 1; color: var(--primary-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.5rem 1.25rem; max-width: 46rem; color: var(--ink-2); }

/* Private statistics */
.stats { padding-top: 1.5rem; }
.stats h1 { font-size: 2rem; }
.stats h2 { margin-top: 2rem; font-size: 1.25rem; }
.stats h3 { margin-top: 1.25rem; font-size: 1rem; }
.stats__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.stats__periods { display: flex; gap: 0.375rem; }
.stats__periods a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.875rem; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.stats__periods a[aria-current] { background: var(--ink); color: var(--on-ink); }
.stats__note { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-2); }
.stats__totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.stats__totals div { padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.stats__totals dt { font-size: 0.875rem; color: var(--ink-2); }
.stats__totals dd { font: 800 2rem/1.1 var(--display); }
.stats__days { display: flex; align-items: flex-end; gap: 2px; height: 8rem; margin-top: 0.75rem; padding: 0.75rem; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.stats__days span { flex: 1; height: max(var(--h), 2px); background: var(--series-price); border-radius: 3px 3px 0 0; }
.stats__axis { display: flex; justify-content: space-between; margin-top: 0.25rem; font-size: 0.8125rem; color: var(--ink-2); }
.stats__grid { display: grid; gap: 0 2.5rem; }
@media (min-width: 56rem) { .stats__grid { grid-template-columns: 1fr 1fr; } }
.stats__table { width: 100%; margin-top: 0.5rem; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.stats__table th, .stats__table td { padding: 0.5rem 0.75rem 0.5rem 0; text-align: left; border-bottom: 1px solid var(--rule); font-weight: 400; }
.stats__table td:last-child { text-align: right; padding-right: 0; }
.stats__table th[scope="col"] { font-weight: 700; color: var(--ink-2); }
.stats__table a { word-break: break-all; }
.stats__history { margin-top: 2.5rem; }
.stats__runs { display: grid; gap: 0.25rem; margin: 1rem 0 0.5rem; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--ink-2); }
.stats__runs b { color: var(--ink); }
.stats__scroll { overflow-x: auto; }
.stats__history .stats__table td { text-align: left; white-space: nowrap; }
.stats__history small { color: var(--ink-2); }
.stats__state { font-weight: 700; color: var(--good-ink); }
.stats__state--problem { color: var(--danger); }
.stats__bar { width: 45%; }
.stats__bar span { display: block; height: 0.5rem; background: var(--accent); border-radius: 999px; }
.stats__logout { margin-top: 2.5rem; }
.stats__logout button { min-height: 2.75rem; padding: 0 1rem; background: none; border: 1px solid var(--rule); border-radius: 999px; font: 600 0.9375rem var(--text); cursor: pointer; }
.stats--login { max-width: 24rem; }
.stats--login form { display: grid; gap: 0.5rem; margin-top: 1rem; }
.stats--login input { min-height: 2.75rem; padding: 0 0.875rem; border: 1px solid var(--rule); border-radius: 10px; font: 1rem var(--text); }
.stats--login .btn { margin-top: 0.75rem; }
.stats__ignore { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }
.stats__ignore .btn { min-height: 2.5rem; background: var(--card); border: 1px solid var(--rule); color: var(--ink); }
.stats__error { margin-top: 1rem; color: var(--danger); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Comparison of two mattresses: verdict and charts first, specs below */
.versus { padding-top: clamp(1rem, 3vw, 2rem); }
.versus h1 { margin-top: 0.75rem; max-width: 56rem; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 800; }
.versus__deal { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.versus__label { font: 700 0.8125rem var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-deep); }
.versus__headline { margin-top: 0.375rem; font: 800 clamp(1.375rem, 1.1rem + 1.2vw, 2rem)/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.versus__detail { margin-top: 0.5rem; max-width: 46rem; color: var(--ink-2); }
.versus__sides { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 56rem) { .versus__sides { grid-template-columns: 1fr 1fr; } }
.side { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem; background: var(--card); border: 1px solid var(--rule); border-radius: 24px; }
.side__brand { font-size: 0.9375rem; color: var(--ink-2); }
.side h2 { margin-top: 0.25rem; font-size: 1.375rem; }
.side h2 a { text-decoration: none; }
.side h2 a:hover { text-decoration: underline; }
.side .verdict-badge { align-self: flex-start; }
.side__price { display: flex; align-items: baseline; gap: 0.75rem; margin-top: 0.75rem; font: 800 2.5rem/1 var(--display); letter-spacing: -0.03em; }
.side__price span { font: 600 0.9375rem var(--text); letter-spacing: 0; color: var(--ink-2); }
.side__detail { margin-top: 0.75rem; color: var(--ink-2); }
.side .legend { margin-top: 1.25rem; }
.side .empty { margin-top: 1.25rem; }
.side .chart__plot { height: 14rem; }
.side__foot { margin-top: auto; padding-top: 1.25rem; }
.side__foot .btn { width: 100%; }
.specs { width: 100%; margin-top: 1.5rem; border-collapse: collapse; }
.specs th, .specs td { padding: 0.75rem 1rem 0.75rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.specs thead th { width: 42%; font: 600 1rem var(--display); }
.specs tbody th { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 1rem; margin-top: 1rem; }
.spec-list dt { font-size: 0.875rem; color: var(--ink-2); }
.spec-list dd { font-weight: 700; }
.share { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }
.share__button { min-height: 2.75rem; padding: 0 1rem; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; font: 600 0.9375rem var(--text); color: var(--ink); cursor: pointer; transition: border-color var(--ease); }
.share__button:hover { border-color: var(--primary); color: var(--primary-deep); }
.compare-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; padding: 0; list-style: none; }
.compare-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.375rem 1rem; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; font-weight: 600; text-decoration: none; }
.compare-links a:hover { color: var(--primary-deep); border-color: var(--primary); }
