/* =========================
   FOUNDATION
========================= */
:root {
  --paper: #f4efe6;
  --paper-soft: #faf7f1;
  --ink: #1c1d18;
  --muted-dark: #66665f;
  --muted-light: rgba(255,255,255,.84);
  --olive: #586548;
  --olive-soft: #728061;
  --hero-scale: 1;
  --hero-fade: 1;
  --journal-reveal: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* =========================
   HERO
========================= */
.hero-scroll {
  height: 145vh;
  height: 145dvh;
  background: #C4B9B0;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.hero-full {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-scene {
  position: absolute;
  inset: -3%;
  background:
    url("assets/hero-image.jpg")
    center 54% / cover no-repeat;
  transform: scale(var(--hero-arch-scale, 1));
  transform-origin: center;
  filter: saturate(.95) brightness(.97);
  will-change: transform;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: #C4B9B0;
  opacity: 1;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hero-veil.hero-veil-hidden {
  opacity: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 20, 16, .28) 0%,
      rgba(10, 16, 12, .04) 30%,
      rgba(8, 12, 7, .10) 60%,
      rgba(6, 10, 6, .62) 100%);
}

/* =========================
   HERO NAV
========================= */
.hero-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 84px;
  padding: 0 clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 40px;
  z-index: 5;
  color: #fff;
}

.brand {
  display: inline-flex;

  align-items: center;
  flex: 0 0 auto;
  z-index: 2;
}

.brand img {
  width: 132px;
  height: auto;
  display: block;
  background: transparent;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.hero-nav a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  color: #fff;
  opacity: .92;
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero-cta {
  grid-column: 4;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  transition: transform .22s ease, box-shadow .22s ease;
  z-index: 2;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(67, 83, 47, .55);
}

.hero-cta:active {
  transform: translateY(0) scale(.94);
  transition: transform .12s ease;
}

.hero-signup-link {
  grid-column: 3;
  align-self: center;
  font-size: 14px;
  color: var(--muted-dark);
  text-decoration: none;
  white-space: nowrap;
}
.hero-signup-link:hover {
  color: var(--olive);
}

.hero-account {
  grid-column: 3;
  align-self: center;
  position: relative;
}
.hero-account-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hero-account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex: 0 0 auto;
}
.hero-account-avatar-lg {
  width: 40px;
  height: 40px;
  font-size: 16px;
}
.hero-account-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(28, 29, 24, 0.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(28, 29, 24, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.hero-account-panel.on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.hero-account-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 12px;
  min-width: 0;
}
.hero-account-header > div {
  min-width: 0;
  flex: 1;
}
.hero-account-panel-name {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.hero-account-panel-email {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted-dark);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-account-panel a,
.hero-account-panel button {
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.hero-account-panel a:hover,
.hero-account-panel button:hover {
  background: rgba(88, 101, 72, 0.08);
}
.hero-account-divider {
  height: 1px;
  background: rgba(28, 29, 24, 0.08);
  margin: 6px 4px;
}
.hero-account-logout {
  color: #a13d3d !important;
}
.hero-account-logout:hover {
  background: rgba(161, 61, 61, 0.08) !important;
}

.mobile-menu-account {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.mobile-menu-account-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0;
}
.mobile-menu-account-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mobile-menu-account-info > div {
  min-width: 0;
  flex: 1;
}
.mobile-account-name {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.mobile-account-email {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted-dark);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.mobile-menu-settings-link {
  font-size: 14px;
  color: var(--muted-dark);
  text-decoration: underline;
}
.mobile-menu-logout {
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  color: #a13d3d;
  padding: 0;
  cursor: pointer;
}

.hero-notify {
  grid-column: 3;
  position: relative;
}

.hero-notify-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}

.hero-notify-btn:hover {
  background: rgba(255, 255, 255, .2);
}

.hero-notify-btn svg {
  width: 18px;
  height: 18px;
}

.hero-notify-btn:active {
  transform: scale(.92);
}

.hero-notify-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 260px;
  padding: 18px;
  border-radius: 16px;
  background: #FBF8F1;
  color: #21201B;
  box-shadow: 0 22px 50px -16px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.hero-notify-panel.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-notify-title {
  margin: 0 0 8px;
  font-family: "Instrument Serif", serif;
  font-size: 18px;
}

.hero-notify-empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6b6455;
}

/* =========================
   HERO COPY
========================= */
.hero-copy {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, .68fr);
  gap: 8vw;
  align-items: end;
  z-index: 5;
  color: #fff;
}
.hero-title h1,
.journal-copy h2,
.journal-card h3 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}
.hero-title h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(52px, 5.6vw, 90px);
  line-height: .96;
  letter-spacing: -.03em;
}
.hero-description p {
  margin: 0 0 12px;
  max-width: 430px;
  color: rgba(255,255,255,.82);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.72;
  font-weight: 300;
}

/* =========================
   SECTION 2
========================= */
.journal-section {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 11vh clamp(34px, 7vw, 116px);
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(560px, 1.45fr);
  gap: clamp(62px, 8vw, 130px);
  align-items: center;
  background:
    linear-gradient(180deg, #0f1410 0%, rgba(15,20,16,0) 100px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.86), transparent 36%),
    linear-gradient(180deg, #faf7f1 0%, #efe7da 100%);
  position: relative;
  overflow: hidden;
}
.journal-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(53,48,41,.08) .5px, transparent .65px);
  background-size: 6px 6px;
}
.journal-copy,
.journal-ui {
  position: relative;
  z-index: 2;
  opacity: var(--journal-reveal);
  transform: translateY(calc((1 - var(--journal-reveal)) * 52px));
  will-change: opacity, transform;
}
.section-kicker {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--olive);
}
.journal-copy h2 {
  margin: 0;
  max-width: 540px;
  font-size: clamp(48px, 4.8vw, 76px);
  line-height: .97;
  letter-spacing: -.04em;
}

.emphasis-word {
  color: var(--olive);
  position: relative;
  display: inline-block;
  font-style: italic;
}

.nowrap {
  white-space: nowrap;
}

.emphasis-word::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .08em;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: scaleX(0);
  transform-origin: left;
  animation: emphasisLine 900ms ease forwards;
  animation-delay: 250ms;
}

@keyframes emphasisLine {
  to { transform: scaleX(1); }
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  margin-top: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--olive);
  font-size: 13px;
}

/* =========================
   DIGITAL PRODUCT UI
========================= */
.ui-shell {
  position: relative;
  min-height: 640px;
  border-radius: 28px;
  border: 1px solid rgba(70, 61, 50, .08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.58)),
    #f8f3ea;
  box-shadow:
    0 30px 58px rgba(60, 51, 38, .12),
    inset 0 1px 0 rgba(255,255,255,.82);
  overflow: hidden;
}
.ui-topbar {
  height: 64px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(70, 61, 50, .07);
}
.ui-topbar-left { display: flex; gap: 7px; }
.ui-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(86,99,71,.35);
}
.ui-brand {
  justify-self: center;
  font-size: 13px;
  color: var(--muted-dark);
}
.play-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(86,99,71,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  color: var(--olive);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.play-icon { display: none; font-size: 11px; margin-left: 2px; }
.play-toggle[aria-pressed="true"] .pause-icon { display: none; }
.play-toggle[aria-pressed="true"] .play-icon { display: inline; }

.ui-progress {
  height: 56px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ui-progress span {
  width: 40px; height: 4px; border-radius: 999px;
  background: rgba(86,99,71,.15);
}
.ui-progress .active { background: rgba(86,99,71,.62); }

.ui-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(640px - 120px);
}
.ui-sidebar {
  padding: 18px 14px 18px 18px;
  border-right: 1px solid rgba(70, 61, 50, .06);
  background: rgba(255,255,255,.22);
}
.ui-sidebar-label {
  margin: 0 0 16px;
  padding-left: 8px;
  color: #8b867d;
  font-size: 12px;
}
.nav-chip {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  color: #5e6159;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-chip:hover {
  background: rgba(86,99,71,.07);
  transform: translateX(2px);
}
.nav-chip.active {
  background: rgba(86,99,71,.12);
  color: #293022;
}

.ui-main {
  position: relative;
  padding: 26px;
  min-height: 520px;
}
.journal-card {
  position: absolute;
  inset: 26px;
  padding: 34px 34px 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.82), transparent 30%),
    #fcf9f4;
  border: 1px solid rgba(70, 61, 50, .08);
  box-shadow: 0 20px 36px rgba(60, 51, 38, .08);
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .42s ease, transform .42s ease;
  pointer-events: none;
}
.journal-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-number {
  font-size: 11px;
  color: #9a9387;
}
.card-tag {
  font-size: 11px;
  color: var(--olive-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.journal-card h3 {
  margin: 16px 0 12px;
  font-size: clamp(36px, 2.8vw, 50px);
  line-height: .98;
}
.journal-card p {
  max-width: 520px;
  margin: 0 0 22px;
  color: #66665f;
  font-size: 15px;
  line-height: 1.72;
}
.input-group { margin-bottom: 14px; }
.input-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: #8a8478;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.input-box {
  width: 100%;
  min-height: 78px;
  padding: 18px;
  border-radius: 18px;
  background: #f0e8dc;
  color: #47453f;
  font-size: 14px;
  line-height: 1.6;
}
.input-box.subtle { color: #7d786d; }
.input-box.accent {
  margin-top: 24px;
  background: rgba(111,126,92,.14);
  color: #46523a;
}

.ui-footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 0 4px;
}
.ui-dots {
  display: flex;
  gap: 8px;
}
.ui-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(86,99,71,.2);
  cursor: pointer;
}
.ui-dots button.active {
  background: var(--olive);
  transform: scale(1.18);
}
.rotation-status {
  margin: 0;
  color: #8b867d;
  font-size: 12px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1000px) {
  .hero-header { grid-template-columns: 1fr auto; }
  .hero-nav { display: none; }
  .hero-signup-link { display: none; }
  .hero-account { display: none; }
  .hero-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .journal-section { grid-template-columns: 1fr; }
  .ui-layout { grid-template-columns: 1fr; }
  .ui-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(70, 61, 50, .06);
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }
  .ui-sidebar-label { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hero-header { padding: 22px 22px 0; }
  .brand img { width: 118px; }
  .hero-cta {
    padding: 11px 17px;
    font-size: 12px;
  }
  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }
  .hero-title h1 {
    font-size: clamp(50px, 14vw, 74px);
  }
  .hero-description p {
    font-size: 13px;
    line-height: 1.66;
  }
  .journal-section {
    padding: 148px 24px 74px;
    gap: 54px;
    align-items: start;
  }
  .journal-copy h2 {
    font-size: clamp(40px, 12vw, 58px);
  }
  .ui-shell { min-height: 760px; }
  .ui-main { min-height: 560px; }
  .journal-card {
    inset: 18px;
    padding: 24px 22px 22px;
  }
  .journal-card h3 { font-size: 34px; }
  .journal-card p { font-size: 13px; }
  .input-box {
    min-height: 72px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .journal-card { transition: none; }
}




/* =========================
   BUTTON SYSTEM
========================= */
.button-olive,
.primary-button,
.mini-button {
  background: var(--olive);
  color: #fff;
}

.button-olive:hover,
.primary-button:hover,
.mini-button:hover {
  background: #4e5a40;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(88,101,72,.18);
}

.hero-cta.button-olive {
  color: #fff;
  box-shadow: 0 10px 22px rgba(88,101,72,.28);
}



/* =========================
   BUTTON SYSTEM
========================= */
.button-olive,
.primary-button,
.mini-button {
  background: var(--olive);
  color: #fff;
}

.button-olive:hover,
.primary-button:hover,
.mini-button:hover {
  background: #4e5a40;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(88,101,72,.18);
}

.hero-cta.button-olive {
  color: #fff;
  box-shadow: 0 10px 22px rgba(88,101,72,.28);
}

/* =========================
   SHARED SECTION INTRO
========================= */
.section-intro-simple {
  margin-bottom: 54px;
  max-width: 820px;
}

.section-intro-simple h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(46px, 4.8vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
  max-width: 760px;
}

.section-intro-centered {
  margin: 0 auto 58px;
  max-width: 760px;
  text-align: center;
}

.section-intro-centered .section-kicker {
  margin-bottom: 16px;
}

.section-intro-centered h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(48px, 5vw, 74px);
  line-height: .97;
  letter-spacing: -.045em;
}

/* =========================
   SECTION 3 — SNEAK PEEKS
========================= */
.sneak-section {
  padding: 11vh clamp(34px, 7vw, 116px);
  background: #f6f1e8;
}

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

.sneak-card {
  border: 1px solid rgba(70, 61, 50, .08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.58));
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(60, 51, 38, .06);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.sneak-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 44px rgba(60, 51, 38, .11);
}

.sneak-visual {
  height: 284px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.80), transparent 28%),
    linear-gradient(180deg, #efe6d8 0%, #e8dece 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.sneak-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.24);
  pointer-events: none;
}

.sneak-card-body {
  padding: 22px 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sneak-card-body h3 {
  margin: 0;
  font-size: 25px;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1.05;
  max-width: 220px;
}

/* life audit wheel */
.wheel-graphic {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  background:
    conic-gradient(#637353 0 60deg,#cabfae 60deg 120deg,#839171 120deg 180deg,#ebe1d3 180deg 240deg,#728061 240deg 300deg,#b3a796 300deg 360deg);
  position: relative;
  box-shadow: 0 10px 24px rgba(70,61,50,.10), inset 0 0 0 22px rgba(255,255,255,.72);
}
.wheel-core {
  position: absolute;
  inset: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(88,101,72,.84);
}
.wheel-labels {
  position: absolute;
  inset: 24px;
  font-size: 11px;
  color: rgba(88,101,72,.9);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.wheel-labels span {
  position: absolute;
}
.wheel-labels span:nth-child(1) { top: 20px; left: 50%; transform: translateX(-50%); }
.wheel-labels span:nth-child(2) { right: 20px; top: 66px; }
.wheel-labels span:nth-child(3) { right: 34px; bottom: 54px; }
.wheel-labels span:nth-child(4) { left: 50%; bottom: 18px; transform: translateX(-50%); }
.wheel-labels span:nth-child(5) { left: 28px; bottom: 54px; }
.wheel-labels span:nth-child(6) { left: 22px; top: 66px; }

/* joy menu */
.joy-visual {
  position: relative;
}
.joy-card {
  position: absolute;
  min-width: 112px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  color: #665f57;
  display: grid;
  gap: 6px;
  box-shadow: 0 10px 20px rgba(70,61,50,.08);
}
.joy-emoji {
  font-size: 18px;
  line-height: 1;
}
.joy-a { top: 48px; left: 44px; transform: rotate(-8deg); }
.joy-b { top: 42px; right: 44px; transform: rotate(8deg); }
.joy-c { bottom: 42px; left: 54px; transform: rotate(-4deg); }
.joy-d { bottom: 48px; right: 54px; transform: rotate(6deg); }

/* life filters */
.filters-stack {
  position: relative;
  width: 200px;
  height: 160px;
}
.filter-panel {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: 0 16px 28px rgba(70,61,50,.10);
  backdrop-filter: blur(2px);
}
.panel-a {
  background: linear-gradient(180deg, rgba(97,116,79,.34), rgba(97,116,79,.12));
  transform: rotate(-12deg) translate(-18px, 8px);
}
.panel-b {
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(220,210,194,.32));
  transform: translateY(-2px);
}
.panel-c {
  background: linear-gradient(180deg, rgba(143,164,120,.24), rgba(255,255,255,.10));
  transform: rotate(12deg) translate(18px, 8px);
}
.panel-c::after, .panel-b::after, .panel-a::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto 18px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
  box-shadow: 0 28px 0 rgba(255,255,255,.28), 0 56px 0 rgba(255,255,255,.18);
}

/* one thing challenge */
.focus-board {
  width: 210px;
  padding: 28px 24px 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 24px rgba(70,61,50,.08);
  position: relative;
}
.task-line {
  height: 16px;
  border-radius: 999px;
  background: rgba(88,101,72,.16);
  margin-bottom: 18px;
  position: relative;
}
.task-line::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(88,101,72,.34);
  transform: translateY(-50%);
}
.task-line.done::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 14px;
  top: 50%;
  height: 2px;
  background: rgba(88,101,72,.34);
  transform: translateY(-50%);
}
.task-line.active {
  background: rgba(88,101,72,.24);
}
.task-line.active::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 56px;
  top: 50%;
  height: 3px;
  background: rgba(88,101,72,.72);
  transform: translateY(-50%);
}
.focus-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--olive);
  color: #fff;
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  box-shadow: 0 8px 16px rgba(88,101,72,.24);
}

/* weekly reflection */
.weekly-sheet {
  width: 210px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.70);
  box-shadow: 0 12px 24px rgba(70,61,50,.08);
}
.weekly-header {
  height: 18px;
  width: 74px;
  border-radius: 999px;
  background: rgba(88,101,72,.25);
  margin-bottom: 18px;
}
.week-check {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.4px solid rgba(88,101,72,.46);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
}
.week-check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 7px;
  height: 4px;
  border-left: 2px solid rgba(88,101,72,.78);
  border-bottom: 2px solid rgba(88,101,72,.78);
  transform: rotate(-45deg);
}
.week-line {
  display: inline-block;
  vertical-align: middle;
  height: 12px;
  width: calc(100% - 34px);
  border-radius: 999px;
  background: rgba(88,101,72,.15);
  position: relative;
  margin-bottom: 14px;
}
.week-line::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  border-radius: inherit;
  background: rgba(88,101,72,.72);
}
.week-line.short::after { width: 38%; }

/* waiting room */
.waiting-scene {
  width: 220px;
  height: 180px;
  position: relative;
}
.waiting-bench {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 90px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(88,101,72,.34);
}
.waiting-bench::before,
.waiting-bench::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 4px;
  height: 24px;
  background: rgba(88,101,72,.34);
}
.waiting-bench::before { left: 14px; }
.waiting-bench::after { right: 14px; }
.waiting-arch {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 128px;
  height: 148px;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 0 0 1px rgba(88,101,72,.12), 0 10px 22px rgba(70,61,50,.08);
}
.waiting-arch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 86px;
  height: 112px;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: rgba(88,101,72,.12);
}
.waiting-clock {
  position: absolute;
  right: 28px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 16px rgba(70,61,50,.08);
}
.waiting-clock::before,
.waiting-clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(88,101,72,.54);
  transform-origin: left center;
}
.waiting-clock::before {
  width: 10px; height: 2px; transform: translateY(-50%) rotate(18deg);
}
.waiting-clock::after {
  width: 2px; height: 10px; transform: translateX(-50%) rotate(0deg);
}

/* =========================
   SECTION 4 — PRIVACY
========================= */
.privacy-section {
  padding: 11vh clamp(34px, 7vw, 116px);
  background:
    linear-gradient(180deg, #f1e9dd 0%, #f7f2e9 100%);
}

.privacy-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.privacy-list {
  border-top: 1px solid rgba(70, 61, 50, .12);
}

.privacy-row {
  display: grid;
  grid-template-columns: 64px minmax(220px, .8fr) minmax(280px, 1.25fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
  padding: 28px 0 30px;
  border-bottom: 1px solid rgba(70, 61, 50, .12);
}

.privacy-index {
  padding-top: 6px;
  color: var(--olive);
  font-size: 12px;
  letter-spacing: .08em;
}

.privacy-row h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.02;
}

.privacy-row p {
  margin: 2px 0 0;
  max-width: 620px;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.78;
}

.privacy-row:hover h3 {
  color: var(--olive);
}

@media (max-width: 800px) {
  .privacy-row {
    grid-template-columns: 44px 1fr;
    gap: 14px 18px;
  }

  .privacy-row p {
    grid-column: 2;
  }
}

/* =========================
   SECTION 5 — FAQ
========================= */
.faq-section {
  padding: 11vh clamp(34px, 7vw, 116px);
  background: #fbf8f2;
}

.faq-list {
  border-top: 1px solid rgba(70, 61, 50, .10);
}

.faq-item {
  border-bottom: 1px solid rgba(70, 61, 50, .10);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  font-size: 24px;
  line-height: 1.2;
  font-family: "Instrument Serif", serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 22px;
  color: var(--olive);
  margin-left: 18px;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  max-width: 860px;
  padding: 0 0 24px;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.82;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  padding: 34px clamp(34px, 7vw, 116px) 56px;
  background: #e8ddcf;
  border-top: 1px solid rgba(70, 61, 50, .08);
}

.footer-top {
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(70, 61, 50, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand img {
  width: 134px;
  display: block;
  margin-bottom: 14px;
}

.footer-line { margin: 0; color: #6a655c; font-size: 14px; line-height: 1.7; }

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr .9fr .9fr;
  gap: 42px;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-label {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--olive);
}

.footer-text,
.footer-copy,
.footer-contact-intro {
  margin: 0;
  color: #6a655c;
  font-size: 14px;
  line-height: 1.75;
  max-width: 320px;
}

.footer-copy { margin-top: 12px; }

.footer-column a {
  color: var(--ink);
  font-size: 14px;
}

.footer-column a:hover { color: var(--olive); }

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.insta-icon {
  width: 16px;
  height: 16px;
  border: 1.6px solid currentColor;
  border-radius: 5px;
  position: relative;
  display: inline-block;
}
.insta-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.insta-icon::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 1000px) {
  .sneak-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .sneak-grid,
  .footer-main { grid-template-columns: 1fr; }
  .sneak-card-body { grid-template-columns: 1fr; align-items: start; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .sneak-visual { height: 250px; }
  .faq-item summary { font-size: 20px; padding: 22px 0; }
  .section-intro-simple h2 { font-size: clamp(40px, 12vw, 56px); }
}

.sneak-card .mini-button {
  min-height: 38px;
  padding: 0 15px;
  box-shadow: none;
}

@media (max-width: 700px) {
  .section-intro-centered {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .sneak-card-body {
    align-items: center;
  }
}

.privacy-heading.section-intro-centered {
  max-width: 820px;
  margin-bottom: 56px;
}

.faq-section .section-intro-centered {
  max-width: 720px;
  margin-bottom: 50px;
}

@media (max-width: 1000px) {
  .hero-header {
    padding: 22px 24px 0;
  }

  .hero-nav {
    display: none;
  }

  .hero-signup-link {
    display: none;
  }

  .hero-account {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero-header {
    height: 92px;
    align-items: flex-start;
  }

  .brand img {
    width: 118px;
  }

  .hero-cta {
    min-height: 38px;
    padding: 0 17px;
    font-size: 12px;
  }
}


/* =========================
   MOBILE REFINEMENT PASS
========================= */
@media (max-width: 700px) {
  /* Reduce overall vertical length */
  .journal-section,
  .sneak-section,
  .privacy-section,
  .faq-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  /* section 2 sits right after the hero's dark gradient — needs real
     clearance so it reads as a fresh section, not a fading continuation */
  .journal-section {
    padding-top: 148px;
  }

  /* HERO: mobile sizing for the sunset photo */
  .hero-scroll {
    height: 148svh;
  }

  .hero-sticky,
  .hero-full {
    height: 100svh;
    min-height: 620px;
  }

  .hero-scene {
    top: -1%;
    bottom: -1%;
    background-position: 58% 56%;
  }

  .hero-title h1 {
    max-width: 360px;
    font-size: clamp(38px, 11.3vw, 44px);
    line-height: 1.0;
  }

  .hero-description p {
    max-width: 330px;
    font-size: 13px;
    line-height: 1.58;
  }

  /* SECTION 2: compact digital preview */
  .journal-section {
    gap: 42px;
  }

  .journal-copy h2 {
    font-size: clamp(38px, 10.8vw, 54px);
    line-height: .98;
  }

  .ui-shell {
    min-height: 540px;
    border-radius: 22px;
  }

  .ui-topbar {
    height: 54px;
    padding: 0 16px;
  }

  .ui-brand {
    font-size: 12px;
  }

  .play-toggle {
    width: 32px;
    height: 32px;
  }

  .ui-progress {
    height: 38px;
    padding: 0 16px;
    gap: 6px;
  }

  .ui-progress span {
    width: 28px;
    height: 3px;
  }

  .ui-layout {
    display: block;
    min-height: auto;
  }

  .ui-sidebar {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 12px 10px;
    border-bottom: 1px solid rgba(70,61,50,.06);
    scrollbar-width: none;
  }

  .ui-sidebar::-webkit-scrollbar {
    display: none;
  }

  .ui-sidebar-label {
    display: none;
  }

  .nav-chip {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 11px;
    white-space: nowrap;
  }

  .ui-main {
    min-height: 390px;
    padding: 14px;
  }

  .journal-card {
    inset: 14px;
    padding: 22px 18px 18px;
    border-radius: 18px;
    overflow: hidden;
  }

  .journal-card h3 {
    margin: 12px 0 10px;
    font-size: 31px;
  }

  .journal-card p {
    margin-bottom: 16px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .input-group {
    margin-bottom: 10px;
  }

  .input-group label {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .input-box {
    min-height: 58px;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.45;
  }

  .ui-footer-controls {
    margin-top: 14px;
  }

  /* SECTION 3: two cards per row */
  .section-intro-centered,
  .privacy-heading.section-intro-centered,
  .faq-section .section-intro-centered {
    margin-bottom: 38px;
  }

  .section-intro-centered h2,
  .section-intro-simple h2 {
    font-size: clamp(38px, 10.5vw, 50px);
  }

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

  .sneak-card {
    border-radius: 20px;
  }

  .sneak-visual {
    height: 150px;
  }

  .sneak-card-body {
    padding: 14px 12px 14px;
    display: block;
  }

  .sneak-card-body h3 {
    max-width: none;
    min-height: 42px;
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.02;
  }

  .sneak-card .mini-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  /* Scale illustrations down instead of letting them dominate */
  .wheel-graphic {
    width: 98px;
    height: 98px;
    box-shadow:
      0 8px 18px rgba(70,61,50,.09),
      inset 0 0 0 13px rgba(255,255,255,.72);
  }

  .wheel-core {
    width: 13px;
    height: 13px;
  }

  .wheel-labels {
    display: none;
  }

  .joy-card {
    min-width: 74px;
    padding: 9px 9px 8px;
    border-radius: 13px;
    font-size: 10px;
  }

  .joy-a { top: 28px; left: 18px; }
  .joy-b { top: 26px; right: 16px; }
  .joy-c { bottom: 26px; left: 22px; }
  .joy-d { bottom: 28px; right: 20px; }

  .filters-stack {
    width: 112px;
    height: 90px;
  }

  .filter-panel {
    border-radius: 17px;
  }

  .focus-board {
    width: 122px;
    padding: 18px 14px 16px;
    border-radius: 19px;
  }

  .task-line {
    height: 10px;
    margin-bottom: 11px;
  }

  .focus-badge {
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .weekly-sheet {
    width: 124px;
    padding: 15px 14px 12px;
    border-radius: 17px;
  }

  .weekly-header {
    width: 48px;
    height: 11px;
    margin-bottom: 11px;
  }

  .week-check {
    width: 11px;
    height: 11px;
    margin-right: 5px;
  }

  .week-line {
    height: 8px;
    width: calc(100% - 22px);
    margin-bottom: 8px;
  }

  .waiting-scene {
    width: 132px;
    height: 112px;
  }

  .waiting-arch {
    width: 76px;
    height: 96px;
  }

  .waiting-arch::after {
    width: 50px;
    height: 70px;
    top: 12px;
  }

  .waiting-bench {
    width: 56px;
    height: 7px;
    bottom: 12px;
  }

  .waiting-clock {
    right: 8px;
    top: 8px;
    width: 26px;
    height: 26px;
  }

  /* SECTION 4: two privacy items per row */
  .privacy-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-top: 0;
  }

  .privacy-row {
    display: block;
    min-height: 210px;
    padding: 18px 15px 18px;
    border: 1px solid rgba(70,61,50,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.58);
  }

  .privacy-index {
    display: block;
    padding: 0;
    margin-bottom: 22px;
  }

  .privacy-row h3 {
    margin-bottom: 10px;
    font-size: 23px;
    line-height: 1.02;
  }

  .privacy-row p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.58;
  }

  /* FAQ and footer compactness */
  .faq-item summary {
    padding: 18px 0;
    font-size: 18px;
  }

  .faq-item p {
    padding-bottom: 18px;
    font-size: 13px;
    line-height: 1.65;
  }

  .site-footer {
    padding: 28px 22px 38px;
  }

  .footer-top {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .footer-main {
    gap: 24px;
  }
}

@media (max-width: 390px) {
  .sneak-grid,
  .privacy-list {
    gap: 10px;
  }

  .sneak-card-body h3 {
    font-size: 17px;
  }

  .privacy-row {
    min-height: 220px;
    padding: 16px 13px;
  }

  .privacy-row h3 {
    font-size: 21px;
  }
}


/* =========================
   MOBILE NAVIGATION DRAWER
========================= */
.mobile-menu-toggle,
.mobile-menu-panel,
.mobile-menu-backdrop {
  display: none;
}

@media (max-width: 1000px) {
  .hero-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 10px;
    align-items: start;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 4;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    background: rgba(20,25,18,.18);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 8;
  }

  .mobile-menu-toggle span {
    width: 15px;
    height: 1.5px;
    background: #fff;
    border-radius: 999px;
  }

  .hero-cta {
    grid-column: 5;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(14,16,12,.42);
    backdrop-filter: blur(3px);
    z-index: 30;
  }

  .mobile-menu-backdrop.is-open {
    display: block;
  }

  .mobile-menu-panel {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    padding: 24px;
    background: #f5efe5;
    color: var(--ink);
    z-index: 31;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -20px 0 50px rgba(20,20,15,.18);
  }

  .mobile-menu-panel.is-open {
    transform: translateX(0);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(70,61,50,.10);
  }

  .mobile-menu-title {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--olive);
  }

  .mobile-menu-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(88,101,72,.10);
    color: var(--ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu-links {
    display: grid;
    margin-top: 28px;
  }

  .mobile-menu-links a {
    padding: 17px 0;
    border-bottom: 1px solid rgba(70,61,50,.10);
    font-family: "Instrument Serif", serif;
    font-size: 34px;
    line-height: 1;
  }

  .mobile-menu-cta {
    margin-top: auto;
    min-height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* =========================
   SECOND SECTION MOBILE FIX
========================= */
@media (max-width: 700px) {
  .journal-ui {
    width: 100%;
    min-width: 0;
  }

  .ui-shell {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .ui-layout {
    overflow: visible;
  }

  .ui-main {
    position: relative;
    min-height: 430px;
    padding: 14px;
    overflow: visible;
  }

  .journal-card {
    position: absolute;
    inset: 14px;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .journal-card.active {
    min-height: 390px;
  }

  .ui-footer-controls {
    padding-bottom: 2px;
  }
}

@media (max-width: 420px) {
  .hero-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .hero-cta {
    display: none;
  }

  .mobile-menu-toggle {
    grid-column: 4;
  }

  .ui-main {
    min-height: 455px;
  }

  .journal-card.active {
    min-height: 415px;
  }
}
