/* Deals Dude — Apple-inspired neutrals, frosted glass, hints of yellow, lots of room. */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #fbfbfd;
  --band: rgba(255, 255, 255, 0.55);
  --band-alt: rgba(245, 245, 247, 0.82);
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --hairline: #d2d2d7;
  --hairline-soft: rgba(0, 0, 0, 0.08);

  --yellow: #ffcc00;
  --yellow-hover: #ffd633;
  --yellow-soft: rgba(255, 204, 0, 0.16);
  --gold-ink: #8a6100; /* yellow-family text that passes 4.5:1 on white */

  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 48px rgba(0, 0, 0, 0.07);
  --nav-bg: rgba(251, 251, 253, 0.72);

  --glow-a: rgba(255, 204, 0, 0.20);
  --glow-b: rgba(255, 179, 64, 0.12);

  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --container: 1440px;
  --gutter: clamp(20px, 5vw, 64px);
  --band-pad: clamp(64px, 9vw, 120px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --band: rgba(0, 0, 0, 0.35);
    --band-alt: rgba(22, 22, 23, 0.82);
    --surface: #1d1d1f;
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --ink-3: #86868b;
    --hairline: #424245;
    --hairline-soft: rgba(255, 255, 255, 0.1);
    --yellow: #ffd60a;
    --yellow-hover: #ffe04a;
    --yellow-soft: rgba(255, 214, 10, 0.14);
    --gold-ink: #ffd60a;
    --glass: rgba(29, 29, 31, 0.62);
    --glass-strong: rgba(29, 29, 31, 0.86);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 18px 48px rgba(0, 0, 0, 0.45);
    --nav-bg: rgba(22, 22, 23, 0.72);
    --glow-a: rgba(255, 214, 10, 0.12);
    --glow-b: rgba(255, 159, 10, 0.07);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --band: rgba(0, 0, 0, 0.35);
  --band-alt: rgba(22, 22, 23, 0.82);
  --surface: #1d1d1f;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #86868b;
  --hairline: #424245;
  --hairline-soft: rgba(255, 255, 255, 0.1);
  --yellow: #ffd60a;
  --yellow-hover: #ffe04a;
  --yellow-soft: rgba(255, 214, 10, 0.14);
  --gold-ink: #ffd60a;
  --glass: rgba(29, 29, 31, 0.62);
  --glass-strong: rgba(29, 29, 31, 0.86);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 18px 48px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(22, 22, 23, 0.72);
  --glow-a: rgba(255, 214, 10, 0.12);
  --glow-b: rgba(255, 159, 10, 0.07);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Soft warm light behind everything, so the frosted surfaces have something to blur. */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop span { position: absolute; border-radius: 50%; filter: blur(80px); }
.backdrop span:nth-child(1) { width: 60vmax; height: 60vmax; top: -30vmax; right: -15vmax; background: var(--glow-a); }
.backdrop span:nth-child(2) { width: 50vmax; height: 50vmax; bottom: -28vmax; left: -18vmax; background: var(--glow-b); }
.backdrop span:nth-child(3) { display: none; }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--gold-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(720px + 2 * var(--gutter)); }
.band { padding: var(--band-pad) 0; background: var(--band); }
.band-alt { background: var(--band-alt); }
.band-tight { padding: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }

.eyebrow { display: inline-block; font-size: 0.95rem; font-weight: 600; color: var(--gold-ink); letter-spacing: 0; margin-bottom: 14px; }
.lead { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink-2); max-width: 40ch; letter-spacing: -0.015em; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-2); }
.fine { font-size: 0.85rem; color: var(--ink-3); margin: 16px 0 0; line-height: 1.5; }
.empty-note { color: var(--ink-2); font-size: 1.05rem; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--ink-2); margin: 10px 0 0; font-size: 1.1rem; max-width: 52ch; }
.section-head .link-arrow { white-space: nowrap; }
.link-arrow { font-weight: 600; font-size: 1.05rem; }
.link-arrow::after { content: " ›"; }

/* ---------------------------------------------------------------- glass */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .site-header, .nav.open { background: var(--glass-strong); }
}

/* ---------------------------------------------------------------- header (full-width frosted bar) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; color: var(--ink); opacity: 0.8; font-size: 0.92rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { opacity: 1; text-decoration: none; }
.nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--yellow); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; font: inherit; opacity: 0.8; }
.icon-btn:hover { opacity: 1; background: var(--hairline-soft); text-decoration: none; }
.icon-btn svg { width: 19px; height: 19px; }
.menu-btn { display: none; }

@media (max-width: 734px) {
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  .nav {
    display: none; position: absolute; top: 56px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline-soft);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.35rem; font-weight: 600; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--hairline-soft); opacity: 1; }
  .nav a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; margin: -3px 0 0; }
}

/* ---------------------------------------------------------------- buttons, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font: inherit; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--yellow); color: #1d1d1f; }
.btn-primary:hover { background: var(--yellow-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { padding: 8px 18px; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.center .actions { justify-content: center; }

.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); background: var(--hairline-soft); letter-spacing: 0; }
.tag-off { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: #1d1d1f; background: var(--yellow); letter-spacing: 0; }
.cond { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--ink); background: var(--hairline-soft); white-space: nowrap; letter-spacing: 0; }
.cond-open_box { background: var(--yellow-soft); }
.cond-refurbished_manufacturer, .cond-refurbished_seller { background: rgba(48, 176, 199, 0.14); }
.cond-used { background: rgba(142, 142, 147, 0.18); }

/* ---------------------------------------------------------------- grids & cards */
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-fill { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 1068px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 3vw, 40px); color: inherit; }
a.card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
a.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 24px 56px rgba(0, 0, 0, 0.1); }
.card p { color: var(--ink-2); margin: 0; }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--gold-ink); }
.card .pill { align-self: flex-start; }

.tile .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--yellow-soft); color: var(--ink); margin-bottom: 14px; }
.tile .icon svg { width: 26px; height: 26px; }
.tile h3 { font-size: 1.5rem; }
.tile p { font-size: 1.05rem; line-height: 1.55; }

.deal-card h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; margin: 6px 0 2px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.price { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.was { color: var(--ink-3); font-size: 0.98rem; }
.where { color: var(--ink-2); font-size: 0.95rem; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 9vw, 112px); }
.hero h1 { max-width: 16ch; }
.hero.center h1 { margin: 0 auto; }
.hero .lead { margin-top: 24px; }
.countdown { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 56px; padding: 18px 30px; border-radius: 999px; }
.countdown .label { font-weight: 600; color: var(--ink-2); font-size: 0.95rem; }
.countdown .units { display: flex; gap: 22px; }
.countdown .unit { display: flex; align-items: baseline; gap: 5px; }
.countdown .num { font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.countdown small { color: var(--ink-3); font-size: 0.85rem; }
.countdown .dates { width: 100%; text-align: center; color: var(--ink-3); font-size: 0.85rem; }
@media (max-width: 734px) { .countdown { border-radius: var(--radius-md); padding: 18px 20px; } .countdown .units { gap: 14px; } }

/* ---------------------------------------------------------------- search */
.search { margin: 40px auto 0; max-width: 720px; position: relative; }
.search input {
  width: 100%; font: inherit; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em;
  padding: 20px 28px 20px 58px; border-radius: 999px;
  border: 1px solid var(--glass-border); background: var(--glass-strong);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-shadow);
}
.search svg { position: absolute; z-index: 1; left: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--ink-3); pointer-events: none; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.chip { font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; color: var(--ink); padding: 8px 18px; border-radius: 999px; border: 1px solid var(--hairline); background: transparent; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------------------------------------------------------------- articles */
.article-head { padding: clamp(72px, 10vw, 128px) 0 clamp(32px, 4vw, 48px); }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.article-head .meta { color: var(--ink-3); margin-top: 20px; font-size: 0.95rem; }
.prose { font-size: 1.12rem; line-height: 1.7; padding-bottom: var(--band-pad); }
.prose > p:first-child { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.015em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.2em 0 0.7em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.6em; }
.prose li::marker { color: var(--ink-3); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.note { margin: 2em 0; padding: 26px 30px; border-radius: var(--radius-md); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-left: 4px solid var(--yellow); font-size: 1.02rem; }
.note p { margin: 0.4em 0; }
.note ul { margin: 0.5em 0; }
.back-link { display: inline-block; margin-top: 2.5em; font-weight: 600; }

table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.table-scroll { overflow-x: auto; margin: 0 0 1.6em; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 520px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hairline-soft); vertical-align: top; }
thead th { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--hairline); }
tbody th { font-weight: 600; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------------------------------------------------------------- product page */
.crumbs { font-size: 0.88rem; color: var(--ink-3); padding-top: 28px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs a { color: var(--ink-2); }
.product-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
@media (max-width: 1068px) { .product-hero { grid-template-columns: 1fr; } }
.product-title { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-top: 14px; overflow-wrap: anywhere; }
.product-hero .meta { color: var(--ink-2); margin-top: 18px; font-size: 1.1rem; }
.best-box { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.best-box .label { font-weight: 600; color: var(--ink-2); font-size: 0.95rem; }
.best-price { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.best-box .btn { margin-top: 10px; }
.best-box .fine { margin: 0; }
.stale-note { margin-top: 20px; padding: 16px 22px; border-radius: var(--radius-md); font-weight: 500; border-left: 4px solid var(--yellow); }

.panel { padding: clamp(24px, 3.5vw, 48px); }
table.offers td { vertical-align: middle; padding: 18px 16px; }
table.offers tr.oos { opacity: 0.55; }
table.offers td:last-child { text-align: right; }
@media (max-width: 734px) {
  table.offers, .table-scroll table.offers { min-width: 0; }
  table.offers thead { display: none; }
  table.offers tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 20px 0; border-bottom: 1px solid var(--hairline-soft); }
  table.offers td { border: 0; padding: 0; text-align: left; }
  table.offers td:last-child { grid-column: 1 / -1; text-align: left; }
  table.offers td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; color: var(--ink-3); margin-bottom: 2px; }
}
details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details summary::marker { color: var(--ink-3); }
.history-table { margin-top: 28px; }
.history-table .table-scroll { margin-top: 16px; }
.all-products ul { columns: 2 300px; column-gap: 48px; margin: 24px 0 0; padding-left: 1.1em; }
.all-products li { margin-bottom: 10px; break-inside: avoid; }
.all-products a { color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--band-alt); border-top: 1px solid var(--hairline-soft); padding: 48px 0 56px; font-size: 0.82rem; color: var(--ink-2); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline-soft); }
.footer-brand strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.disclosure { margin: 24px 0 0; max-width: 90ch; line-height: 1.6; }
.disclosure a { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- price-history chart (validated palette, slots 1-3) */
.viz-root {
  --viz-surface: #ffffff; --viz-text-2: #424245; --viz-muted: #6e6e73; --viz-grid: rgba(0, 0, 0, 0.08);
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) .viz-root {
    --viz-surface: #1d1d1f; --viz-text-2: #d2d2d7; --viz-muted: #a1a1a6; --viz-grid: rgba(255, 255, 255, 0.1);
    --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70;
  }
}
:root[data-theme="dark"] .viz-root {
  --viz-surface: #1d1d1f; --viz-text-2: #d2d2d7; --viz-muted: #a1a1a6; --viz-grid: rgba(255, 255, 255, 0.1);
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70;
}
.price-chart { position: relative; margin-top: 8px; }
.viz-plot { position: relative; }
.price-chart-svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: pan-y; }
.viz-grid { stroke: var(--viz-grid); stroke-width: 1; }
.viz-axis { fill: var(--viz-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.viz-label { fill: var(--viz-text-2); font-size: 12px; font-weight: 600; }
.viz-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.viz-end { stroke: var(--viz-surface); stroke-width: 2; }
.viz-line.s1 { stroke: var(--series-1); } .viz-end.s1, .viz-swatch.s1 { fill: var(--series-1); background: var(--series-1); }
.viz-line.s2 { stroke: var(--series-2); } .viz-end.s2, .viz-swatch.s2 { fill: var(--series-2); background: var(--series-2); }
.viz-line.s3 { stroke: var(--series-3); } .viz-end.s3, .viz-swatch.s3 { fill: var(--series-3); background: var(--series-3); }
.viz-crosshair { stroke: var(--viz-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 18px; font-size: 0.9rem; color: var(--viz-text-2); }
.viz-key { display: inline-flex; align-items: center; gap: 8px; }
.viz-swatch { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.viz-tooltip { position: absolute; top: 0; pointer-events: none; min-width: 190px; padding: 12px 14px; border-radius: 14px; background: var(--glass-strong); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); font-size: 0.85rem; color: var(--ink); }
.viz-tooltip .tt-time { color: var(--viz-muted); margin-bottom: 6px; }
.viz-tooltip .tt-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-top: 2px; }
.viz-tooltip .tt-row span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.viz-tooltip .tt-row strong { font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .viz-axis { font-size: 24px; } .viz-label { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.band-flush { padding-top: 0; padding-bottom: 0; }
.no-link { font-size: 0.9rem; color: var(--ink-2); white-space: nowrap; }

/* ---- phone plans ---------------------------------------------------------------------- */
.plan-filters { display: flex; flex-direction: column; gap: 4px; margin: 0 0 28px; }
.plan-filters .chips { justify-content: flex-start; margin-top: 10px; }
.fine-inline { font-size: 0.82rem; color: var(--ink-3); font-weight: 400; white-space: normal; }
table.plan-table td.num { white-space: normal; }
table.plan-table tr[hidden] { display: none; }
table.plan-table .cond { margin-top: 6px; }
