:root {
  --ink: #162622;
  --muted: #61706c;
  --green: #17342f;
  --green-2: #28554c;
  --gold: #d8a84e;
  --cream: #fffdf8;
  --paper: #f3efe5;
  --night: #202a3a;
  --lavender: #e9e6f3;
  --mist: #eef3f0;
  --line: #dfd4bf;
  --danger: #9f321f;
  --success: #27634a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Focused dream interpretation landing page */
.hidden { display: none !important; }

.dream-home {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(19, 64, 125, .32), transparent 38%),
    linear-gradient(145deg, #03132c 0%, #041a3a 48%, #020e24 100%);
  color: #f8f7ff;
}

.daily-prayer-banner {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 8px clamp(14px, 3vw, 28px);
  background: linear-gradient(90deg, rgba(8, 28, 52, .96), rgba(24, 48, 72, .94));
  border-bottom: 1px solid rgba(216, 168, 78, .35);
}

.daily-prayer-banner.is-hidden {
  display: none;
}

.daily-prayer-banner-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  width: min(920px, 100%);
}

.daily-prayer-banner-copy {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  color: #f4efe4;
  font-size: 13px;
  line-height: 1.35;
}

.daily-prayer-banner-copy strong {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.daily-prayer-banner-copy span {
  color: rgba(244, 239, 228, .78);
  font-weight: 400;
}

.daily-prayer-banner-form input[type="email"] {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 260px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(216, 168, 78, .4);
  border-radius: 8px;
  background: rgba(255, 253, 248, .96);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.daily-prayer-banner-form button {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1a12;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.daily-prayer-banner-form button:disabled {
  opacity: .7;
  cursor: wait;
}

.daily-prayer-thanks {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 10, 24, .55);
}

.daily-prayer-thanks[hidden] {
  display: none;
}

.daily-prayer-thanks-card {
  width: min(360px, 100%);
  padding: 22px 22px 18px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  text-align: center;
}

.daily-prayer-thanks-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--green);
}

.daily-prayer-thanks-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.daily-prayer-thanks-close {
  min-width: 88px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1a12;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dream-home .site-header {
  position: relative;
  min-height: 112px;
  padding: 16px clamp(22px, 4vw, 52px);
  background: rgba(2, 13, 34, .58);
  border-bottom-color: rgba(132, 184, 235, .14);
  backdrop-filter: blur(18px);
}

.dream-home .brand { gap: 16px; }

.dream-home .brand-mark {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(183, 156, 255, .62);
  border-radius: 50%;
}

.brand-copy { display: grid; gap: 5px; }

.dream-home .brand-name {
  color: #fff;
  font-family: Georgia, Times, serif;
  font-size: clamp(22px, 2.3vw, 36px);
  font-weight: 600;
}

.dream-home .brand-tagline {
  color: #6ff5f7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.dream-home .site-header nav a,
.dream-home .nav-link {
  color: #f7f4ff;
  font-size: 16px;
  font-weight: 500;
}

.dream-home .site-header nav a.active {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(168, 232, 255, .45);
}

.dream-home .site-header nav a:hover,
.dream-home .nav-link:hover {
  color: #e8f4ff;
}

.dream-home .nav-signup {
  min-width: 176px;
  padding: 14px 24px !important;
  border: 1px solid rgba(232, 221, 255, .46);
  border-radius: 999px;
  background: linear-gradient(135deg, #a991f2, #d3b9ff);
  color: #0b1633 !important;
  text-align: center;
}

.dream-home-shell {
  width: min(100%, 1040px);
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 26px 26px 38px;
}

.dream-composer-view {
  display: grid;
  justify-items: center;
  text-align: center;
}

.cross-mark {
  display: grid;
  width: 86px;
  height: 86px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(38, 69, 126, .82), rgba(18, 43, 91, .92));
  box-shadow: 0 18px 38px rgba(0, 0, 0, .2);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 66px;
  line-height: 1;
}

.dream-eyebrow {
  margin: 0 0 15px;
  color: #68f2f4;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.dream-composer-view h1,
.dream-result-view h1 {
  max-width: 900px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
}

.dream-intro {
  max-width: 820px;
  margin: 23px auto;
  color: rgba(248, 247, 255, .92);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.scripture-pill {
  width: min(100%, 760px);
  min-height: 60px;
  margin: 2px auto 20px;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid rgba(87, 224, 233, .28);
  border-radius: 999px;
  background: rgba(3, 22, 51, .52);
}

.scripture-pill > span,
.scripture-pill strong { color: #65f0f3; }
.scripture-pill > span { font-size: 24px; }
.scripture-pill i { width: 5px; height: 5px; border-radius: 50%; background: #65f0f3; }
.scripture-pill p { margin: 0; font-size: 16px; }

.dream-composer {
  width: min(100%, 900px);
  padding: 0 26px 16px;
  border: 1px solid rgba(180, 194, 229, .47);
  border-radius: 19px;
  background: rgba(2, 18, 44, .46);
  text-align: left;
}

.dream-composer textarea {
  min-height: 185px;
  padding: 25px 0;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: Georgia, Times, serif;
  font-size: 17px;
  line-height: 1.6;
}

.dream-composer textarea::placeholder { color: rgba(225, 224, 240, .67); }

.composer-footer {
  min-height: 74px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(155, 181, 223, .2);
  color: rgba(238, 236, 249, .78);
}

.composer-footer button,
.subscribe-cta {
  min-width: 285px;
  min-height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, #aa91f0, #d6bbff);
  color: #0a1632;
  font-size: 17px;
}

.composer-footer button b { margin-left: 24px; font-size: 28px; font-weight: 400; }
.dream-form-error { min-height: 18px; margin: 8px 0 0; color: #ffb9c1; font-size: 14px; text-align: center; }
.dream-form-notice { margin: 8px 0 0; color: #c7f7f8; font-size: 14px; text-align: center; }
.dream-trust { margin: 23px 0 0; color: #f8f7ff; font-size: 16px; }
.dream-trust span { margin-right: 10px; color: #68f2f4; font-size: 26px; }
.dream-disclaimer { margin: 7px 0 0; color: rgba(225, 225, 241, .7); font-size: 13px; }

.history-button {
  position: relative;
  z-index: 18;
  top: auto;
  left: auto;
  width: 54px;
  min-height: 54px;
  margin: 16px 0 -40px 28px;
  padding: 0;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(169, 202, 234, .36);
  border-radius: 50%;
  background: rgba(3, 21, 48, .72);
}

.history-button span { width: 20px; height: 2px; margin: 0 auto; background: #f2f1fa; }

.history-panel {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: min(390px, 88vw);
  padding: 24px;
  transform: translateX(-102%);
  transition: transform .25s ease;
  background: #061831;
  border-right: 1px solid rgba(112, 238, 241, .24);
  box-shadow: 24px 0 60px rgba(0, 0, 0, .38);
}

.history-panel.open { transform: translateX(0); }
.history-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(130, 174, 217, .2); }
.history-head h2 { color: #fff; font-size: 28px; }

.history-head button,
.dialog-close {
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 28px;
}

.history-list { margin-top: 16px; display: grid; gap: 10px; }
.history-item { padding: 15px; display: grid; gap: 7px; border: 1px solid rgba(137, 177, 219, .19); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #f6f5fb; text-decoration: none; }
.history-item span, .history-empty, .history-auth p { color: rgba(225, 229, 242, .65); font-size: 13px; }

.history-scrim {
  position: fixed;
  z-index: 55;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease;
  background: rgba(0, 5, 18, .68);
}

.history-scrim.show { visibility: visible; opacity: 1; }
.dream-result-view { padding: 34px 0 70px; }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.result-new-dream { flex: 0 0 auto; border: 1px solid rgba(141, 219, 232, .35); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; }

.preview-card {
  position: relative;
  min-height: 350px;
  padding: 34px 38px 90px;
  overflow: hidden;
  border: 1px solid rgba(166, 191, 226, .38);
  border-radius: 20px;
  background: rgba(4, 25, 57, .72);
}

.preview-copy { color: rgba(250, 249, 255, .94); font-family: Georgia, Times, serif; font-size: 19px; line-height: 1.85; white-space: pre-wrap; }
.preview-fade { position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(180deg, transparent, #061b3b 82%); pointer-events: none; }

.preview-paywall {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin: -60px auto 0;
  padding: 28px;
  border: 1px solid rgba(190, 176, 255, .42);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(14, 35, 77, .98), rgba(8, 26, 58, .98));
  text-align: center;
}

.preview-paywall h2 { color: #fff; font-size: clamp(27px, 4vw, 38px); }
.preview-paywall > p:not(.dream-eyebrow) { max-width: 590px; margin: 15px auto 22px; color: rgba(235, 235, 247, .76); line-height: 1.65; }

.dream-loading {
  position: fixed;
  z-index: 80;
  inset: 0;
  padding: 30px;
  display: grid;
  place-content: center;
  background: rgba(2, 13, 35, .96);
  text-align: center;
}

.dream-loading h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.dream-loading p { color: #9ceef1; }

.dream-spinner {
  width: 68px;
  height: 68px;
  margin: 0 auto 25px;
  border: 4px solid rgba(148, 139, 214, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: dream-spin .9s linear infinite;
}

@keyframes dream-spin { to { transform: rotate(360deg); } }

.subscribe-dialog-root {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  place-items: center;
  padding: 15px;
}

.subscribe-dialog-root.is-open {
  display: grid;
}

.subscribe-dialog-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 6, 20, .78);
  backdrop-filter: blur(7px);
}

body.subscribe-dialog-open {
  overflow: hidden;
}

.subscribe-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 30px));
  max-width: calc(100vw - 30px);
  padding: 34px;
  border: 1px solid rgba(187, 173, 255, .5);
  border-radius: 22px;
  background: #071a38;
  color: #fff;
  overflow-x: hidden;
}

.subscribe-dialog h2 { margin-bottom: 22px; color: #fff; }
.subscribe-dialog .dialog-close { position: absolute; top: 16px; right: 16px; }
.checkout-account-fields { display: grid; gap: 14px; margin-bottom: 18px; }
.checkout-account-fields label { display: grid; gap: 7px; color: #e9e7f4; font-size: 13px; font-weight: 700; }
.checkout-account-fields input {
  border-color: rgba(174, 194, 228, .4);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 13px 14px;
  caret-color: #fff;
}
.checkout-account-fields input:-webkit-autofill,
.checkout-account-fields input:-webkit-autofill:hover,
.checkout-account-fields input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  border-color: rgba(174, 194, 228, .4);
  box-shadow: 0 0 0 1000px #1a3358 inset;
  transition: background-color 99999s ease-out 0s;
}
.checkout-account-fields p, .checkout-note { margin: 0; color: rgba(225, 227, 241, .65); font-size: 12px; }

.checkout-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.checkout-plans label { position: relative; cursor: pointer; }
.checkout-plans input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.checkout-plans span { min-height: 110px; padding: 20px; display: grid; align-content: center; gap: 8px; border: 1px solid rgba(160, 183, 224, .35); border-radius: 15px; background: rgba(255, 255, 255, .04); text-align: center; }
.checkout-plans input:checked + span { border-color: #bba6fb; background: rgba(168, 143, 238, .15); box-shadow: inset 0 0 0 1px #bba6fb; }
.checkout-plans small { color: rgba(229, 228, 240, .68); }
.checkout-plans-single { grid-template-columns: 1fr; }
.checkout-plan-summary { display: grid; gap: 6px; text-align: center; }
.subscribe-dialog .subscribe-cta { width: 100%; min-width: 0; max-width: 100%; }

.app-store-limit-root {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  place-items: center;
  padding: 15px;
}

.app-store-limit-root.is-open {
  display: grid;
}

.app-store-limit-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 6, 20, .78);
  backdrop-filter: blur(7px);
}

body.app-store-limit-open {
  overflow: hidden;
}

.app-store-limit-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 28px 24px 26px;
  border: 1px solid rgba(160, 183, 224, .35);
  border-radius: 18px;
  background: linear-gradient(165deg, #122a4a 0%, #0a1a33 100%);
  color: #eef2f8;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.app-store-limit-dialog h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.25;
}

.app-store-limit-dialog p {
  margin: 0 0 18px;
  color: rgba(225, 227, 241, .78);
  font-size: 15px;
  line-height: 1.55;
}

.app-store-limit-dialog .dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.app-store-limit-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 16px;
}

.app-store-limit-badge {
  display: inline-block;
  line-height: 0;
}

.app-store-limit-badge img {
  width: 140px;
  height: auto;
}

.dream-weekly-limit-panel {
  margin-top: 18px;
  padding: 22px 20px 24px;
  border: 1px solid rgba(160, 183, 224, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  text-align: center;
}

.dream-weekly-limit-panel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 4vw, 32px);
}

.dream-weekly-limit-panel p {
  margin: 0 0 16px;
  color: rgba(225, 227, 241, .78);
  line-height: 1.55;
}

.dream-week-remaining {
  margin-top: 12px;
  color: rgba(218, 224, 239, .7);
  font-size: 13px;
  text-align: center;
}

.app-store-locked-panel {
  text-align: center;
}

.app-store-locked-panel .app-store-limit-icon {
  margin-top: 8px;
}

.dream-footer { padding: 18px; border-top: 1px solid rgba(125, 172, 219, .15); color: rgba(218, 224, 239, .55); font-size: 12px; letter-spacing: 1.3px; text-align: center; text-transform: uppercase; }
.payment-confirmation { min-height: calc(100vh - 90px); padding: 50px 20px; display: grid; place-items: center; background: #061831; color: #fff; text-align: center; }
.payment-confirmation section { max-width: 680px; }
.payment-confirmation h1 { font-size: clamp(38px, 6vw, 64px); }
.payment-confirmation p:not(.eyebrow) { color: rgba(231, 234, 244, .72); line-height: 1.65; }

.interpretation-preview { position: relative; max-height: 280px; overflow: hidden; }
.interpretation-preview::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(transparent, #fffdf8); }
.interpretation-copy p, .deliverance-introduction p { line-height: 1.75; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 760px) {
  .daily-prayer-banner { padding: 10px 12px; }
  .daily-prayer-banner-form { gap: 8px; }
  .daily-prayer-banner-form input[type="email"] { flex: 1 1 100%; max-width: none; }
  .daily-prayer-banner-form button { width: 100%; }
  .dream-home .site-header { min-height: 86px; padding: 12px 16px; }
  .dream-home .brand-mark { width: 52px; height: 52px; }
  .dream-home .brand-name { font-size: 19px; }
  .dream-home .brand-tagline { font-size: 9px; letter-spacing: 1.7px; }
  .dream-home .site-header nav { gap: 2px; }
  .dream-home .site-header nav a, .dream-home .nav-link { padding: 8px; font-size: 13px; }
  .dream-home .nav-signup { min-width: 0; padding: 10px 13px !important; }
  .history-button { margin: 14px 0 -44px 16px; }
  .dream-home-shell { min-height: auto; padding: 18px 16px 34px; }
  .cross-mark { width: 67px; height: 67px; font-size: 52px; }
  .dream-composer-view h1, .dream-result-view h1 { font-size: 40px; }
  .dream-intro { font-size: 16px; }
  .scripture-pill { padding: 12px 16px; flex-wrap: wrap; gap: 8px 11px; border-radius: 18px; }
  .scripture-pill p { width: 100%; font-size: 13px; }
  .scripture-pill i { display: none; }
  .dream-composer { padding: 0 18px 16px; }
  .dream-composer textarea { min-height: 220px; }
  .composer-footer { align-items: stretch; flex-direction: column; }
  .composer-footer button, .subscribe-cta { width: 100%; min-width: 0; }
  .result-heading { align-items: flex-start; flex-direction: column; }
  .preview-card { padding: 25px 22px 80px; }
  .preview-copy { font-size: 17px; }
  .preview-paywall { width: calc(100% - 16px); padding: 23px 18px; }
  .checkout-plans { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .dream-spinner { animation-duration: 2s; }
  .history-panel, .history-scrim { transition: none; }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(223, 212, 191, 0.9);
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
}

.brand-name {
  font-weight: 800;
}

.brand-tagline {
  color: #8b9692;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--green);
  color: var(--gold);
  border: 1px solid rgba(216, 168, 78, 0.45);
  font-size: 12px;
  letter-spacing: 1px;
}

.site-header nav a {
  padding: 9px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-form {
  margin: 0;
}

.nav-link {
  min-height: auto;
  padding: 9px 10px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-signup {
  background: var(--gold);
  color: #15231f !important;
}

.site-header nav a.active,
.site-header nav a:hover,
.nav-link:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  align-items: center;
  overflow: hidden;
  background: var(--green);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 35, 31, .93), rgba(16, 35, 31, .66), rgba(16, 35, 31, .2)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  padding: 72px clamp(20px, 6vw, 84px);
  color: white;
}

.hero-scripture {
  position: relative;
  max-width: 520px;
  justify-self: center;
  padding: 36px;
  color: white;
  text-align: center;
}

.hero-scripture p {
  margin: 0;
  font-family: Georgia, Times, serif;
  font-size: clamp(24px, 3vw, 38px);
  font-style: italic;
  line-height: 1.35;
}

.hero-scripture span {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  cursor: default;
}

h1 {
  max-width: 720px;
  font-family: Georgia, Times, serif;
  font-size: clamp(46px, 8vw, 84px);
}

.home h1 {
  max-width: 780px;
  font-size: clamp(40px, 5vw, 64px);
}

h2 {
  font-family: Georgia, Times, serif;
  font-size: clamp(32px, 4vw, 48px);
}

h3 {
  font-size: 20px;
}

h1 a,
h2 a,
h3 a {
  cursor: pointer;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
  line-height: 1.6;
}

.home .hero-copy {
  max-width: 680px;
}

.home .hero .button {
  padding-right: 12px;
  padding-left: 12px;
}

.signup-panel,
.work-form,
.panel,
.quote-card {
  background: rgba(255, 253, 248, .96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(23, 52, 47, .12);
}

.signup-panel {
  max-width: 610px;
  padding: 18px;
}

.signup-panel label,
.work-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 10px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cdbf9f;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

textarea {
  resize: vertical;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  background: var(--gold);
  color: #15231f;
  padding: 0 20px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover {
  filter: brightness(.96);
}

button.ghost {
  background: transparent;
  border: 1px solid var(--line);
}

.ghost-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--green);
}

.ghost-light {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
}

.danger-button {
  color: var(--danger);
}

button.small {
  min-height: 36px;
  padding: 0 12px;
}

.form-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.section,
.split,
.form-section,
.admin {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px clamp(18px, 4vw, 40px);
}

.band {
  max-width: none;
  background: var(--paper);
}

.grid-3 {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 72px .72fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.feature div {
  width: 52px;
  height: 2px;
  background: var(--gold);
}

.feature p {
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

.discernment-section {
  margin-top: clamp(28px, 4vw, 56px);
  padding: 84px 0;
  background: var(--cream);
}

.discernment-inner,
.offer-inner,
.newsletter-inner {
  display: grid;
  align-items: start;
}

.discernment-inner {
  grid-template-columns: .72fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-top: clamp(26px, 4vw, 40px);
  padding-bottom: clamp(26px, 4vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-copy {
  max-width: 720px;
}

.section-copy p,
.faq-item p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-copy .eyebrow,
.section-kicker .eyebrow {
  margin-top: 0;
}

.trust-note {
  margin-top: 24px !important;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--mist);
  color: var(--green) !important;
  font-weight: 800;
}

.interpret-offer {
  padding: 92px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-inner {
  grid-template-columns: minmax(0, .95fr) minmax(320px, .82fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.offer-inner > div:first-child p {
  font-size: 18px;
}

.offer-list {
  display: grid;
  gap: 16px;
}

.offer-list article {
  padding: 24px;
  background: rgba(255, 253, 248, .96);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(23, 52, 47, .08);
}

.offer-list h3 {
  margin-bottom: 8px;
  color: var(--green);
  cursor: default;
}

.offer-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-journal {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 36px;
  align-items: center;
}

.home-journal-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.home-journal-preview {
  min-height: 360px;
  padding: 38px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(32,42,58,.08), rgba(32,42,58,.9)),
    url("https://images.unsplash.com/photo-1534447677768-be436bb09401?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: white;
  box-shadow: 0 24px 60px rgba(32, 42, 58, .22);
}

.home-journal-preview h3 {
  font-family: Georgia, Times, serif;
  font-size: 30px;
  line-height: 1.22;
}

.home-journal-preview p {
  color: rgba(255, 255, 255, .86);
  line-height: 1.65;
}

.interpret-banner {
  padding: 54px clamp(18px, 6vw, 78px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background:
    linear-gradient(90deg, rgba(23,52,47,.96), rgba(23,52,47,.86)),
    url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
  border-top: 8px solid var(--gold);
  border-bottom: 1px solid rgba(216, 168, 78, .55);
}

.interpret-banner div {
  max-width: 760px;
}

.interpret-banner p {
  color: rgba(255, 255, 255, .84);
  line-height: 1.7;
}

.guide-section {
  padding: 76px clamp(18px, 4vw, 40px);
  background: var(--paper);
}

.guide-heading,
.guide-list {
  max-width: 1180px;
  margin: 0 auto;
}

.guide-heading {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.guide-list {
  border-top: 1px solid var(--line);
}

.newsletter-section {
  padding: 76px 0;
  background: var(--cream);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, .78fr);
  gap: 34px;
  align-items: center;
}

.newsletter-section .signup-panel {
  max-width: none;
}

.faq-section {
  padding: 76px 0;
  background: var(--mist);
}

.faq-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
  background: rgba(255, 253, 248, .96);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(23, 52, 47, .07);
}

.faq-item summary {
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}

.faq-item p {
  margin-bottom: 0;
}

.feature p,
.split p,
.page-hero p,
.panel p,
.form-section p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 38px;
  align-items: center;
}

.quote-card {
  padding: 40px;
  font-family: Georgia, Times, serif;
  font-size: 28px;
  line-height: 1.35;
  color: var(--green);
}

.page-hero {
  padding: 92px clamp(18px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(23,52,47,.92), rgba(23,52,47,.64)),
    url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
}

.journal-hero {
  background:
    linear-gradient(90deg, rgba(32,42,58,.94), rgba(32,42,58,.72), rgba(32,42,58,.34)),
    url("https://images.unsplash.com/photo-1493246507139-91e8fad9978e?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.dream-interpret-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 28px;
  align-items: center;
}

.page-scripture {
  justify-self: center;
}

.interpret-benefits {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.interpret-benefits article {
  padding-top: 18px;
  border-top: 2px solid var(--gold);
}

.interpret-benefits p {
  color: var(--muted);
  line-height: 1.7;
}

.journal-promo-hero {
  min-height: 620px;
  padding: 76px clamp(18px, 6vw, 78px);
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 40px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(32,42,58,.94), rgba(32,42,58,.7), rgba(32,42,58,.28)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
}

.journal-promo-copy {
  max-width: 760px;
}

.journal-promo-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
  line-height: 1.7;
}

.journal-promo-panel {
  padding: 34px;
  background: rgba(255, 253, 248, .94);
  color: var(--night);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 28px 70px rgba(8, 13, 20, .26);
}

.journal-promo-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.journal-benefits {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.journal-benefits article {
  padding: 28px 0;
  border-top: 2px solid var(--gold);
}

.journal-benefits span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.journal-benefits p,
.journal-premium-strip p {
  color: var(--muted);
  line-height: 1.7;
}

.journal-premium-strip {
  margin: 0 auto 72px;
  max-width: 1180px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--night);
  color: white;
}

.journal-premium-strip p {
  color: rgba(255, 255, 255, .78);
}

.page-hero > div {
  max-width: 760px;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
}

.form-section.narrow {
  max-width: 760px;
}

.contact-email-image {
  display: inline-block;
  max-height: 2.1em;
  width: auto;
  vertical-align: middle;
}

.form-section ul {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.form-section li + li {
  margin-top: 0.65rem;
}

.work-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

fieldset {
  border: 1px solid var(--line);
  padding: 18px;
}

legend {
  padding: 0 8px;
  font-weight: 900;
  color: var(--green);
}

.alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--danger);
  background: #fff3ef;
  color: var(--danger);
  font-weight: 800;
}

.alert.success {
  border-left-color: var(--success);
  background: #effaf4;
  color: var(--success);
}

.auth-switch {
  margin: 0;
  color: var(--muted);
}

.notice-card {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  color: var(--green);
  font-weight: 800;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: auto;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.4;
}

.checkbox-row input {
  width: auto;
  margin-top: 3px;
}

.admin {
  max-width: 1320px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.metrics,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.admin-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.admin-health-list {
  margin: 0 0 12px;
  padding-left: 1.2em;
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-health-list li {
  margin: 0.25em 0;
}

.admin-grid .panel h2 {
  margin-top: 0;
}

.admin code {
  font-size: 0.92em;
}

.metric,
.panel {
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(23, 52, 47, .08);
}

.metric strong {
  display: block;
  font-size: 30px;
  color: var(--green);
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel {
  margin-bottom: 18px;
}

.hint {
  margin: 0;
  font-size: 13px;
}

.email-preview {
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--line);
  background: #fff;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.footer {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: var(--paper);
}

.journal-page {
  background:
    linear-gradient(180deg, rgba(233,230,243,.62), rgba(255,253,248,.92) 360px),
    var(--cream);
}

.journal-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px clamp(18px, 4vw, 40px) 72px;
}

.journal-top,
.entry-header,
.interpret-panel,
.form-actions,
.journal-filter form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.journal-top {
  margin-bottom: 24px;
}

.journal-top h1,
.entry-header h1,
.section-title h1 {
  color: var(--night);
}

.journal-top p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.journal-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.journal-filter {
  margin-bottom: 22px;
}

.journal-filter label {
  flex: 1;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.type-chooser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px;
}

.type-option {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.type-option input {
  width: auto;
}

.dream-option {
  background: #f7f3ff;
  border-color: #d9d0ec;
}

.note-option {
  background: #fff8e8;
  border-color: #ead49b;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.entry-card,
.empty-state,
.upgrade-card,
.referral-card,
.dream-paper {
  background: rgba(255, 253, 248, .97);
  border: 1px solid rgba(111, 116, 142, .22);
  box-shadow: 0 18px 45px rgba(32, 42, 58, .09);
}

.entry-card {
  min-height: 220px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.entry-card-dream {
  background: #fbf8ff;
  border-color: #ded4ee;
}

.entry-card-note {
  background: #fffaf0;
  border-color: #ead8a6;
}

.entry-card h3 a {
  color: var(--night);
  text-decoration: none;
}

.entry-card p,
.empty-state p,
.upgrade-card p,
.dream-paper p,
.interpret-panel p,
.interpretation p,
.interpretation li {
  color: var(--muted);
  line-height: 1.7;
}

.entry-date {
  margin: 0 0 8px;
  color: #767b91;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 9px;
  background: var(--lavender);
  color: var(--night);
  font-size: 12px;
  font-weight: 900;
}

.empty-state,
.upgrade-card {
  padding: 28px;
}

.referral-card {
  margin-bottom: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, .7fr);
  gap: 18px;
  align-items: center;
}

.referral-card.used {
  opacity: .78;
}

.referral-card p {
  color: var(--muted);
  line-height: 1.65;
}

.referral-card input {
  font-weight: 800;
}

.upgrade-card.large {
  padding: 34px;
}

.journal-editor {
  max-width: 900px;
}

.section-title {
  margin-bottom: 18px;
}

.dream-textarea {
  min-height: 360px;
  line-height: 1.7;
}

.entry-view {
  max-width: 980px;
}

.entry-header {
  margin-bottom: 20px;
}

.page-motif {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
}

.dream-motif {
  background:
    linear-gradient(135deg, rgba(247,243,255,.98), rgba(255,253,248,.94));
  border-color: #dcd0ef;
}

.note-motif {
  background:
    linear-gradient(135deg, rgba(255,248,232,.98), rgba(255,253,248,.94));
  border-color: #ead49b;
}

.motif-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  color: var(--night);
  font-size: 24px;
  box-shadow: 0 12px 28px rgba(32, 42, 58, .08);
}

.entry-view-dream .dream-paper {
  background: #fbf8ff;
  border-color: #ded4ee;
}

.entry-view-note .dream-paper {
  background: #fffaf0;
  border-color: #ead8a6;
}

.entry-actions {
  display: flex;
  gap: 10px;
}

.dream-paper {
  padding: clamp(24px, 5vw, 52px);
  margin-bottom: 18px;
  font-family: Georgia, Times, serif;
  font-size: 20px;
}

.interpret-panel {
  margin-bottom: 18px;
}

.interpret-panel form {
  min-width: 240px;
}

.interpretation h3 {
  margin-top: 18px;
}

.inline-danger {
  margin-top: 12px;
}

.dashboard-page {
  min-height: 100vh;
}

.dashboard-page.dream-home {
  background:
    radial-gradient(circle at 50% 28%, rgba(19, 64, 125, .32), transparent 38%),
    linear-gradient(145deg, #03132c 0%, #041a3a 48%, #020e24 100%);
  color: #f8f7ff;
}

.dashboard-page.dream-home .site-header {
  background: rgba(2, 13, 34, .58);
  border-bottom-color: rgba(132, 184, 235, .14);
}

.dashboard-menu-button {
  display: none;
  position: fixed;
  top: 92px;
  left: 16px;
  z-index: 40;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(183, 156, 255, .35);
  border-radius: 12px;
  background: rgba(8, 22, 52, .88);
  cursor: pointer;
}

.dashboard-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #f2f1fa;
}

.dashboard-scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(2, 8, 20, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.dashboard-scrim.show {
  opacity: 1;
  pointer-events: auto;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.dashboard-sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  min-height: calc(100vh - 76px);
  max-height: calc(100vh - 76px);
  padding: 22px 16px;
  background: rgba(4, 18, 42, .92);
  border-right: 1px solid rgba(132, 184, 235, .16);
  backdrop-filter: blur(16px);
}

.dashboard-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-sidebar-close {
  display: none;
  border: 0;
  background: transparent;
  color: #f8f7ff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dashboard-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #a991f2, #d3b9ff);
  color: #0b1633;
  text-decoration: none;
  font-weight: 900;
  border-radius: 12px;
}

.dashboard-nav {
  display: grid;
  gap: 6px;
}

.dashboard-nav-link {
  padding: 10px 12px;
  color: #e8e4ff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.is-active {
  background: rgba(169, 145, 242, .18);
  color: #fff;
}

.dashboard-sidebar-history {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.dashboard-sidebar-label {
  margin: 0;
  color: #8fd6ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dashboard-history-list {
  overflow-y: auto;
  display: grid;
  gap: 6px;
  padding-right: 4px;
}

.dashboard-history-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(132, 184, 235, .14);
  border-radius: 10px;
  background: rgba(8, 24, 54, .55);
  color: #f4f2ff;
  text-decoration: none;
}

.dashboard-history-item strong {
  font-size: 13px;
  line-height: 1.35;
}

.dashboard-history-item span {
  color: #9eb4d8;
  font-size: 11px;
}

.dashboard-history-item.is-active {
  border-color: rgba(211, 185, 255, .55);
  background: rgba(169, 145, 242, .22);
}

.dashboard-history-empty {
  color: #9eb4d8;
  font-size: 13px;
  line-height: 1.5;
}

.remaining-count {
  margin-top: auto;
  padding: 14px;
  background: rgba(8, 24, 54, .7);
  border: 1px solid rgba(132, 184, 235, .18);
  border-radius: 12px;
  font-size: 11px;
}

.remaining-count strong {
  display: block;
  color: #6ff5f7;
  font-size: 28px;
}

.remaining-count span {
  color: #9eb4d8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.remaining-count .remaining-renewal {
  display: block;
  margin-top: 8px;
  color: #9eb4d8;
  font-size: 0.5em;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.dashboard-main {
  min-width: 0;
  padding: 34px clamp(18px, 4vw, 48px) 72px;
}

.dashboard-dream-composer.dream-composer-view {
  display: flex;
  flex-direction: column;
}

.dashboard-dream-composer {
  width: min(100%, 1100px);
  max-width: none;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
  align-content: stretch;
  text-align: center;
}

.dashboard-dream-composer .dashboard-dream-intro {
  margin-bottom: 16px;
}

.dashboard-dream-composer .dream-composer {
  width: 100%;
  max-width: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: min(62vh, 640px);
}

.dashboard-dream-composer .dream-composer textarea {
  flex: 1;
  min-height: min(48vh, 520px);
}

.dashboard-thread-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.dashboard-thread-actions {
  max-width: 820px;
  margin: 18px auto 0;
  text-align: center;
}

.dashboard-billing {
  max-width: 960px;
  margin: 0 auto;
}

.dashboard-billing h1 {
  color: #fff;
  font-family: Georgia, Times, serif;
}

.billing-notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(132, 184, 235, .22);
  border-radius: 12px;
  background: rgba(8, 24, 54, .55);
}

.billing-cancel-form {
  margin: 0 0 18px;
}

.dashboard-page .pricing-card {
  background: rgba(8, 24, 54, .72);
  border-color: rgba(132, 184, 235, .2);
  color: #f4f2ff;
}

.dashboard-page .pricing-card h3 {
  color: #fff;
}

.dashboard-page .hint {
  color: #9eb4d8;
}

.dashboard-page .alert.success {
  background: rgba(39, 99, 74, .35);
  border-color: rgba(111, 245, 247, .25);
  color: #eafff6;
}

.dashboard-hero,
.dashboard-section {
  max-width: 1120px;
  margin: 0 auto 26px;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.dashboard-hero h1,
.dashboard-section h2 {
  color: var(--night);
}

.dashboard-hero p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.dream-thread {
  margin-bottom: 18px;
  padding: 20px;
  background: rgba(8, 24, 54, .55);
  border: 1px solid rgba(132, 184, 235, .18);
  border-radius: 16px;
}

.thread-meta,
.message-row {
  display: flex;
}

.thread-meta {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.thread-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.message-row {
  margin: 12px 0;
}

.message-row.ai {
  justify-content: flex-start;
}

.message-row.user {
  justify-content: flex-end;
}

.bubble {
  max-width: min(760px, 82%);
  padding: 16px 18px;
  line-height: 1.68;
}

.bubble strong {
  display: block;
  margin-bottom: 8px;
  color: var(--night);
}

.ai-bubble {
  background: #eef3f0;
  color: #24332f;
  border: 1px solid #d9e2dd;
}

.user-bubble {
  background: #f7f3ff;
  color: #2f2b3f;
  border: 1px solid #ded4ee;
}

.dashboard-page .thread-meta span {
  color: #9eb4d8;
}

.dashboard-page .bubble strong {
  color: #f4f2ff;
}

.dashboard-page .ai-bubble {
  background: rgba(14, 36, 68, .92);
  color: #eef4ff;
  border-color: rgba(132, 184, 235, .24);
}

.dashboard-page .user-bubble {
  background: rgba(169, 145, 242, .22);
  color: #f8f6ff;
  border-color: rgba(211, 185, 255, .35);
}

.locked-response {
  position: relative;
  min-height: 260px;
  margin-top: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(23,52,47,.95), rgba(23,52,47,.88));
  color: #fffdf8;
}

.locked-lines {
  display: grid;
  gap: 14px;
  padding: 26px;
  opacity: .35;
  filter: blur(2px);
}

.locked-lines span {
  display: block;
  height: 18px;
  background: rgba(255, 255, 255, .8);
}

.locked-lines span:nth-child(2) {
  width: 82%;
}

.locked-lines span:nth-child(3) {
  width: 64%;
}

.subscribe-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}

.subscribe-panel h3,
.subscribe-panel p {
  max-width: 460px;
  margin: 0 auto;
}

.subscribe-panel p {
  color: #e8dfcc;
}

.mini-pricing {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-pricing span {
  padding: 6px 10px;
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
}

.full-response {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 52, 47, .18);
}

.prayer-point {
  margin-bottom: 12px;
  padding: 14px 16px;
  background: #fff8e8;
  border-left: 4px solid var(--gold);
}

.prayer-point p {
  margin: 0 0 8px;
}

.prayer-point span {
  display: block;
  color: #6d6047;
  line-height: 1.55;
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.dashboard-list-item {
  display: block;
  padding: 16px;
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--night);
  text-decoration: none;
}

.dashboard-list-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-list-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  padding: 24px;
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(23, 52, 47, .08);
}

.pricing-card.active {
  border-color: var(--gold);
}

.pricing-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 8px 0;
  color: var(--night);
  font-size: 34px;
}

.inline-admin-form {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 6px;
  align-items: center;
  margin: 2px;
}

.refund-form input {
  width: 96px;
  padding: 8px;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .signup-row,
  .hero,
  .grid-3,
  .split,
  .home-journal,
  .discernment-inner,
  .offer-inner,
  .newsletter-inner,
  .faq-grid,
  .guide-heading,
  .admin-grid,
  .metrics,
  .dream-interpret-hero,
  .interpret-benefits,
  .journal-promo-hero,
  .journal-benefits,
  .type-chooser,
  .journal-metrics,
  .entry-grid,
  .referral-card,
  .feature {
    grid-template-columns: 1fr;
  }

  .journal-top,
  .entry-header,
  .interpret-panel,
  .form-actions,
  .journal-filter form,
  .interpret-banner,
  .journal-premium-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .home-journal,
  .discernment-section,
  .interpret-offer,
  .newsletter-section,
  .faq-section,
  .journal-promo-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-inner {
    padding-right: clamp(18px, 5vw, 28px);
    padding-left: clamp(18px, 5vw, 28px);
  }

  .home-journal-preview {
    min-height: 300px;
  }

  .entry-actions {
    width: 100%;
  }

  .entry-actions .button,
  .form-actions .button,
  .form-actions button {
    width: 100%;
  }

  .dashboard-shell,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-menu-button {
    display: block;
  }

  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: min(88vw, 320px);
    min-height: 100vh;
    max-height: 100vh;
    transform: translateX(-105%);
    transition: transform .24s ease;
    border-right: 1px solid rgba(132, 184, 235, .16);
    border-bottom: 0;
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-sidebar-close {
    display: block;
  }

  .dashboard-main {
    padding-top: 72px;
  }

  .dashboard-hero,
  .thread-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .bubble {
    max-width: 100%;
  }

  .hero {
    min-height: 720px;
  }

  .hero-scripture {
    padding: 0 24px 48px;
  }
}
