/* Bitcoin Đà Nẵng - Page-specific styles (home, pizza day, bitcoin) */

/* ---------- HOMEPAGE (theme-dark) ---------- */

.home-hero {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) var(--gutter) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.10), transparent 65%),
    var(--color-black);
}

/* Oversized faint ₿ glyph behind the logo (CSS-only decoration, per pencil prompt). */
.home-hero__glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold);
  opacity: 0.06;
  font-size: clamp(18rem, 42vw, 32rem);
  line-height: 1;
  user-select: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
}

/* Logo placeholder: when /images/logo.png is absent, the disc shows.
   When the real PNG loads it covers this disc. */
.home-hero__logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.75rem;
}
.home-hero__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.35));
}

.home-hero h1 {
  color: var(--color-gold);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.home-hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-text-on-dark);
  opacity: 0.92;
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.home-hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .home-hero__ctas { flex-direction: column; align-items: stretch; max-width: 22rem; margin: 0 auto; }
  .home-hero__ctas .btn-primary,
  .home-hero__ctas .btn-outline { justify-content: center; }
}

/* Event banner */
.event-banner {
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), transparent);
  max-width: 760px;
  margin: 0 auto;
}
.event-banner h2 {
  color: var(--color-gold);
  margin-bottom: 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.event-banner .event-en {
  display: block;
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 0.35rem;
  font-style: normal;
}
.event-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  transition: var(--transition);
}
.event-banner__cta:hover { color: var(--color-gold-light); transform: translateX(2px); }

/* About + facts */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
body.theme-dark .about-grid h2 { color: var(--color-gold); }

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
}
.facts li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.18);
}
.facts li:last-child { border-bottom: 0; }
.facts__icon { color: var(--color-gold); font-size: 1.05rem; text-align: center; }
.facts__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}
.facts__value { font-size: 0.98rem; color: var(--color-text-on-dark); }
.facts__value a { font-weight: 600; }

/* Blog cards */
.blog-card { display: flex; flex-direction: column; gap: 0.5rem; }
.blog-card__date { font-size: 0.85rem; color: var(--color-text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.blog-card h3 { margin: 0.2rem 0; }
.blog-card__more { margin-top: auto; font-weight: 600; color: var(--color-gold); text-decoration: none; }

/* Blog empty state (no posts yet) */
.blog-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 1rem;
  text-align: center;
}
.blog-empty__img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px rgba(110, 83, 15, 0.18);
}
.blog-empty__msg {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 32ch;
}
body.theme-light .blog-empty__msg { color: var(--color-gold-dark); }

/* Partner cards */
.partner-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.75rem;
  transition: var(--transition);
}
body.theme-dark .partner-card:hover { border-color: rgba(212, 175, 55, 0.5); }
.partner-card .partner-card__logo {
  flex: 0 0 auto !important;
  align-self: center !important;
  width: 128px !important;
  height: 128px !important;
  min-width: 128px !important;
  min-height: 128px !important;
  max-width: 128px !important;
  max-height: 128px !important;
  margin: 0 auto 0.75rem !important;
  border-radius: var(--radius-md);
  background: var(--color-white) !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
}
.partner-card .partner-card__logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: 0 !important;
}
.partner-card .partner-card__logo--light { background: var(--color-white) !important; }

/* Generic icon-button: small image to the left of the label */
.btn-with-icon { gap: 0.55rem; padding-left: 1.1rem; padding-right: 1.4rem; }
/* Lock the inline icon (img or i[data-lucide]) to a fixed size; flex-stretch
   parents on mobile were blowing an unsized <img> up to viewport width. */
.btn-with-icon .btn-icon,
.btn-with-icon img.btn-icon,
.btn-with-icon i.btn-icon[data-lucide],
.btn-with-icon i.btn-icon.lucide {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex: 0 0 20px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}
.partner-card h3 {
  margin: 0.25rem 0 0.1rem;
  font-size: 1.35rem;
  color: var(--color-gold);
}
body.theme-light .partner-card h3 { color: var(--color-gold-dark); }
.partner-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}
.partner-card .btn-outline {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}

/* Section heading wrapper */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .eyebrow { margin-bottom: 0.65rem; }
.section-head h2 { color: var(--color-gold); margin-bottom: 0.4rem; }
body.theme-light .section-head h2 { color: var(--color-gold-dark); }
.section-head .gold-rule { margin: 0.5rem auto 0; }

/* ---------- PIZZA DAY (theme-light) ---------- */

.pizza-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(3rem, 8vw, 5rem);
  background: linear-gradient(180deg, #FAF7F0 0%, rgba(245, 216, 122, 0.18) 100%);
  overflow: hidden;
}
/* faint CSS-only gold dot pattern overlay */
.pizza-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.18) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.pizza-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .pizza-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  /* On mobile, illustration first per pencil spec. */
  .pizza-hero__image-wrap { order: -1; }
}
.pizza-hero__copy { display: flex; flex-direction: column; }
.pizza-hero h1 {
  color: var(--color-gold-dark);
  font-style: italic;
  margin-bottom: 0.2rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}
.pizza-hero__date-rule {
  width: 72px;
  height: 2px;
  background: var(--color-gold);
  border: 0;
  margin: 1rem 0 0.85rem;
}
.pizza-hero__date {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--color-black);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.pizza-hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 32rem;
  margin: 0.4rem 0 1.75rem;
  color: #5a4a26;
  line-height: 1.55;
}
.pizza-hero__ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .pizza-hero__ctas { flex-direction: column; align-items: stretch; }
  .pizza-hero__ctas .btn-primary,
  .pizza-hero__ctas .btn-outline { justify-content: center; }
}
.pizza-hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px rgba(110, 83, 15, 0.22);
  background: var(--color-white-muted);
}

/* Story section - two-column on desktop, image-right */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }
.story { font-size: 1.05rem; }
.story h2 { color: var(--color-gold-dark); margin-bottom: 0.4rem; }
.story p { margin-bottom: 1.2rem; line-height: 1.7; }
.story__image {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px rgba(110, 83, 15, 0.18);
  background: var(--color-white-muted);
}

/* Alternating section background for the warm story slab */
.section--muted {
  background: var(--color-white-muted);
  border-top: 0 !important;
}
.section--muted + .section { border-top: 0; }

/* Price callout */
.price-callout {
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.15);
}
.price-then {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}
.price-then strong { color: #5a4a26; font-weight: 600; }
.price-then-value {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-black);
  display: block;
  margin: 0.4rem 0 1.75rem;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.price-now-label {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.price-now-value {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 5.5vw, 3.5rem);
  color: var(--color-gold-dark);
  font-weight: 700;
  margin: 0.4rem 0 0.4rem;
  letter-spacing: -0.01em;
  min-height: 1.1em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  word-break: normal;
  overflow-wrap: anywhere;
}
.price-now-words {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--color-text-muted);
  margin: 0 auto 0.75rem;
  max-width: 36rem;
  line-height: 1.4;
}
body.theme-light .price-now-words { color: #6a5b3a; }
.price-source { font-size: 0.9rem; margin-top: 1rem; }

/* Why-it-matters cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  text-align: center;
  transition: var(--transition);
  padding: 2rem 1.5rem;
}
.why-card:hover { box-shadow: var(--shadow-gold); border-color: var(--color-gold); }
.why-card .icon { font-size: 2.4rem; display: block; margin-bottom: 0.9rem; line-height: 1; }
.why-card h3 { color: var(--color-gold-dark); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.97rem; line-height: 1.65; margin: 0; }

/* Returns table */
.returns-wrap {
  overflow-x: auto;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 4px 18px rgba(110, 83, 15, 0.08);
}
.returns-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.returns-table th,
.returns-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
}
.returns-table thead th {
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-black);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.returns-table tbody tr { border-bottom: 1px solid var(--color-white-muted); }
.returns-table tbody tr:nth-child(even) { background: #F4EFE2; }
.returns-table tbody tr:last-child { border-bottom: 0; }
.returns-table td:last-child { color: var(--color-gold-dark); font-weight: 600; }
.returns-table .placeholder { color: var(--color-text-muted); font-style: italic; }
.returns-note { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin-top: 1rem; }

/* CTA grid - 2x2 on desktop, single column on mobile */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 44rem;
  margin: 0 auto;
}
.cta-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  transition: var(--transition);
}
.cta-grid a::after {
  content: '→';
  font-weight: 500;
  flex-shrink: 0;
  opacity: 0.85;
  transition: var(--transition);
}
.cta-grid a:hover::after { transform: translateX(3px); }
.cta-grid .cta--primary {
  background: var(--color-gold);
  color: var(--color-black);
  border: 1px solid var(--color-gold);
}
.cta-grid .cta--primary:hover {
  background: var(--color-gold-light);
  box-shadow: var(--shadow-gold);
}
.cta-grid .cta--outline {
  background: var(--color-white);
  color: var(--color-gold-dark);
  border: 1px solid var(--color-gold);
}
.cta-grid .cta--outline:hover {
  background: rgba(212, 175, 55, 0.08);
}
@media (max-width: 560px) {
  .cta-grid { grid-template-columns: 1fr; max-width: 26rem; }
}

/* Event details box */
.event-box {
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 46rem;
  margin: 0 auto;
}
.event-box h2 {
  color: var(--color-gold-dark);
  text-align: center;
  margin: 0.25rem 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.event-box__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.75rem;
  align-items: center;
}
@media (max-width: 640px) {
  .event-box__grid { grid-template-columns: 1fr; }
}
.event-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.event-box li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.event-box .icon { font-size: 1.15rem; flex-shrink: 0; line-height: 1.4; }
.event-box__qr {
  display: grid;
  place-items: center;
  text-align: center;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  padding: 1rem;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(0deg, rgba(160, 124, 30, 0.18) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, rgba(160, 124, 30, 0.18) 0 6px, transparent 6px 12px),
    var(--color-white);
  color: var(--color-gold-dark);
  font-size: 0.8rem;
  font-style: italic;
}
.event-box__caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

/* ---------- BITCOIN PAGE (theme-light) ---------- */

.btc-hero {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) var(--gutter) clamp(3rem, 8vw, 5rem);
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.10), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(160, 124, 30, 0.08), transparent 50%),
    var(--color-white);
}
.btc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 49%, rgba(212, 175, 55, 0.04) 50%, transparent 51%);
  background-size: 28px 28px;
  pointer-events: none;
}
.btc-hero h1 { color: #6e530f; position: relative; }
.btc-hero__sub {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-gold-dark);
  max-width: 36rem;
  margin: 0 auto;
  position: relative;
}
.btc-hero__image {
  margin: 2rem auto 0;
  width: min(640px, 92%);
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, #f3d896 0 50%, #1a1a1a 50% 100%);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  position: relative;
}
.btc-hero__image::after {
  content: '₿';
  position: absolute;
  right: 18%;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--color-gold);
}

.intro { max-width: 44rem; margin: 0 auto; font-size: 1.05rem; }
.intro h2 { color: var(--color-gold-dark); text-align: center; }

/* Comparison matrix */
.matrix-wrap { overflow-x: auto; }
.matrix {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.matrix thead th {
  background: var(--color-gold-dark);
  color: #fff;
  padding: 1rem;
  text-align: left;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.matrix thead th:nth-child(3) { background: var(--color-gold); color: var(--color-black); }
.matrix tbody td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-white-muted);
  vertical-align: top;
  font-size: 0.97rem;
}
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody td:first-child { font-weight: 600; color: #4a3d20; width: 22%; }
.matrix tbody td:nth-child(2) { color: #6e530f; background: rgba(212, 175, 55, 0.05); width: 39%; }
.matrix tbody td:nth-child(3) { color: var(--color-gold-dark); background: rgba(212, 175, 55, 0.12); font-weight: 500; width: 39%; }

.matrix-summary {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--color-gold-dark);
  max-width: 36rem;
  margin: 0 auto;
  font-style: italic;
}

/* Mobile: matrix cards */
@media (max-width: 640px) {
  .matrix thead { display: none; }
  .matrix, .matrix tbody, .matrix tr, .matrix td { display: block; width: 100%; }
  .matrix tbody tr {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--color-white-muted);
  }
  .matrix tbody td { border-bottom: 0; padding: 0.4rem 0.5rem; width: auto !important; background: transparent !important; }
  .matrix tbody td:first-child {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-gold-dark);
    border-bottom: 1px solid var(--color-white-muted);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .matrix tbody td:nth-child(2)::before { content: '🪙  '; }
  .matrix tbody td:nth-child(3)::before { content: '₿  '; }
}

/* Solves grid */
.solves-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.solve-card .icon { font-size: 2.2rem; display: block; margin-bottom: 0.75rem; }
.solve-card h3 { color: var(--color-gold-dark); }

/* Scam section */
.scam-block { max-width: 44rem; margin: 0 auto; }
.scam-block h2 { color: var(--color-gold-dark); text-align: center; }
.scam-block ul { list-style: none; padding: 0; }
.scam-block li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px dashed var(--color-white-muted);
}
.scam-block li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--color-gold-dark);
  font-weight: 700;
}

/* Start steps */
.steps { display: grid; gap: 1rem; counter-reset: step; max-width: 44rem; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-white-muted);
  border-radius: var(--radius-md);
}
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-gold-dark);
  text-align: center;
  line-height: 1;
}
.step h3 { margin: 0 0 0.3rem; color: var(--color-gold-dark); }
.step a { font-weight: 600; }

/* Image placeholder helper */
.img-placeholder {
  background: linear-gradient(135deg, #f5e2b6, #e1c378);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: #6e530f;
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
  padding: 1rem;
  min-height: 200px;
}

/* ============================================================
   WIB - "What is Bitcoin" page (bitcoin.html), light theme.
   All rules namespaced `.wib-*` so they cannot clash with the
   homepage / pizza-day styles owned by the parallel agent.
   Layout follows the pencil mockup
   (_images/bitcoindn-what-is-bitcoin-pencils.pdf).
   ============================================================ */

/* Body - subtle gold-dot texture overlay per the pencil prompt */
.wib-body {
  background-color: var(--color-white);
  background-image: radial-gradient(circle at 1px 1px, rgba(212, 175, 55, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
}

/* --- HERO: 2-col desktop, stacked mobile --- */
.wib-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(3rem, 8vw, 5rem);
}
.wib-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 56% 44%;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.wib-hero__copy { display: flex; flex-direction: column; }
.wib-hero h1 {
  color: var(--color-black);
  margin: 0.35rem 0 0.1rem;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
}
.wib-hero__title-en {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--color-black);
  opacity: 0.55;
  margin: 0 0 0.5rem;
  font-weight: 500;
  font-style: italic;
}
.wib-hero__rule { margin: 1rem 0 1.25rem; }
.wib-hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  color: var(--color-gold-dark);
  margin: 0 0 0.45rem;
  line-height: 1.3;
}
.wib-hero__sub-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--color-gold-dark);
  opacity: 0.6;
  margin: 0 0 1.75rem;
}
.wib-hero__scroll {
  align-self: flex-start;
  text-decoration: none;
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(160, 124, 30, 0.35);
  padding-bottom: 0.15rem;
  transition: var(--transition);
}
.wib-hero__scroll:hover { color: var(--color-gold); border-color: var(--color-gold); }

.wib-hero__image-wrap { width: 100%; }
.wib-hero__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px rgba(110, 83, 15, 0.18);
  background: var(--color-white-muted);
}

@media (max-width: 860px) {
  .wib-hero__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .wib-hero__image-wrap { order: -1; }
  .wib-hero h1 { font-size: clamp(2.25rem, 9vw, 2.75rem); }
}

/* --- INTRO: gold analogy reading block --- */
.wib-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.wib-intro__head { text-align: center; margin-bottom: 2rem; }
.wib-intro__head h2 {
  font-family: var(--font-display);
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin: 0.65rem 0 0.25rem;
  line-height: 1.15;
}
.wib-intro__title-en {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold-dark);
  opacity: 0.55;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  margin: 0;
}
.wib-intro__para {
  font-size: clamp(1rem, 1.1vw, 1.06rem);
  line-height: 1.75;
  color: var(--color-black);
  margin: 0 0 0.5rem;
}
.wib-intro__para-en {
  font-size: clamp(0.92rem, 1vw, 0.98rem);
  line-height: 1.65;
  color: var(--color-black);
  opacity: 0.55;
  margin: 0 0 1.6rem;
  font-style: italic;
}
.wib-intro__para-en:last-child { margin-bottom: 0; }

/* --- MATRIX section --- */
.wib-matrix-section { background: var(--color-white); }
.wib-matrix__head h2 {
  font-family: var(--font-display);
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 0.2rem;
}
.wib-matrix__title-en {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold-dark);
  opacity: 0.55;
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}
.wib-matrix__caption {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0.85rem auto 0;
}

.wib-matrix-wrap {
  max-width: 1000px;
  margin: 2rem auto 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(110, 83, 15, 0.08);
}
.wib-matrix {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  table-layout: fixed;
}
.wib-matrix__th {
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.wib-matrix__th--criteria {
  background: var(--color-white);
  color: var(--color-black);
  width: 30%;
}
.wib-matrix__th--gold {
  background: rgba(245, 216, 122, 0.33);
  color: var(--color-gold-dark);
  width: 35%;
}
.wib-matrix__th--btc {
  background: var(--color-gold);
  color: var(--color-black);
  width: 35%;
}
.wib-matrix tbody td {
  padding: 1.1rem 1.25rem;
  vertical-align: top;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--color-black);
}
.wib-matrix tbody tr:nth-child(even) { background: #F5F1E7; }
.wib-matrix__td-criteria { font-weight: 600; }
.wib-matrix__td-gold { background: rgba(245, 216, 122, 0.18); }
.wib-matrix__td-btc {
  background: rgba(212, 175, 55, 0.13);
  font-weight: 500;
}
.wib-matrix tbody tr:nth-child(even) .wib-matrix__td-gold { background: rgba(245, 216, 122, 0.26); }
.wib-matrix tbody tr:nth-child(even) .wib-matrix__td-btc { background: rgba(212, 175, 55, 0.2); }
.wib-matrix tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius-md); }
.wib-matrix tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-md); }

/* Mobile card list - shown <= 720px instead of the table */
.wib-matrix-cards { display: none; }

@media (max-width: 720px) {
  .wib-matrix-wrap { display: none; }
  .wib-matrix-cards {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
  }
  .wib-mcard {
    background: #fff;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.15rem;
    box-shadow: 0 2px 12px rgba(110, 83, 15, 0.06);
  }
  .wib-mcard__head {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
  }
  .wib-mcard__ord {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-gold);
    font-size: 1.15rem;
  }
  .wib-mcard__title {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.3;
  }
  .wib-mcard__row { margin-bottom: 0.75rem; }
  .wib-mcard__row:last-child { margin-bottom: 0; }
  .wib-mcard__pill {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.4rem;
    font-weight: 600;
  }
  .wib-mcard__pill--gold {
    background: rgba(245, 216, 122, 0.33);
    color: var(--color-gold-dark);
  }
  .wib-mcard__pill--btc {
    background: var(--color-gold);
    color: var(--color-black);
  }
  .wib-mcard__body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-black);
  }
  .wib-mcard__body--btc { font-weight: 500; }
}

.wib-matrix__quote {
  margin: 2.5rem auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold-dark);
  border: 0;
  padding: 0;
}
.wib-matrix__quote p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.4;
}
.wib-matrix__quote-en {
  margin-top: 0.5rem !important;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem) !important;
  opacity: 0.6;
}

/* --- SOLVES grid --- */
.wib-section__title-en {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold-dark);
  opacity: 0.55;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 0.25rem 0 0;
}
.wib-section__title-en--left { text-align: left; margin-bottom: 1.25rem; }

.wib-solves-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .wib-solves-grid { grid-template-columns: 1fr; gap: 1rem; }
}
.wib-solve-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.65rem;
}
.wib-solve-card__icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.9rem;
}
.wib-solve-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-black);
  margin: 0 0 0.6rem;
  line-height: 1.25;
}
.wib-solve-card p {
  margin: 0 0 0.6rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--color-black);
}
.wib-solve-card p:last-child { margin-bottom: 0; }

/* Light, secondary EN translation pattern used in cards, lists, steps */
.wib-en {
  opacity: 0.55;
  font-size: 0.88rem !important;
  font-style: italic;
}

.wib-family-image {
  margin: 3rem auto 0;
  max-width: 1000px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px rgba(110, 83, 15, 0.18);
  background: var(--color-white-muted);
}

/* --- SCAM (clarification) section --- */
.wib-scam { max-width: 760px; margin: 0 auto; }
.wib-scam .eyebrow { display: block; margin-bottom: 0.6rem; }
.wib-scam h2 {
  font-family: var(--font-display);
  color: var(--color-black);
  font-weight: 600;
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}
.wib-scam__list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.85rem;
}
.wib-scam__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-black);
}
.wib-scam__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: -0.15rem;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
}
.wib-scam__list .wib-en {
  display: block;
  margin-top: 0.1rem;
}

/* --- STEPS / how-to-start --- */
.wib-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .wib-steps { grid-template-columns: 1fr; gap: 1rem; }
}
.wib-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.65rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.wib-step__num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold);
  font-size: 4rem;
  line-height: 0.9;
  margin-bottom: 0.5rem;
}
.wib-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-black);
  margin: 0 0 0.15rem;
}
.wib-step__title-en {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-black);
  opacity: 0.55;
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
}
.wib-step p:not(.wib-step__title-en):not(.wib-en) {
  margin: 0 0 0.5rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--color-black);
}
.wib-step .wib-en { margin: 0 0 1rem; }
.wib-step__link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--color-gold-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 124, 30, 0.35);
  padding-bottom: 0.1rem;
  font-size: 0.97rem;
  transition: var(--transition);
}
.wib-step__link:hover { color: var(--color-gold); border-color: var(--color-gold); }

@media (max-width: 860px) {
  .wib-step__num { font-size: 3rem; }
}


/* Lucide icon defaults: keep them inline-sized to their parent's font. */
.lucide, [data-lucide] { width: 1em; height: 1em; vertical-align: -0.18em; stroke-width: 1.75; display: inline-block; }
.facts__icon.lucide, .facts__icon[data-lucide] { width: 1.15rem; height: 1.15rem; color: var(--color-gold); }
.wib-solve-card__icon.lucide, .wib-solve-card__icon[data-lucide] { width: 2.25rem; height: 2.25rem; color: var(--color-gold-dark); margin-bottom: 0.6rem; }
.btn-icon[data-lucide], .btn-icon.lucide { width: 1.15rem; height: 1.15rem; }
.icon[data-lucide], .icon.lucide { width: 1.1rem; height: 1.1rem; color: var(--color-gold-dark); margin-right: 0.45rem; vertical-align: -0.2em; }
.why-icon[data-lucide], .why-icon.lucide { width: 1.6rem; height: 1.6rem; color: var(--color-gold-dark); }

/* Matrix table: horizontal scroll on small screens, never card-list fallback. */
.wib-matrix-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); border: 1px solid rgba(160, 124, 30, 0.18); }
.wib-matrix { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; }
.wib-matrix th, .wib-matrix td { padding: 1rem 1.15rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(160, 124, 30, 0.12); font-size: 0.97rem; line-height: 1.45; }
.wib-matrix tbody tr:nth-child(odd) { background: rgba(245, 216, 122, 0.05); }
.wib-matrix tbody tr:last-child td { border-bottom: 0; }
.wib-matrix__th { background: var(--color-gold-dark); color: #fff; font-weight: 600; letter-spacing: 0.02em; }
.wib-matrix__th--criteria { width: 30%; background: #5C2E1E; }
.wib-matrix__th--gold { width: 35%; background: #C97B2E; }
.wib-matrix__th--btc { width: 35%; background: var(--color-gold-dark); }
.wib-matrix__td-criteria { font-weight: 600; color: var(--color-gold-dark); }
.wib-matrix__td-gold { color: #5C2E1E; }
.wib-matrix__td-btc { color: var(--color-black); font-weight: 500; background: rgba(245, 216, 122, 0.18); }


/* 2026 'live' row in the returns table - highlights the current price. */
.returns-row--live { background: rgba(212, 175, 55, 0.12); }
.returns-row--live td { font-weight: 600; }
.returns-live {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: var(--color-gold-dark);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Pizza Day - Roadhouse partner block */
.partner-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
}
.partner-block p { margin: 0 0 1.25rem; word-wrap: break-word; }
.partner-block__note {
  display: block;
  max-width: 100%;
  background: rgba(212, 175, 55, 0.10);
  border-left: 3px solid var(--color-gold-dark);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  text-align: left;
  color: inherit;
}
.partner-block__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.partner-block__facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: inherit;
  max-width: 100%;
  text-align: left;
  word-wrap: break-word;
}
.partner-block__facts li > a,
.partner-block__facts li > span {
  min-width: 0;
  flex: 1 1 auto;
}
.partner-block__facts .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-gold-dark);
}
.partner-block .cta-grid { margin-top: 0.5rem; }
