:root {
  --sage: #7A9E7E; --sage-light: #C8DBC9; --sage-dark: #4A6B4E;
  --ivory: #F7F3EC; --ivory-dark: #EDE7DC; --gold: #B5935A;
  --bark: #3D2E1E; --text-muted: #7A6A58;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--ivory); color: var(--bark); min-height: 100vh; display: flex; flex-direction: column; }

/* NAV */
.nav { background: var(--ivory); border-bottom: 1px solid var(--ivory-dark); padding: 14px 24px; display: flex; align-items: center; position: sticky; top: 0; z-index: 50; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.nav-logo-name { font-size: 14px; font-weight: 500; color: var(--sage-dark); letter-spacing: 0.08em; text-transform: uppercase; }

/* HERO */
.hero { width: 100%; height: clamp(220px, 42vw, 420px); overflow: hidden; position: relative; background: linear-gradient(160deg, #C8DBC9 0%, #E8D5B0 55%, #F2C4A8 100%); display: flex; align-items: center; justify-content: center; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-fallback { display: none; font-size: clamp(48px, 10vw, 80px); opacity: 0.45; align-items: center; justify-content: center; }

/* MAIN */
.main-content { max-width: 600px; margin: 0 auto; padding: clamp(28px, 5vw, 52px) clamp(16px, 5vw, 24px); flex: 1; width: 100%; }
.hero-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; margin-bottom: 10px; }
.hero-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(26px, 6vw, 40px); font-weight: 500; color: var(--bark); line-height: 1.2; margin-bottom: 14px; }
.hero-desc { font-size: clamp(14px, 3vw, 16px); color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }

/* SIGNUP */
.signup-box { background: #fff; border: 1.5px solid var(--sage-light); border-radius: 12px; padding: clamp(20px, 4vw, 32px); }
.signup-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; font-weight: 500; color: var(--bark); margin-bottom: 6px; }
.signup-sub { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-input { width: 100%; padding: 13px 16px; border: 1px solid var(--ivory-dark); border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff; color: var(--bark); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122,158,126,0.18); }
.form-input::placeholder { color: #b8a898; }
.submit-btn { width: 100%; background: var(--sage-dark); color: #fff; border: none; padding: 14px; border-radius: 8px; font-size: 15px; font-family: inherit; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.submit-btn:hover { background: var(--sage); }
.submit-btn:disabled { background: #aaa; cursor: not-allowed; }
.form-error { background: #fdf0ee; border: 1px solid #f0c4bb; color: #a03020; border-radius: 6px; padding: 10px 14px; font-size: 13px; margin-top: 10px; }
.success-box { text-align: center; padding: 16px 0 8px; }
.success-icon { font-size: 40px; margin-bottom: 12px; }
.success-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; font-weight: 500; color: var(--bark); margin-bottom: 10px; }
.success-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.legal-text { font-size: 10.5px; color: var(--text-muted); line-height: 1.65; margin-top: 16px; border-top: 1px solid var(--ivory-dark); padding-top: 12px; }

/* VIDEO */
.video-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; background: #111; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.video-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.access-note { background: var(--ivory); border: 1px solid var(--ivory-dark); border-radius: 8px; padding: 12px 16px; font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.access-note-title { font-weight: 500; color: var(--bark); margin-right: 4px; }

/* QUIZ */
.overlay-bg { position: fixed; inset: 0; background: rgba(44,36,22,0.58); z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: clamp(16px,5vw,40px) 16px; overflow-y: auto; }
.quiz-card { background: var(--ivory); border-radius: 14px; padding: clamp(20px,4vw,32px); max-width: 480px; width: 100%; position: relative; }
.quiz-close { position: absolute; top: 14px; right: 16px; background: var(--ivory-dark); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--bark); display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.quiz-close:hover { background: #d4cabb; }
.quiz-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; font-weight: 500; color: var(--bark); margin-bottom: 4px; padding-right: 40px; }
.quiz-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.quiz-section { margin-bottom: 22px; }
.quiz-q { font-size: 14px; font-weight: 500; color: var(--bark); margin-bottom: 12px; }
.star-row { display: flex; gap: 8px; }
.star { font-size: clamp(26px,6vw,32px); cursor: pointer; color: #ccc; transition: color 0.15s; user-select: none; }
.star.active { color: var(--gold); }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--bark); line-height: 1.5; cursor: pointer; }
.check-item input[type="checkbox"] { accent-color: var(--sage-dark); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.other-input { width: 100%; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--ivory-dark); border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--bark); background: #fff; outline: none; }
.other-input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122,158,126,0.15); }
.quiz-submit { width: 100%; background: var(--sage-dark); color: #fff; border: none; padding: 14px; border-radius: 8px; font-size: 15px; font-family: inherit; font-weight: 500; cursor: pointer; margin-top: 8px; transition: background 0.2s; }
.quiz-submit:hover { background: var(--sage); }

/* FOOTER */
.footer { text-align: center; padding: 24px 16px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--ivory-dark); margin-top: auto; }

/* UNSUBSCRIBED */
.unsubscribed-wrap { text-align: center; padding: 60px 24px; }

@media (max-width: 480px) {
  .nav { padding: 12px 16px; }
  .signup-box, .quiz-card { border-radius: 8px; }
}
