/* Coaching Certification Portal — landing page.
   Palette and type carried over from the LifeCharter Command Suite brand. */

:root {
  --deep-indigo: #1F315B;
  --sacred-teal: #2E7C83;
  --gold: #D4AF63;
  --gold-dark: #B8934A;
  --ivory: #F6F1E8;
  --ivory-light: #FBF7EF;
  --white: #ffffff;
  --ink: #1A1A2E;
  --line: #e3ddd0;
  --gray-500: #71717a;
  --gray-600: #52525b;

  --font-display: Fraunces, Georgia, Cambria, serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 12px 32px rgba(31, 49, 91, .08);
  --shadow-lift: 0 18px 44px rgba(31, 49, 91, .14);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--deep-indigo); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul { margin: 0 0 1.2em; padding-left: 1.1em; }
li { margin: .35em 0; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
section { padding: 84px 0; }
.tinted { background: var(--ivory); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sacred-teal); margin-bottom: .8em;
}
.section-header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-header p:last-child { color: var(--gray-600); }

/* Navigation */
.navbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 249, 244, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.logo { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--deep-indigo); text-decoration: none; }
.logo em { font-style: normal; color: var(--gold-dark); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: .93rem; }
.nav-links a { color: var(--gray-600); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--deep-indigo); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.mobile-only { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--deep-indigo); color: var(--white); box-shadow: 0 10px 24px rgba(31, 49, 91, .22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { border-color: var(--deep-indigo); color: var(--deep-indigo); }
.btn-ghost:hover { background: rgba(31, 49, 91, .06); }

/* Hero */
.hero {
  text-align: center; padding: 96px 0 72px;
  /* Dawn study artwork (Sept 2026); the soft ivory wash keeps the centred text easy to read. */
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, rgba(251, 249, 244, .78), rgba(251, 249, 244, .35) 70%, transparent 100%),
    url("assets/hero-bg.jpg") center / cover no-repeat,
    var(--ivory-light);
}
.hero .lede { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--deep-indigo); max-width: 720px; margin: 0 auto .8em; }
.hero .sub { max-width: 660px; margin: 0 auto 32px; color: var(--gray-600); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.trust-line { font-size: .86rem; color: var(--gray-500); letter-spacing: .02em; }

/* Numbers strip */
.strip { padding: 0; }
.strip .stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--deep-indigo); color: var(--white);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-lift);
  transform: translateY(-34px);
}
.stats div { text-align: center; }
.stats b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.stats span { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; opacity: .82; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
}
.card .ico { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.card p { margin: 0; color: var(--gray-600); font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.step .num { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-dark); display: block; margin-bottom: 8px; }
.step p { margin: 0; color: var(--gray-600); font-size: .96rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; margin-bottom: 40px; }
.plan {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow); text-align: center;
}
.plan.featured { border-color: var(--gold); box-shadow: var(--shadow-lift); transform: translateY(-8px); }
.plan .tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--deep-indigo); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.plan .price { font-family: var(--font-display); font-size: 3rem; color: var(--deep-indigo); line-height: 1; margin: 0 0 .2em; }
.plan .price span { font-family: var(--font-body); font-size: .9rem; color: var(--gray-500); font-weight: 500; margin-left: 4px; }
.plan-note { color: var(--deep-indigo); font-size: .92rem; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; text-align: left; }
.plan li { padding-left: 26px; position: relative; font-size: .95rem; color: var(--gray-600); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--sacred-teal); font-weight: 700; }
.plan .btn { width: 100%; }

.table-card { max-width: 820px; margin: 0 auto; }
.table-card h3 { text-align: center; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); }
td:last-child, th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.fine { font-size: .85rem; color: var(--gray-500); }

/* FAQ */
details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow);
}
summary { font-weight: 600; color: var(--deep-indigo); cursor: pointer; font-size: 1.02rem; }
details p { margin: 12px 0 0; color: var(--gray-600); }

/* Closing call to action */
.cta { text-align: center; background: var(--ivory); }
.cta p { color: var(--gray-600); }
.cta .btn { margin: 8px 0 18px; }

footer { background: var(--deep-indigo); color: rgba(255, 255, 255, .78); padding: 48px 0 36px; }
footer .logo, footer h3 { color: var(--white); }
footer .logo em { color: var(--gold); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-inner nav { display: flex; gap: 20px; font-size: .93rem; }
footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .fine { color: rgba(255, 255, 255, .6); }
.legal { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; margin-top: 26px; }

@media (max-width: 860px) {
  section { padding: 60px 0; }
  .nav-links { display: none; }
  .nav-links.mobile-open { display: flex; }
  .mobile-only { display: inline; }
  .strip .stats { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
}

/* Logo lockup: LifeCharter mark beside the portal name */
.logo-mark { display: flex; align-items: center; gap: 12px; }
.logo-mark img { height: 40px; width: auto; border-radius: 8px; }
.logo-mark span { white-space: nowrap; }
@media (max-width: 720px) { .logo-mark span { display: none; } }

/* Field icons, drawn to match the course covers */
.ico-art { width: 48px; height: 48px; color: var(--deep-indigo); display: block; margin-bottom: 14px; }
.tinted .ico-art { color: var(--deep-indigo); }

/* Keep the menu on one line on laptops: the on-page anchors drop out first (still reachable by scrolling). */
@media (max-width: 1360px) {
  .navbar .container { gap: 20px; }
  .nav-links { gap: 18px; }
  .nav-links a[href="#how"], .nav-links a[href="#faq"] { display: none; }
}
@media (max-width: 1100px) {
  .nav-links a[href="#fields"] { display: none; }
}
@media (max-width: 980px) {
  .nav-links a[href="#pricing"] { display: none; }
}
@media (max-width: 560px) {
  .navbar .container { gap: 10px; }
  .nav-actions { gap: 6px; margin-left: auto; }
  .navbar .btn { padding: 9px 13px; font-size: .84rem; }
  .logo-mark img { height: 34px; width: auto; }
}
footer nav { flex-wrap: wrap; row-gap: 8px; }
