/* ============================================================
   Principal Well — Landing / Sales Page
   Brand: navy #0B1B2E · gold #C9A248 · cream #FAF8F4
   Type:  Lora (display) · Mulish (body)
   ============================================================ */

:root {
  --navy: #0B1B2E;
  --navy-darkest: #091525;
  --gold: #C9A248;
  --gold-soft: #D9BC77;
  --cream: #FAF8F4;
  --cream-alt: #EDE9E1;
  --ink: #3A4A5C;
  --ink-soft: #6B7886;
  --line: #E3DDD1;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 10px rgba(11, 27, 46, 0.05);
  --shadow-md: 0 10px 40px rgba(11, 27, 46, 0.08);
  --shadow-lg: 0 30px 80px rgba(11, 27, 46, 0.16);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: 'Mulish', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 18px;
}

.serif-italic { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 8px 22px rgba(11, 27, 46, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 27, 46, 0.30); background: var(--navy-darkest); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(201, 162, 72, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 162, 72, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--navy); }
.btn-lg { padding: 19px 38px; font-size: 17px; }

/* ---------- Seal ---------- */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-brand { display: flex; align-items: center; gap: 13px; }
.nav-brand .name {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(1200px 500px at 80% -5%, rgba(201,162,72,0.10), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 600;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lede {
  font-size: 20px;
  color: var(--ink);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-sub {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-sub .dot { width: 7px; height: 7px; border-radius: 50%; background: #5FА36B; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 44px; }
  .hero-visual { order: -1; }
}

/* ---------- Phone mockup ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-glow {
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(201,162,72,0.22), transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  background: var(--navy);
  border-radius: 44px;
  padding: 11px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: var(--cream);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  height: 600px;
}
.ps-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 6px; font-size: 13px; font-weight: 800; color: var(--navy);
}
.ps-body { padding: 14px 20px; }
.ps-greet-eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.ps-greet { font-family: 'Lora', serif; font-size: 25px; color: var(--navy); margin: 5px 0 2px; }
.ps-sub { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 18px; }
.ps-mood { display: flex; gap: 9px; margin-bottom: 20px; }
.ps-mood span { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); }
.ps-mood span.on { background: var(--gold); border-color: var(--gold); }
.ps-card {
  background: var(--white);
  border-radius: 16px;
  padding: 15px 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 13px;
}
.ps-card .t { font-family: 'Lora', serif; font-size: 15.5px; color: var(--navy); font-weight: 600; }
.ps-card .d { font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; }
.ps-quote {
  background: var(--cream-alt);
  border-radius: 16px;
  padding: 16px;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  text-align: center;
  margin-bottom: 13px;
}
.ps-tabs {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-around; padding: 13px 0 16px;
  background: var(--white); border-top: 1px solid var(--line);
}
.ps-tabs span { width: 22px; height: 22px; border-radius: 6px; background: var(--cream-alt); }
.ps-tabs span.active { background: var(--gold); }

/* ---------- Section scaffolding ---------- */
section { padding: 92px 0; }
.section-alt { background: var(--cream-alt); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-head { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.section-head h2 { font-size: 42px; margin-bottom: 18px; }
.section-head p { font-size: 19px; color: var(--ink-soft); }
.section-navy .section-head p { color: rgba(250,248,244,0.72); }

/* ---------- Problem / empathy ---------- */
.empathy { text-align: center; }
.empathy h2 { font-size: 40px; max-width: 800px; margin: 0 auto 30px; }
.empathy h2 em { color: var(--gold); font-style: italic; }
.empathy-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 760px; margin: 0 auto;
}
.empathy-list span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(250,248,244,0.16);
  color: var(--cream);
  padding: 9px 18px; border-radius: 100px; font-size: 15px; font-weight: 600;
}

/* ---------- Shift ---------- */
.shift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.shift-words { display: flex; flex-direction: column; gap: 14px; }
.shift-line { display: flex; align-items: baseline; gap: 14px; font-size: 22px; }
.shift-line .x { color: #C2766A; font-weight: 800; font-family: 'Mulish'; }
.shift-line .strike { text-decoration: line-through; color: var(--ink-soft); }
.shift-line .arrow { color: var(--gold); font-weight: 800; }
.shift-line .word { font-family: 'Lora', serif; font-weight: 600; color: var(--navy); }
@media (max-width: 820px){ .shift-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Pillars / features ---------- */
.pillar { margin-bottom: 78px; }
.pillar:last-child { margin-bottom: 0; }
.pillar-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.pillar-head .num {
  font-family: 'Lora', serif; font-size: 20px; font-weight: 600;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--gold); border: 1.5px solid var(--gold);
  flex-shrink: 0;
}
.pillar-head h3 { font-size: 30px; }
.pillar-head .tag { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fcard .ficon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; background: var(--cream-alt);
}
.fcard h4 { font-size: 20px; margin-bottom: 9px; }
.fcard p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }
.fcard .feat-note {
  margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 920px){ .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Quote band ---------- */
.quoteband { text-align: center; }
.quoteband blockquote {
  font-family: 'Lora', serif; font-style: italic; font-size: 34px;
  line-height: 1.35; color: var(--cream); max-width: 880px; margin: 0 auto 24px;
}
.quoteband blockquote em { color: var(--gold); }
.quoteband cite { font-style: normal; font-size: 15px; color: rgba(250,248,244,0.6); font-weight: 700; }

/* ---------- Pricing ---------- */
.pricing { text-align: center; }
.price-card {
  max-width: 460px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.price-top { background: var(--navy); color: var(--cream); padding: 36px 34px 30px; }
.price-top .plan { font-family: 'Mulish'; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12.5px; font-weight: 800; color: var(--gold-soft); }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 14px 0 6px; }
.price-amount .amt { font-family: 'Lora', serif; font-size: 58px; font-weight: 600; }
.price-amount .per { font-size: 17px; color: rgba(250,248,244,0.7); font-weight: 600; }
.price-top .note { font-size: 14px; color: rgba(250,248,244,0.7); }
.price-body { padding: 32px 34px 36px; text-align: left; }
.price-body ul { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.price-body li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink); }
.price-body li .ck { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.price-body .btn { width: 100%; }
.price-guarantee { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Founder note ---------- */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: center; }
.founder-mark {
  display: flex; justify-content: center;
}
.founder-quote { font-family: 'Lora', serif; font-size: 23px; line-height: 1.5; color: var(--navy); }
.founder-quote p { margin-bottom: 18px; }
.founder-sig { font-size: 15px; color: var(--ink-soft); font-weight: 700; font-family: 'Mulish'; }
@media (max-width: 820px){ .founder { grid-template-columns: 1fr; gap: 28px; text-align: center; } .founder-mark{ order:-1;} }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 26px 4px; font-family: 'Lora', serif; font-size: 20px; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-weight: 600;
}
.faq-q .pm { color: var(--gold); font-size: 26px; flex-shrink: 0; transition: transform 0.2s; font-family: 'Mulish'; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 4px 26px; color: var(--ink-soft); font-size: 16.5px; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Final CTA ---------- */
.finalcta { text-align: center; }
.finalcta h2 { font-size: 46px; max-width: 760px; margin: 0 auto 22px; }
.finalcta h2 em { color: var(--gold); font-style: italic; }
.finalcta p { font-size: 19px; color: rgba(250,248,244,0.75); max-width: 560px; margin: 0 auto 36px; }
.finalcta .hero-sub { justify-content: center; color: rgba(250,248,244,0.6); }
.finalcta .hero-sub .dot { background: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-darkest); color: rgba(250,248,244,0.7); padding: 64px 0 38px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand { max-width: 320px; }
.footer-brand .name { font-family: 'Lora', serif; font-size: 21px; color: var(--cream); margin: 14px 0 10px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; }
.footer-col h5 { font-family: 'Mulish'; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--gold-soft); margin-bottom: 16px; font-weight: 800; }
.footer-col a { display: block; font-size: 15px; margin-bottom: 11px; color: rgba(250,248,244,0.7); transition: color 0.15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(250,248,244,0.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13.5px; }
.footer-bottom .parent { color: rgba(250,248,244,0.55); }
.footer-bottom .parent strong { color: var(--gold-soft); font-weight: 700; }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 90px; background: var(--cream); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.legal h1 { font-size: 44px; margin-bottom: 10px; }
.legal .updated { color: var(--ink-soft); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 25px; margin: 38px 0 14px; }
.legal h3 { font-size: 19px; margin: 26px 0 10px; }
.legal p, .legal li { font-size: 16.5px; color: var(--ink); margin-bottom: 14px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold); font-weight: 700; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); margin-bottom: 30px; }
.legal .disclaimer { background: var(--cream-alt); border-radius: var(--r-md); padding: 22px 24px; font-size: 15px; color: var(--ink-soft); margin-top: 34px; }

/* ---------- Brand / slogan band ---------- */
.brandband { padding: 86px 0; background: var(--cream-alt); text-align: center; }
.brand-lockup { display: flex; justify-content: center; margin-bottom: 30px; }
.brand-lockup svg { border-radius: 30px; box-shadow: 0 24px 64px rgba(11,27,46,0.18); }
.slogan { font-size: 50px; line-height: 1.06; margin-bottom: 8px; }
.slogan em { color: var(--gold); font-style: italic; }
.slogan-sub {
  font-family: 'Lora', serif; font-style: italic; font-size: 33px;
  color: var(--gold); margin-bottom: 24px;
}
.slogan-note {
  font-size: 13px; color: var(--ink-soft); text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 800;
}
@media (max-width: 620px) {
  .slogan { font-size: 34px; }
  .slogan-sub { font-size: 24px; }
}

/* ---------- Permission band ---------- */
.permission { background: var(--navy); color: var(--cream); text-align: center; }
.permission h2 { font-size: 44px; color: var(--cream); margin-bottom: 18px; max-width: 760px; margin-left:auto; margin-right:auto; }
.permission h2 em { color: var(--gold); font-style: italic; }
.permission .lede { color: rgba(250,248,244,0.74); font-size: 19px; max-width: 600px; margin: 0 auto 52px; }
.perm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 960px; margin: 0 auto 44px; }
.perm-slip {
  background: var(--cream);
  color: var(--navy);
  border-radius: 14px;
  padding: 28px 18px 24px;
  position: relative;
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.22s ease;
}
.perm-slip:hover { transform: rotate(0deg) translateY(-4px); }
.perm-slip .stub {
  font-family: 'Mulish'; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 10px; font-weight: 800; color: var(--gold);
  border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 14px;
}
.perm-slip .grant { font-family: 'Lora', serif; font-size: 19px; font-weight: 600; line-height: 1.3; }
.perm-slip .seal-dot {
  width: 26px; height: 26px; border-radius: 50%; margin: 16px auto 0;
  background: radial-gradient(circle at 35% 30%, #D8BC83, #9C7A30);
  display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond','Lora',serif; font-size:12px; font-weight:700; color:#FAF8F4;
}
.permission .close-line { font-family:'Lora',serif; font-style:italic; font-size:22px; color:var(--cream); max-width:640px; margin:0 auto; }
.permission .close-line em { color: var(--gold); }
@media (max-width: 820px){ .perm-grid { grid-template-columns: 1fr 1fr; } .permission h2{font-size:34px;} }
@media (max-width: 480px){ .perm-grid { grid-template-columns: 1fr; } }

/* ---------- Built by a principal ---------- */
.builtby { background: var(--cream); }
.builtby-card {
  max-width: 880px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 50px;
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
}
.builtby-badge {
  width: 132px; height: 132px; border-radius: 28px;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--cream); flex-shrink: 0; text-align: center; gap: 6px;
}
.builtby-badge .ring {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond','Lora',serif; font-size:30px; font-weight:700;
}
.builtby-badge .ring .pg { color: var(--cream); }
.builtby-badge .ring .wg { color: var(--gold); }
.builtby-badge small { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 800; }
.builtby h2 { font-size: 32px; margin-bottom: 14px; }
.builtby p { font-size: 17.5px; color: var(--ink); margin-bottom: 22px; line-height: 1.6; }
.builtby-roles { display: flex; flex-wrap: wrap; gap: 10px; }
.builtby-roles span {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--cream-alt); border-radius: 100px; padding: 8px 16px;
  font-size: 14.5px; font-weight: 700; color: var(--navy);
}
.builtby-roles span .arr { color: var(--gold); font-weight: 800; }
@media (max-width: 720px){
  .builtby-card { grid-template-columns: 1fr; gap: 26px; padding: 36px 28px; text-align: center; }
  .builtby-badge { margin: 0 auto; }
  .builtby-roles { justify-content: center; }
}

/* ---------- Cross-sell band ---------- */
.crosssell { background: var(--cream-alt); }
.cs-card {
  max-width: 940px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 44px 48px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.cs-card .eyebrow { margin-bottom: 12px; }
.cs-card h2 { font-size: 30px; margin-bottom: 12px; }
.cs-card p { font-size: 17px; color: var(--ink-soft); max-width: 540px; }
.cs-card p b { color: var(--navy); }
.cs-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; flex-shrink: 0; }
@media (max-width: 760px){
  .cs-card { grid-template-columns: 1fr; gap: 26px; padding: 34px 28px; text-align: center; }
  .cs-cta { align-items: center; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
