:root {
  --cream: #faf5ea;
  --cream-soft: #f4ecdb;
  --paper: #fffdf8;
  --gold: #b8934a;
  --gold-deep: #9a7734;
  --gold-soft: #d8c08a;
  --ink: #2c2620;
  --ink-soft: #6a6152;
  --ink-faint: #8b8474;
  --line: rgba(120, 96, 46, 0.16);
  --plum: #6d3f79;
  --radius: 14px;
  --shadow-sm: 0 6px 20px rgba(74, 58, 24, 0.10);
  --shadow-lg: 0 24px 60px rgba(74, 58, 24, 0.20);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Topbar ---------- */
.topbar {
  padding: 18px 0;
  background: rgba(250, 245, 234, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(74, 58, 24, 0.18);
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-by {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.topbar-cta {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-deep);
  padding: 9px 18px;
  border: 1.5px solid var(--gold-soft);
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.topbar-cta:hover {
  background: var(--cream-soft);
  border-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 80px;
  background:
    radial-gradient(1100px 520px at 50% -12%, rgba(255, 248, 228, 0.95) 0%, rgba(250, 245, 234, 0) 62%),
    linear-gradient(180deg, #fbf6ec 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
  color: var(--ink);
}
.lede {
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 30px;
  max-width: 34em;
}

/* ---------- Opt-in form ---------- */
.opt-in-form { max-width: 520px; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.field-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.field-row input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 16px 18px;
  font-size: 16px;
  font-family: var(--sans);
  border: 1.5px solid rgba(120, 96, 46, 0.28);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field-row input[type="email"]::placeholder { color: var(--ink-faint); }
.field-row input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 74, 0.20);
}
#submit-btn {
  flex: 0 0 auto;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--sans);
  color: #2a2013;
  background: linear-gradient(180deg, #d3b264 0%, var(--gold) 55%, var(--gold-deep) 100%);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease, filter 0.15s ease;
}
#submit-btn:hover { filter: brightness(1.05); }
#submit-btn:active { transform: scale(0.98); }
#submit-btn:disabled { opacity: 0.65; cursor: default; }

.form-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-faint);
  max-width: 42em;
}
.form-success, .form-error {
  max-width: 520px;
  margin: 20px 0 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.55;
}
.form-success {
  background: rgba(184, 147, 74, 0.12);
  color: #6a4f1c;
  border: 1px solid rgba(184, 147, 74, 0.32);
}
.form-success p { margin: 0; }
.success-btn { margin-top: 14px; }
.form-error {
  background: rgba(170, 60, 50, 0.08);
  color: #8a2a2a;
  border: 1px solid rgba(170, 60, 50, 0.25);
}
.hero-trust {
  margin: 26px 0 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

/* ---------- Hero art ---------- */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(closest-side, rgba(255, 240, 205, 0.9), rgba(255, 240, 205, 0) 72%);
  z-index: 0;
}
.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: block;
}

/* ---------- Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  font-size: 15px;
  margin: 6px 0 40px;
}
.divider span {
  display: block;
  height: 1px;
  width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.divider span:last-child {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

/* ---------- Journey (7-day preview) ---------- */
.journey {
  padding: 30px 0 66px;
  background: var(--cream);
  text-align: center;
}
.journey-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--ink);
  margin: 0 0 10px;
}
.journey-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 auto 40px;
  max-width: 40em;
}
.journey-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
}
.jd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.jd img {
  width: 78px;
  height: 78px;
  display: block;
}
.jd-day {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
}
.jd-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.18;
}

/* ---------- Listen (delivery) page ---------- */
.listen-hero {
  text-align: center;
  padding: 54px 0 38px;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(255, 248, 228, 0.9), rgba(250, 245, 234, 0) 60%),
    linear-gradient(180deg, #fbf6ec, var(--cream));
}
.listen-hero-inner { max-width: 640px; }
.listen-cover {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto 22px;
  display: block;
}
.listen-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 46px);
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.08;
}
.listen-lede {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0;
}
.listen-tip {
  display: inline-block;
  margin: 22px 0 0;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--gold-deep);
  background: rgba(184, 147, 74, 0.10);
  border: 1px solid rgba(184, 147, 74, 0.28);
  border-radius: 999px;
}
.sessions { padding: 22px 0 36px; background: var(--cream); }
.sessions-wrap { max-width: 780px; }
.session {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.session-icon {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fdf8ee, #f6edda);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.session-icon img { width: 72px; height: 72px; display: block; }
.session-body { flex: 1 1 auto; min-width: 0; }
.session-day {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 2px 0 4px;
}
.session-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.1;
}
.session-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.session-audio {
  width: 100%;
  height: 40px;
  margin: 0 0 8px;
}
.session-meta {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin: 0;
}
.listen-app {
  text-align: center;
  padding: 6px 0 72px;
  background: var(--cream);
}
.listen-app-inner { max-width: 620px; }
.listen-app h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--ink);
  margin: 0 0 12px;
}
.listen-app p {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

/* ---------- App promo ---------- */
.app-promo {
  padding: 74px 0;
  background: linear-gradient(180deg, var(--paper) 0%, #fbf7ee 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.app-promo-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.app-promo-image {
  flex: 1 1 300px;
  max-width: 380px;
}
.app-promo-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}
.app-promo-copy { flex: 1 1 360px; }
.app-promo-copy h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 40px);
  line-height: 1.14;
  margin: 0 0 16px;
  color: var(--ink);
}
.app-promo-copy .lede { margin-bottom: 26px; }
.store-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  color: #2a2013;
  background: linear-gradient(180deg, #d3b264 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: var(--shadow-sm);
  transition: filter 0.15s ease, transform 0.1s ease;
}
.store-btn:hover { filter: brightness(1.05); }
.store-btn:active { transform: scale(0.98); }
.app-note {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ---------- Trust band ---------- */
.trust-band {
  padding: 60px 0;
  text-align: center;
  background: var(--cream);
}
.trust-inner { max-width: 680px; margin: 0 auto; }
.trust-lead {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
}
.trust-lead strong { color: var(--gold-deep); }
.trust-body {
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal {
  padding: 46px 0 76px;
  background: var(--cream);
}
.legal .container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 46px);
  color: var(--ink);
  margin: 0 0 6px;
}
.legal__updated {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 30px;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  margin: 38px 0 12px;
}
.legal h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}
.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold-deep); }
.legal strong { color: var(--ink); }
.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 14.5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.legal__table th, .legal__table td {
  text-align: left;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.legal__table th {
  background: var(--cream-soft);
  color: var(--ink);
  font-weight: 700;
}
.legal__table tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 48px;
  background: #f2e9d7;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-brand {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.footer-dot { color: var(--gold); margin: 0 4px; }
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover { color: var(--gold-deep); }
.footer-copy {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-copy { order: 2; }
  .hero-art { order: 1; }
  .hero-art img { max-width: 360px; }
  .lede { margin-left: auto; margin-right: auto; }
  .opt-in-form { margin: 0 auto; }
  .form-note, .hero-trust { text-align: center; }
  .journey-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; max-width: 560px; margin: 0 auto; }
  .app-promo-inner { justify-content: center; text-align: center; }
  .app-promo-copy .lede { margin-left: auto; margin-right: auto; }
  .store-links { justify-content: center; }
}

@media (max-width: 560px) {
  .hero { padding: 44px 0 56px; }
  .field-row { flex-direction: column; }
  /* In a column flex row, flex-basis:240px would stretch the input to 240px TALL. Reset it. */
  .field-row input[type="email"] { flex: 0 0 auto; width: 100%; }
  #submit-btn { width: 100%; }
  .topbar-cta { display: none; }
  .journey-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
  .jd img { width: 64px; height: 64px; }
  .jd-title { font-size: 15px; }
  .session { flex-direction: column; gap: 16px; padding: 22px 18px; }
  .session-icon { margin: 0 auto; }
}
