:root {
  --sky: #353057;
  --sky-deep: #262244;
  --cream: #fbf3e4;
  --cream-edge: #e8dcc4;
  --ink: #3a3354;
  --ink-soft: #6b6390;
  --moon: #f4d9a0;
  --moon-bright: #ffedc4;
  --blush: #e8b4c8;
  --sage: #a8c8b8;
  --sleepy-blue: #9db8de;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", "Avenir Next", system-ui, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 75% 8%, rgba(244, 217, 160, 0.14) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 85%, rgba(157, 184, 222, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

#stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.star {
  position: absolute; width: 2.5px; height: 2.5px; border-radius: 50%;
  background: var(--moon-bright); opacity: 0.5; animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.7); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.screen { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 24px 18px 80px; }
.screen.narrow { max-width: 500px; }
.hidden { display: none !important; }

/* ---------- masthead ---------- */
.masthead { text-align: center; padding: 20px 0 10px; }
.masthead.compact { padding: 8px 0 2px; }
.masthead.compact h1 { font-size: 1.5rem; }
.crest { font-size: 3rem; filter: drop-shadow(0 0 18px rgba(244, 217, 160, 0.5)); }
h1 {
  font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700;
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  margin: 8px 0 6px; color: var(--moon);
  letter-spacing: 0.02em;
}
.subtitle { font-size: 1.1rem; color: #c9c3e6; margin: 0 auto 8px; max-width: 34em; line-height: 1.5; }
.hint { color: #a49cc9; font-size: 0.98rem; }

.section-heading {
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--moon);
  border-bottom: 1px solid rgba(244, 217, 160, 0.25); padding-bottom: 8px;
  margin-top: 40px;
}
.dot { display: inline-block; width: 1.5em; color: var(--sleepy-blue); }

/* ---------- buttons + inputs ---------- */
.btn {
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: 0.95rem; font-weight: 600;
  padding: 10px 16px; border-radius: 14px;
  border: 1px solid rgba(201, 195, 230, 0.28); background: rgba(255, 255, 255, 0.04);
  color: #cfc9e8; cursor: pointer; transition: all 0.25s;
}
.btn:hover { border-color: rgba(244, 217, 160, 0.5); color: var(--moon-bright); }
.btn.block { display: block; width: 100%; }
.btn.active { background: var(--moon); color: var(--ink); }
.btn.primary {
  font-size: 1.15rem; padding: 15px 32px;
  border: 2px solid var(--moon); background: linear-gradient(160deg, #b98a4e, #8a6538);
  color: var(--moon-bright); text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.btn.primary:not(:disabled):hover { transform: scale(1.03); box-shadow: 0 0 26px rgba(244, 217, 160, 0.4); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.danger { border-color: transparent; color: #d98a8a; background: transparent; }
.btn.danger:hover { color: #f0b0b0; text-decoration: underline; border-color: transparent; }

input, textarea, select {
  width: 100%; font-family: inherit; font-size: 1.05rem;
  background: rgba(255,255,255,0.07); color: var(--cream);
  border: 1.5px solid rgba(201, 195, 230, 0.3); border-radius: 14px; padding: 12px 14px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(244, 217, 160, 0.45); }
label {
  display: block; font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 1.02rem; font-weight: 600; color: #ece7f8;
  margin: 28px 0 10px;
}
label:first-child { margin-top: 0; }
.row { display: flex; gap: 14px; align-items: flex-end; margin-top: 16px; flex-wrap: wrap; }
select { color-scheme: dark; }
input[type="date"] { color-scheme: dark; width: auto; }

/* ---------- chips ---------- */
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); gap: 10px; margin-top: 0; }
.chip {
  font-family: inherit; font-size: 0.9rem; padding: 11px 6px; border-radius: 14px;
  border: 1px solid rgba(201, 195, 230, 0.28); background: rgba(255,255,255,0.04);
  color: #bfb8dd; cursor: pointer; transition: all 0.2s;
  text-align: center; width: 100%;
}
.chip:hover { border-color: rgba(244, 217, 160, 0.5); }
.chip.selected {
  background: rgba(244, 217, 160, 0.22); border-color: var(--moon);
  color: var(--moon-bright); box-shadow: 0 0 10px rgba(244, 217, 160, 0.25);
}

/* ---------- bookshelf ---------- */
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 16px; }
.book {
  position: relative; border: none; cursor: pointer; text-align: left; overflow: hidden;
  border-radius: 16px; padding: 0; min-height: 170px; color: var(--cream);
  background: var(--sky-deep);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.3s;
  font-family: inherit;
  display: flex; flex-direction: column;
}
.book:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,0.45), 0 0 16px rgba(244,217,160,0.2); }
.book .cover {
  height: 96px; width: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; background-size: cover; background-position: center;
}
.book .meta { padding: 10px 12px 12px; }
.book .book-date { display: block; font-size: 0.78rem; color: #b3abd6; }
.book .book-title {
  display: block; font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 600;
  font-size: 0.95rem; margin-top: 3px; line-height: 1.25; color: var(--moon-bright);
}
.book .book-extra { display: block; font-size: 0.75rem; color: #b3abd6; margin-top: 4px; }
.book .kind-tag { position: absolute; top: 8px; right: 10px; font-size: 1rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)); }
.book .fav-star {
  position: absolute; bottom: 8px; right: 10px; z-index: 2;
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  color: rgba(244, 217, 160, 0.4); transition: color 0.2s, transform 0.15s;
  padding: 4px; /* bigger tap target */
}
.book .fav-star:hover { transform: scale(1.2); }
.book .fav-star.faved { color: var(--moon); filter: drop-shadow(0 0 6px rgba(244, 217, 160, 0.6)); }

.book.unread { border: 2px solid var(--blush); }
.book.unread .cover { filter: saturate(1.15) brightness(1.05); }
.book .new-tag {
  position: absolute; top: 8px; left: 10px;
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px;
  background: var(--blush); color: #4a2438;
  box-shadow: 0 0 12px rgba(232, 180, 200, 0.6);
  animation: new-pulse 2.5s ease-in-out infinite;
}
@keyframes new-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(232, 180, 200, 0.4); }
  50% { box-shadow: 0 0 18px rgba(232, 180, 200, 0.85); }
}

.book.tonight {
  min-height: 190px; width: 100%; max-width: 440px; margin: 16px auto 0; display: flex;
  border: 2px solid var(--moon);
  animation: tonight-glow 3.5s ease-in-out infinite;
}
@keyframes tonight-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(244, 217, 160, 0.25); }
  50% { box-shadow: 0 0 34px rgba(244, 217, 160, 0.5); }
}
.book.tonight .cover { height: 110px; }
.book.tonight .book-title { font-size: 1.15rem; }

/* ---------- reader ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.page {
  background: radial-gradient(ellipse at 30% 15%, rgba(255,255,255,0.55), transparent 60%), var(--cream);
  border: 1px solid var(--cream-edge); border-radius: 20px;
  box-shadow: 0 14px 50px rgba(0,0,0,0.4);
  color: var(--ink); padding: clamp(22px, 5vw, 52px);
}
.page h2 {
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  text-align: center; margin: 0 0 16px; color: #5d5384;
}
.reader-date { text-align: center; color: #8a80b0; margin: 0 0 4px; font-size: 0.95rem; }
.reader-cover { display: block; width: min(280px, 70%); border-radius: 14px; margin: 0 auto 18px; box-shadow: 0 8px 22px rgba(0,0,0,0.2); }
#reader-text { font-family: "Lora", Georgia, serif; font-size: 1.15rem; line-height: 1.8; }
#reader-text p { margin: 0 0 1em; }
.big-text #reader-text { font-size: 1.5rem; line-height: 1.9; }

.sent { border-radius: 6px; padding: 1px 2px; transition: background 0.35s, box-shadow 0.35s; cursor: pointer; }
.sent:hover { background: rgba(244, 217, 160, 0.35); }
.sent.speaking { background: rgba(244, 190, 110, 0.45); box-shadow: 0 0 12px rgba(244, 190, 110, 0.35); }

.listen-box { text-align: center; margin: 6px 0 24px; }
.listen-btn {
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: 1.2rem; font-weight: 700;
  padding: 15px 32px; border-radius: 14px; cursor: pointer;
  border: 2px solid var(--moon); color: var(--moon-bright);
  background: linear-gradient(160deg, #b98a4e, #8a6538);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  box-shadow: 0 6px 18px rgba(138, 101, 56, 0.4); transition: all 0.25s;
}
.listen-btn:hover { transform: scale(1.04); }
.no-audio { text-align: center; color: #8a80b0; }

/* book-mode listening page */
.listen-only { text-align: center; padding: 30px 0 10px; }
.listen-only .big-moon { font-size: 5rem; display: block; animation: moon-drift 5s ease-in-out infinite; }
@keyframes moon-drift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}
.listen-only p { color: #6b6390; font-size: 1.1rem; }

/* floating player */
.player-row {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 60;
  width: min(480px, calc(100vw - 28px));
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px;
  background: rgba(38, 34, 68, 0.94);
  border: 1.5px solid rgba(244, 217, 160, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.play-btn {
  font-size: 1.2rem; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid var(--moon); background: linear-gradient(160deg, #b98a4e, #8a6538);
  color: var(--moon-bright); cursor: pointer;
}
.progress-wrap { flex: 1; height: 12px; background: rgba(244, 217, 160, 0.16); border-radius: 999px; overflow: hidden; cursor: pointer; }
.progress { height: 100%; width: 0%; background: linear-gradient(90deg, #8a6538, var(--moon)); transition: width 0.3s linear; }
.time-label { font-size: 0.92rem; color: var(--moon-bright); min-width: 44px; text-align: right; }
#reader-screen { padding-bottom: 140px; }

/* ---------- studio ---------- */
.mode-toggle { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.mode-btn {
  flex: 1; min-width: 200px; text-align: left;
  border-radius: 14px; padding: 16px 18px; cursor: pointer;
  border: 1.5px solid rgba(201, 195, 230, 0.3); background: rgba(255,255,255,0.05);
  color: var(--cream); font-family: inherit; transition: all 0.2s;
}
.mode-btn .m-emoji { font-size: 1.6rem; display: block; }
.mode-btn .m-name { font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700; font-size: 1.05rem; display: block; margin-top: 4px; color: var(--moon-bright); }
.mode-btn .m-desc { font-size: 0.88rem; color: #b3abd6; display: block; margin-top: 2px; }
.mode-btn.selected { border-color: var(--moon); background: rgba(244, 217, 160, 0.12); box-shadow: 0 0 14px rgba(244,217,160,0.2); }

.length-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin-top: 0; }
.length-row .btn { width: 100%; text-align: center; display: flex; flex-direction: column; gap: 2px; align-items: center; padding: 11px 6px; }
.length-btn .l-time { font-weight: 700; }
.length-btn .l-name { font-size: 0.78rem; font-weight: 400; color: #a9a1cc; font-family: "Nunito", sans-serif; }
.length-btn.active .l-name { color: var(--ink-soft); }

.gate-box { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 20px; flex-wrap: wrap; }
#pin-input {
  font-size: 1.4rem; letter-spacing: 0.4em; text-align: center; width: 150px;
}

.studio-page { margin-top: 14px; }
.studio-page h2 { font-family: "Baloo 2", sans-serif; color: #5d5384; text-align: center; margin: 0 0 14px; }
#studio-text { font-family: "Lora", Georgia, serif; font-size: 1.1rem; line-height: 1.75; }
#studio-text p { margin: 0 0 1em; }

.record-btn {
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: 1.15rem; font-weight: 700;
  padding: 15px 32px; border-radius: 14px; cursor: pointer;
  border: 2px solid #d98a8a; color: #ffe0e0;
  background: linear-gradient(160deg, #a05555, #6d3535); transition: all 0.25s;
}
.record-btn.recording { animation: rec-pulse 1.2s ease-in-out infinite; border-color: #ff9b9b; }
@keyframes rec-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 155, 155, 0.5); }
  50% { box-shadow: 0 0 28px rgba(255, 155, 155, 0.75); }
}
.rec-timer { font-size: 1.25rem; margin-left: 14px; color: #ff9b9b; font-variant-numeric: tabular-nums; }
#preview-row { margin-top: 14px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
#preview { width: 100%; max-width: 420px; }

.tonight-box {
  text-align: center; margin: 26px auto 4px; padding: 22px 18px;
  max-width: 480px; border-radius: 20px;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(244, 217, 160, 0.3);
}
.tonight-status { font-family: "Baloo 2", "Nunito", sans-serif; font-size: 1.15rem; color: var(--moon-bright); margin: 0 0 14px; }

.voice-tag {
  display: inline-block; font-size: 0.8rem; padding: 2px 10px; border-radius: 999px;
  background: rgba(232, 180, 200, 0.18); border: 1px solid rgba(232, 180, 200, 0.4); color: #f0cede;
}

.invite-panel {
  width: 100%; margin-top: 10px; padding: 12px;
  border-radius: 14px; background: rgba(244, 217, 160, 0.08);
  border: 1px dashed rgba(244, 217, 160, 0.4);
}
.invite-row { display: flex; gap: 8px; flex-wrap: wrap; }
.invite-row input { flex: 1; min-width: 180px; font-size: 0.9rem; }
.invite-panel .hint { font-size: 0.88rem; margin: 8px 0 0; }

.story-peek {
  margin-top: 10px; padding: 14px 16px; border-radius: 14px;
  background: rgba(251, 243, 228, 0.06); border: 1px dashed rgba(201, 195, 230, 0.3);
  font-family: "Lora", Georgia, serif; font-size: 0.98rem; line-height: 1.7; color: #d8d3ef;
  max-height: 320px; overflow-y: auto;
}
.story-peek p { margin: 0 0 0.9em; }

/* floating recording bar - follows the parent while they read */
.rec-float {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 80;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px;
  background: rgba(38, 34, 68, 0.95);
  border: 1.5px solid rgba(217, 138, 138, 0.6);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.rec-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #ff6b6b;
  animation: rec-blink 1.1s ease-in-out infinite;
}
.rec-float.paused .rec-dot { animation: none; background: #8a80b0; }
@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.rec-float-time { font-variant-numeric: tabular-nums; color: #ffd9d9; font-size: 1.05rem; min-width: 44px; }

.manage-item .m-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; }

.manage-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.manage-item {
  display: flex; flex-direction: column; align-items: stretch; gap: 4px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,195,230,0.2);
  border-radius: 14px; padding: 10px 14px;
}
.manage-item .m-title { font-family: "Baloo 2", sans-serif; font-weight: 600; font-size: 0.98rem; color: var(--moon-bright); }
.manage-item .m-date { color: #a49cc9; font-size: 0.88rem; }
.manage-item .m-actions { display: flex; gap: 8px; }
.manage-item .m-actions button { font-size: 0.85rem; padding: 6px 13px; }

.status-line { color: var(--moon); min-height: 1.4em; margin-top: 10px; }

/* soft card that groups one step of the create flow */
.step-card {
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(201, 195, 230, 0.14);
  border-radius: 20px; padding: 18px 20px 22px; margin-top: 24px;
}
.step-card .section-heading { margin-top: 0; }

/* collapsed housekeeping area on the studio home */
details.fold { margin-top: 40px; }
details.fold > summary {
  list-style: none; cursor: pointer;
  font-family: "Baloo 2", "Nunito", sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--moon);
  border-bottom: 1px solid rgba(244, 217, 160, 0.25); padding-bottom: 8px;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "▸"; display: inline-block; width: 1.5em; color: var(--sleepy-blue); transition: transform 0.2s; }
details.fold[open] > summary::before { transform: rotate(90deg); }
details.fold .section-heading:first-of-type { margin-top: 20px; }

/* per-story overflow: title breathes, actions appear on demand */
.dots-btn {
  border: 1px solid rgba(201, 195, 230, 0.28); background: rgba(255,255,255,0.04);
  color: #cfc9e8; border-radius: 999px; cursor: pointer;
  width: 36px; height: 36px; font-size: 1.1rem; line-height: 1; flex: none;
}
.dots-btn:hover { border-color: rgba(244, 217, 160, 0.5); color: var(--moon-bright); }
.manage-item .m-actions { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(201,195,230,0.14); flex-wrap: wrap; }
.manage-item.open .m-actions { display: flex; }

/* small inline text action */
.text-link {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--sleepy-blue); font-family: inherit; font-size: 0.92rem; text-decoration: underline;
}
.text-link:hover { color: var(--moon-bright); }

/* ---------- marketing site ---------- */
.screen.site { max-width: 760px; }
.site-hero { text-align: center; padding: 44px 0 10px; }
.site-h1 {
  font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700;
  font-size: clamp(1.9rem, 6.5vw, 3rem); line-height: 1.2;
  color: var(--moon); margin: 14px 0 18px;
}
.site-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 10px; }

.demo-shelf { display: flex; gap: 14px; justify-content: center; align-items: flex-end; margin: 44px auto 8px; max-width: 560px; }
.demo-book {
  flex: 1; min-width: 0; border-radius: 14px; overflow: hidden; text-align: left;
  background: var(--sky-deep); box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  transform: rotate(-1.5deg);
}
.demo-book:nth-child(2) { transform: none; }
.demo-book:nth-child(3) { transform: rotate(1.5deg); }
.demo-book.tonight { border: 2px solid var(--moon); animation: tonight-glow 3.5s ease-in-out infinite; }
.demo-cover {
  display: flex; align-items: center; justify-content: center; height: 84px; font-size: 2.2rem;
  background: linear-gradient(160deg, hsl(var(--h), 32%, 40%), hsl(calc(var(--h) + 40), 34%, 26%));
}
.demo-title {
  display: block; padding: 10px 12px 12px;
  font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 600; font-size: 0.85rem;
  color: var(--moon-bright); line-height: 1.3;
}
.demo-tag { display: block; padding: 0 12px 10px; font-size: 0.75rem; color: #b3abd6; }

.site-section { margin-top: 70px; }
.site-h2 {
  font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 700; text-align: center;
  font-size: clamp(1.4rem, 4.5vw, 1.9rem); color: var(--moon); line-height: 1.3; margin: 0 0 18px;
}
.site-prose { max-width: 34em; margin: 0 auto 14px; font-size: 1.08rem; line-height: 1.7; color: #d8d3ef; }
.site-highlight {
  background: rgba(255,255,255,0.04); border: 1.5px solid rgba(244, 217, 160, 0.25);
  border-radius: 24px; padding: 34px 26px;
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 26px; }
.step { text-align: center; padding: 0 6px; }
.step-emoji { font-size: 2.2rem; }
.step h3 { font-family: "Baloo 2", sans-serif; color: var(--moon-bright); margin: 10px 0 8px; }
.step p { color: #c9c3e6; font-size: 0.98rem; line-height: 1.6; margin: 0; }

.feature-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 20px; }
.feat {
  display: flex; gap: 10px; align-items: center; padding: 12px 16px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,195,230,0.2);
  border-radius: 14px; color: #d8d3ef; font-size: 0.97rem;
}
.feat span { font-size: 1.3rem; }

.faq { max-width: 620px; margin: 0 auto; }
.faq details {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,195,230,0.2);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-family: "Baloo 2", sans-serif; font-weight: 600;
  color: var(--moon-bright); font-size: 1.02rem;
}
.faq p { color: #c9c3e6; line-height: 1.6; margin: 10px 0 2px; }

.waitlist-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 18px auto 8px; }
.waitlist-row input { flex: 1; min-width: 220px; }

.site-footer { text-align: center; margin-top: 80px; }
.site-footer .hint { margin-top: 16px; }

.grownups { text-align: center; margin-top: 60px; }
.grownups a {
  font-size: 0.85rem; color: #7d75a3; text-decoration: none;
  opacity: 0.75; transition: opacity 0.2s;
}
.grownups a:hover { opacity: 1; color: var(--moon); }

@media (max-width: 480px) {
  .books { grid-template-columns: repeat(2, 1fr); }
}
