/* ============================================================
   KRONOR & BEYOND — Shared Design System
   kronorandbeyond.com
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  /* Colors */
  --kb-bg:           #FAF9F6;
  --kb-bg-warm:      #e8e4dc;
  --kb-text:         #1A1D21;
  --kb-text-muted:   #5A5F66;
  --kb-blue:         #1F4E79;
  --kb-blue-light:   #a8c4d8;
  --kb-gold:         #F2C744;
  --kb-green:        #3E7C59;
  --kb-green-bg:     #EAF3E6;
  --kb-pale-yellow:  #FFF9E6;
  --kb-warning-bg:   #FFF9E6;
  --kb-warning-text: #7A5200;
  /* Corrected 29 Aug 2026: these three were drifted from what actually
     renders (Base.astro's embedded <style> block, which loads after this
     file and had always been winning ties for every selector both define
     — border, border-radius, and the .label pill). Was 1pt / 5mm / 4mm;
     Base.astro's operative values are 1.5px / 10px / 20px. Matched here
     rather than the other way round because these are the values 494
     live `class="label"` elements and every published .kb-cta /
     .kb-quick-answer card actually render with today — see HANDOFF.md's
     29 Aug entry. --kb-radius-btn stays as-is: nothing in this file or
     Base.astro consumes it, so it isn't part of what was actually wrong. */
  --kb-border:       1.5px solid var(--kb-gold);
  --kb-radius-card:  10px;
  --kb-radius-pill:  20px;
  --kb-radius-btn:   6px;

  /* Typography */
  --kb-font-head:    'Playfair Display', Georgia, serif;
  --kb-font-body:    'Inter', system-ui, sans-serif;
  --kb-size-base:    18px;
  --kb-leading:      1.7;

  /* Layout */
  --kb-max-width:    720px;
  --kb-gap:          1.5rem;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(140deg, #C5D9E3 0%, #F5F0E8 60%, #F7EEC8 100%);
  color: var(--kb-text);
  font-family: var(--kb-font-body);
  font-size: var(--kb-size-base);
  line-height: var(--kb-leading);
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.kb-article {
  max-width: var(--kb-max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ── LOGO ── */
.kb-logo {
  font-family: var(--kb-font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--kb-gold);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  text-decoration: none;
  white-space: nowrap;
}

.kb-logo .logo-heart {
  font-size: 0.62em;
  line-height: 1;
  color: var(--kb-gold);
}

.kb-logo .logo-com {
  font-size: 1em;
  color: var(--kb-gold);
}

/* ── TOP BAR ── */
.kb-topbar {
  background: var(--kb-blue);
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kb-topbar .kb-logo {
  color: var(--kb-gold);
}

.kb-topbar nav a {
  font-family: var(--kb-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--kb-bg);
  text-decoration: none;
  margin-left: 1.5rem;
  letter-spacing: 0.02em;
}

.kb-topbar nav a:hover {
  color: var(--kb-gold);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--kb-font-head);
  font-weight: 700;
  color: var(--kb-text);
  line-height: 1.2;
}

h1 { font-size: 2.4rem;  margin-bottom: 1rem; }
h2 { font-size: 1.6rem;  margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.2rem;  margin: 2rem 0 0.5rem; }

.subtitle {
  font-size: 1.05rem;
  color: var(--kb-blue);
  margin-bottom: 1.5rem;
}

p  { margin-bottom: 1rem; }

a {
  color: var(--kb-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover { color: var(--kb-gold); }

strong { font-weight: 600; }

/* Swedish terms */
em {
  font-style: italic;
  color: var(--kb-text);
}

/* ── MUTED TEXT (small print, risk statements, "checked against" dates) ──
   Discovered missing entirely 29 Aug 2026 while fixing the .kb-cta/.label
   mismatches below: .kb-muted is used 30 times across live contentHtml
   (investment-risk and crypto disclosure paragraphs, dated fact-checks)
   and had no rule anywhere in this file or Base.astro — every one of
   those paragraphs was rendering as plain, unstyled body text. */
.kb-muted {
  font-size: 0.85rem;
  color: var(--kb-text-muted);
  margin: 0.5rem 0 1rem;
}

/* ── DISCLOSURE LINE ── */
.kb-disclosure {
  font-size: 0.85rem;
  color: var(--kb-text-muted);
  border: var(--kb-border);
  padding: 0.75rem 1.1rem;
  margin-bottom: 2rem;
  background: var(--kb-bg);
  border-radius: var(--kb-radius-card);
}

/* ── QUICK ANSWER BOX ── */
.kb-quick-answer {
  background: var(--kb-bg);
  border: var(--kb-border);
  border-radius: var(--kb-radius-card);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.kb-quick-answer .label {
  display: inline-block;
  background: var(--kb-blue);
  color: var(--kb-bg);
  font-family: var(--kb-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--kb-radius-pill);
  margin-bottom: 0.75rem;
}

.kb-quick-answer p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* ── SEPARATOR HEART ── */
.kb-sep {
  display: block;
  text-align: center;
  color: var(--kb-gold);
  font-size: 0.8rem;
  margin: 2rem 0;
  letter-spacing: 0.3em;
}

/* ── TIP BOX ── */
.kb-tip {
  background: var(--kb-green-bg);
  border: 1px solid var(--kb-green);
  border-radius: var(--kb-radius-card);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.kb-tip .label {
  display: inline-block;
  background: var(--kb-green);
  color: var(--kb-bg);
  font-family: var(--kb-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--kb-radius-pill);
  margin-bottom: 0.6rem;
}

.kb-tip p { margin-bottom: 0; font-size: 0.95rem; }

/* ── WARNING BOX ── */
.kb-warning {
  background: var(--kb-pale-yellow);
  border: var(--kb-border);
  border-radius: var(--kb-radius-card);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.kb-warning .label {
  display: inline-block;
  background: var(--kb-gold);
  color: var(--kb-blue);
  font-family: var(--kb-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--kb-radius-pill);
  margin-bottom: 0.6rem;
}

.kb-warning p { margin-bottom: 0; font-size: 0.95rem; color: var(--kb-warning-text); }

/* ── BUTTONS ── */
.kb-btn {
  display: inline-block;
  background: var(--kb-blue);
  color: var(--kb-bg);
  font-family: var(--kb-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--kb-radius-pill);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.1s ease;
}

.kb-btn:hover {
  background: #174069;
  color: var(--kb-bg);
  transform: translateY(-1px);
}

.kb-btn:active { transform: translateY(0); }

.kb-btn-gold {
  background: var(--kb-gold);
  color: var(--kb-blue);
}

.kb-btn-gold:hover {
  background: #dab228;
  color: var(--kb-blue);
}

/* ── AFFILIATE CTA CARD ── */
.kb-cta {
  background: var(--kb-bg);
  border: var(--kb-border);
  border-radius: var(--kb-radius-card);
  padding: 1.5rem;
  margin: 2rem 0;
}

/* Corrected 29 Aug 2026: the real markup never wraps the label in a
   .kb-cta-header, and tagline/compliance are bare classes, not
   kb-cta-prefixed ones — <div class="kb-cta"><div class="label">…
   <p class="tagline">… <p class="compliance">…. These three rules
   (.kb-cta-header, .kb-cta-tagline, .kb-cta-compliance) matched nothing
   in any live post; only .kb-cta h3 below was ever actually hitting.
   Confirmed against every contentHtml in the export: 0 occurrences of
   kb-cta-header/-tagline/-compliance, 77 of bare .kb-cta, 25 of bare
   .tagline, 80 of bare .compliance. */
.kb-cta .label {
  display: inline-block;
  background: var(--kb-blue);
  color: var(--kb-bg);
  font-family: var(--kb-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--kb-radius-pill);
  margin-bottom: 0.75rem;
}

.kb-cta h3 {
  font-family: var(--kb-font-head);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.kb-cta .tagline {
  font-size: 0.9rem;
  color: var(--kb-text-muted);
  margin-bottom: 1rem;
}

.kb-cta ul {
  list-style: none;
  margin-bottom: 1.25rem;
}

.kb-cta ul li {
  font-size: 0.95rem;
  padding: 0.3rem 0;
  padding-left: 1.4rem;
  position: relative;
}

.kb-cta ul li::before {
  content: '♥';
  position: absolute;
  left: 0;
  color: var(--kb-gold);
  font-size: 0.7rem;
  top: 0.5rem;
}

.kb-cta .compliance {
  font-size: 0.78rem;
  color: var(--kb-text-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ── COMPARISON TABLE ── */
.kb-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--kb-radius-card);
  border: var(--kb-border);
}

.kb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.kb-table th {
  background: var(--kb-blue);
  color: var(--kb-bg);
  font-family: var(--kb-font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  text-align: left;
}

.kb-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--kb-bg-warm);
  vertical-align: top;
}

.kb-table tr:last-child td { border-bottom: none; }

.kb-table tr:nth-child(odd) td  { background: var(--kb-bg); }
.kb-table tr:nth-child(even) td { background: var(--kb-bg-warm); }

.kb-table tr.kb-table-best td {
  background: var(--kb-pale-yellow);
  font-weight: 600;
}



/* ── STEP CHECKLIST ── */
.kb-steps {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kb-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
}

.kb-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--kb-gold);
  background: var(--kb-bg);
  color: var(--kb-blue);
  font-family: var(--kb-font-body);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kb-step-body { padding-top: 0.25rem; }
.kb-step-body strong { display: block; margin-bottom: 0.2rem; }

/* ── CHECKLIST (printable style) ── */
.kb-checklist {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.kb-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.kb-check {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 1.5px solid var(--kb-gold);
  background: var(--kb-bg);
  margin-top: 0.15rem;
}

/* ── SECTION LABEL PILL ── */
.kb-section-label {
  display: inline-block;
  background: var(--kb-blue);
  color: var(--kb-bg);
  font-family: var(--kb-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--kb-radius-pill);
  margin-bottom: 0.75rem;
}

/* ── FAQ ACCORDION ── */
.kb-faq {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kb-faq-item {
  border: var(--kb-border);
  border-radius: var(--kb-radius-card);
  overflow: hidden;
  background: var(--kb-bg);
}

.kb-faq-q .kb-faq-icon {
  background: var(--kb-bg);
}

.kb-faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--kb-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--kb-text);
  text-align: left;
}

.kb-faq-q:hover {
  background: var(--kb-pale-yellow);
}

.kb-faq-q .kb-faq-icon {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--kb-gold);
  color: var(--kb-blue);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.kb-faq-item.open .kb-faq-icon {
  transform: rotate(45deg);
}

.kb-faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: var(--kb-text);
  line-height: var(--kb-leading);
  border-top: 1px solid var(--kb-bg-warm);
}

.kb-faq-item.open .kb-faq-a {
  display: block;
}

/* ── FX MARKUP CALCULATOR ──
   Superseded 29 Aug 2026 by the three-way Wise/Revolut/bank comparison
   below, per that day's "Commit the transfer calculator" brief, which
   supersedes every earlier calculator brief. The single-rate version
   that used to be here (and the token-vs-hardcoded-value note that came
   with it) is gone — this is the supplied replacement, committed as
   given. See the note after this block on the canon-diff question its
   own header comment raises. */

/* ============================================================
   KRONOR & BEYOND — transfer calculator component
   Append to the global stylesheet.

   New component: none of these classes appear in
   DESIGN_SYSTEM_CANON.md. The canon addition needs a diff for
   approval before it goes in — the canon is LOCKED.

   Tokens only, no hardcoded hex. Card treatment matches .kb-cta:
   1.5px gold border, 10px radius, --kb-bg fill.
   ============================================================ */

.kb-calc {
  background: var(--kb-bg);
  border: 1.5px solid var(--kb-gold);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.kb-calc .label {
  display: inline-block;
  background: var(--kb-blue);
  color: var(--kb-bg);
  font-family: var(--kb-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--kb-radius-pill);
  margin-bottom: 0.75rem;
}

.kb-calc h3 {
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
}

/* ---------- fields ---------- */

.kb-calc-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1rem;
  margin-bottom: 1.5rem;
}

.kb-calc-fields label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--kb-text-muted);
  position: relative;
}

.kb-calc-fields input,
.kb-calc-fields select {
  font-family: 'Inter', sans-serif;
  /* 16px minimum, or iOS zooms the page on focus */
  font-size: 16px;
  font-weight: 500;
  color: var(--kb-text);
  background: var(--kb-bg);
  border: 1.5px solid var(--kb-bg-warm);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

/* room for the trailing unit so long numbers don't run under it */
.kb-calc-fields input {
  padding-right: 3.2rem;
}

.kb-calc-fields select {
  background-image: linear-gradient(45deg, transparent 50%, var(--kb-blue) 50%),
                    linear-gradient(135deg, var(--kb-blue) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.kb-calc-fields input:focus,
.kb-calc-fields select:focus {
  outline: none;
  border-color: var(--kb-blue);
}

.kb-calc-fields .unit {
  position: absolute;
  right: 0.85rem;
  bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--kb-text-muted);
  pointer-events: none;
}

/* ---------- results ---------- */

.kb-calc-out {
  border-top: 1px solid var(--kb-bg-warm);
  padding-top: 1.25rem;
}

.kb-calc-lede {
  font-size: 0.9rem;
  color: var(--kb-text-muted);
  margin: 0 0 1rem;
}

.kb-calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--kb-bg-warm);
}

.kb-calc-row:last-of-type {
  border-bottom: none;
}

.kb-calc-provider {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--kb-text);
  flex-shrink: 0;
}

.kb-calc-figure {
  text-align: right;
  font-size: 1.05rem;
  color: var(--kb-text);
}

.kb-calc-figure strong {
  font-weight: 700;
}

/* Secondary, but never greyed to the point of being unreadable —
   these lines carry the provenance of the numbers above them. */
.kb-calc-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--kb-text-muted);
  margin-top: 0.2rem;
}

.kb-calc-row.is-unavailable .kb-calc-figure {
  text-align: right;
}

.kb-calc-row.is-unavailable .kb-calc-provider {
  color: var(--kb-text-muted);
}

/* ---------- mid-market anchor ---------- */

.kb-calc-anchor {
  background: var(--kb-pale-yellow);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--kb-warning-text);
}

/* ---------- caveats and provenance ---------- */

.kb-calc-notes {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.kb-calc-notes li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--kb-text-muted);
}

.kb-calc-notes li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--kb-gold);
  font-weight: 700;
}

.kb-calc-provenance {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--kb-bg-warm);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--kb-text-muted);
}

.kb-calc-note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--kb-text-muted);
}

.kb-calc-note em {
  font-style: normal;
  font-weight: 600;
  color: var(--kb-text);
}

/* ---------- narrow screens ---------- */

@media (max-width: 560px) {
  .kb-calc {
    padding: 1.25rem 1rem;
  }

  .kb-calc-fields {
    grid-template-columns: 1fr;
  }

  /* Stack provider and figure so long amounts don't collide */
  .kb-calc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .kb-calc-figure {
    text-align: left;
    font-size: 1rem;
  }
}

/* Not rewritten, but worth flagging rather than silently fixing (per this
   brief's own "if something looks wrong, report it" instruction):
     1. .kb-calc's border/radius are hardcoded (1.5px solid var(--kb-gold) /
        10px) rather than referencing --kb-border / --kb-radius-card, which
        the 29 Aug styling-fix session set to these exact values for other
        card components to share. Not a bug — the numbers match — just a
        missed DRY opportunity now that the tokens exist. Left as supplied.

   A second item that was here — .kb-calc .label missing padding/radius/
   shape — was confirmed against the live post-21-calculator-block.html
   (still bare <div class="label">) and fixed 1 Sep 2026, on Rogério's
   go-ahead: the rule above now matches every other .label pill in this
   file (.kb-cta, .kb-quick-answer, .kb-tip, .kb-warning, .kb-toc). */

/* ── TABLE OF CONTENTS ── */
.kb-toc {
  background: var(--kb-bg);
  border: var(--kb-border);
  border-radius: var(--kb-radius-card);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.kb-toc .label {
  display: inline-block;
  background: var(--kb-blue);
  color: var(--kb-bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--kb-radius-pill);
  margin-bottom: 0.75rem;
}

.kb-toc ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.kb-toc a {
  color: var(--kb-blue);
  text-decoration: none;
  font-weight: 500;
}

.kb-toc a:hover { color: var(--kb-gold); text-decoration: underline; }

/* ── STICKY TOC (desktop) ── */
@media (min-width: 1100px) {
  .kb-layout-with-toc {
    display: grid;
    grid-template-columns: var(--kb-max-width) 220px;
    gap: 3rem;
    max-width: calc(var(--kb-max-width) + 220px + 3rem);
    margin: 0 auto;
  }

  .kb-toc-sticky {
    position: sticky;
    top: 2rem;
    align-self: start;
    font-size: 0.85rem;
  }
}

/* ── SCREENSHOT PLACEHOLDER ── */
.kb-screenshot {
  background: var(--kb-bg-warm);
  border: var(--kb-border);
  border-radius: var(--kb-radius-card);
  padding: 2rem 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  color: var(--kb-text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* ── BOTTOM BAR ── */
.kb-bottombar {
  background: var(--kb-blue);
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--kb-font-body);
  font-size: 0.85rem;
}

.kb-bottombar .kb-url {
  font-family: var(--kb-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--kb-gold);
}

.kb-bottombar .kb-heart {
  color: var(--kb-gold);
  font-size: 0.9rem;
}

.kb-bottombar .kb-sub {
  font-family: var(--kb-font-body);
  font-size: 0.85rem;
  color: #ffffff;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  .kb-article { padding: 1.25rem 1rem 3rem; }
  .kb-topbar { padding: 0.6rem 1rem; }
  .kb-cta { padding: 1.1rem; }
}

/* ── PRINT ── */
@media print {
  .kb-topbar, .kb-bottombar, .kb-toc-sticky { display: none; }
  body { background: none; }
  .kb-article { max-width: 100%; padding: 0; }
}

/* ── FAQ SCRIPT (inline) ──
   Drop this <script> at the bottom of any page using .kb-faq:

   document.querySelectorAll('.kb-faq-q').forEach(btn => {
     btn.addEventListener('click', () => {
       btn.closest('.kb-faq-item').classList.toggle('open');
     });
   });
   ──────────────────────────── */