/* Commodity Dealer. Self-hosted fonts, no third-party CSS.
   Type: Outfit (headings, text, labels), JetBrains Mono (intro paragraphs, wordmark). Same pairing as survival.bot.
   Color: cream "Commodity" and orange-red "Dealer", sampled from the channel cover. */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0b0c10;
  --surface: #12141a;
  --surface-2: #191c24;
  --line: #262a34;
  --line-strong: #3a3f4c;
  --text: #ebe7e1;
  --strong: #f0e4d4;        /* "Commodity" cream from the channel cover: headings, wordmark */
  --muted: #b4b6c4;
  --accent: #fa6018;        /* "Dealer" orange-red from the channel cover: buttons, marks */
  --accent-text: #fa6018;   /* accent used as text */
  --accent-ink: #14110a;    /* text on accent fills */
  --signal: #3be3f2;        /* live indicators, focus */
  --good: #5be49b;
  --grid: rgba(238, 238, 243, 0.05);
  --glow: rgba(250, 96, 24, 0.30);
  --accent-hover: #ff7a3a;  /* button hover: lighter orange, same dark ink */
  --card: #12141a;
  --card-shadow: 0 18px 36px -20px rgba(250, 96, 24, 0.45);
  --well: #f2f3f5;          /* photo well: cool light gray, Amazon photos blend in with multiply */
  --well-ink: #8a8f9b;
  --deal: #0e7a3c;          /* savings badge, white text 5.6:1 */
  --display: "Outfit", -apple-system, system-ui, sans-serif;
  --font: "Outfit", -apple-system, system-ui, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace; /* intro paragraphs, wordmark */
  --label: "Outfit", -apple-system, system-ui, sans-serif;                        /* labels, numbers, prices */
  --wrap: 1200px;
  --radius: 6px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --surface-2: #eceef2;
  --line: #dfe2e8;
  --line-strong: #bfc4ce;
  --text: #14151b;
  --strong: #14151b;
  --muted: #50535e;
  --accent: #fa6018;
  --accent-text: #b8420e;
  --accent-ink: #14110a;
  --signal: #0b7a88;
  --good: #157a43;
  --grid: rgba(20, 21, 27, 0.06);
  --glow: rgba(250, 96, 24, 0.28);
  --card: #ffffff;
  --card-shadow: 0 18px 36px -22px rgba(20, 21, 27, 0.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.1875rem/1.65 var(--font); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; margin: 0 0 0.6rem; color: var(--strong); }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; letter-spacing: -0.028em; }
h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
strong { font-weight: 700; }
code { font-family: var(--mono); font-size: 0.85em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.mono { font-family: var(--label); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.kicker { font-family: var(--label); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.75rem; }
/* Section marker and bullet: a solid square inside a tinted halo */
.kicker::before, .badges span::before, .rate li::before { content: ""; display: inline-block; flex: none; width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }
.lede { font-family: var(--mono); font-weight: 500; font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--muted); max-width: 62ch; line-height: 1.75; }
.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; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 0.9rem; z-index: 50; font-weight: 700; }
.skip:focus { top: 0.5rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: none; color: var(--strong); }
.brand-name { color: var(--strong); font-family: var(--mono); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.04em; white-space: nowrap; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 0.15rem; margin: 0; padding: 0; }
.nav a { display: block; padding: 0.5rem 0.8rem; text-decoration: none; font-weight: 600; font-size: 1.02rem; border-radius: var(--radius); }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { color: var(--accent-text); }
.tools { display: flex; align-items: center; gap: 0.4rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent-text); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-sun { display: none; }
:root[data-theme="light"] .theme-sun { display: block; }
:root[data-theme="light"] .theme-moon { display: none; }
.menu-btn { display: none; }
.search-form input { width: 12.5rem; }
.nav-search { display: none; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 0.5rem 1.5rem 1.25rem; }
  .nav a { padding: 0.8rem 0; font-size: 1.15rem; }
  .nav a:hover { background: none; }
  .nav-search { display: block; padding-top: 0.5rem; }
  .nav-search input { width: 100%; }
  .search-form { display: none; }
  .tools { margin-left: auto; }
}

@keyframes pulse { 50% { opacity: 0.25; } }

/* Inputs and buttons */
input, select, textarea { font: inherit; font-size: 1.05rem; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem 0.8rem; min-height: 46px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--glow); }
textarea { min-height: 9rem; width: 100%; resize: vertical; }
label { font-weight: 600; font-size: 1rem; display: block; margin-bottom: 0.35rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; padding: 0.7rem 1.35rem; font: 700 1.05rem var(--font); text-decoration: none; border-radius: var(--radius); border: 1px solid var(--accent); cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 8px 28px var(--glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* Sections */
main section { padding: 1.5rem 0; border-top: 1px solid var(--line); }
main > section:first-child { border-top: 0; }
main section.hero { padding: 3rem 0 2.25rem; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 25% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 25% 30%, #000 25%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.section-head .kicker { margin-bottom: 0.5rem; }
.link-mono { font-family: var(--label); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.crumbs { font-family: var(--label); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding-top: 1.5rem; }
.crumbs ol { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }

/* HUD panel: corner brackets */
.hud { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1.5rem; }
.hud::before, .hud::after { content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--accent); border-style: solid; }
.hud::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: var(--radius); }
.hud::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: var(--radius); }
.stats { display: grid; gap: 1.1rem; }
.stat { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0.9rem; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--line); }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat b { color: var(--strong); font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; }
.stat > span { font-family: var(--label); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.stat-live { display: flex; align-items: center; gap: 0.5rem; font-family: var(--label); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 1.1rem; }
.stat-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 22%, transparent); animation: pulse 1.8s ease-in-out infinite; }

/* Social icon row */
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.socials a { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.socials a:hover { border-color: var(--accent); color: var(--text); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.socials.compact a { width: 46px; height: 46px; padding: 0; justify-content: center; }
.socials.compact svg { width: 19px; height: 19px; }

/* Product cards: photo well, price, deal badges, one clear Amazon button */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.stat b span[data-count] { display: inline-block; font-variant-numeric: tabular-nums; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 1rem; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: var(--card-shadow); }
.card:focus-within { border-color: var(--accent); }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; margin: 10px 10px 0; border-radius: 10px; background: var(--well); overflow: hidden; text-decoration: none; }
.card-media img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transition: opacity 0.3s ease, transform 0.35s ease; }
.card-media img.is-on { opacity: 1; }
.card:hover .card-media img { transform: scale(1.05); }
.card-ph { width: 46px; height: 46px; color: var(--well-ink); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: color 0.2s ease, transform 0.2s ease; }
.card:hover .card-ph { color: var(--accent); transform: scale(1.06); }
.card-media.has-img .card-ph { display: none; }
.card-flags { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.flag { font: 700 0.78rem/1 var(--label); padding: 0.4rem 0.5rem; border-radius: 6px; }
.flag-save { background: var(--deal); color: #ffffff; }
.flag-deal { background: #15171d; color: #ffffff; font-weight: 600; }
.card-body { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.8rem 0.95rem 0.95rem; flex: 1; }
.card-cat { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.7rem; margin: 0; font: 600 0.72rem/1.25 var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card-rev { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent-text); }
.card-rev::before { content: ""; width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.card-title { margin: 0; font: 600 1rem/1.38 var(--font); letter-spacing: 0; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--accent-text); }
.card-live { display: grid; gap: 0.35rem; }
.card-live:empty { display: none; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.15rem 0.55rem; }
.price-now { font: 700 1.4rem/1.1 var(--label); color: var(--strong); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price-was { font: 500 0.84rem/1.2 var(--label); color: var(--muted); }
.deal-meta { margin: 0; font: 600 0.8rem/1.3 var(--label); color: var(--accent-text); }
.deal-meta.muted { color: var(--muted); font-weight: 500; }
.claim { height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.claim span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.btn-amz { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 44px; padding: 0.6rem 0.8rem; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 700 0.95rem/1.1 var(--font); text-decoration: none; transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.btn-amz svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s; }
.btn-amz:hover, .btn-amz:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); box-shadow: 0 10px 22px -12px var(--glow); transform: translateY(-1px); }
.btn-amz:hover svg { transform: translate(2px, -2px); }
.card-live + .btn-amz { margin-top: auto; }
.alt-store { font: 600 0.82rem/1.3 var(--label); color: var(--muted); text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.alt-store:hover { color: var(--accent-text); }
@media (max-width: 560px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .card { border-radius: 12px; }
  .card:hover { transform: none; }
  .card-media { margin: 7px 7px 0; border-radius: 8px; }
  .card-body { padding: 0.6rem 0.65rem 0.7rem; gap: 0.3rem; }
  .card-cat { font-size: 0.66rem; }
  .card-title { font-size: 0.9rem; }
  .price-now { font-size: 1.15rem; }
  .price-was { font-size: 0.76rem; }
  .flag { font-size: 0.7rem; padding: 0.32rem 0.42rem; }
  .btn-amz { min-height: 42px; font-size: 0.86rem; padding: 0.5rem; }
  .btn-amz .on-amz { display: none; }
}

/* Section notes, chips, tabs */
.section-note { color: var(--muted); font-size: 1rem; margin: -0.35rem 0 0.9rem; max-width: 70ch; }
.chips { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.15rem 0.1rem 0.5rem; margin: 0 0 0.6rem; scrollbar-width: thin; }
.chip { flex: none; min-height: 40px; padding: 0.45rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 600 0.92rem/1 var(--font); cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.3rem; margin-bottom: 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tab { min-height: 44px; padding: 0.55rem 1rem; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 1rem/1 var(--font); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.tab:hover { color: var(--text); background: var(--surface-2); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.tab .n { font-family: var(--label); font-weight: 500; margin-left: 0.4rem; opacity: 0.85; font-variant-numeric: tabular-nums; }
.method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.method .hud { padding: 1.1rem 1.25rem; }
.method h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.35rem; }
.method p { font-size: 1rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .method { grid-template-columns: 1fr; } }
.section-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; }
.section-foot .asof { margin: 0; }
.disclose { font-size: 0.95rem; color: var(--muted); margin: 0.25rem 0 0.9rem; }
.asof { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }

/* Catalog toolbar */
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 0.75rem; align-items: end; margin-bottom: 0.9rem; }
.toolbar input, .toolbar select { width: 100%; }
.toolbar .check { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; min-height: 46px; margin: 0; white-space: nowrap; }
.toolbar .check input { min-height: auto; width: 20px; height: 20px; accent-color: var(--accent); }
.count { margin: 0.25rem 0 0.4rem; font-family: var(--label); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 760px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .q { grid-column: 1 / -1; } }
.more { margin-top: 1.25rem; }

/* Split panels */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.split.single { grid-template-columns: minmax(0, 1fr); }
.split > .hud { display: flex; flex-direction: column; }
.split > .hud .btn-row { margin-top: auto; padding-top: 1rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.panel-label { font-family: var(--label); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.placeholder { font-family: var(--label); font-size: 0.8rem; color: var(--signal); }

/* Rate card */
.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rates.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
@media (max-width: 900px) { .rates, .rates.wide { grid-template-columns: 1fr; } }
.rate h3 { font-size: 0.95rem; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); }
.rate .price { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; font-size: 2.8rem; line-height: 1; margin: 0.4rem 0 0.8rem; color: var(--accent-text); }
.rate .price small { font-size: 1rem; font-family: var(--font); color: var(--muted); font-weight: 600; }
.rate ul { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.rate li { padding: 0.45rem 0 0.45rem 1.6rem; position: relative; border-top: 1px dashed var(--line); font-size: 1.02rem; }
.rate li::before { position: absolute; left: 3px; top: 0.85rem; }
.addon { margin-top: 1rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.5rem; font-family: var(--label); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.badges span { display: inline-flex; align-items: center; gap: 0.7rem; }

/* Tables: framed, roomy, aligned columns, row hover */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
th, td { text-align: left; padding: 1.05rem 1.4rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
th { font-family: var(--label); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); background: var(--surface-2); }
td:first-child { font-weight: 700; color: var(--strong); white-space: nowrap; }
td { color: var(--muted); }
th:last-child, td.price { text-align: right; white-space: nowrap; }
td.price { font-family: var(--label); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--accent-text); }
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: var(--surface-2); }
tbody tr:hover td:first-child { color: var(--accent-text); }
.hud table th, .hud table td { padding-left: 0; padding-right: 0; }
.hud table th { background: none; }
.hud table td:first-child { color: var(--text); font-weight: 600; }
.hud tbody tr:hover { background: none; }
.hud tbody tr:hover td { color: var(--accent-text); }
.table-note { margin-top: 0.9rem; }

/* Steps and FAQ */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.steps li { counter-increment: s; border-top: 2px solid var(--accent); padding-top: 0.75rem; }
.steps li::before { content: "0" counter(s); font-family: var(--label); font-size: 0.8rem; color: var(--accent-text); display: block; margin-bottom: 0.35rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { font-size: 1rem; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 0.95rem 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--label); color: var(--accent-text); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.6rem 0 0; color: var(--muted); max-width: 75ch; }

/* Work videos: click-to-load */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.video-facade { position: relative; aspect-ratio: 9 / 16; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); cursor: pointer; font: 600 1rem var(--font); padding: 1rem; display: flex; align-items: flex-end; text-align: left; }
.video-facade:hover { border-color: var(--accent); }
.video-facade.is-placeholder { cursor: default; border-style: dashed; color: var(--muted); align-items: center; justify-content: center; text-align: center; font-family: var(--label); font-size: 0.8rem; text-transform: uppercase; }
.video-frame { aspect-ratio: 9 / 16; width: 100%; border: 0; border-radius: var(--radius); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; max-width: 820px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select { width: 100%; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid + p { margin-top: 1.1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 0.85rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.1rem; font-weight: 600; }
.notice.ok { border-color: var(--good); color: var(--good); }
.notice.err { border-color: #ff6b6f; color: #ff9a9d; }
.notice.info { border-color: var(--signal); color: var(--signal); }
:root[data-theme="light"] .notice.err { color: #b42318; border-color: #b42318; }
.signup { display: flex; flex-wrap: wrap; gap: 0.7rem; max-width: 560px; }
.signup input[type="email"], .signup input[type="search"] { flex: 1 1 260px; }

/* Prose (legal pages) */
.prose { max-width: 74ch; }
.prose h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.prose h2 { font-size: 1.5rem; margin-top: 1.75rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 1.5rem; padding: 2.25rem 0 1.5rem; font-size: 1rem; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 1.75rem; }
.foot-brand { color: var(--strong); display: flex; align-items: center; gap: 0.35rem; font-family: var(--mono); font-weight: 500; font-size: 1.04rem; letter-spacing: -0.04em; margin-bottom: 0.7rem; }
.foot-brand svg { width: 32px; height: 32px; }
.foot-grid h2 { font-family: var(--label); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 500; margin-bottom: 0.75rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 0.45rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-socials { margin-top: 1.5rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* Scroll to top */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; opacity: 0; pointer-events: none; transition: opacity 0.2s; background: var(--bg); }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Logo animation (Nested mark): the D breathes inside the C */
.cd-breathe { transform-box: fill-box; transform-origin: center; animation: cdBreathe 2.4s ease-in-out infinite; }
@keyframes cdBreathe { 50% { transform: scale(1.08); } }
.brand-name .accent, .foot-brand .accent { color: var(--accent-text); }
.hero-socials { margin-top: 1.4rem; }

/* Hover: rate cards lift, panels and steps react */
.rate { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.rate:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 40px -12px var(--glow); }
.rate:hover .price { color: var(--accent-text); }
.split > .hud { transition: border-color 0.2s ease; }
.split > .hud:hover { border-color: var(--line-strong); }
.steps li { transition: border-color 0.2s ease, transform 0.2s ease; }
.steps li:hover { transform: translateY(-2px); }
.steps li:hover h3 { color: var(--accent-text); }
.faq summary:hover { color: var(--accent-text); }
.stat { transition: border-color 0.2s ease; }
.stat:hover { border-bottom-color: var(--accent); }

.contact-alt { margin-top: 1.75rem; }
.hero .lede { margin-top: 1.1rem; }
.amz-bar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0.75rem 1rem; margin-bottom: 0.3rem; }
.amz-bar .chips { flex: 1 1 420px; margin: 0; }
.amz-sort { flex: none; }
.amz-sort select { min-width: 200px; }
