/* Lullbee content hub. One locked dark night theme.
   Palette: night navy base, cream text, honey gold single accent, lavender in sky art only. */

:root {
  --night: #10162a;
  --night-2: #161d36;
  --night-3: #1d2542;
  --line: #2a3354;
  --cream: #f3edde;
  --cream-dim: #b9b4a6;
  --honey: #e6b04c;
  --honey-deep: #c9942f;
  --lav: #c6b8ef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
  background: var(--night);
  color: var(--cream);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100dvh;
}

/* sky gradient behind the header area */
.sky {
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(198, 184, 239, 0.14), transparent 60%),
    radial-gradient(900px 420px at 15% -20%, rgba(230, 176, 76, 0.07), transparent 55%),
    var(--night);
}

a { color: var(--honey); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---------- nav ---------- */
header.site {
  height: 68px; display: flex; align-items: center;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
nav.main { display: flex; gap: 22px; font-size: 0.95rem; }
nav.main a { color: var(--cream-dim); }
nav.main a:hover { color: var(--cream); text-decoration: none; }
@media (max-width: 640px) { nav.main { gap: 14px; font-size: 0.85rem; } }

/* ---------- hero ---------- */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 40px; align-items: center; }
@media (max-width: 768px) { .hero-grid { grid-template-columns: 1fr; } .hero-bee { max-width: 220px; margin: 0 auto; } }
h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.08;
  margin-bottom: 18px;
}
.hero p.lede { font-size: 1.15rem; color: var(--cream-dim); max-width: 46ch; margin-bottom: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--honey); color: #21180a;
  font-weight: 600; padding: 13px 26px; border-radius: 999px; font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--honey-deep); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-ghost {
  background: transparent; color: var(--cream); border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--night-3); color: var(--cream); }

/* ---------- audio player card ---------- */
.player {
  background: linear-gradient(160deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; margin: 26px 0;
  display: flex; align-items: center; gap: 18px;
}
.player button.pp {
  width: 56px; height: 56px; min-width: 56px; border-radius: 999px; border: none;
  background: var(--honey); color: #21180a; cursor: pointer;
  font-size: 1.15rem; display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.player button.pp:hover { background: var(--honey-deep); }
.player button.pp:active { transform: scale(0.95); }
.player .pmeta { flex: 1; min-width: 0; }
.player .ptitle { font-weight: 600; margin-bottom: 2px; }
.player .pnote { font-size: 0.9rem; color: var(--cream-dim); }
.player .bar {
  height: 4px; background: var(--line); border-radius: 2px; margin-top: 12px; overflow: hidden;
}
.player .bar i { display: block; height: 100%; width: 0%; background: var(--honey); border-radius: 2px; }
.player-tag { font-size: 0.8rem; color: var(--cream-dim); margin-top: 6px; }

/* ---------- article prose ---------- */
article.prose { padding: 8px 0 30px; }
article.prose h2 {
  font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
article.prose p { margin-bottom: 18px; color: #ddd7c8; }
article.prose p strong { color: var(--cream); }
article.prose em { color: var(--cream); }
.pagehead { padding: 40px 0 6px; }
.pagehead h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 22ch; }
.pagehead .sub { color: var(--cream-dim); font-size: 1.05rem; max-width: 58ch; }

/* ---------- name page extras ---------- */
.meaning-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 26px 0;
}
.meaning-card > div { padding: 18px 22px; }
.meaning-card > div + div { border-left: 1px solid var(--line); }
.meaning-card .k { font-size: 0.85rem; color: var(--cream-dim); margin-bottom: 4px; }
.meaning-card .v { font-weight: 600; font-size: 1.05rem; }
@media (max-width: 560px) {
  .meaning-card { grid-template-columns: 1fr; }
  .meaning-card > div + div { border-left: none; border-top: 1px solid var(--line); }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 30px; margin: 44px 0;
  display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center;
}
.cta-band img { width: 84px; height: 84px; }
.cta-band h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.cta-band p { color: var(--cream-dim); font-size: 0.95rem; max-width: 48ch; }
@media (max-width: 700px) {
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band img { margin: 0 auto; }
}

/* ---------- listing grids ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0 40px; }
@media (max-width: 640px) { .grid-cards { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  background: var(--night-2); color: var(--cream); display: block;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.card:hover { border-color: var(--honey); text-decoration: none; background: var(--night-3); }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 0.9rem; color: var(--cream-dim); }

.name-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; margin: 24px 0 40px; }
.name-grid a {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 8px;
  text-align: center; color: var(--cream); font-size: 0.95rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.name-grid a:hover { border-color: var(--honey); background: var(--night-3); text-decoration: none; }

section.home-block { padding: 26px 0 10px; }
section.home-block h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
section.home-block > .wrap > p { color: var(--cream-dim); max-width: 60ch; }

/* ---------- checklist ---------- */
.checklist {
  border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; margin: 30px 0;
  background: var(--night-2);
}
.checklist h3 { font-weight: 600; margin-bottom: 14px; font-size: 1.15rem; }
.checklist ol { list-style: none; counter-reset: step; }
.checklist li {
  counter-increment: step; padding: 9px 0 9px 40px; position: relative; color: #ddd7c8;
}
.checklist li + li { border-top: 1px solid var(--line); }
.checklist li::before {
  content: counter(step); position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 999px; background: var(--night-3);
  border: 1px solid var(--line); color: var(--honey); font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.checklist .print-link { margin-top: 16px; font-size: 0.95rem; }

/* ---------- related ---------- */
.related { margin: 40px 0 20px; }
.related h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line); margin-top: 60px; padding: 36px 0 44px;
  font-size: 0.9rem; color: var(--cream-dim);
}
footer.site .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--cream-dim); }
footer.site a:hover { color: var(--cream); }
footer.site .fine { margin-top: 20px; font-size: 0.8rem; max-width: 70ch; }

/* ---------- breadcrumb ---------- */
.crumb { padding-top: 26px; font-size: 0.88rem; color: var(--cream-dim); }
.crumb a { color: var(--cream-dim); }
.crumb a:hover { color: var(--cream); }

/* ---------- printable ---------- */
body.printable { background: #fff; color: #1c2237; font-family: "Outfit", "Segoe UI", system-ui, sans-serif; }
body.printable .sheet { max-width: 640px; margin: 0 auto; padding: 40px 24px; }
body.printable h1 { color: #1c2237; font-size: 1.9rem; margin-bottom: 4px; }
body.printable .from { color: #7a7f94; font-size: 0.9rem; margin-bottom: 26px; }
body.printable ol { list-style: none; counter-reset: step; }
body.printable li {
  counter-increment: step; padding: 12px 0 12px 44px; position: relative;
  border-bottom: 1px solid #e4e2da; font-size: 1.05rem;
}
body.printable li::before {
  content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border: 2px solid #c9942f; border-radius: 5px;
}
body.printable .print-btn {
  margin: 30px 0; background: #e6b04c; color: #21180a; border: none;
  padding: 12px 26px; border-radius: 999px; font-size: 1rem; font-weight: 600;
  font-family: inherit; cursor: pointer;
}
body.printable footer { margin-top: 34px; color: #7a7f94; font-size: 0.85rem; }
@media print {
  body.printable .print-btn, body.printable .backlink { display: none; }
  body.printable .sheet { padding: 0; }
}
