/* Holiday Bingo Cards — Festive Snowy-Spruce Editorial (13 unique hexes; strict prose scoping) */
:root {
  --ground: #f3f6f4;
  --surface: #ffffff;
  --raised: #e4ece7;
  --ink: #10231a;
  --ink-hover: #1d3a2b;
  --ink-2: #33473c;
  --ink-3: #56685e;
  --line: #cfdad3;
  --line-strong: #93a79b;
  --focus: #c08414;
  --selection: #f5dfa8;
  --berry: #b0182e;
  --neg-fg: #7d1022;
  --font-text: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fredoka', 'Lexend', system-ui, sans-serif;
  --step-small: 14px;
  --step-body: 17px;
  --step-lead: 20px;
  --step-head: 30px;
  --step-display: clamp(32px, 4.2vw, 46px);
  --r-control: 999px;
  --r-card: 10px;
  --r-chip: 999px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --pad: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
}
::selection { background: var(--selection); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
a { color: var(--ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color 150ms var(--ease); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-display); letter-spacing: -0.02em; }
small { font-size: var(--step-small); }

.hb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.hb-read { max-width: 72ch; }
.hb-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hb-skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--surface);
  padding: 8px 14px; border-radius: var(--r-control); z-index: 20;
}
.hb-skip:focus { left: 8px; }

/* header */
.hb-top { background: var(--ink); color: var(--surface); }
.hb-top .hb-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.hb-mark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--surface); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1;
}
.hb-mark img { display: block; border-radius: 7px; }
.hb-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.hb-nav a { color: var(--raised); text-decoration: none; font-size: 15px; padding: 10px 0; }
.hb-nav a[aria-current="page"] { color: var(--surface); box-shadow: inset 0 -2px 0 var(--focus); }
.hb-nav a:hover { color: var(--surface); text-decoration: none; }
.hb-nav .hb-navcta {
  color: var(--ink); background: var(--surface); border-color: var(--surface);
  padding: 10px 18px;
}
.hb-nav .hb-navcta:hover { color: var(--ink); background: var(--raised); }

.hb-crumbs { font-size: var(--step-small); color: var(--ink-3); padding-top: 14px; }
.hb-crumbs a { color: var(--ink-3); }
.hb-crumbs a:hover { color: var(--ink); }

/* hero & strictly scoped prose blocks */
.hb-head { padding-top: clamp(28px, 5vw, 52px); padding-bottom: 18px; }
.hb-head h1 { max-width: 24ch; }
.hb-lede { font-size: var(--step-lead); line-height: 1.48; color: var(--ink-2); max-width: 62ch; margin: 14px 0 0; }

.hb-prose { padding-top: clamp(24px, 4.5vw, 48px); }
.hb-prose > h1 + .hb-lede { margin-bottom: 1.4em; }
.hb-prose h2 { font-size: var(--step-head); margin: 2em 0 0.55em; }
.hb-prose h3 { font-size: var(--step-lead); margin: 1.5em 0 0.35em; }
.hb-prose p { margin: 0 0 1em; }
.hb-prose ul, .hb-prose ol { padding-left: 1.35em; margin: 0 0 1.1em; }
.hb-prose li { margin: 0.4em 0; }
.hb-prose code {
  font-size: 0.9em; background: var(--raised); color: var(--ink);
  padding: 2px 6px; border-radius: 5px;
}

/* buttons */
.hb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-control);
  border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink);
  font-family: var(--font-text); font-weight: 600; font-size: 16px; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform 120ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.hb-btn:active { transform: scale(0.97); }
.hb-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.hb-btn:hover { background: var(--raised); text-decoration: none; }
.hb-pri { background: var(--ink); color: var(--surface); }
.hb-pri:hover { background: var(--ink-hover); color: var(--surface); }
.hb-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.hb-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }

/* tables (scoped inside .hb-tablewrap) */
.hb-tablewrap {
  overflow-x: auto; margin: 24px 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
}
.hb-tablewrap table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 16px; }
.hb-tablewrap th, .hb-tablewrap td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.hb-tablewrap thead th { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.15; }
.hb-tablewrap tbody th { font-weight: 600; color: var(--ink-2); width: 30%; }
.hb-tablewrap tr:last-child th, .hb-tablewrap tr:last-child td { border-bottom: 0; }

/* highlight banner on free pricing page */
.hb-free-banner {
  background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: var(--r-card); padding: 20px 22px; margin: 20px 0 24px;
}
.hb-free-badge {
  display: inline-block; background: var(--ink); color: var(--surface);
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-chip); margin-bottom: 10px;
}
.hb-free-banner p { margin: 0 0 12px; color: var(--ink-2); }

/* FAQ & more themes & word list */
.hb-wordlist-box {
  margin-top: 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 4px 16px;
}
.hb-wordlist-box summary {
  cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center;
}
.hb-wordlist { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

.hb-faq { margin-top: clamp(48px, 7vw, 96px); }
.hb-faq h2 { font-size: var(--step-head); margin: 0 0 14px; }
.hb-faq details { border-top: 1px solid var(--line); max-width: 75ch; }
.hb-faq details:last-child { border-bottom: 1px solid var(--line); }
.hb-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; min-height: 44px; }
.hb-faq summary:hover { color: var(--ink-hover); }
.hb-faq details p { margin: 0 0 16px; color: var(--ink-2); }

.hb-more { margin-top: clamp(44px, 6vw, 84px); }
.hb-more h2 { font-size: var(--step-head); margin: 0 0 12px; }
.hb-more ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hb-more a { display: inline-block; padding: 8px 0; font-weight: 600; }

/* footer */
.hb-foot {
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--ink); color: var(--raised);
  padding: 36px 0 44px;
}
.hb-foot a { color: var(--surface); }
.hb-foot a:hover { color: var(--selection); }
.hb-foot-line { max-width: 56ch; margin: 0 0 18px; }
.hb-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.hb-foot nav a { padding: 8px 0; }

@media (max-width: 640px) {
  :root { --step-head: 26px; --step-lead: 18px; }
  .hb-nav { gap: 2px 14px; }
  .hb-nav a { font-size: 14px; }
  .hb-top .hb-wrap { justify-content: flex-start; }
  .hb-tablewrap table { min-width: 440px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}

/* Adsterra Native Banner Slot (Zero-Gap Collapse SOP — NEVER display:none on container, NEVER fixed min-height) */
.ad-slot { width: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; min-height: 0; overflow-x: clip; background: transparent; }
.ad-slot__inner { width: 100%; max-width: 100%; padding: 0; border: 0; border-radius: var(--r-card); background: transparent; color: var(--ink); font: inherit; overflow-x: clip; }
.ad-slot__label { display: none; margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ad-slot__body { display: block; width: 100%; max-width: 100%; overflow-x: hidden; color: inherit; font: inherit; overflow-wrap: anywhere; }
.ad-slot__body img, .ad-slot__body iframe { max-width: 100%; }
.ad-slot[data-ad-state="active"], .ad-slot:has([id^="container-"] > *) { margin: 28px 0; }
.ad-slot[data-ad-state="active"] .ad-slot__inner, .ad-slot:has([id^="container-"] > *) .ad-slot__inner { padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); }
.ad-slot[data-ad-state="active"] .ad-slot__label, .ad-slot:has([id^="container-"] > *) .ad-slot__label { display: block; }
@media (max-width: 640px) { .ad-slot[data-ad-state="active"] .ad-slot__inner, .ad-slot:has([id^="container-"] > *) .ad-slot__inner { padding: 14px; } }

#hb-printroot { display: none; }
@media print {
  body { background: var(--surface); }
  body > *:not(#hb-printroot) { display: none !important; }
  .ad-slot { display: none !important; }
  #hb-printroot { display: block !important; }
}
