/* Test Bench — design tokens & components, recreated from the approved
   "Anvil" mockup (Test Bench v3). Every color/radius/shadow/font below is a
   token, used everywhere via var() — never hard-code a value these carry. */

:root {
    --bg: #faf8f5;
    --surface: #ffffff;
    --surface-2: #f2eee8;
    --ink: #1a1712;
    --muted: #6b6459;
    --line: #e6e0d8;

    --brand-50: #e9f1fb;
    --brand-100: #cddff5;
    --brand-200: #9cbfea;
    --brand-400: #4a83c9;
    --brand: #1c5ca3;
    --brand-600: #164c88;
    --brand-700: #113c6c;
    --brand-900: #0a2444;

    --accent-50: #fdf0e6;
    --accent-100: #fbdcbe;
    --accent: #e8722c;
    --accent-600: #d15f1e;
    --accent-700: #a94c18;

    --deal-50: #fdece8;
    --deal: #d6432b;
    --deal-700: #99291a;

    --r-card: 14px;
    --r-btn: 10px;
    --r-pill: 999px;

    --sh-1: 0 1px 2px rgba(26, 23, 18, 0.06), 0 2px 8px rgba(26, 23, 18, 0.05);
    --sh-2: 0 10px 28px rgba(26, 23, 18, 0.12), 0 2px 6px rgba(26, 23, 18, 0.06);
    --sh-bar: 0 -8px 24px rgba(26, 23, 18, 0.12);

    --t: 220ms cubic-bezier(0.2, 0.6, 0.2, 1);

    --display: "Bricolage Grotesque", Georgia, serif;
    --ui: "Instrument Sans", system-ui, sans-serif;

    --container: 1160px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--ui);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; }
p { margin: 0; }
a { color: var(--brand-700); text-underline-offset: 3px; transition: color var(--t); }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--brand-100); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
    padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* ---- Header / nav ---------------------------------------------------- */

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 14px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--brand); color: #fff;
    font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1;
}
.brand__mark--light { background: #fff; color: var(--brand-900); width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
.brand__name { display: block; font-family: var(--display); font-size: clamp(22px, 3.4vw, 27px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.brand__name--light { color: #fff; font-size: 23px; }
.brand__tag { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; }

.deals-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--deal-50); color: var(--deal-700);
    border: 1px solid var(--deal-50);
    padding: 10px 16px; border-radius: var(--r-pill);
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: border-color var(--t), background var(--t);
}
.deals-pill:hover { border-color: var(--deal); background: #fff; color: var(--deal-700); }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: var(--r-btn);
    cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; }

.site-nav__row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; }
.nav-link {
    padding: 8px 14px; border-radius: var(--r-pill);
    font-size: 15px; font-weight: 500; white-space: nowrap;
    color: var(--muted); text-decoration: none;
    border: 1px solid transparent;
    transition: background var(--t), color var(--t), border-color var(--t);
}
.nav-link:hover { color: var(--brand-700); }
.nav-link.is-active { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); font-weight: 700; }

/* ---- Main / footer ----------------------------------------------------- */

main { flex: 1; padding-bottom: clamp(26px, 4vw, 48px); }
main.has-sticky-cta { padding-bottom: 130px; }

.site-footer { margin-top: clamp(28px, 5vw, 56px); background: var(--brand-900); color: #fff; padding: clamp(26px, 4vw, 46px) 0; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.site-footer__about p { font-size: 15px; line-height: 1.6; color: var(--brand-200); margin: 12px 0 0; max-width: 32ch; }
.site-footer__col h3 { font-family: var(--ui); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-200); margin-bottom: 12px; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { color: #fff; text-decoration: none; font-size: 15px; }
.site-footer__col a:hover { color: var(--brand-200); }
.site-footer__social { display: flex; gap: 12px; }
.site-footer__social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; }
.site-footer__social-link:hover { background: var(--accent); color: #fff; }
.site-footer__bottom {
    margin-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--brand-700); padding-top: 18px;
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
}
.site-footer__bottom p { font-size: 14px; line-height: 1.6; color: var(--brand-200); max-width: 62ch; margin: 0; }

/* ---- Buttons ------------------------------------------------------------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--ui); font-size: 15px; font-weight: 700;
    padding: 12px 20px; border-radius: var(--r-btn);
    border: 1px solid transparent; cursor: pointer; text-decoration: none;
    transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-primary:active { background: var(--accent-700); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn-secondary:hover { border-color: var(--brand-200); color: var(--brand-700); }
.btn-ghost { background: none; color: var(--brand-700); padding: 12px 4px; text-decoration: underline; }
.btn-ghost:hover { color: var(--brand); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 17px; padding: 14px 28px; }

.amazon-cta { display: flex; flex-direction: column; gap: 6px; }
.amazon-cta__link {
    display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff;
    min-height: 50px; padding: 14px 18px; border-radius: var(--r-btn);
    text-decoration: none; font-size: 16px; font-weight: 700;
    transition: background var(--t);
}
.amazon-cta__link:hover { background: var(--accent-600); color: #fff; }
.amazon-cta__link:active { background: var(--accent-700); }
.amazon-cta__disclosure { font-size: 11px; line-height: 1.4; color: var(--muted); }

/* ---- Cards / badges / tags ---------------------------------------------- */

.card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-card); box-shadow: var(--sh-1);
    overflow: hidden;
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
a.card, button.card { text-decoration: none; color: inherit; cursor: pointer; text-align: left; }
.card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--brand-200); }
.card__media { position: relative; width: 100%; aspect-ratio: 4/3; background: var(--surface); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; transition: transform var(--t); }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }

.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill); align-self: flex-start; white-space: nowrap; }
.badge-tint { background: var(--brand-50); color: var(--brand-700); }
.badge-featured { background: var(--brand); color: #fff; }
.badge-premium { background: var(--brand-900); color: #fff; }
.badge-budget { background: var(--brand-100); color: var(--brand-900); }
.badge-alternative { background: var(--surface-2); color: var(--muted); }
.badge-deal { background: var(--deal); color: #fff; font-size: 26px; padding: 6px 14px; line-height: 1.1; }

.kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-700); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.price { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; line-height: 1; }
.price-checked { font-size: 12px; color: var(--muted); }

.star-rating { position: relative; display: inline-block; font-size: 14px; color: var(--line); line-height: 1; }
.star-rating__fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--brand); }

/* ---- Grids ---------------------------------------------------------- */

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: clamp(14px, 2vw, 20px); }
.grid-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); gap: clamp(14px, 2vw, 20px); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 44px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(14px, 2vw, 20px); }

.section { padding: clamp(22px, 3.5vw, 40px) 0 clamp(16px, 2.5vw, 26px); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }

/* ---- Hero / home specific ------------------------------------------- */

.hero { padding: clamp(22px, 3.5vw, 40px) 0 clamp(16px, 2.5vw, 26px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 3vw, 40px); align-items: end; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; letter-spacing: -0.03em; max-width: 22ch; }
.hero p { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.pill-note { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-50); color: var(--brand-700); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }

.page-hero h1 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 14px; max-width: 22ch; }
.page-hero p { font-size: 17px; line-height: 1.6; max-width: 60ch; color: var(--muted); }

.feature-deal { margin-bottom: clamp(26px, 4vw, 48px); background: var(--brand-900); color: #fff; border-radius: var(--r-card); padding: clamp(18px, 3vw, 32px); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(18px, 3vw, 34px); align-items: center; }
.feature-deal__media { position: relative; width: 100%; aspect-ratio: 4/3; background: var(--brand-700); border-radius: 10px; overflow: hidden; }
.feature-deal__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; }
.feature-deal__body { grid-column: span 2; min-width: 0; }
.feature-deal h2 { color: #fff; font-size: clamp(23px, 3vw, 33px); letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 10px; }
.feature-deal p { color: var(--brand-100); font-size: 16px; line-height: 1.55; max-width: 54ch; }

.desk-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.desk-card__count { font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -0.03em; }
.desk-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.desk-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.desk-card__cta { font-size: 15px; font-weight: 600; color: var(--brand-700); }

.guide-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(14px, 2.5vw, 28px); align-items: center; padding: 14px; }
.guide-row__media { position: relative; width: 100%; aspect-ratio: 16/10; background: var(--surface); border-radius: 10px; overflow: hidden; }
.guide-row__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; transition: transform var(--t); }
.guide-row:hover .guide-row__media img { transform: scale(1.03); }
.guide-row__body { grid-column: span 2; min-width: 0; }
.guide-row__body h3 { font-size: clamp(20px, 2.3vw, 26px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0; }
.guide-row__body p { font-size: 16px; line-height: 1.55; color: var(--muted); margin-bottom: 8px; max-width: 58ch; }

.trust-block { padding-bottom: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 44px); }
.trust-block p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 54ch; margin: 12px 0 14px; }
.author-card { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; }
.author-card__avatar { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; overflow: hidden; background: var(--surface-2); }
.author-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-card h4 { font-family: var(--display); font-size: 17px; font-weight: 600; }
.author-card .eyebrow { color: var(--brand-700); margin: 3px 0 6px; }
.author-card p { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---- Filters / chips -------------------------------------------------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; margin-bottom: 18px; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-group__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip {
    font-family: var(--ui); font-size: 14px; font-weight: 600; padding: 8px 14px; cursor: pointer;
    border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--muted);
    text-decoration: none; display: inline-block;
    transition: background var(--t), color var(--t), border-color var(--t);
}
.chip.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }

/* ---- Deal rows -------------------------------------------------------- */

.deal-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); padding: clamp(14px, 2vw, 18px); transition: box-shadow var(--t), border-color var(--t); }
.deal-row:hover { box-shadow: var(--sh-2); border-color: var(--deal); }
.deal-row__lead { display: flex; align-items: center; gap: 14px; min-width: 0; }
.deal-row__discount { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--deal); color: #fff; border-radius: 12px; padding: 10px 12px; min-width: 76px; }
.deal-row__discount b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.deal-row__discount span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: .92; }
.deal-row__media { position: relative; width: 78px; height: 78px; flex: 0 0 78px; background: var(--surface); border-radius: 10px; overflow: hidden; }
.deal-row__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.deal-row del { color: var(--muted); }

/* ---- Comparison table --------------------------------------------------- */

.compare {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1);
    padding: clamp(6px, 1.5vw, 14px) clamp(12px, 2vw, 20px) clamp(8px, 2vw, 14px);
}
.compare__head {
    display: grid; grid-template-columns: minmax(0,2.1fr) 116px minmax(0,1.35fr) minmax(0,1.1fr) minmax(0,1.1fr) 136px;
    gap: 14px; padding: 14px 0 12px; border-bottom: 1px solid var(--line);
    font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
}
.compare__row {
    display: grid; grid-template-columns: minmax(0,2.1fr) 116px minmax(0,1.35fr) minmax(0,1.1fr) minmax(0,1.1fr) 136px;
    gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.compare__row:last-child { border-bottom: none; }
.compare__product { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.compare__thumb { position: relative; width: 60px; height: 60px; flex: 0 0 60px; background: var(--surface); border-radius: 10px; overflow: hidden; }
.compare__thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.compare__title { font-family: var(--display); color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; text-decoration: none; }
.compare__note { font-size: 15px; line-height: 1.5; color: var(--muted); }
.compare__cta { display: flex; align-items: center; justify-content: center; white-space: nowrap; background: var(--accent); color: #fff; min-height: 46px; padding: 13px 14px; border-radius: var(--r-btn); text-decoration: none; font-size: 15px; font-weight: 700; transition: background var(--t); }
.compare__cta:hover { background: var(--accent-600); color: #fff; }

@media (max-width: 820px) {
    .compare__head { display: none; }
    .compare__row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
    .compare__cta { min-height: 52px; font-size: 16px; }
}

/* ---- Guide narrative cards below the table ----------------------------- */

.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); padding: clamp(14px, 2vw, 20px); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(16px, 3vw, 32px); align-items: start; }
.guide-card__media { position: relative; width: 100%; aspect-ratio: 4/3; background: var(--surface); border-radius: 10px; overflow: hidden; }
.guide-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; }
.guide-card__body { grid-column: span 2; min-width: 0; }
.guide-card__body h3 { font-size: clamp(20px, 2.3vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin: 12px 0 10px; }
.guide-card__body p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 60ch; margin-bottom: 14px; }

/* ---- Product page ------------------------------------------------------ */

.product-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(20px, 3.5vw, 44px); align-items: start; padding: clamp(18px, 3vw, 32px) 0; }
.product-hero__media { position: relative; width: 100%; aspect-ratio: 1/1; background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-1); }
.product-hero__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; box-sizing: border-box; }
.product-hero h1 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 12px; }
.buy-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); padding: clamp(16px, 2.5vw, 22px); }
.buy-box__stats { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 18px; }
.buy-box .price { font-size: 36px; letter-spacing: -0.035em; }
.buy-box__note { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 12px; }

.back-link { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--brand-700); text-decoration: none; }
.back-link:hover { color: var(--brand); }

.review-body { font-size: 16px; line-height: 1.7; color: var(--ink); max-width: 72ch; }
.review-body h2, .review-body h3 { margin-top: 1.6em; margin-bottom: .5em; }
.review-body table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.review-body th, .review-body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.review-body ul, .review-body ol { padding-left: 20px; }

/* ---- Forms -------------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, select.input, textarea.input {
    font-family: var(--ui); font-size: 16px; padding: 13px 14px;
    border: 1px solid var(--line); border-radius: var(--r-btn);
    background: var(--surface); color: var(--ink); width: 100%;
}
.input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-50); }
textarea.input { min-height: 160px; font-family: ui-monospace, monospace; font-size: 14px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.error-text { color: var(--deal-700); font-size: 13px; }
.status-text { color: var(--brand-700); font-size: 14px; font-weight: 600; }

.newsletter-panel { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.newsletter-panel .input { flex: 1 1 220px; min-width: 0; }

/* ---- Sticky mobile CTA ---------------------------------------------------- */

.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--surface); box-shadow: var(--sh-bar); border-top: 1px solid var(--line);
    padding: 10px 14px 12px; display: none;
}
.sticky-cta__row { display: flex; align-items: center; gap: 12px; max-width: var(--container); margin: 0 auto; }
.sticky-cta__info { min-width: 0; flex: 1 1 auto; }
.sticky-cta__title { font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta__price { font-size: 19px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.sticky-cta__link { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; min-height: 52px; padding: 14px 20px; border-radius: var(--r-btn); text-decoration: none; font-size: 16px; font-weight: 700; }
.sticky-cta__disclosure { font-size: 10px; line-height: 1.35; color: var(--muted); margin-top: 6px; }

@media (max-width: 820px) {
    .sticky-cta.is-enabled { display: block; }
}

/* ---- Legal / static text pages ------------------------------------------ */

.legal-page { max-width: 68ch; padding: clamp(24px, 4vw, 44px) 0 clamp(26px, 4vw, 52px); }
.legal-page h1 { font-size: clamp(26px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 10px; }
.legal-section { margin-bottom: 26px; }
.legal-section h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.legal-section p { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ---- Newsletter close panel ---------------------------------------------- */

.newsletter-close { margin-top: clamp(24px, 4vw, 40px); background: var(--brand-50); border-radius: var(--r-card); padding: clamp(20px, 4vw, 36px); }
.newsletter-close h3 { font-size: clamp(21px, 2.5vw, 27px); letter-spacing: -0.02em; margin-bottom: 10px; }
.newsletter-close p { color: var(--brand-900); font-size: 16px; line-height: 1.6; max-width: 55ch; margin-bottom: 18px; }

/* ---- Admin --------------------------------------------------------------- */

.admin-shell { background: var(--surface-2); min-height: 100vh; }
.admin-bar { background: var(--brand-900); color: #fff; padding: 14px 0; }
.admin-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.admin-bar form button { background: none; border: 1px solid var(--brand-700); color: #fff; padding: 8px 14px; border-radius: var(--r-btn); cursor: pointer; }
.admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); padding: clamp(16px, 2.5vw, 24px); margin-bottom: 24px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 22px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.admin-table th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-login__card { max-width: 380px; width: 100%; }
.admin-login__card h1 { font-size: 24px; margin-bottom: 4px; }
.admin-login__card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.placement-row { display: grid; grid-template-columns: minmax(0,1.6fr) 100px 90px minmax(0,2fr); gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.placement-row:last-child { border-bottom: none; }
@media (max-width: 720px) {
    .placement-row { grid-template-columns: 1fr; }
}

/* ---- Responsive nav toggle ------------------------------------------------ */

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .site-nav { display: none; }
    .site-nav.is-open { display: block; }
    .site-nav__row { flex-wrap: wrap; overflow-x: visible; }
}
