/* Living Lighter: colors and sizes measured from the original Wix site */
:root {
  --olive: #403F2B;        /* header, book section, marquee */
  --olive-2: #4D4B36;      /* story gradient start */
  --olive-3: #4B4833;      /* 7-day challenge */
  --stone: #9E9C8D;        /* story gradient end */
  --dark: #29291F;         /* journey, authors top, footer */
  --authors-end: #494733;
  --cream: #F3F1C4;        /* headline text */
  --paper: #FEFAF1;        /* cards, buttons */
  --border: #D6D2CC;
  --red: #F23A23;
  --link: #31546A;

  --serif-display: "Libre Caslon Text", "Adobe Caslon Pro", Georgia, serif; /* stands in for adobe-caslon semibold */
  --serif-body: "Bitter", Georgia, serif;
  --sans: "Figtree", "Avenir Next", Avenir, "Segoe UI", sans-serif;      /* stands in for Avenir Light */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 63px; }
body {
  margin: 0;
  background: var(--olive);
  color: var(--cream);
  font-family: var(--serif-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--olive);
  height: 63px;
}
.header-inner {
  position: relative;
  max-width: 1440px; height: 100%;
  margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: center;
}
.logo {
  position: absolute; left: max(16px, calc(50% - 577px)); top: 8px;
  width: 118px; height: 47px;
  background: #fff;
  border: 2px solid var(--paper);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px 8px;
}
.logo img { width: 100%; height: auto; }
.nav { display: flex; gap: 10px; }
.nav a {
  display: block;
  padding: 10px 8px 8px;
  border-top: 1px solid rgba(254, 250, 241, .55);
  color: var(--paper);
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s;
}
.nav a.active { border-top: 3px solid var(--cream); padding-top: 8px; }
.nav a:hover { border-top-color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 241px; height: 33px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--dark);
  font-family: var(--serif-body);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  background: url("/assets/hero-bg.jpg") center / cover no-repeat;
  min-height: 636px;
  padding: 45px 16px;
  display: flex; justify-content: center; align-items: flex-start;
}
.hero-box {
  width: 819px; max-width: 100%;
  background: rgba(64, 63, 43, .8);
  border-radius: 14px;
  padding: 22px 30px 29px;
  text-align: center;
}
.hero-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  color: var(--paper);
  letter-spacing: 0;
}
.hero-lead {
  font-size: 22px; line-height: 1.8;
  color: var(--cream);
  margin-top: 30px;
}
.hero-method {
  font-size: 22px; line-height: 1.8; font-weight: 700;
  color: var(--paper);
  margin-top: 40px;
}
.hero-method + .hero-lead { margin-top: 40px; }
.btn-stack { display: flex; flex-direction: column; align-items: center; gap: 31px; margin-top: 30px; }

/* ---------- Story ---------- */
.story {
  background: linear-gradient(to bottom, var(--olive-2) 0%, #5B5945 50%, var(--stone) 100%);
  padding: 46px 16px 86px;
  text-align: center;
}
.story p {
  font-size: 27px; font-weight: 700; line-height: 1.2;
  color: var(--cream);
  margin-bottom: 32px;
}
.story p.gap-top { margin-top: 64px; }
.story .red { color: var(--red); }
.abc { width: 714px; margin: 74px auto 0; }

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--cream);
  text-align: center;
}

/* ---------- 7-Day Challenge ---------- */
.challenge {
  background: var(--olive-3);
  padding: 36px 16px 50px;
  text-align: center;
}
.challenge-intro {
  font-size: 18px; font-weight: 500; line-height: 1.8;
  margin-top: 18px;
}
.days {
  list-style: none; padding: 0;
  margin: 38px auto 0;
  width: 527px; max-width: 100%;
  display: grid; gap: 31px;
}
.days li {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 3px;
  min-height: 142px;
  padding: 12px 20px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--serif-display);
  color: var(--dark);
}
.day-num { font-size: 23px; font-weight: 600; letter-spacing: -0.03em; }
.day-title { font-size: 23px; font-weight: 400; letter-spacing: -0.03em; color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.day-desc { font-size: 16px; font-weight: 400; letter-spacing: -0.04em; margin-top: 2px; }

/* ---------- Journey ---------- */
.journey {
  position: relative;
  background: var(--dark);
  padding: 58px 16px 44px;
  text-align: center;
}
.journey .curve { position: absolute; top: 0; left: 0; width: 100%; height: 40px; }
.journey .section-title { position: relative; font-size: 62px; }
.body-lg {
  max-width: 940px; margin: 0 auto;
  font-size: 27px; line-height: 1.185;
  color: var(--cream);
}
.journey .section-title + .body-lg { margin-top: 18px; }
.journey .body-lg + .body-lg { margin-top: 32px; }
.journey .btn { margin-top: 38px; }

/* ---------- Book ---------- */
.book {
  background: var(--olive);
  padding: 24px 16px 26px;
  text-align: center;
}
.book .section-title { font-size: 62px; }
.book-video {
  width: 640px; aspect-ratio: 16 / 9;
  margin: 18px auto 0;
  border-radius: 12px;
  object-fit: cover;
  background: #8a8a85;
}
.book .body-lg { margin-top: 32px; max-width: 900px; }
.book .btn { margin-top: 26px; }

/* ---------- Authors ---------- */
.authors {
  background: linear-gradient(to bottom, var(--dark) 0%, var(--authors-end) 100%);
  padding: 22px 16px 64px;
  text-align: center;
}
.author-grid {
  display: flex; justify-content: center; gap: 85px;
  margin-top: 64px;
}
.author { width: 348px; display: flex; flex-direction: column; align-items: center; }
.author img { width: 174px; height: 182px !important; object-fit: cover; object-position: top; }
.author h3 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 34px 0 52px;
  color: var(--cream);
}
.bio {
  background: var(--paper);
  border-radius: 14px;
  padding: 20px 22px 26px;
  flex: 1; width: 100%;
  font-family: var(--sans);
  font-size: 17px; line-height: 1.5;
  color: var(--dark);
}

/* ---------- Marquee ---------- */
.marquee { background: var(--olive); overflow: hidden; height: 84px; display: flex; align-items: center; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span {
  font-family: var(--serif-body);
  font-weight: 500;
  font-size: 52px;
  line-height: 1;
  color: var(--cream);
  padding-right: 22px;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); padding: 35px 0 33px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--paper);
  border-bottom: 1px solid var(--paper);
  padding: 36px 16px 64px;
  text-align: center;
}
.footer-links { font-size: 28px; font-weight: 700; color: var(--cream); }
.copyright { font-family: var(--sans); font-size: 17px; color: var(--paper); margin-top: 38px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .site-header { height: auto; }
  .header-inner { flex-direction: column; gap: 6px; padding: 8px 16px 0; }
  .logo { position: static; }
  .nav { gap: 2px 6px; flex-wrap: wrap; justify-content: center; max-width: 100%; }
  .nav a { font-size: 13px; padding: 8px 6px 6px; }
  .nav a.active { padding-top: 6px; }
  html { scroll-padding-top: 110px; }
  .author-grid { flex-direction: column; align-items: center; gap: 48px; }
}
@media (max-width: 600px) {
  .hero { min-height: 0; padding: 32px 16px; }
  .hero-box { padding: 22px 18px 26px; }
  .hero-title { font-size: 26px; }
  .hero-lead, .hero-method { font-size: 18px; margin-top: 18px; }
  .hero-method + .hero-lead { margin-top: 18px; }
  .btn-stack { gap: 16px; }
  .story p { font-size: 22px; margin-bottom: 22px; }
  .story p.gap-top { margin-top: 40px; }
  .abc { margin-top: 48px; }
  .section-title, .journey .section-title, .book .section-title { font-size: 40px; }
  .body-lg { font-size: 20px; }
  .days li { min-height: 0; padding: 16px; }
  .day-num, .day-title { font-size: 21px; }
  .day-desc { font-size: 15px; }
  .author { width: 100%; max-width: 348px; }
  .author h3 { margin: 22px 0 24px; }
  .marquee { height: 60px; }
  .marquee-track span { font-size: 34px; }
  .footer-inner { margin: 0 16px; }
  .footer-links { font-size: 20px; }
}
