/* ==========================================================================
   Scam Call Safety Check — warm, elegant, mobile-first stylesheet.

   Design notes:
   - Warm cream background
   - Single centered white card with soft shadow
   - Serif heading (DM Serif Display)
   - Gold/khaki accent for eyebrow + primary CTA
   - Card-style answer buttons with optional emoji prefix
   - Generous whitespace

   Responsive strategy:
   - Mobile (<640px): full-width card, padding 20px
   - Tablet (640–960px): centered card, max-width 720px
   - Desktop (>960px): centered card, more generous padding
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg:           #f3eee4;       /* warm cream */
  --bg-soft:      #ede7da;       /* slightly darker cream for banners */
  --surface:      #ffffff;

  /* Ink */
  --ink:          #1c2733;       /* dark navy */
  --ink-soft:     #455364;
  --muted:        #7d8694;

  /* Accent: warm khaki/gold (eyebrow, primary CTA, BACK link) */
  --gold:         #a08a5a;
  --gold-hover:   #8a7549;
  --gold-soft:    #f0eadf;

  /* Warning: warm brick, used sparingly */
  --accent:       #b04a3a;
  --accent-soft:  #fbeae8;

  /* Success */
  --ok-bg:        #e6f1e8;
  --ok-ink:       #1f5a3a;
  --ok-border:    #b5d4c0;

  /* Warning */
  --warning-bg:   #fff3df;
  --warning-ink:  #6a3d00;
  --warning-border:#f0c98a;

  /* Borders & focus */
  --border:       #e3dccd;
  --border-strong:#cdbfa6;
  --focus:        #c9a85a;

  /* Shape */
  --radius:       14px;
  --radius-lg:    18px;
  --shadow:       0 1px 2px rgba(60, 40, 10, 0.04),
                  0 8px 24px rgba(60, 40, 10, 0.06);
  --shadow-soft:  0 1px 2px rgba(60, 40, 10, 0.04),
                  0 2px 8px rgba(60, 40, 10, 0.05);

  /* Spacing */
  --gap:          14px;
  --maxw:         720px;
  --maxw-wide: 880px;
    /* result page uses this for the 2x2 grid */
  --pad-x:        20px;

  /* Typography */
  --font-body:    18px;
  --font-h1:      clamp(32px, 6.5vw, 54px);
  --font-h2:      clamp(22px, 3.5vw, 28px);
  --font-btn:     18px;
  --font-small:   14px;
  --font-eyebrow: 12px;

  /* Tap target */
  --tap:          56px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: var(--font-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ----- Header (transparent over the cream background) ----- */
.site-header {
  padding: 28px var(--pad-x) 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

.brand-mark {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.lang-switcher {
  position: absolute;
  top: 24px;
  right: var(--pad-x);
}

.lang-switcher select {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 22px 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23a08a5a' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 8px;
}
.lang-switcher select:hover {
  background-color: var(--gold-soft);
  border-color: var(--border);
}

/* ----- Trust block — single-line banner with the safety statement and
       the disclaimer, separated only by a middle dot. Always visible
       above the cards on every screen. ----- */
.trust-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink-soft);
  padding: 12px var(--pad-x);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.trust-block .trust-sep {
  /* Kept as a no-op hook in case a separator is reintroduced. */
  display: none;
}

/* ----- Page-1 lede (the warm "we are here to help you" H1) ----- */
.page1-lede {
  /* Slightly larger than the standard question heading so it reads as
     the main message, not just a question prompt. */
  font-size: clamp(28px, 5vw, 34px);
}
.page1-subheading {
  margin-top: -4px;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* ----- Main container ----- */
.main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 24px auto 40px;
  padding: 0 var(--pad-x);
}
/* Result page widens to fit the 2x2 grid. */
.main.result-main {
  max-width: var(--maxw-wide);
}

/* ----- Top divider (thin gold line, like the reference) ----- */
.brand-divider {
  width: 110px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 22px;
  opacity: 0.7;
}

/* ----- The card ----- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 28px 32px;
  margin-bottom: 18px;
}

.card + .card { margin-top: 0; }
.card { margin-bottom: 18px; }

/* ----- Result page grid (2x2 on tablet+desktop, 1-column on mobile) ----- */
.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.result-grid .card {
  margin-bottom: 0;
}

/* grid gap handles spacing */
@media (min-width: 768px) {
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* Lock the 2x2 placement explicitly so the urgent "what to do"
     column always sits on the left, regardless of source order.
       ┌─────────────┬──────────────┐
       │ verdict     │ protect      │
       │ urgency     │ contact      │
       └─────────────┴──────────────┘ */
  .result-block-verdict { grid-area: 1 / 1; }
  .result-block-protect { grid-area: 1 / 2; }
  .result-block-urgency { grid-area: 2 / 1; }
  .result-block-contact { grid-area: 2 / 2; }
}

/* Scam-explanation block on the verdict card.
   Always visible — this is key information about the type of scam,
   not an optional detail. */
.scam-explain-heading {
  font-family: 'Inter', sans-serif;
  font-size: var(--font-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 18px 0 8px;
}
/* ----- Eyebrow (small uppercase, gold, letter-spaced) ----- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: var(--font-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
}

/* ----- Step counter (subtle, top of card) ----- */
.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.step-count {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.back-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--gold);
  padding: 6px 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 8px;
}
.back-btn:hover { color: var(--gold-hover); }

/* ----- Headings ----- */
h1.question {
  font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  font-size: var(--font-h1);
  line-height: 1.18;
  margin: 4px 0 18px;
  color: var(--ink);
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.005em;
}

h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: var(--font-h2);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 400;
}

p { margin: 0 0 14px; color: var(--ink-soft); }

.helper {
  font-size: 16px;
  color: var(--ink-soft);
  text-align: center;
  margin: -4px 0 22px;
  font-style: italic;
}

/* ----- Answers stack ----- */
.answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ----- Card-style answer buttons (white, thin border, like reference) ----- */
.cardbtn {
  appearance: none;
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-height: var(--tap);
  font-size: var(--font-btn);
  font-weight: 500;
  font-family: inherit;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s, transform 0.05s, background-color 0.15s;
}

.cardbtn:hover {
  border-color: var(--border-strong);
  background: #fbfaf6;
}
.cardbtn:active { transform: scale(0.997); }

.cardbtn-icon {
  flex: 0 0 auto;
  font-size: 28px;             /* default icon size */
  line-height: 1;
}

/* ----- Tone modifier — used for screen 2/2b (Yes / No / Unsure).
       Bigger emoji for low-vision users, plus a soft tint on the label
       text so the affirmative/negative/unsure reading is still quick.
       No colored background disc — just the emoji, plain. ----- */
.cardbtn-tone-positive .cardbtn-icon,
.cardbtn-tone-negative .cardbtn-icon,
.cardbtn-tone-unsure  .cardbtn-icon {
  font-size: 44px;
}
.cardbtn-tone-positive .cardbtn-label { color: #1f5a3a; }
.cardbtn-tone-negative .cardbtn-label { color: #8a3a2d; }
.cardbtn-tone-unsure  .cardbtn-label { color: #6a3d00; }

.cardbtn-label { flex: 1 1 auto; }

.cardbtn-chev {
  flex: 0 0 auto;
  font-size: 18px;
  color: var(--gold);
}

.cardbtn-check.is-picked {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-soft);
}
.cardbtn-check.is-picked .cardbtn-chev {
  color: var(--gold);
  font-weight: 700;
}

/* ----- Primary CTA (Continue, Start again, Claim) ----- */
.cta-primary {
  appearance: none;
  width: 100%;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  min-height: 52px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(160, 138, 90, 0.28);
  transition: background-color 0.15s, transform 0.05s;
  margin-top: 10px;
}
.cta-primary:hover { background: var(--gold-hover); }
.cta-primary:active { transform: scale(0.997); }

.cta-link {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--gold);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cta-link:hover { color: var(--gold-hover); }

.cta-back-block {
  text-align: center;
  margin-top: 18px;
}

/* ----- Sticky Continue bar (pages 3 & 4 — multi-select) -----
   Fixed at the bottom of the viewport so the user always sees the
   Continue button. Replaces the in-card CTA on these two screens.
   - `.main-has-sticky` on <main> reserves bottom padding so the last
     option button isn't covered by the floating bar.
   - Disabled state uses the soft cream tone to invite interaction.
   - Enabled state animates with a single subtle pulse on first appear
     (respects prefers-reduced-motion). */
.sticky-continue {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(60, 40, 10, 0.06);
  padding:
    12px var(--pad-x)
    calc(12px + env(safe-area-inset-bottom, 0px));
  animation: sticky-rise 220ms ease-out;
}

@keyframes sticky-rise {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* One-time soft pulse to draw the eye, then it stops. */
.sticky-continue.is-ready .sticky-continue-btn {
  animation: sticky-pulse 1.4s ease-out 1;
}

@keyframes sticky-pulse {
  0%   { box-shadow: 0 4px 14px rgba(160, 138, 90, 0.28),
                      0 0 0 0 rgba(160, 138, 90, 0.45); }
  60%  { box-shadow: 0 4px 14px rgba(160, 138, 90, 0.28),
                      0 0 0 14px rgba(160, 138, 90, 0); }
  100% { box-shadow: 0 4px 14px rgba(160, 138, 90, 0.28),
                      0 0 0 0 rgba(160, 138, 90, 0); }
}

.sticky-continue-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.sticky-continue-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}
.sticky-continue.is-ready .sticky-continue-text { color: var(--ink); }

.sticky-continue-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sticky-continue-count::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.sticky-continue-help {
  font-style: italic;
  color: var(--muted);
  font-weight: 500;
}

.sticky-continue-btn {
  flex: 0 0 auto;
  /* Override the .cta-primary full-width rule when sitting in the bar. */
  width: auto !important;
  min-width: 160px;
  margin-top: 0 !important;
  padding: 14px 22px !important;
  min-height: 52px;
  transition: background-color 0.15s, transform 0.05s, opacity 0.2s;
}

/* Disabled CTA inside the sticky bar — readable but not pressable. */
.sticky-continue-btn[disabled] {
  background: var(--border-strong);
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.85;
}
.sticky-continue-btn[disabled]:hover { background: var(--border-strong); }

/* "Nothing applies — continue" escape hatch, only on screen 4. */
.sticky-nothing-link {
  display: block;
  max-width: var(--maxw);
  margin: 8px auto 0;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px 0;
}
.sticky-nothing-link:hover { color: var(--ink-soft); }

/* Reserve space at the bottom of <main> on screens with the sticky bar
   so the last option button isn't covered. ~88px accounts for the bar
   + safe-area inset + a touch of breathing room. */
.main.main-has-sticky {
  padding-bottom: 110px;
}

/* On wider screens the bar switches from a horizontal [text | button]
   row to a centered stack so the Continue CTA reads as the focal point.
   The text sits above the button, both centered horizontally. The
   button also widens a bit since there's room to breathe. */
@media (min-width: 768px) {
  .sticky-continue-inner {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    text-align: center;
    max-width: 420px;
  }
  .sticky-continue-text {
    flex: 0 0 auto;
    text-align: center;
  }
  .sticky-continue-btn {
    min-width: 260px;
  }
  .sticky-nothing-link {
    max-width: 420px;
  }
}

/* ----- Floating "Who to contact" pill (result page only) -----
   Appears when the contact block is scrolled out of view (toggled by
   IntersectionObserver in ContactPill component). Fades in from the
   bottom-right corner with a soft rise animation. */
.contact-pill {
  position: fixed;
  /* Above the sticky Continue bar (z:50) in case both could be visible,
     but below the language-switcher dropdown. */
  z-index: 60;
  /* Mobile: center horizontally near the bottom. */
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 16px);
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(60, 40, 10, 0.18),
              0 2px 6px rgba(60, 40, 10, 0.12);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.15s;
}

.contact-pill.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.contact-pill:hover { background: var(--gold-hover); }
.contact-pill:active { transform: translate(-50%, 1px) scale(0.98); }

.contact-pill-icon {
  font-size: 16px;
  /* Optical alignment: emoji sits slightly higher than text. */
  display: inline-flex;
  align-items: center;
}

.contact-pill-label {
  /* Slightly tighter than the chip, so the pill stays compact. */
  letter-spacing: 0.06em;
}

/* On wider viewports the pill moves to the bottom-right corner so it
   doesn't compete with the centered reading column. */
@media (min-width: 768px) {
  .contact-pill {
    left: auto;
    right: 24px;
    bottom: 24px;
    transform: translateY(16px);
  }
  .contact-pill.is-visible {
    transform: translateY(0);
  }
  .contact-pill:active { transform: translateY(1px) scale(0.98); }
}

/* Hide the pill completely while invisible — the [hidden] attribute
   already removes it from the accessibility tree, but we also belt-and-
   braces it for any browser that misbehaves. */
.contact-pill[hidden] {
  display: none !important;
}

/* ----- Result page ----- */
.result-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 4.5vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--accent);
  text-align: center;
  margin: 4px 0 14px;
}
.result-headline.soft { color: var(--warning-ink); }

.reassure {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  margin: 0 0 18px;
  font-style: italic;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 24px);
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 400;
}

.urgency-card { margin-top: 18px; }

.numbered-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: action;
}

.numbered-list li,
.numbered-list details {
  position: relative;
  background: #faf7ef;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px 14px 56px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
/* When an action has a detail panel, wrap it in <details> instead of <li>. */
.numbered-list details {
  margin: 0;
}

.numbered-list details summary {
  list-style: none;
  cursor: pointer;
  padding-right: 28px;
  position: relative;
  /* The chevron lives at the right of the summary. */
}

.numbered-list details summary::-webkit-details-marker {
  display: none;
}

.numbered-list details summary::after {
  content: '›';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 22px;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.2s;
}

.numbered-list details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.numbered-list details summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.numbered-list .action-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.numbered-list li::before,
.numbered-list details::before {
  counter-increment: action;
  content: counter(action);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.scam-explain {
  background: #faf7ef;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

/* ----- Contact list ----- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-weight: 600;
  color: var(--ink);
}

.contact-list a {
  color: var(--gold);
  font-weight: 600;
  word-break: break-word;
}

.show-trust {
  background: var(--gold-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  text-align: center;
  font-style: italic;
}

/* ----- Low-risk screen ----- */
.lowrisk {
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  border-radius: var(--radius);
  padding: 22px;
  font-size: 17px;
  color: var(--ok-ink);
  line-height: 1.55;
  text-align: center;
}
.lowrisk strong {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.lowrisk p {
  color: var(--ok-ink);
  margin: 0;
}

/* ----- Footer (kept in DOM but hidden — disclaimer moved above) ----- */
.site-footer[hidden] { display: none; }
.site-footer {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 24px 18px 36px;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: var(--gold-hover); }

/* ----- Responsive ----- */

@media (min-width: 640px) {
  :root {
    --pad-x: 28px;
    --font-body: 19px;
    --font-btn:  19px;
    --tap:       60px;
  }
  .main { margin-top: 36px; margin-bottom: 60px; }
  .card { padding: 44px 40px 40px; }
  .brand-divider { margin-bottom: 28px; }
}

@media (min-width: 960px) {
  :root {
    --pad-x: 40px;
    --tap:   64px;
  }
  .main { margin-top: 48px; }
  .card { padding: 56px 56px 48px; }
  .lang-switcher { top: 32px; right: 32px; }
  .site-header { padding: 36px var(--pad-x) 16px; }
}

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