/* ============================================================
   Interest Bomb.com — Red Goggles portfolio house style
   Calm, consumer-protective, serif display + clean UI sans.
   Accent is tweakable (see --accent). Bomb uses accent; safe = green.
   ============================================================ */

:root {
  /* Paper / ink — warm neutrals, low saturation */
  --paper:      #f6f8f7;
  --paper-2:    #eef1ef;
  --card:       #ffffff;
  --ink:        #1c1a17;
  --ink-soft:   #56534d;
  --ink-faint:  #8c877f;
  --line:       rgba(28, 26, 23, 0.11);
  --line-soft:  rgba(28, 26, 23, 0.06);

  /* Accent (brand .com, links, the bomb) — overridden by Tweaks */
  --accent:        #c2410c;  /* burnt orange */
  --accent-ink:    #9a330a;
  --accent-soft:   rgba(194, 65, 12, 0.10);
  --accent-line:   rgba(194, 65, 12, 0.28);

  /* Status */
  --safe:        #15803d;
  --safe-soft:   rgba(21, 128, 61, 0.10);
  --safe-line:   rgba(21, 128, 61, 0.30);
  --warn:        #b45309;
  --warn-soft:   rgba(180, 83, 9, 0.10);

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Helvetica Neue", sans-serif;
  --mono:  ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(28,26,23,0.05), 0 1px 1px rgba(28,26,23,0.04);
  --shadow-md: 0 2px 8px rgba(28,26,23,0.06), 0 8px 24px rgba(28,26,23,0.06);
  --shadow-lg: 0 8px 40px rgba(28,26,23,0.12);

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; margin: 0; }

.tnum { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px; flex: 0 0 auto; display: block;
}
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; white-space: nowrap; }
.brand__name { color: var(--ink); }
.brand__tld  { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; padding: 7px 12px; border-radius: 8px;
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
@media (max-width: 760px) { .site-nav { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 54px 0 30px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 999px;
  padding: 5px 12px; margin-bottom: 20px;
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: 46px;
  line-height: 1.14;
  max-width: 580px;
  margin-bottom: 22px;
}
@media (max-width: 600px) { .hero h1 { font-size: 33px; max-width: 100%; } }
.hero h1 .hl { color: var(--accent); }
.hero__sub {
  font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 56ch;
  line-height: 1.5; text-wrap: pretty;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta .tick { color: var(--safe); }

/* ============================================================
   Ad slots — labeled placeholders (preview mode)
   Live behavior: reserved empty space until AdSense fills.
   ============================================================ */
.ad-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; margin: 0 auto;
}
/* Label is hidden until AdSense actually fills the slot — no debug placeholder
   boxes on the live domain (CLAUDE.md / ad_slots.md). The min-height rules below
   reserve space so a later fill doesn't shift layout (CLS). */
.ad-slot__label {
  display: none;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
}
.ad-slot:has(ins[data-ad-status="filled"]) .ad-slot__label { display: block; }
.ad-slot ins { display: block; width: 100%; }
.ad-slot ins[data-ad-status="unfilled"] { display: none; }

.ad-top    { min-height: 90px;  max-width: 728px; margin: 8px auto 34px; }
.ad-pre-result { min-height: 250px; width: 300px; max-width: 300px; margin: 0 auto; }
.ad-mid    { min-height: 90px; max-width: 728px; margin: 40px auto; }
.ad-pre-faq{ min-height: 90px; max-width: 728px; margin: 44px auto 8px; }
.ad-sidebar{ min-height: 600px; width: 300px; }

@media (max-width: 760px) {
  .ad-top { min-height: 100px; max-width: 320px; }
  .ad-mid, .ad-pre-faq { min-height: 250px; width: 300px; max-width: 300px; }
}

/* Mobile sticky anchor */
.ad-mobile-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  display: none;
  align-items: center; justify-content: center;
  height: 50px; background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 16px rgba(28,26,23,0.08);
}
.ad-mobile-sticky ins { display: block; width: 320px; height: 50px; }
.ad-mobile-sticky .ad-slot__label { display: none; }
.ad-mobile-sticky__close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-soft); font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 760px) { .ad-mobile-sticky.show { display: flex; } body.has-sticky { padding-bottom: 50px; } }

/* ============================================================
   Calculator layout
   ============================================================ */
.calc-section { padding: 4px 0 12px; }
.calc-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px;
  align-items: start;
}
@media (max-width: 1000px) { .calc-grid { grid-template-columns: 1fr; } .ad-sidebar { display: none; } }

.calc-rail { position: sticky; top: 84px; }

/* The tool card */
.tool {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.tool__head {
  padding: 22px 26px 18px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.tool__head h2 { font-size: 21px; }
.tool__head .hint { font-family: var(--sans); font-size: 13px; color: var(--ink-faint); }

.tool__body { padding: 24px 26px 26px; }

/* Inputs */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.field__opt { font-weight: 500; font-size: 11px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.field__hint { font-size: 12.5px; color: var(--ink-faint); line-height: 1.4; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .affix {
  position: absolute; font-family: var(--mono); font-size: 15px; color: var(--ink-faint); pointer-events: none;
}
.input-wrap .affix--pre { left: 14px; }
.input-wrap .affix--suf { right: 14px; }
.input {
  width: 100%; font-family: var(--sans); font-size: 16px; font-variant-numeric: tabular-nums;
  color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.input--pre { padding-left: 30px; }
.input--suf { padding-right: 34px; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--card); }
.input::placeholder { color: var(--ink-faint); }

.slider-row { display: flex; align-items: center; gap: 14px; }
.slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: var(--paper-2); outline: none; cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--card); box-shadow: var(--shadow-sm); cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  border: 3px solid var(--card); box-shadow: var(--shadow-sm); cursor: pointer;
}
.slider-val { font-family: var(--mono); font-size: 15px; font-weight: 600; min-width: 64px; text-align: right; color: var(--ink); }

.seg { display: inline-flex; background: var(--paper-2); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button {
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-soft);
  background: transparent; border: none; border-radius: 8px; padding: 8px 14px; cursor: pointer;
  transition: background .15s, color .15s;
}
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ============================================================
   Results
   ============================================================ */
.results { margin-top: 26px; }

.bomb-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: 30px 30px 26px;
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(120% 140% at 85% -10%, var(--accent-soft) 0%, transparent 55%),
    var(--card);
  box-shadow: var(--shadow-md);
}
.bomb-card.is-safe { border-color: var(--safe-line); background: radial-gradient(120% 140% at 85% -10%, var(--safe-soft) 0%, transparent 55%), var(--card); }

.bomb-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.bomb-card.is-safe .bomb-eyebrow { color: var(--safe); }
.bomb-figure {
  font-family: var(--serif); font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: clamp(46px, 8vw, 76px); line-height: 1; letter-spacing: -0.02em;
  color: var(--accent);
}
.bomb-card.is-safe .bomb-figure { color: var(--safe); }
.bomb-caption { margin-top: 14px; font-size: 16px; color: var(--ink-soft); max-width: 52ch; line-height: 1.5; text-wrap: pretty; }
.bomb-caption strong { color: var(--ink); }

/* Spike chart */
.spike { margin-top: 24px; }
.spike__frame {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 18px 14px;
}
.spike svg { display: block; width: 100%; height: auto; }
.spike__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); }
.spike__legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-dot { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; }

/* Secondary metrics */
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
@media (max-width: 560px) { .metrics { grid-template-columns: 1fr; } }
.metric {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.metric__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.metric__v { font-family: var(--serif); font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 6px; letter-spacing: -0.01em; }
.metric__note { font-size: 13px; color: var(--ink-soft); margin-top: 5px; line-height: 1.4; }

/* Status banner */
.status {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 20px;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--card);
}
.status__icon { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #fff; }
.status--safe  { border-color: var(--safe-line); background: var(--safe-soft); }
.status--safe  .status__icon { background: var(--safe); }
.status--risk  { border-color: var(--warn-soft); background: var(--warn-soft); }
.status--risk  .status__icon { background: var(--warn); }
.status--miss  { border-color: var(--accent-line); background: var(--accent-soft); }
.status--miss  .status__icon { background: var(--accent); }
.status__title { font-weight: 700; font-size: 15.5px; }
.status__body { font-size: 14px; color: var(--ink-soft); margin-top: 3px; line-height: 1.5; }
.status__body b { color: var(--ink); }

.fineprint {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--ink-faint); line-height: 1.55;
}
.fineprint .upd { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ============================================================
   Explainer (long-form)
   ============================================================ */
.prose { max-width: 720px; margin: 0 auto; }
.section-head { max-width: 720px; margin: 0 auto 8px; }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 12px;
}
.prose h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 8px; text-wrap: balance; }
.prose h3 { font-size: 21px; margin: 36px 0 8px; }
.prose p { color: var(--ink-soft); margin: 14px 0; line-height: 1.68; text-wrap: pretty; }
.prose p strong, .prose li strong { color: var(--ink); }
.prose ul { margin: 14px 0; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--ink-soft); line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.explainer { padding: 28px 0 10px; }

/* Callout / definition box */
.callout {
  border: 1px solid var(--line); border-left: none; border-radius: var(--radius-sm);
  background: var(--card); box-shadow: var(--shadow-sm);
  padding: 22px 24px; margin: 24px 0; position: relative; overflow: hidden;
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.callout--safe::before { background: var(--safe); }
.callout__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.callout--safe .callout__tag { color: var(--safe); }
.callout h3 { margin: 0 0 6px; font-size: 18px; }
.callout p { margin: 6px 0 0; font-size: 15px; }

/* Worked example */
.example {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow-sm); overflow: hidden; margin: 26px 0;
}
.example__head { padding: 16px 22px; border-bottom: 1px solid var(--line-soft); background: var(--paper-2); }
.example__head h3 { margin: 0; font-size: 17px; font-family: var(--serif); }
.example__rows { padding: 8px 22px 16px; }
.example__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.example__row:last-child { border-bottom: none; }
.example__row.is-total { padding-top: 14px; }
.example__k { font-size: 14.5px; color: var(--ink-soft); }
.example__v { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.example__row.is-bomb .example__v { color: var(--accent); font-size: 19px; }
.example__row.is-total .example__k { font-weight: 700; color: var(--ink); }
.example__row.is-total .example__v { font-weight: 700; }

/* Compare table: deferred vs true 0% */
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 22px 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card);
  font-size: 14.5px;
}
.compare th, .compare td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); background: var(--paper-2); font-weight: 600; }
.compare tbody td:first-child { font-weight: 600; color: var(--ink); width: 30%; }
.compare tr:last-child td { border-bottom: none; }
.compare .col-def { color: var(--accent-ink); }
.compare .col-zero { color: var(--safe); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 16px 0 40px; }
.faq__list { max-width: 760px; margin: 18px auto 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 4px; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink);
}
.faq__q .chev { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; color: var(--ink-faint); transition: transform .22s ease; }
.faq__item.open .faq__q .chev { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .28s ease; }
.faq__a-inner { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }
.faq__a-inner p { margin: 0 0 10px; }
.faq__a-inner p:last-child { margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--card); border-top: 1px solid var(--line); margin-top: 30px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 50px 0 36px; }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr; gap: 32px; } }
.footer__brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer__badge {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 18px;
}
.footer__word { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.footer__tag { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; max-width: 36ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; font-weight: 600; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__col button.linklike {
  color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-family: var(--sans);
  background: none; border: none; padding: 0; cursor: pointer; text-align: left;
}
.footer__col a:hover, .footer__col button.linklike:hover { color: var(--accent-ink); }
.footer__divider { height: 1px; background: var(--line); }
.footer__legal { padding: 24px 0 10px; font-size: 13px; color: var(--ink-faint); line-height: 1.6; max-width: 92ch; }
.footer__legal b { color: var(--ink-soft); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0 40px; flex-wrap: wrap; }
.footer__copy { font-size: 13px; color: var(--ink-faint); }
.footer__privacy { font-size: 14px; font-weight: 600; color: var(--ink-soft); background: none; border: none; cursor: pointer; font-family: var(--sans); }
.footer__privacy:hover { color: var(--accent-ink); }

/* ============================================================
   Privacy modal
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(28,26,23,0.46);
  backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper); border-radius: var(--radius); width: 100%; max-width: 600px;
  max-height: 86vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transform: translateY(8px) scale(0.99); transition: transform .2s;
}
.modal-scrim.open .modal { transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal__head h3 { font-size: 19px; }
.modal__close { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 18px; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; }
.modal__close:hover { color: var(--ink); background: var(--paper-2); }
.modal__body { overflow-y: auto; padding: 22px 24px; }
.modal__body h4 { font-family: var(--serif); font-size: 17px; margin: 22px 0 6px; }
.modal__body h4:first-child { margin-top: 0; }
.modal__body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.62; margin: 8px 0; }
.modal__body ul { padding-left: 20px; margin: 8px 0; }
.modal__body li { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 5px 0; }
.modal__lead { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 15px !important; color: var(--ink) !important; }
.modal__foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.btn {
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; border-radius: 9px; padding: 10px 18px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
}
.btn:hover { background: var(--paper-2); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); }
.btn--ghost { background: none; border: none; color: var(--accent-ink); }

/* Cookie consent UI is provided by the vendored CookieConsent v3 library
   (vendor/cookieconsent/cookieconsent.css); no custom banner styles here. */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
