:root {
  --bg: #191410;
  --bg-elevated: rgba(236, 219, 207, 0.06);
  --card: rgba(236, 219, 207, 0.07);
  --card-border: rgba(214, 190, 178, 0.12);
  --primary: #C2A887;
  --primary-muted: #E0CBB5;
  --accent: #A69080;
  --accent-soft: #BFAD99;
  --text: #F2E7DC;
  --text-muted: rgba(242, 231, 220, 0.72);
  --text-dim: rgba(242, 231, 220, 0.46);
  --ivory: #FBF3EA;
  --amber: #F2C98C;
  --mocha: #93785B;
  --espresso: #2C2420;
  --radius: 20px;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(25, 20, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 50%; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary-muted); }
.nav-cta {
  background: var(--primary);
  color: var(--espresso);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(242,201,140,0.18) 0%, rgba(242,201,140,0) 70%);
  pointer-events: none;
}
.hero-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 32px;
  background: radial-gradient(circle at 38% 32%, #FBF3EA 0%, #ECDBCF 55%, #E2CBB9 100%);
  box-shadow: 0 0 80px rgba(242, 201, 140, 0.35);
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 780px;
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
}
.hero p.sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--espresso); }
.btn-primary:hover { opacity: 0.92; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--card); }
.btn-disabled {
  background: var(--bg-elevated);
  color: var(--text-dim);
  border: 1px solid var(--card-border);
  cursor: default;
}
.pill-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 10px;
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- App features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Product cards (article/workbook) ---------- */
.product {
  background: linear-gradient(160deg, var(--card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}
.product:last-child { margin-bottom: 0; }
.product-info .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(242, 201, 140, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.product-info h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.product-info p.desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}
.product-price .amount { font-size: 30px; font-weight: 700; }
.product-price .period { font-size: 13px; color: var(--text-dim); }

.chapter-list {
  list-style: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.chapter-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(0,0,0,0.12);
}
.chapter-list li:last-child { border-bottom: none; }
.chapter-list .num {
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 12px;
  min-width: 22px;
}
.chapter-list .title { color: var(--text); font-weight: 500; }
.chapter-list .weeks {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; padding: 32px 24px; }
  .nav-links { display: none; }
}

/* ---------- Email capture ---------- */
.capture {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 56px;
  text-align: center;
}
.capture h2 { font-size: 30px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.capture p { color: var(--text-muted); margin-bottom: 28px; }
.capture-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.capture-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.capture-form input::placeholder { color: var(--text-dim); }
.capture-form input:focus { outline: none; border-color: var(--primary); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-brand img { width: 24px; height: 24px; border-radius: 50%; }
.footer-links { display: flex; gap: 24px; font-size: 13px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text-muted); }
