/* MemoirMaster masterclass site. Colors and type match memoirmaster.com. */
:root {
  --cream: #FDF6EC; --warm-white: #FFFDF8; --parchment: #F5E6C8;
  --gold: #C8A96E; --gold-dark: #A07D4A; --sepia: #7A5C3C;
  --sepia-dark: #4A3728; --brown-deep: #2D1F14; --ink: #1A120B;
  --text-body: #4A3B2E; --text-muted: #6E5F4E; --link: #8A6A3A;
  --error: #9B2C1F;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 19px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Lora', Georgia, serif; color: var(--text-body); background: var(--cream); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--sepia-dark); line-height: 1.22; }
a { color: var(--link); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.4rem; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 1.4rem; }
.eyebrow { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.8rem; }

/* Top bar */
.topbar { background: var(--brown-deep); padding: 0.9rem 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar img { height: 42px; width: auto; }
.topbar span { color: var(--parchment); font-size: 0.9rem; }

/* Hero */
.hero { background: linear-gradient(180deg, #0f0804 0%, #2a1c10 16%, #3d2b1a 40%, #5a4230 68%, #8a6a48 88%, #c4a57a 100%); padding: 3.2rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--warm-white); font-size: 3.1rem; margin-bottom: 1.1rem; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub { color: var(--parchment); font-size: 1.2rem; margin-bottom: 1.4rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; color: var(--parchment); font-size: 1rem; }
.hero-facts li::before { content: "\2713"; color: var(--gold); margin-right: 0.45rem; }

/* Sign-up card */
.card { background: var(--warm-white); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); padding: 2rem 1.8rem; }
.card h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.card p.small { font-size: 0.95rem; color: var(--text-muted); }
form { margin-top: 1.1rem; }
label { display: block; font-weight: 600; font-size: 1rem; color: var(--sepia-dark); margin: 0.9rem 0 0.3rem; }
input[type=text], input[type=email] { width: 100%; font: inherit; font-size: 1.1rem; color: var(--ink); background: #fff; border: 2px solid #d9c6a0; border-radius: 8px; padding: 0.8rem 0.9rem; }
input:focus { outline: 3px solid rgba(200,169,110,0.55); border-color: var(--gold-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-block; width: 100%; margin-top: 1.2rem; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--brown-deep); font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.25rem; text-align: center; text-decoration: none; padding: 1rem 1.4rem; border: none; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 18px rgba(160,125,74,0.35); }
.btn:hover, .btn:focus-visible { filter: brightness(1.06); }
.btn:disabled { opacity: 0.65; cursor: default; }
.btn.auto { width: auto; }
.form-note { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.9rem; line-height: 1.55; }
.form-error { display: none; margin-top: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 8px; background: #fbe9e6; color: var(--error); font-size: 0.98rem; }
.form-error.show { display: block; }

/* Sections */
section { padding: 4rem 0; }
section.white { background: var(--warm-white); }
section.parchment { background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%); }
section.dark { background: var(--sepia-dark); color: var(--cream); }
section.dark h2 { color: var(--warm-white); }
section.dark .card h2 { color: var(--sepia-dark); }
section h2 { font-size: 2.1rem; margin-bottom: 1.2rem; }
.center { text-align: center; }
.lead { font-size: 1.15rem; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.three .item { background: #fff; border: 1px solid #ead9b8; border-radius: 12px; padding: 1.6rem 1.4rem; }
.three .num { font-family: 'Playfair Display', Georgia, serif; font-size: 2.2rem; font-weight: 900; color: var(--gold-dark); line-height: 1; margin-bottom: 0.6rem; }
.three h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.checks { list-style: none; margin-top: 1.2rem; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: 0.9rem; font-size: 1.1rem; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 700; }
.about { display: grid; grid-template-columns: 240px 1fr; gap: 2.4rem; align-items: center; }
.about img { border-radius: 12px; box-shadow: 0 10px 30px rgba(45,31,20,0.2); }
.about p + p { margin-top: 1rem; }
.plain-note { margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-left: 4px solid var(--gold); background: #fff; border-radius: 0 8px 8px 0; }
.final .card { max-width: 520px; margin: 2rem auto 0; text-align: left; color: var(--text-body); }

/* Watch page */
.video-shell { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--brown-deep); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,0.3); }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; color: var(--parchment); }
.video-wait h2 { color: var(--warm-white); font-size: 1.6rem; margin-bottom: 0.6rem; }
.watch-hero { background: linear-gradient(180deg, #0f0804 0%, #2a1c10 30%, #3d2b1a 100%); padding: 2.4rem 0 3rem; }
.watch-hero h1 { color: var(--warm-white); font-size: 2.2rem; margin-bottom: 0.4rem; }
.watch-hero p { color: var(--parchment); margin-bottom: 1.5rem; }
.steps { counter-reset: s; list-style: none; margin-top: 1.2rem; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: 1.1rem; font-size: 1.1rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0.1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--gold-dark); color: #fff; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; }

/* Footer (same wording as memoirmaster.com) */
footer.mm-footer { background: var(--brown-deep); color: var(--parchment); text-align: center; padding: 2.6rem 1.4rem 2.2rem; line-height: 1.7; }
.mm-footer .mm-footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; color: var(--gold); margin-bottom: 0.8rem; }
footer.mm-footer a { color: var(--parchment); text-decoration: none; }
footer.mm-footer a:hover { color: var(--gold); }
.mm-footer .mm-footer-contact a { color: var(--gold); }
.mm-footer .mm-footer-legal { font-size: 0.85rem; margin: 0.4rem 0 0.9rem; }
.mm-footer .mm-footer-copy { font-size: 0.8rem; opacity: 0.75; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 2.2rem 0 3rem; }
  .hero h1 { font-size: 2.3rem; }
  .three { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about img { max-width: 220px; margin: 0 auto; }
  section { padding: 3rem 0; }
  section h2 { font-size: 1.75rem; }
  .topbar span { display: none; }
  .watch-hero h1 { font-size: 1.8rem; }
  .video-wait h2 { font-size: 1.25rem; }
  .video-wait p { font-size: 0.95rem; }
}
