/* =====================================================================
   Life Purpose Mastery — styles
   Mike: you don't need to edit this file. It controls the LOOK
   (colors, spacing, fonts). All your words live in content.js.
   ===================================================================== */

:root {
  --navy:       #1a2238;   /* deep, purposeful base */
  --navy-soft:  #273150;
  --gold:       #c9a15a;   /* warm premium accent */
  --gold-dark:  #a9812f;
  --cream:      #faf7f1;
  --ink:        #22262f;
  --muted:      #5b6270;
  --line:       #e7e2d7;
  --white:      #ffffff;
  --radius:     14px;
  --shadow:     0 10px 30px rgba(26, 34, 56, 0.10);
  --maxw:       1080px;
  --serif:      Georgia, 'Times New Roman', serif;
  --sans:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; }
.section-alt { background: var(--cream); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--navy); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0 0 .3em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700;
           color: var(--gold-dark); font-family: var(--sans); margin: 0 0 .8em; }
.lead { font-size: 1.15rem; color: var(--muted); }
p { margin: 0 0 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: none;
  background: var(--gold); color: var(--navy);
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(201, 161, 90, 0.35);
}
.btn:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 34, 56, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; max-width: var(--maxw); margin: 0 auto; }
.brand { font-family: var(--serif); color: var(--white); font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; text-decoration: none; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: #d9ddea; text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--white); }
.nav-links .btn { padding: 9px 18px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(201,161,90,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white); text-align: center; padding: 110px 0 120px;
}
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 6vw, 4rem); margin: 0 0 .25em; }
.hero .byline { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; font-weight: 700; margin-bottom: 1.6em; }
.hero .subhead { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: #dfe3ef; max-width: 720px; margin: 0 auto 2.2em; }

/* ---------- Generic content blocks ---------- */
.narrow { max-width: 760px; }
.block { margin-bottom: 40px; }
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { color: var(--navy); }
.card p { margin: 0; color: var(--muted); }

/* checkmark list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
  color: var(--navy); font-weight: 700; font-size: .8rem;
  display: grid; place-items: center;
}

/* ---------- Pyramid (7 levels) ---------- */
.pyramid { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 30px auto 44px; max-width: 560px; }
.tier {
  color: var(--white); text-align: center; font-weight: 700; letter-spacing: .04em;
  padding: 13px 10px; border-radius: 8px; font-family: var(--sans);
  box-shadow: var(--shadow);
}
.tier-0 { width: 44%; background: var(--gold); color: var(--navy); }
.tier-1 { width: 52%; background: #4a3f6b; }
.tier-2 { width: 60%; background: #3d4a78; }
.tier-3 { width: 68%; background: #34567f; }
.tier-4 { width: 76%; background: #2f6274; }
.tier-5 { width: 84%; background: #2f6f63; }
.tier-6 { width: 92%; background: var(--navy-soft); }

.levels-detail { display: grid; gap: 16px; }
.level-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.level-row:first-child { border-top: none; }
.level-name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.level-text { margin: 0; color: var(--muted); }

/* ---------- Investment ---------- */
.invest-card {
  text-align: center; background: var(--navy); color: var(--white);
  border-radius: 20px; padding: 54px 34px; box-shadow: var(--shadow);
}
.invest-card h2 { color: var(--white); }
.invest-card .price { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 3.6rem); color: var(--gold); margin: 10px 0 6px; font-weight: 700; }
.invest-card p { color: #dfe3ef; max-width: 620px; margin: 0 auto 1.1em; }
.invest-card .proof { color: var(--gold); font-weight: 700; font-size: 1.05rem; margin: 10px auto 1.8em; }

/* ---------- Reviews ---------- */
.reviews-grid { columns: 2; column-gap: 22px; }
.review {
  break-inside: avoid; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px; margin: 0 0 22px; box-shadow: var(--shadow);
}
.review .quote { margin: 0 0 14px; font-size: 1.02rem; color: var(--ink); }
.review .quote::before { content: "“"; color: var(--gold); font-family: var(--serif); font-size: 2.2rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.review .name { font-weight: 700; color: var(--navy); font-size: .95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.about-photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-photo-wrap { position: sticky; top: 90px; }
.sub-list { columns: 2; column-gap: 26px; margin: 0 0 8px; padding-left: 20px; }
.sub-list li { margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .lead { color: #dfe3ef; }
.form-card { background: var(--white); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); max-width: 640px; margin: 26px auto 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.field .req { color: var(--gold-dark); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d5d8e0; border-radius: 10px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: #fcfcfd;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,161,90,0.2); }
.field textarea { min-height: 120px; resize: vertical; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 5px; }
.form-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 14px; }
.form-success { display: none; text-align: center; background: #eaf6ec; border: 1px solid #bfe3c6; color: #1f5b2c; border-radius: 12px; padding: 18px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4c9d8; text-align: center; padding: 40px 20px; }
.site-footer .tagline { font-family: var(--serif); color: var(--gold); font-size: 1.2rem; margin-bottom: 8px; }
.site-footer .copy { font-size: .85rem; color: #8b91a4; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  section { padding: 60px 0; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--navy); padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 22px; width: 100%; }
  .nav-links .btn { margin: 10px 22px; text-align: center; }
  .nav-toggle { display: block; }
  .reviews-grid { columns: 1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { position: static; max-width: 260px; margin: 0 auto; }
  .level-row { grid-template-columns: 1fr; gap: 4px; }
  .sub-list { columns: 1; }
}
