:root {
  --bg: #F8F6F3;
  --bg-2: #F0EDE9;
  --surface: #FFFFFF;
  --accent: #856F28;
  --accent-dark: #6A5818;
  --accent-soft: #F3EEDF;
  --sage: #5C8A6B;
  --sage-soft: #EDF2EE;
  --sage-deep: #3F6B4E;
  --text: #2D2D2D;
  --text-2: #6B6B6B;
  --text-3: #9B9B9B;
  --line: #E8E2DA;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(45, 45, 45, .04), 0 8px 24px rgba(45, 45, 45, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 80px 0; scroll-margin-top: 64px; }
#quiz-root { scroll-margin-top: 80px; }
.kicker {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lead { font-size: 1.2rem; color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-book { background: var(--sage-deep); color: #fff; }
.btn-book:hover { background: #335A40; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248, 246, 243, .82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232, 226, 218, .7);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.site-header .btn { padding: 9px 18px; font-size: .9rem; }
.nav-ctas { display: flex; gap: 8px; align-items: center; }
#checkout { scroll-margin-top: 84px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-2); font-size: .95rem; }
.hero-meta span::before { content: '✓ '; color: var(--sage); font-weight: 700; }
.hero-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }

.hero-proof {
  display: grid; gap: 4px; margin-top: 28px; max-width: 460px;
  padding: 14px 18px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: #FCFAF7; border: 2px solid #E4E0DA; box-shadow: -5px 8px 0 rgba(0, 0, 0, .08);
  font-size: .95rem; line-height: 1.45;
}
.hero-proof .stars { color: #F2C94C; letter-spacing: 2px; font-size: 1rem; }
.hero-proof small { color: var(--text-2); font-size: .8rem; }
#testimonials { scroll-margin-top: 100px; }

/* Image placeholder (shown when an asset file is missing) */
.ph {
  width: 100%; height: 100%; min-height: 180px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 12px, #ECE8E2 12px, #ECE8E2 24px);
  color: var(--text-3); font-size: .85rem; padding: 16px;
}

/* Cards / grids */
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.alt { background: var(--bg-2); }

.for-you { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.for-you li { background: var(--surface); border-radius: 12px; padding: 14px 18px 14px 48px; position: relative; }
.for-you li::before {
  content: '✓'; position: absolute; left: 16px; top: 14px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--sage-soft); color: var(--sage);
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
}

/* Mel */
.mel-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.mel-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.mel-photo img { width: 100%; height: 100%; object-fit: cover; }
.signature { font-weight: 600; color: var(--accent); }

/* Program */
.calls { display: grid; gap: 14px; margin-top: 32px; }
.call {
  display: grid; grid-template-columns: 56px 1fr 1fr; gap: 20px; align-items: start;
  background: var(--surface); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
}
.call-n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.call h3 { margin-bottom: 4px; }
.call .hw { font-size: .95rem; color: var(--text-2); }
.call .hw b { color: var(--text); font-weight: 600; display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--sage); font-weight: 700; }

/* Weekly loop */
.loop { list-style: none; padding: 0; margin: 24px 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: none; }
.loop li { position: relative; background: var(--surface); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.loop li b { font-size: .98rem; }
.loop li span { font-size: .85rem; color: var(--text-2); }
.loop li:not(:last-child)::after {
  content: '→'; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-weight: 700; z-index: 1;
}
.loop .loop-next { background: var(--accent); color: #fff; }
.loop .loop-next span { color: rgba(255,255,255,.85); }
.loop .loop-next::before { content: '↻'; position: absolute; right: 14px; top: 10px; font-size: 1.1rem; opacity: .8; }

/* Paths after Call 6 */
.paths { display: grid; grid-template-columns: .85fr 2fr; gap: 20px; margin-top: 28px; align-items: stretch; }
.path-origin { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-content: start; position: relative; }
.path-origin::after { content: ''; position: absolute; right: -20px; top: 50%; width: 20px; border-top: 2px dashed var(--accent); }
.chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .82rem; background: var(--bg-2); border-radius: 999px; padding: 4px 10px; }
.path-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-left: 2px dashed var(--accent); padding-left: 18px; }
.path { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.path h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.path p { margin: 0; font-size: .93rem; color: var(--text-2); }
.path-n { flex: none; display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .9rem; }
.path:last-child { background: linear-gradient(160deg, #fff 55%, var(--accent-soft)); }
.premium-note { margin: 22px 0 6px; padding: 14px 18px; border-radius: 14px; background: var(--sage-soft); }
.badge { display: inline-block; background: var(--sage-deep); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; margin-right: 6px; vertical-align: 1px; }
.checklist li.bonus { background: var(--sage-soft); border-radius: 10px; padding: 8px 12px 8px 34px; margin-left: -4px; }
.checklist li.bonus::before { left: 12px; top: 8px; content: '★'; color: var(--sage-deep); }

/* App */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.app-shot { display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.app-shot img { width: 100%; height: auto; }

/* Hero: Mel cut-out on a soft gold arch */
.hero-photo {
  background:
    radial-gradient(120% 70% at 50% 100%, #E9DFC4 0%, #F1EADA 45%, transparent 75%),
    var(--bg-2);
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-photo img { height: 96%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; }

/* Mel section: kitchen table photo with caption */
figure.mel-photo { margin: 0; position: relative; }
.mel-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(252, 250, 247, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: .95rem;
}

/* Videos (click-to-load YouTube, keeps the page light) */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.video { font: inherit; color: var(--text); text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: grid; gap: 6px; }
.video-thumb, .video iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; overflow: hidden;
  background: var(--bg-2) center / cover no-repeat; position: relative; box-shadow: var(--shadow);
}
.video-thumb::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23856F28'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
  transition: transform .15s ease;
}
.video:hover .video-thumb::after { transform: scale(1.08); }
.video-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }

.free-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 32px; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-2);
}
.free-strip > div:first-child { display: grid; gap: 2px; max-width: 520px; }
.free-links { display: flex; gap: 10px; flex-wrap: wrap; }
.free-links .btn { padding: 10px 18px; font-size: .92rem; background: var(--surface); }

/* Testimonials — matches the App Store review cards */
.quote {
  margin: 0; display: flex; flex-direction: column; gap: 10px;
  background: #FCFAF7; border: 2.5px solid #DADADA; border-radius: 24px;
  padding: 28px 28px 24px; box-shadow: -8px 14px 0 rgba(0, 0, 0, .12);
}
.quote .stars { color: #F2C94C; font-size: 1.35rem; letter-spacing: 2px; text-shadow: 0 1px 1px rgba(0,0,0,.15); }
.quote h3 { margin: 4px 0 0; font-size: 1.15rem; }
.quote blockquote { margin: 0; font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: .88rem; color: var(--text-2); }
.quote .who svg { fill: var(--text); flex: none; }
.quote .who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* Quiz */
.quiz-card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 36px; max-width: 760px; margin: 0 auto; }
.progress { height: 6px; background: var(--bg-2); border-radius: 999px; overflow: hidden; margin-bottom: 28px; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.q-count { font-size: .85rem; color: var(--text-3); margin-bottom: 6px; }
.q-title { font-size: clamp(1.3rem, 3vw, 1.65rem); margin-bottom: 6px; }
.q-hint { color: var(--text-2); font-size: .95rem; margin-bottom: 18px; }
.options { display: grid; gap: 10px; margin: 18px 0 26px; }
.option {
  text-align: left; font: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid transparent; border-radius: 14px;
  padding: 15px 18px; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.option:hover { border-color: var(--line); }
.option[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; }
.fade-in { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .help { font-size: .85rem; color: var(--text-2); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  font: inherit; color: var(--text); width: 100%;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* Result */
.stage-badge {
  display: inline-block; background: var(--sage-soft); color: var(--sage);
  font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.plan { display: grid; gap: 12px; margin: 26px 0; }
.plan-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; background: var(--bg); border-radius: 14px; }
.plan-item .call-n { width: 36px; height: 36px; font-size: .9rem; }
.plan-item h3 { font-size: 1rem; margin-bottom: 4px; }
.plan-item p { margin: 0; color: var(--text-2); font-size: .95rem; }
.note { background: var(--accent-soft); border-radius: 14px; padding: 16px 18px; margin: 16px 0; }

/* Join */
.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.price { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 8px 0; }
.checkout-box { min-height: 420px; padding: 8px; }
.checkout-soon { text-align: center; padding: 48px 24px; color: var(--text-2); }

/* Booking */
.booking-frame { margin-top: 18px; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.booking-frame iframe { display: block; width: 100%; height: 680px; border: 0; }
.booking-preview { position: relative; height: 380px; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.booking-preview iframe { width: 100%; height: 1000px; margin-top: -330px; border: 0; pointer-events: none; filter: blur(1.5px) saturate(.8); opacity: .75; }
.booking-lock {
  position: absolute; inset: auto 0 0 0; padding: 28px 18px 14px; text-decoration: none; color: var(--text);
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 35%);
  display: grid; gap: 2px;
}
.booking-lock b::before { content: '🔒 '; }
.booking-lock span { font-size: .9rem; color: var(--text-2); }

/* FAQ */
details { background: var(--surface); border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--text-2); }

footer { padding: 48px 0 64px; color: var(--text-3); font-size: .85rem; border-top: 1px solid var(--line); }
footer p { max-width: 760px; }

@media (max-width: 560px) {
  .nav-quiz { display: none; }
}

@media (max-width: 860px) {
  section { padding: 60px 0; }
  .hero-grid, .mel-grid, .join-grid, .grid-2, .app-grid, .paths { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop li:nth-child(2)::after { display: none; }
  .path-origin::after { display: none; }
  .path-cards { grid-template-columns: 1fr; border-left: 0; padding-left: 0; gap: 10px; }
  .path { padding: 16px 18px; }
  .hero-photo { order: -1; aspect-ratio: 4 / 3; }
  .mel-photo { aspect-ratio: 4 / 3; }
  .grid-3, .videos { grid-template-columns: 1fr; }
  .call { grid-template-columns: 44px 1fr; }
  .call .hw { grid-column: 2; }
  .quiz-card { padding: 24px 20px; }
}
