/* ============================================================
   Guideposts to Success — Landing Page
   Palette: Deep Blue (trust) · Gold (excellence) · White (clarity)
   ============================================================ */

:root {
  --blue-900: #0b2545;
  --blue-800: #13315c;
  --blue-700: #1b3a6b;
  --blue-100: #e7eefb;
  --gold: #e6a817;
  --gold-dark: #c98c0a;
  --orange: #ff6a3d;
  --orange-dark: #ef572a;
  --ink: #16243a;
  --muted: #5a6b82;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-tint: #f5f8fd;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 18px 40px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 30px 60px rgba(11, 37, 69, 0.18);
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- WordPress block-layout neutralizer ----------
   The custom design controls all spacing via element classes. Force the core
   block-gap variable to 0 so the block-theme Group wrappers that deliver these
   sections never inject extra margins between them. */
:root,
body,
.wp-site-blocks { --wp--style--block-gap: 0px; }
.wp-block-group { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-800); box-shadow: var(--shadow-md); }

.btn-gold {
  background: var(--gold);
  color: var(--blue-900);
  box-shadow: 0 10px 24px rgba(230, 168, 23, 0.35);
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-ghost {
  background: transparent;
  color: var(--blue-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--blue-900);
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 800;
  font-size: 18px;
  color: var(--blue-900);
}
.brand-sub { font-size: 11px; font-weight: 600; color: var(--gold-dark); letter-spacing: 0.5px; text-transform: uppercase; }
.brand--light .brand-name { color: var(--white); }
.brand--light .brand-sub { color: var(--gold); }

/* Dynamic Site Logo (Site Logo block) — matched to the old rounded mark. */
.brand .wp-block-site-logo { margin: 0; line-height: 0; }
.brand .wp-block-site-logo a { display: block; }
.brand .wp-block-site-logo img,
.brand img.custom-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.brand--light .wp-block-site-logo img,
.brand--light img.custom-logo {
  border-radius: 8px;
}

.nav { display: flex; gap: 28px; }
.nav a { font-weight: 500; color: var(--muted); font-size: 15px; transition: color 0.15s; }
.nav a:hover { color: var(--blue-900); }

.header-cta { display: flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 80% -10%, rgba(230, 168, 23, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(19, 49, 92, 0.08), transparent 55%),
    var(--bg);
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-800);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 20px;
  color: var(--blue-900);
}
.hero h1 .accent,
.hero h1 strong { display: block; color: var(--gold); font-weight: inherit; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero card */
.hero-card {
  position: relative;
  min-height: 380px;
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.card-glow {
  position: absolute;
  inset: auto -20px -20px auto;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(230, 168, 23, 0.55), transparent 70%);
  filter: blur(8px);
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  width: 250px;
}
.float-card strong { display: block; font-size: 14px; color: var(--blue-900); }
.float-card span { font-size: 12.5px; color: var(--muted); }
.float-card--top { top: 28px; left: -22px; }
.float-card--mid { top: 50%; right: -26px; transform: translateY(-50%); }
.float-card--bottom { bottom: 26px; left: 30px; }
.fc-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  font-weight: 700; flex-shrink: 0;
}
.fc-icon--gold { background: rgba(230, 168, 23, 0.16); color: var(--gold-dark); }
.fc-icon--blue { background: var(--blue-100); color: var(--blue-800); }
.fc-avatars { display: flex; }
.fc-avatars span {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--white); margin-left: -8px;
  background: linear-gradient(135deg, var(--gold), var(--blue-700));
}
.fc-avatars span:first-child { margin-left: 0; }

/* ---------- Mission band ---------- */
.mission { background: var(--ink); color: var(--white); padding: 64px 0; }
.mission-text {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.4;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}
.mission-text strong { color: var(--gold); }
.mission-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ms { text-align: center; }
.ms-num { display: block; font-family: var(--display); font-weight: 700; font-size: 34px; }
.ms-cap { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; }
.plus { color: var(--orange); }

/* ---------- Generic section ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--bg-tint); }
.eyebrow { display: inline-block; color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--blue-900);
  margin: 0 0 14px;
}
.section-sub { font-size: 17px; color: var(--muted); margin: 0 auto 0; }
.narrow.center .section-sub { max-width: 620px; }

/* ---------- Problem (chips) ---------- */
.eyebrow-pill {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--orange);
  background: rgba(255, 106, 61, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--blue-900);
  margin: 0 0 14px;
}
.lead { font-size: 18px; color: var(--muted); margin: 0 auto; }
.narrow.center .lead { max-width: 600px; }
#problem .lead { margin-bottom: 40px; }
.chips {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.chips li {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.chips li::before { content: "—"; color: var(--orange); font-weight: 700; margin-right: 8px; }
.closer {
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--blue-900);
  margin: 0;
}
.closer-hl { color: var(--orange); }

/* ---------- What you will gain (split + staggered cards) ---------- */
.gain-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.gain-intro .section-title { margin-top: 12px; }
.gain-intro .section-sub { margin: 0; }
.gain-checklist { list-style: none; margin: 26px 0 32px; padding: 0; }
.gain-checklist li { position: relative; padding: 8px 0 8px 30px; font-weight: 500; color: var(--ink); }
.gain-checklist li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 14px; height: 8px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}
.gain-cards { display: flex; gap: 22px; }
.gain-col { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.gain-col--offset { margin-top: 48px; }
.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.benefit-ico { display: block; color: var(--orange); margin-bottom: 14px; }
.benefit-ico svg { width: 28px; height: 28px; display: block; }
.benefit-card h3 { margin: 0 0 8px; font-size: 19px; color: var(--blue-900); font-family: var(--display); }
.benefit-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Who it's for ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.who-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.who-card--featured {
  background: linear-gradient(165deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.who-card h3 { font-family: var(--display); font-size: 20px; margin: 0 0 16px; color: var(--blue-900); }
.who-card--featured h3 { color: var(--white); }
.who-card ul { list-style: none; margin: 0; padding: 0; }
.who-card li { padding: 8px 0 8px 26px; position: relative; color: var(--muted); }
.who-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.who-card--featured li { color: rgba(255, 255, 255, 0.85); }
.who-tag {
  position: absolute;
  top: -12px; left: 26px;
  background: var(--gold);
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Testimonials (plain auto-slider) ---------- */
.t-slider { margin-top: 40px; overflow: hidden; }
.t-track { display: flex; transition: transform 0.6s ease; }
.t-slide { flex: 0 0 100%; margin: 0; text-align: center; padding: 0 16px; }
.t-slide blockquote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.45;
  color: var(--blue-900);
  margin: 0 auto 28px;
  max-width: 720px;
}
.t-slide figcaption { display: inline-flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-700), var(--gold));
  color: var(--white); font-weight: 700; flex-shrink: 0;
}
.t-meta { text-align: left; }
.t-meta strong { display: block; color: var(--blue-900); }
.t-role { font-size: 13px; color: var(--muted); }
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.t-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: var(--line); cursor: pointer; transition: width 0.2s, background 0.2s;
}
.t-dots button.active { width: 26px; background: var(--gold); }

/* ---------- Registration ---------- */
.register-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.register-copy {
  background: linear-gradient(165deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  padding: 48px 40px;
}
.register-copy .section-title { color: var(--white); }
.register-copy .section-sub { color: rgba(255, 255, 255, 0.8); margin-bottom: 26px; }
.reg-facts { margin: 0; }
.reg-fact { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.reg-fact:last-child { border-bottom: 0; }
.reg-fact dt { color: var(--gold); font-weight: 600; font-size: 14px; }
.reg-fact dd { margin: 0; text-align: right; color: var(--white); font-weight: 500; }

.register-form { background: var(--white); padding: 40px; }
.track-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 22px;
}
.track-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.track-toggle label {
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s;
}
.track-toggle input:checked + label { background: var(--blue-900); color: var(--white); box-shadow: var(--shadow-sm); }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--blue-900); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.field input.invalid, .field textarea.invalid { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12); }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-success {
  margin: 16px 0 0;
  background: rgba(230, 168, 23, 0.12);
  border: 1px solid var(--gold);
  color: var(--blue-900);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  padding: 0 22px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  color: var(--blue-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--gold-dark);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(230, 168, 23, 0.18), transparent 65%),
    linear-gradient(160deg, var(--blue-900), var(--blue-800));
  color: var(--white);
  padding: 80px 0;
}
.final-cta h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; letter-spacing: -0.5px; }
.final-cta p { font-size: 18px; color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #081a31; color: rgba(255, 255, 255, 0.7); padding: 56px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 16px 0 0; font-size: 14.5px; max-width: 360px; }
.footer-nav h4 { color: var(--white); font-size: 15px; margin: 0 0 14px; }
.footer-nav a { display: block; padding: 6px 0; font-size: 14.5px; transition: color 0.15s; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { margin: 0; font-size: 13.5px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 440px; margin: 0 auto; width: 100%; }
  .gain-layout { grid-template-columns: 1fr; gap: 36px; }
  .register-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    gap: 0;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .nav a:last-child { border-bottom: 0; }
  .section { padding: 60px 0; }
  .mission-stats { grid-template-columns: 1fr; gap: 24px; }
  .who-grid { grid-template-columns: 1fr; }
  .gain-cards { flex-direction: column; }
  .gain-col--offset { margin-top: 0; }
  .who-card--featured { transform: none; }
  .field-row { grid-template-columns: 1fr; }
  .register-copy, .register-form { padding: 32px 24px; }
  .float-card--mid { right: -10px; }
  .float-card--top { left: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
