/* EarnBitcoin.co - sitewide stylesheet (extracted from the per-page <style>
   blocks in v1.3.0). Editorial palette: paper background, hairline borders,
   serif headlines, mono for sats figures, orange as accent only. */

/* Self-hosted headline serif (variable weight 400–600, latin subset only —
   the ₿ glyph U+20BF never renders in this font, .chip .glyph is sans).
   License: fonts/OFL-source-serif.md. Georgia in --font-voice covers the
   swap window and any non-latin glyph. If the file ever changes, rename it
   (it's cached forever — see .htaccess). */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/source-serif-4-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #FDFCFA;
  --card: #FFFFFF;
  --line: #E5E2DA;
  --ink: #1A1A18;
  --ink-2: #5C594F;
  --ink-3: #8A877E;
  --orange: #F7931A;
  --orange-hover: #E0820B;
  --orange-deep: #B96E12;
  --chip-orange: #FEF3E2;
  --chip-neutral: #F1EFE8;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-voice: "Source Serif 4", Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* --- Number micro-typography -----------------------------------------
   Data numbers sit in the mono font, whose digits are fixed-width by
   design — these rules cover digits set in the PROPORTIONAL fonts.
   tabular-nums makes the sans sats amounts in table cells align down the
   column (no-op in fonts without the feature, e.g. Georgia). The nowrap
   rules keep a figure glued to its unit ("1,000 sats" never breaks after
   the comma or before "sats"); every targeted element holds a short
   value, so nowrap can't overflow the card. */
.ref-table td { font-variant-numeric: lining-nums tabular-nums; }
.status-pos { font-variant-numeric: lining-nums; }
.btn,
.sats,
.listing-meta .val,
.status-bonus .val,
.ref-progress .val { white-space: nowrap; }

/* Ad-blocker notice (logged-in users only, shown by JS when detected) */
.ad-bait { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; }
.adnotice {
  background: var(--chip-orange);
  border-bottom: 1px solid #F3D9B8;
  color: var(--orange-deep);
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.adnotice[hidden] { display: none; }
.adnotice button {
  background: none;
  border: none;
  color: var(--orange-deep);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
/* wordmark: same serif as the headlines — the 600 weight comes from the
   variable font's real semibold, not faux-bold */
.brand { font-family: var(--font-voice); font-size: 20px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.brand .btc { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-note { font-size: 13px; color: var(--ink-3); }
.nav-link { font-size: 13.5px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav-link:hover { color: var(--orange-deep); }

/* Buttons */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 9px 16px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hover); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: var(--card); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-deep); }
.btn-sm { font-size: 13px; padding: 6px 13px; }

/* Hero */
.hero { padding: 48px 0 20px; }
.hero h1 {
  font-family: var(--font-voice);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.hero p {
  color: var(--ink-2);
  font-size: 16.5px;
  margin-top: 12px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* Jargon tooltip — hover on desktop, tap (focus) on mobile */
.term {
  border-bottom: 1px dotted var(--ink-3);
  cursor: help;
  position: relative;
  outline: none;
}
.term .tip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  background: var(--ink);
  color: #FDFCFA;
  font-size: 12.5px;
  font-family: var(--font-sans);
  line-height: 1.5;
  border-radius: 8px;
  padding: 10px 12px;
  transition: opacity 0.15s ease;
  z-index: 20;
}
.term .tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--ink);
}
.term:hover .tip, .term:focus .tip { visibility: visible; opacity: 1; }
@media (max-width: 560px) {
  /* anchor the bubble to the paragraph (.has-term), not the word — a word near
     the right edge would push a fixed-width bubble off-screen */
  .has-term { position: relative; }
  .term { position: static; }
  .term .tip {
    left: 0;
    right: 0;
    width: auto;
    transform: none;
  }
  .term .tip::after { display: none; }
}

/* Listings */
.listings { padding: 20px 0 8px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 72px; }
.section-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
/* variant with a small note on the right end of the title line (wraps under on tiny screens) */
.section-title.has-note { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; }
.section-updated { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
/* curation trust line right under the "Top ways to earn" title */
.list-note { font-size: 13.5px; color: var(--ink-2); max-width: 620px; margin-top: -4px; }
.listing {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.listing:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(26, 26, 24, 0.07);
  transform: translateY(-1px);
}
.listing.featured { border: 1.5px solid var(--orange); }
.listing.featured:hover { border-color: var(--orange-hover); }
.listing .chip {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--chip-neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.listing.featured .chip { background: var(--chip-orange); }
.listing .chip img { width: 22px; height: 22px; }
.listing-body { flex: 1; min-width: 0; }
.listing-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.listing-title-row a {
  font-size: 16.5px;
  font-weight: 600;
  text-decoration: none;
}
/* stretch the title link over the whole card — one link, one tab stop */
.listing-title-row a::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 12px;
}
.listing:hover .listing-title-row a { color: var(--orange-deep); }
.pick {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange-deep);
  background: var(--chip-orange);
  padding: 2px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
/* neutral cousin of .pick — per-listing flags like "No deposit needed" */
.flag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 1px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
/* optional one-liner under a category title, e.g. how the section is sorted */
.cat-note { font-size: 13px; color: var(--ink-3); margin-top: -6px; }
.listing-desc { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
/* the editor's one-liner under the blurb — visible curation, serif italic
   with a small caps label */
.listing-why {
  font-family: var(--font-voice);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 6px;
}
.listing-why .why-l {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 3px;
}
.listing-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
}
.listing-meta .val { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }
.listing-meta .val.hot { color: var(--orange-deep); }
.listing-meta .visit { color: var(--ink-3); margin-left: auto; white-space: nowrap; }
.listing-meta .visit .arr { display: inline-block; transition: transform 0.15s ease; }
.listing:hover .visit { color: var(--orange-deep); }
.listing:hover .visit .arr { transform: translateX(3px); }

/* Category sections + sticky chip nav (homepage listings).
   --eb-header-h / --eb-catnav-h are set precisely by JS on the homepage;
   the fallbacks below match the rendered header (~75px) and nav (~56px). */
.cat-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* anchor jumps land clear of the sticky header + chip nav */
  scroll-margin-top: calc(var(--eb-header-h, 75px) + var(--eb-catnav-h, 56px) + 12px);
}
.cat-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 10px;
}
/* 1px flag for the is-stuck observer. Its bottom edge sits flush with the
   nav's natural top; the negative margins cancel the extra flex gap the
   added item would otherwise introduce between the h2 and the nav. */
.cat-nav-sentinel { height: 1px; margin: -1px 0 -12px; }
.cat-nav {
  position: sticky;
  top: var(--eb-header-h, 75px);
  z-index: 5; /* above the cards, below .site-header (10) */
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  background: var(--paper);
  margin: 0 -20px; /* bleed over the container padding so chips scroll edge-to-edge on mobile */
  padding: 10px 20px;
  border-bottom: 1px solid transparent; /* reserved so sticking never shifts layout */
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 10px rgba(26, 26, 24, 0.04);
}
.cat-nav a {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.cat-nav a:hover { border-color: var(--orange); color: var(--orange-deep); }
.cat-nav a.active,
.cat-nav a.active:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Mid-list signup strip */
.midstrip {
  background: linear-gradient(90deg, #FFF9F0, var(--card));
  border: 1px solid #F3D9B8;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.midstrip .m-copy { flex: 1; min-width: 220px; }
.midstrip .m-head { font-size: 14.5px; font-weight: 600; }
.midstrip .m-head .sats { font-family: var(--font-mono); color: var(--orange-deep); }
.midstrip .m-fine { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.midstrip form { display: flex; gap: 8px; flex-wrap: wrap; }
.midstrip input[type="email"] {
  font-size: 13.5px;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 190px;
  outline: none;
}
.midstrip input[type="email"]:focus { border-color: var(--orange); }

/* Signup / status */
.signup { margin: 28px 0 40px; scroll-margin-top: 72px; }
.signup-card {
  background: linear-gradient(170deg, #FFF6E8, var(--card) 55%);
  border: 1.5px solid var(--orange);
  border-radius: 12px;
  padding: 34px 28px 30px;
  text-align: center;
}
.signup-card .bolt { font-size: 34px; line-height: 1; }
.signup-card h2 {
  font-family: var(--font-voice);
  font-size: 27px;
  font-weight: 400;
  margin-top: 10px;
}
.signup-card h2 .sats { font-family: var(--font-mono); font-size: 24px; color: var(--orange-deep); }
.signup-sub {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 520px;
  margin: 10px auto 20px;
}
.signup .fineprint { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
.signup form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.signup input[type="email"] {
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 220px;
  outline: none;
}
.signup input[type="email"]:focus { border-color: var(--orange); }
.notice {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin: 0 auto 12px;
  max-width: 460px;
}
.notice.ok { background: #EDF6ED; border: 1px solid #BFDDBF; color: #2D5A2D; }
.notice.err { background: #FBEEEC; border: 1px solid #EAC8C2; color: #8A3A2E; }
.honeypot { position: absolute; left: -9999px; }

/* "Suggest a link" strip at the bottom of the homepage */
.suggest { border-top: 1px solid var(--line); padding: 26px 0 6px; margin-bottom: 40px; scroll-margin-top: 72px; }
.suggest h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.suggest p { font-size: 14px; color: var(--ink-2); margin: 6px 0 14px; max-width: 560px; }
.suggest .notice { margin: 0 0 12px; }
.suggest form { display: flex; gap: 8px; flex-wrap: wrap; }
.suggest input[type="text"] {
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}
.suggest input[type="text"]:focus { border-color: var(--orange); }
.suggest input[name="suggest_url"] { flex: 1 1 200px; }
.suggest input[name="suggest_note"] { flex: 2 1 240px; }
.resend { margin-top: 4px; }
.resend summary {
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink-2);
  display: inline-block;
}
.resend summary:hover { color: var(--orange-deep); }
.resend-hint {
  font-size: 13px;
  color: var(--ink-3);
  max-width: 400px;
  margin: 10px auto 12px;
}

/* Status panel (confirmed users) */
.status-you { font-size: 13px; color: var(--ink-3); }
.status-pos {
  font-family: var(--font-voice);
  font-size: 52px;
  line-height: 1.1;
  color: var(--orange-deep);
  margin: 6px 0 2px;
}
.status-pos small { font-size: 20px; color: var(--ink-3); font-family: var(--font-sans); }
.status-bonus { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.status-bonus .val { font-family: var(--font-mono); color: var(--orange-deep); }
.status-bonus small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.moveup {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
  text-align: left;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.moveup h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.moveup p { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.invite-row { display: flex; gap: 8px; margin-bottom: 14px; }
.invite-row .btn { flex-shrink: 0; }
.invite-link {
  flex: 1;
  min-width: 0;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.moveup .ref-progress { margin-top: -6px; }
.moveup .ref-progress .val { font-family: var(--font-mono); color: var(--orange-deep); }
.moveup .ref-fine { font-size: 12px; color: var(--ink-3); margin-top: -4px; }
.task-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.task-row .task-label { font-size: 14px; }
.task-done { color: #2D5A2D; font-size: 13px; font-weight: 600; }
.switch { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; }
.switch a { color: var(--ink-3); }

/* Unsubscribe confirm (GET ?u= renders this; only its POST unsubscribes) */
.unsub {
  max-width: 520px;
  margin: 28px auto 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.unsub h2 { font-family: var(--font-voice); font-size: 24px; margin-bottom: 8px; }
.unsub p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.unsub-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Footer (multi-column since v1.5.1: brand blurb + Earn/Guides/Tools navs,
   then a fine-print strip — $ebFootExtra renders as its first line) */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 28px;
  font-size: 13px;
  color: var(--ink-3);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px 32px;
}
.foot-brand .brand { font-size: 17px; }
.foot-brand p { margin-top: 8px; max-width: 230px; line-height: 1.55; }
.foot-head {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 7px; }
.foot-col a { color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--orange-deep); }
.foot-fine {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 14px;
}
.foot-fine p { margin-top: 4px; }
@media (max-width: 700px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 29px; }
  .signup input[type="email"] { flex: 1; }
  .header-note { display: none; }
  /* keep the header on one line on small phones: the brand and the CTA
     button hold their size, the nav link gives way (ellipsis) if squeezed */
  .brand { white-space: nowrap; flex-shrink: 0; }
  .header-cta { gap: 10px; min-width: 0; }
  .header-cta .btn { flex-shrink: 0; }
  .nav-link { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
}

/* ================= Tools pages (crumb, calculators, tables, explainers) ================= */

.hero .crumb { /* .hero .crumb: must out-rank .hero p, which sets 16.5px/ink-2 */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--orange-deep); }

/* Calculator card */
.calc { padding: 10px 0 4px; scroll-margin-top: 72px; }
.calc-card {
  background: var(--card);
  border: 1.5px solid var(--orange);
  border-radius: 12px;
  padding: 28px;
}
.calc-fields { display: flex; align-items: flex-end; gap: 14px; }
.calc-field { flex: 1; min-width: 0; }
.calc-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.calc-field input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
}
.calc-field input:focus { border-color: var(--orange); }
.calc-eq {
  font-family: var(--font-voice);
  font-size: 26px;
  color: var(--ink-3);
  padding-bottom: 12px;
}
.calc-btc, .calc-pad {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 10px;
  min-height: 1.6em;
}
.calc-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.calc-price input {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  width: 140px;
  outline: none;
}
.calc-price input:focus { border-color: var(--orange); }
.calc-status { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.calc-status.err { color: #8A3A2E; }
.calc-note {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
  font-size: 13px;
  color: var(--ink-3);
}
.calc-note .fixed { font-family: var(--font-mono); color: var(--ink-2); }

/* Quick-reference tables */
.ref { padding: 30px 0 4px; }
.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 16px;
}
.ref-scroll { overflow-x: auto; } /* wide rows scroll in place, never the page */
.ref-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ref-table caption {
  text-align: left;
  font-weight: 600;
  font-size: 14.5px;
  padding-bottom: 8px;
}
.ref-table td { padding: 8px 0; border-top: 1px solid var(--line); }
.ref-table td.num {
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}
.ref-table .tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange-deep);
  background: var(--chip-orange);
  border-radius: 99px;
  padding: 1px 8px;
  margin-left: 8px;
  white-space: nowrap;
}

/* Explainer */
.explain { padding: 30px 0 8px; }
.explain h3 { font-size: 15.5px; font-weight: 600; margin-top: 20px; }
.explain p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; max-width: 620px; }
.explain .formula { /* .explain .formula: must out-rank .explain p (14.5px/6px) */
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--chip-neutral);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
}

/* Standalone midstrip (tool pages) — the homepage one flows inside .listings */
.midstrip-standalone { margin: 36px 0 40px; }

/* ================= Edu / guide pages ================= */

/* Quiet acknowledgment box above a guide's hero (e.g. the faucets page's
   note for visitors arriving from a dead faucet's redirected domain) */
.eb-note {
  background: var(--chip-neutral);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 24px;
}
.eb-note + .hero { padding-top: 28px; } /* the hero's 48px is too much after the box */

/* Byline + freshness line under a guide's hero lede
   (.hero .byline: must out-rank .hero p, which sets 16.5px/ink-2) */
.hero .byline { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* --- 2010 faucet exhibit (faucets page) ---------------------
   Recreation of Gavin Andresen's original faucet inside a minimal
   browser-chrome frame. Fully scoped (.eb-exhibit-*), no collisions.
   The window interior is aria-hidden; the caption carries the meaning. */
.eb-exhibit {
  margin: 2.25rem auto;
  max-width: 560px;
}

/* the "browser window" frame */
.eb-exhibit-window {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

/* minimal browser chrome */
.eb-exhibit-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f2f2f2;
  border-bottom: 1px solid #e2e2e2;
  padding: 0.45rem 0.8rem;
}
.eb-exhibit-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d0d0d0;
  flex: none;
}
.eb-exhibit-url {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #8a8a8a;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 0.15rem 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* the period-accurate page: default-HTML 2010 look on purpose.
   Stays white even if the site ever goes dark — it's an artifact. */
.eb-exhibit-page {
  background: #fff;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.45;
  padding: 1.4rem 1.3rem 1.6rem;
  text-align: left;
}
/* Specificity notes: these p rules must out-rank .explain p (14.5px/ink-2/620px),
   which would otherwise restyle the artifact's text — and the title/label rules
   must in turn out-rank the general page-p rule below them */
.eb-exhibit .eb-exhibit-page p {
  font-size: 1rem;
  color: #000;
  max-width: none;
  margin: 0 0 0.8rem;
}
.eb-exhibit .eb-exhibit-page p.eb-exhibit-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
}
.eb-exhibit-link {
  color: #0000ee;
  text-decoration: underline;
  cursor: default;
}
.eb-exhibit-captcha {
  display: inline-block;
  background: #f7f7f7;
  border: 1px dashed #b5b5b5;
  padding: 0.3rem 0.9rem;
  margin: 0.1rem 0 0.9rem;
}
.eb-exhibit-captcha span {
  display: inline-block;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.35em;
  color: #555;
  transform: skewX(-8deg);
}
.eb-exhibit .eb-exhibit-page p.eb-exhibit-label {
  margin: 0 0 0.35rem;
}
.eb-exhibit-input {
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: #666;
  background: #fff;
  border: 2px inset #d6d6d6;
  padding: 0.25rem 0.4rem;
  margin-bottom: 0.9rem;
}
.eb-exhibit-button {
  font-size: 0.85rem;
  color: #000;
  background: #e9e9e9;
  border: 2px outset #f2f2f2;
  padding: 0.3rem 0.9rem;
  cursor: default;
}
.eb-exhibit-input:disabled,
.eb-exhibit-button:disabled {
  opacity: 1; /* keep the period look, don't gray out */
}

/* museum caption — inherits the site's body font */
.eb-exhibit-caption {
  margin-top: 0.8rem;
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0.85;
}
/* --- /2010 faucet exhibit ----------------------------------- */

/* Tools hub: text glyph in the listing chip instead of a favicon image */
.chip .glyph { font-size: 17px; font-weight: 700; color: var(--orange-deep); }

@media (max-width: 560px) {
  .calc-fields { flex-direction: column; align-items: stretch; }
  .calc-eq { padding: 0; text-align: center; }
  .calc-field input { font-size: 22px; }
  .ref-grid { grid-template-columns: 1fr; }
}

/* --- /buy-bitcoin/: country selector bar --------------------------------
   The select echoes the calculator inputs but in the sans font at text size —
   it holds country names, not figures. Cards filter via the hidden attribute;
   .listing sets display:flex, which outweighs the UA's [hidden] rule, so the
   attribute needs its own display:none here. */
.buy-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 18px 0 4px;
}
.buy-filter label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.buy-filter select {
  flex: 1;
  min-width: 180px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  outline: none;
}
.buy-filter select:focus { border-color: var(--orange); }
.listing[hidden] { display: none; }

/* ================= Interaction polish =================
   This section stays at the END of the file: the :focus-visible rule must
   come after .term's outline:none (same specificity — later wins, so terms
   get a KEYBOARD ring while mouse focus stays ringless), and the reduced-
   motion overrides must come after the rules they cancel. */

/* Keyboard focus: orange ring on links, buttons, summaries, chips. Text
   inputs are deliberately untouched — their higher-specificity rules keep
   outline:none + the orange border-color treatment on focus. */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Selection + mobile tap flash in the palette instead of browser defaults.
   Amber literal, not var(--chip-orange): the chip tint is too close to the
   paper background to read as "selected". */
::selection { background: #F9DCB0; color: var(--ink); }
a, button, .btn { -webkit-tap-highlight-color: rgba(247, 147, 26, 0.15); }

/* Reduced motion: no animated scrolling (anchor jumps + the chip nav's JS
   scrollLeft slides, which animate via the nav's scroll-behavior), no hover
   lift/slide on cards. The tooltip's opacity fade stays — a fade in place
   isn't motion. */
@media (prefers-reduced-motion: reduce) {
  html, .cat-nav { scroll-behavior: auto; }
  .listing { transition: none; }
  .listing:hover { transform: none; }
  .listing-meta .visit .arr { transition: none; }
  .listing:hover .visit .arr { transform: none; }
}
