/* ============================================================
   Letter-bundle showcase page. Wraps the 2xtwo shell (style.css)
   around the real sample bundle produced by the letter-bundle tool.
   ============================================================ */

/* Dark sections need their navy ground (the bare .dark class only
   recolours accents in style.css). Scoped: this file is page-only. */
section.dark { background: var(--navy); color: #fff; }
section.dark .lb-cap { color: rgba(255,255,255,0.6); }

/* --- Hero --- */
.lb-hero { text-align: center; }
.lb-hero .wrap { max-width: 820px; }
.lb-hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.5rem); line-height: 1.08; margin-bottom: 0.8rem; }
.lb-hero h1 em { font-style: normal; color: var(--gold); }
.lb-hero .lede { font-size: clamp(1.05rem,2.2vw,1.22rem); color: rgba(255,255,255,0.86); max-width: 640px; margin: 0 auto 2rem; }
.lb-cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.lb-proof {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "League Spartan", sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold-hairline); border-radius: 999px; padding: 0.5rem 1.1rem 0.4rem;
}
.btn.dl::before { content: "\2193\00a0\00a0"; }

.lb-intro { max-width: 680px; }
.lb-intro p { color: var(--ink-soft); }
.lb-intro.on-dark { margin: 0 auto; }
.lb-intro.on-dark p { color: rgba(255,255,255,0.82); }

/* --- The artifact: real bundle pages --- */
.lb-pages {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  margin: 2.6rem auto 0; max-width: 900px;
}
.lb-sheet { text-align: center; }
.lb-sheet img {
  width: 100%; height: auto; display: block; background: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,0.55);
  transition: transform 0.3s ease;
}
.lb-sheet:hover img { transform: translateY(-5px); }
.lb-sheet .lbl {
  display: block; margin-top: 0.7rem;
  font-family: "League Spartan", sans-serif; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.lb-sheet .lbl span { display: block; color: rgba(255,255,255,0.55); font-weight: 500; letter-spacing: 0.06em; }
.lb-cap { text-align: center; font-size: 0.9rem; margin-top: 1.6rem; font-style: italic; }

.lb-annot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 900px; margin: 2.6rem auto 0;
}
.lb-annot-card { border: 1px solid var(--gold-hairline); padding: 1.2rem 1.35rem; }
.lb-annot-card .k {
  font-family: "League Spartan", sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem;
}
.lb-annot-card h4 { color: #fff; font-size: 1rem; margin-bottom: 0.3rem; }
.lb-annot-card p { font-size: 0.9rem; color: rgba(255,255,255,0.78); margin: 0; }

/* --- How it works --- */
.lb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.lb-step { background: var(--cream-card); border: 1px solid var(--hairline); border-top: 3px solid var(--gold); padding: 1.7rem 1.6rem; }
.lb-step .n {
  font-family: "League Spartan", sans-serif; font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.5rem;
}
.lb-step h3 { margin-bottom: 0.4rem; }
.lb-step p { font-size: 0.95rem; color: var(--ink-soft); }
.lb-step code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 0.85rem;
  background: rgba(46,59,91,0.07); color: var(--navy); padding: 0.1rem 0.4rem; border-radius: 4px;
}

/* --- Features --- */
.lb-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1.3rem; margin-top: 2.4rem; }
.lb-feat-card { background: var(--cream-card); border: 1px solid var(--hairline); border-top: 3px solid var(--gold); padding: 1.6rem 1.5rem; }
.lb-feat-card .ico { width: 40px; height: 40px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; background: rgba(240,214,135,0.28); }
.lb-feat-card .ico svg { width: 21px; height: 21px; fill: none; stroke-width: 1.8; stroke: var(--navy); }
.lb-feat-card h3 { margin-bottom: 0.45rem; }
.lb-feat-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* --- CTA --- */
.lb-cta { text-align: center; }
.lb-cta .wrap { max-width: 640px; }
.lb-cta h2 { color: #fff; }
.lb-cta p { color: rgba(255,255,255,0.85); margin: 0 auto 2rem; max-width: 520px; }
.lb-back { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.75); text-decoration: none; font-family: "League Spartan", sans-serif; font-size: 0.85rem; letter-spacing: 0.06em; }
.lb-back:hover { color: var(--gold); }

@media (max-width: 760px) {
  .lb-pages { grid-template-columns: repeat(2, 1fr); }
  .lb-annot { grid-template-columns: 1fr; }
  .lb-steps { grid-template-columns: 1fr; }
}
