/* ============================================================
   Storyteller Mari — Design System v2 (2026-06-11)
   Premium magical aesthetic: warm, sophisticated, desirable.
   Palette: midnight plum / warm cream / storybook gold / soft rose
   ============================================================ */
:root {
  --ink: #2a1b3d;          /* midnight plum — headlines, footer */
  --ink-soft: #4a3a60;     /* body on light */
  --cream: #fdf9f2;        /* page background */
  --card: #ffffff;
  --gold: #e8b13c;         /* storybook gold — CTAs, accents */
  --gold-deep: #c8922a;
  --rose: #e8a0bf;
  --lavender: #b8a1e0;
  --mint: #9fd8c5;
  --shadow: 0 10px 40px rgba(42, 27, 61, 0.12);
  --shadow-lg: 0 24px 70px rgba(42, 27, 61, 0.18);
  --radius: 20px;
  --maxw: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: 'Fraunces', Georgia, serif; color: var(--ink); line-height: 1.15; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: 16px; font-weight: 600; }
.section-sub { font-size: 1.12rem; max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800; cursor: pointer;
  border: none; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:active { transform: scale(.98); }
.btn-gold {
  background: linear-gradient(135deg, #f5c842, var(--gold-deep));
  color: var(--ink); font-size: 1.12rem; padding: 18px 40px;
  box-shadow: 0 12px 32px rgba(200, 146, 42, .38);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(200, 146, 42, .5); }
.btn-ghost {
  background: transparent; color: var(--ink); padding: 16px 32px;
  border: 2px solid rgba(42, 27, 61, .25); font-size: 1rem;
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-note { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-top: 10px; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--ink); color: #f7eedd; text-align: center;
  padding: 9px 16px; font-size: .9rem; font-weight: 700;
}
.announce b { color: #f5c842; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 249, 242, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 27, 61, .08);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.logo { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.logo span { color: var(--gold-deep); }
.site-nav { display: flex; gap: 22px; margin-left: auto; margin-right: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; opacity: .82; transition: opacity .15s; }
.site-nav a:hover { opacity: 1; }
.nav-cta { font-size: .95rem; padding: 11px 24px; }
@media (max-width: 640px) { .site-nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(184, 161, 224, .35), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(232, 160, 191, .28), transparent 60%),
    linear-gradient(180deg, #fdf9f2 0%, #faf2e4 100%);
  padding: 84px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero-sub { font-size: 1.22rem; margin-bottom: 30px; max-width: 520px; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; bottom: -18px; left: -14px; background: var(--card);
  border-radius: 16px; box-shadow: var(--shadow); padding: 12px 18px;
  font-weight: 800; color: var(--ink); font-size: .95rem;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; font-size: .92rem; font-weight: 700; color: var(--ink-soft); }
.trust-row span { display: flex; align-items: center; gap: 7px; }

/* ---------- problem / solution ---------- */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.contrast-card { border-radius: var(--radius); padding: 36px 32px; }
.contrast-card.before { background: #f3eee9; border: 1px solid rgba(42,27,61,.07); }
.contrast-card.after {
  background: linear-gradient(160deg, #fff8e8, #fdeed3);
  border: 1px solid rgba(232, 177, 60, .35); box-shadow: var(--shadow);
}
.contrast-card h3 { font-size: 1.35rem; margin-bottom: 18px; }
.contrast-card ul { list-style: none; display: grid; gap: 12px; }
.contrast-card li { padding-left: 30px; position: relative; }
.contrast-card.before li::before { content: "•"; position: absolute; left: 8px; color: #b3a8c4; font-weight: 900; }
.contrast-card.after li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold-deep); }

/* ---------- product / signature ---------- */
.product-hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.product-hero img { border-radius: 24px; box-shadow: var(--shadow-lg); }
.price-line { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 6px; }
.price-now { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 700; color: var(--ink); }
.price-was { font-size: 1.15rem; color: #a193b5; text-decoration: line-through; font-weight: 700; }
.price-tag { background: var(--rose); color: #fff; font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
.checklist { list-style: none; display: grid; gap: 11px; margin: 22px 0 28px; }
.checklist li { padding-left: 32px; position: relative; font-weight: 600; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--gold-deep); font-weight: 900; font-size: 1.05rem; }

/* ---------- bundle ---------- */
.bundle { background: linear-gradient(180deg, var(--ink) 0%, #3a2a55 100%); color: #efe6f5; }
.bundle .section-title, .bundle h3 { color: #fff; }
.bundle .section-sub { color: #cdbfe0; }
.stack {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 8px 28px; margin: 36px 0 26px;
}
.stack-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-weight: 600; }
.stack-row:last-child { border-bottom: none; }
.stack-row .v { color: #cdbfe0; font-weight: 800; white-space: nowrap; }
.stack-total { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.15rem; padding: 16px 0 6px; color: #fff; }
.bundle-pricebox { text-align: center; margin-top: 30px; }
.bundle-pricebox .price-now { color: #f5c842; font-size: 3.1rem; }
.bundle-pricebox .price-was { color: #9d8bb8; }
.countdown { font-weight: 800; color: #f5c842; margin: 10px 0 18px; font-size: 1rem; }
.guarantee-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: #efe6f5;
}

/* ---------- founding families ---------- */
.founding { background: #fbf4e8; }
.founding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.founding-card { background: var(--card); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.founding-card h3 { font-size: 1.12rem; margin: 14px 0 10px; }
.founding-card .ico { font-size: 1.9rem; }
/* Opt-in full-card click affordance — only applies where .clickcards is added to the grid,
   so the shared .founding-card used for non-clickable info cards elsewhere stays untouched. */
.founding-grid.clickcards .founding-card { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.founding-grid.clickcards .founding-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -16px rgba(42,27,61,.28); }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.step { text-align: center; padding: 8px 10px; }
.step .num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, #f5c842, var(--gold-deep)); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 700;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }

/* ---------- why ---------- */
.why { background: linear-gradient(180deg, #fdf9f2, #f6ecf4); }
.why-quote {
  font-family: 'Fraunces', serif; font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-style: italic; color: var(--ink); max-width: 760px; margin: 26px auto 0; line-height: 1.4;
}

/* ---------- freebie ---------- */
.freebie-box {
  background: var(--card); border-radius: 26px; box-shadow: var(--shadow-lg);
  padding: 48px 40px; text-align: center; max-width: 640px; margin: 0 auto;
  border: 1px solid rgba(232, 177, 60, .25);
}
.email-form { display: flex; gap: 12px; max-width: 460px; margin: 26px auto 0; }
.email-form input {
  flex: 1; padding: 15px 20px; border-radius: 999px; border: 2px solid rgba(42,27,61,.15);
  font-size: 1rem; font-family: inherit; outline: none;
}
.email-form input:focus { border-color: var(--gold); }

/* ---------- faq ---------- */
.faq { max-width: 720px; margin: 40px auto 0; display: grid; gap: 14px; }
.faq details { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 20px 24px; }
.faq summary { font-weight: 800; color: var(--ink); cursor: pointer; font-size: 1.02rem; }
.faq p { margin-top: 10px; }

/* ---------- final cta ---------- */
.final { background: var(--ink); color: #efe6f5; text-align: center; }
.final .section-title { color: #fff; }

/* ---------- footer ---------- */
footer.site { background: #211433; color: #b9a9cf; padding: 44px 0; font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer.site a { color: #d9cce9; text-decoration: none; margin-right: 18px; }

/* ---------- sticky mobile buy bar ---------- */
.buybar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(33, 20, 51, .97); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; color: #fff;
}
.buybar .bb-price { font-weight: 900; font-size: 1.1rem; }
.buybar .bb-was { font-size: .85rem; color: #b9a9cf; text-decoration: line-through; margin-left: 6px; }
.buybar .btn { padding: 12px 26px; font-size: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .product-hero { grid-template-columns: 1fr; gap: 34px; }
  .contrast, .founding-grid, .steps { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .buybar { display: flex; }
  body.has-buybar { padding-bottom: 76px; }
}
