/* =========================================================
   The College Confidence Coach — Design System
   Brand: owl/wisdom crest · ink navy + azure cyan + warm gold
   ========================================================= */

:root {
  /* Palette */
  --ink:        #0b1a2b;
  --ink-2:      #0f2336;
  --ink-3:      #16314a;
  --azure:      #18a0db;   /* bright brand accent — borders, icons, accents on dark */
  --azure-600:  #0a6fa6;   /* AA-safe for inline text/links/labels on light bg */
  --azure-cta:  #0c7cb0;   /* AA-safe (4.6:1) for white text on solid fills */
  --azure-cta-h:#0a6296;   /* CTA hover */
  --azure-300:  #7cd0f5;
  --gold:       #d6a64e;
  --gold-soft:  #e7c987;
  --cream:      #f8f3e9;
  --paper:      #fcfaf4;
  --white:      #ffffff;

  --text:       #1d2b38;
  --text-soft:  #51616f;
  --text-onink: #e8eef4;
  --text-onink-soft: #a9bccc;

  --line:       #e7e0d0;
  --line-ink:   rgba(255,255,255,.12);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(11,26,43,.06);
  --shadow:    0 18px 50px -22px rgba(11,26,43,.30);
  --shadow-lg: 0 40px 90px -30px rgba(11,26,43,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }  /* ensure the hidden attr wins over component display rules (e.g. .compass__panel) */
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
em { font-style: italic; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(72px, 9vw, 130px) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); }
.grid-2--center { align-items: center; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--azure-600); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--gold); display:inline-block; }
.eyebrow--light { color: var(--azure-300); }

.section__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.08;
  letter-spacing: -.015em; color: var(--ink);
}
.section__title em { color: var(--azure-600); font-style: italic; }
.section__title--light { color: var(--white); }
.section__title--light em { color: var(--gold-soft); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); margin-top: 18px; }
.lede--center { margin-inline: auto; }
.lede--light { color: var(--text-onink-soft); }
p + p { margin-top: 16px; }
.section p { color: var(--text-soft); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--azure);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--primary { background: var(--azure-cta); color: #fff; box-shadow: 0 10px 26px -10px rgba(12,124,176,.7); }
.btn--primary:hover { background: var(--azure-cta-h); transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(12,124,176,.85); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.cta .btn--outline { color: var(--ink); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,244,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); background: rgba(252,250,244,.95); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__line1 { font-family: var(--serif); font-weight: 600; font-size: .82rem; letter-spacing: .02em; color: var(--text-soft); }
.brand__line2 { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; color: var(--ink); letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.nav__cta) { padding: 9px 13px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--text-soft); transition: color .2s, background .2s; }
.nav > a:not(.nav__cta):hover { color: var(--ink); background: rgba(11,26,43,.05); }
.nav__cta { margin-left: 10px; color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.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 {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(24,160,219,.16), transparent 60%),
    linear-gradient(160deg, #0d2034 0%, var(--ink) 55%, #081522 100%);
  color: var(--text-onink);
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 0;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__emblem {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(720px, 62vw); opacity: .07; filter: saturate(.6);
}
.hero__glow {
  position: absolute; left: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(24,160,219,.28), transparent 62%);
  filter: blur(10px);
}
.hero__inner { position: relative; max-width: 880px; padding-block: clamp(40px, 6vw, 72px) clamp(48px, 6vw, 72px); }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1.03; letter-spacing: -.02em;
  color: #fff; margin-bottom: 26px;
}
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: var(--text-onink-soft); max-width: 660px; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 38px; font-size: .9rem; color: var(--text-onink-soft); }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges strong { color: #fff; font-weight: 600; }
.hero__badge-star { color: var(--gold); }

.hero__stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-ink);
  border-top: 1px solid var(--line-ink);
  margin-top: 8px;
}
.stat { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); padding: 30px clamp(14px,2vw,28px) 38px; }
.stat__num { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.7rem); color: #fff; letter-spacing: -.02em; }
.stat__suffix { font-family: var(--serif); color: var(--azure-300); font-size: .8em; }
.stat__label { display: block; margin-top: 8px; font-size: .86rem; color: var(--text-onink-soft); }

/* =========================================================
   TRUST MARQUEE
   ========================================================= */
.trust { background: var(--ink-2); padding: 34px 0 40px; border-top: 1px solid var(--line-ink); overflow: hidden; }
.trust__label { text-align: center; color: var(--text-onink-soft); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 46s linear infinite; }
.marquee__track span {
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.55rem); color: #cddcea; font-weight: 500;
  padding: 0 30px; position: relative; white-space: nowrap; opacity: .85;
}
.marquee__track span::after { content: "·"; position: absolute; right: -4px; color: var(--gold); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* =========================================================
   PROBLEM
   ========================================================= */
.problem { background: var(--paper); }
.problem .lede em, .problem p em { color: var(--ink); font-style: italic; }
.problem__cards { display: grid; gap: 16px; }
.pcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard__num { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; color: var(--azure-600); line-height: 1; min-width: 92px; }
.pcard__text { color: var(--text-soft); font-size: .98rem; }
.pcard__text em { color: var(--ink); }

/* =========================================================
   METHOD
   ========================================================= */
.method { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch;
  max-width: 980px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.compare__col { padding: clamp(28px, 4vw, 44px); }
.compare__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 20px; }
.compare__col ul li { position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--text-soft); font-size: .98rem; }
.compare__col ul li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.compare__col--bad { background: #fbf6f3; }
.compare__col--bad .compare__title { color: #b4593e; }
.compare__col--bad ul li::before { content: "✕"; color: #cf7458; }
.compare__col--good .compare__title { color: var(--azure-600); }
.compare__col--good ul li::before { content: "✓"; color: var(--azure); }
.compare__col--good ul li em { color: var(--ink); font-weight: 600; }
.compare__vs {
  display: flex; align-items: center; justify-content: center; width: 64px;
  font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.2rem;
  background: var(--cream); border-inline: 1px solid var(--line);
}

/* =========================================================
   ROADMAP
   ========================================================= */
.roadmap {
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(24,160,219,.10), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-onink);
}
.steps { counter-reset: step; max-width: 980px; margin-inline: auto; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 38px; top: 30px; bottom: 30px; width: 2px;
  background: linear-gradient(var(--azure), rgba(24,160,219,.1));
}
.step { display: grid; grid-template-columns: 78px 1fr; gap: clamp(20px, 3vw, 40px); padding: 22px 0; position: relative; }
.step__index {
  position: relative; z-index: 1;
}
.step__index span {
  display: flex; align-items: center; justify-content: center; width: 78px; height: 78px;
  border-radius: 50%; background: var(--ink-3); border: 2px solid var(--azure);
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: #fff;
  box-shadow: 0 0 0 8px rgba(11,26,43,.6);
}
.step__title { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; color: #fff; margin-bottom: 10px; }
.step__body p { color: var(--text-onink-soft); max-width: 640px; }
.step__body p em { color: #fff; font-style: italic; }
.step__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.step__tags li {
  font-size: .8rem; padding: 6px 13px; border-radius: 999px;
  background: rgba(24,160,219,.12); border: 1px solid rgba(24,160,219,.3); color: var(--azure-300);
}

/* =========================================================
   PILLARS
   ========================================================= */
.pillars { background: var(--cream); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pillar {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar__head { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pillar__name { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; letter-spacing: -.01em; }
.pillar__for { color: var(--text-soft); font-size: .92rem; margin-top: 4px; }
.pillar__desc { color: var(--text-soft); font-size: .96rem; }
.pillar__list { margin: 22px 0 26px; }
.pillar__list li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: .95rem; color: var(--text); }
.pillar__list li::before { content: "✓"; position: absolute; left: 0; color: var(--azure); font-weight: 700; }
.pillar__cta { margin-top: auto; width: 100%; }

/* Silver / Gold / Platinum accents */
.pillar__name { color: var(--ink); }
.pillar--featured { border-color: var(--azure); box-shadow: 0 30px 70px -34px rgba(24,160,219,.6); transform: translateY(-8px); }
.pillar--featured:hover { transform: translateY(-12px); }
.pillar--featured .pillar__name { color: var(--azure-600); }
.pillar__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--azure-cta); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; box-shadow: 0 8px 18px -6px rgba(12,124,176,.7);
}
.pillar--plat { background: linear-gradient(180deg, #fffdf8, #fff); border-color: var(--gold-soft); }
.pillar--plat .pillar__name { color: var(--gold); }
.pillar--plat .pillar__list li::before { color: var(--gold); }
.pillars__note { text-align: center; margin-top: 36px; color: var(--text-soft); font-size: .98rem; }

/* =========================================================
   FINANCE
   ========================================================= */
.finance {
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(214,166,78,.14), transparent 55%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  color: var(--text-onink);
}
.finance__list { margin-top: 26px; display: grid; gap: 14px; }
.finance__list li { position: relative; padding-left: 32px; color: var(--text-onink-soft); }
.finance__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--ink);
  background: var(--azure-300); width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800;
}
.finance__panel {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-ink); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px); backdrop-filter: blur(4px);
}
.finance__panel-eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-onink-soft); margin-bottom: 18px; }
.cost { border-top: 1px solid var(--line-ink); }
.cost li { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.cost__label { color: var(--text-onink-soft); }
.cost__val { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: #fff; }
.finance__save { margin-top: 26px; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(214,166,78,.18), rgba(214,166,78,.04)); border: 1px solid rgba(214,166,78,.35); }
.finance__save-num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-soft); line-height: 1; }
.finance__save-text { display: block; margin-top: 10px; color: var(--text-onink-soft); font-size: .94rem; }
.finance__src { margin-top: 16px; font-size: .76rem; color: rgba(169,188,204,.7); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--paper); }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about__media::before {
  content: ""; position: absolute; inset: -16px -16px 24px 24px; z-index: -1;
  border-radius: var(--radius-lg); border: 2px solid var(--azure); opacity: .4;
}
.about__media-badge {
  position: absolute; right: -10px; bottom: 26px; background: var(--ink); color: #fff;
  padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow);
  max-width: 230px;
}
.about__media-badge-num { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--gold-soft); }
.about__media-badge-text { display: block; font-size: .78rem; color: var(--text-onink-soft); margin-top: 4px; }
.about__creds { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.about__creds li { display: flex; flex-direction: column; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 20px; box-shadow: var(--shadow-sm); }
.about__creds li span { font-family: var(--serif); font-weight: 700; color: var(--azure-600); font-size: 1.05rem; }
.about__creds li { font-size: .85rem; color: var(--text-soft); }

/* =========================================================
   RESULTS / TESTIMONIALS
   ========================================================= */
.results { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.quotes { columns: 3; column-gap: 24px; }
.quote {
  break-inside: avoid; margin: 0 0 24px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 28px 24px; box-shadow: var(--shadow-sm);
  position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quote::before { content: "\201C"; font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--azure); opacity: .25; display: block; margin-bottom: 8px; }
.quote blockquote { font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.quote figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.quote__name { font-weight: 700; color: var(--ink); }
.quote__role { font-size: .85rem; color: var(--azure-600); }

/* =========================================================
   MASTERCLASS
   ========================================================= */
.masterclass {
  background: linear-gradient(120deg, var(--azure-600), var(--ink-3));
  color: #fff;
}
.masterclass__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.masterclass__inner > div { max-width: 640px; }
.masterclass .lede { color: #fff; }
.masterclass .btn--primary { background: #fff; color: var(--ink); }
.masterclass .btn--primary:hover { background: var(--cream); }

/* =========================================================
   CTA / CONTACT
   ========================================================= */
.cta { background: var(--cream); }
.cta__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.cta__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.cta__lead { color: var(--text-soft); font-size: 1.1rem; margin-top: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.cta__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 44px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); text-align: left; }
.cta__contact li { display: flex; flex-direction: column; gap: 4px; }
.cta__contact-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--azure-600); font-weight: 600; }
.cta__contact a, .cta__contact span { color: var(--ink); font-weight: 500; }
.cta__contact a:hover { color: var(--azure-600); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--text-onink-soft); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-block: clamp(48px, 6vw, 76px); }
.footer__brand img { width: 70px; height: 70px; margin-bottom: 18px; }
.footer__tagline { font-family: var(--serif); font-size: 1.15rem; color: #fff; max-width: 320px; line-height: 1.4; }
.footer__creds { font-size: .82rem; margin-top: 14px; color: var(--text-onink-soft); }
.footer h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a:hover { color: var(--azure-300); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__contact a:hover { color: var(--azure-300); }
.footer__contact address { font-style: normal; line-height: 1.5; }
.footer__cta { margin-top: 12px; }
.footer__bar { border-top: 1px solid var(--line-ink); }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-block: 22px; font-size: .82rem; }
.footer__fineprint { color: #93a4b4; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   REFERRAL RIBBON (Idea 4)
   ========================================================= */
.ribbon { background: linear-gradient(90deg, var(--azure-cta-h), var(--azure-cta)); color: #fff; }
.ribbon__inner { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.ribbon__inner p { margin: 0; font-size: .92rem; font-weight: 500; color: #fff; flex: 1; }
.ribbon__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(255,255,255,.18); flex: none; animation: pulseDot 2s ease-in-out infinite; }
.ribbon__close { background: none; border: none; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: .8; padding: 0 4px; }
.ribbon__close:hover { opacity: 1; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }

/* =========================================================
   PERSONA SWITCH + HERO ADAPTIVE BITS (Idea 1)
   ========================================================= */
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.persona-switch {
  display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line-ink);
}
.persona-switch__btn {
  border: none; background: none; cursor: pointer; color: var(--text-onink-soft);
  font-family: var(--sans); font-weight: 600; font-size: .88rem; padding: 9px 18px; border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.persona-switch__btn.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.hero__geo { font-size: .82rem; color: var(--text-onink-soft); margin: 0; }
.hero__geo-toggle { background: none; border: none; color: var(--azure-300); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.hero__geo-toggle:hover { color: #fff; }

.hero__proof { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 30px; font-size: .9rem; }
.hero__proof-label { color: var(--text-onink-soft); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; }
.hero__proof-schools { font-family: var(--serif); color: #fff; font-weight: 500; font-size: 1rem; }

/* =========================================================
   METHOD CENTERPIECE — 3 animated steps (Idea 2)
   ========================================================= */
.method-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  counter-reset: m; margin-bottom: 56px; position: relative;
}
.mstep {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 30px 32px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s var(--ease);
  transition-delay: calc(var(--i) * 140ms);
}
.reveal.is-in .mstep, .method-steps.is-in .mstep { opacity: 1; transform: none; }
.is-in .mstep { opacity: 1; transform: none; }
.mstep:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mstep__icon {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(24,160,219,.16), rgba(24,160,219,.04));
  color: var(--azure-600); margin-bottom: 22px; border: 1px solid rgba(24,160,219,.2);
}
.mstep__icon svg { width: 28px; height: 28px; }
.mstep__num { position: absolute; top: 26px; right: 30px; font-family: var(--serif); font-weight: 700; font-size: 2.4rem; color: rgba(24,160,219,.45); line-height: 1; }
.mstep__title { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; letter-spacing: -.01em; }
.mstep__title em { color: var(--azure-600); font-style: italic; }
.mstep p { color: var(--text-soft); font-size: .98rem; }
/* connector arrows on desktop */
.method-steps .mstep:not(:last-child)::after {
  content: "→"; position: absolute; right: -20px; top: 56px; z-index: 2;
  color: var(--gold); font-size: 1.5rem; font-weight: 700;
}

/* =========================================================
   COMPASS — AI assistant widget (Idea 3)
   ========================================================= */
.compass { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 120; }
.compass__fab {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--ink); color: #fff; border: 1px solid var(--line-ink);
  padding: 12px 20px 12px 14px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.compass__fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--ink-2); }
.compass__fab-mark { width: 30px; height: 30px; background: var(--white); border-radius: 50%; padding: 3px; }
.compass__fab-dot { width: 9px; height: 9px; border-radius: 50%; background: #43d17a; box-shadow: 0 0 0 0 rgba(67,209,122,.6); animation: pulseDot 2.2s infinite; }
.compass__fab--nudge { animation: nudge .6s var(--ease) 0s 3; }
@keyframes nudge { 25% { transform: translateY(-6px) rotate(-2deg); } 75% { transform: translateY(-2px) rotate(2deg); } }
.compass__fab.is-open { opacity: 0; pointer-events: none; }

.compass__panel {
  position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 110px));
  background: var(--paper); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; transform: translateY(20px) scale(.97); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.compass__panel.is-open { opacity: 1; transform: none; }
.compass__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, var(--ink-2), var(--ink-3)); color: #fff; }
.compass__head-id { display: flex; align-items: center; gap: 12px; }
.compass__head-id img { width: 38px; height: 38px; background: rgba(255,255,255,.06); border-radius: 50%; padding: 3px; }
.compass__name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin: 0; }
.compass__status { font-size: .76rem; color: var(--text-onink-soft); margin: 0; display: flex; align-items: center; gap: 6px; }
.compass__online { width: 7px; height: 7px; border-radius: 50%; background: #43d17a; }
.compass__close { background: none; border: none; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: .85; }
.compass__close:hover { opacity: 1; }

.compass__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.cmsg { display: flex; gap: 9px; max-width: 88%; }
.cmsg--user { margin-left: auto; flex-direction: row-reverse; }
.cmsg__avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.cmsg__avatar img { width: 22px; height: 22px; }
.cmsg__bubble { padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5; }
.cmsg--bot .cmsg__bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--text); box-shadow: var(--shadow-sm); }
.cmsg--user .cmsg__bubble { background: var(--azure-cta); color: #fff; border-bottom-right-radius: 5px; }
.cmsg__book { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cmsg__book .btn { width: 100%; }
.cmsg__call { text-align: center; font-size: .84rem; color: var(--azure-600); }
.dots { display: inline-flex; gap: 4px; align-items: center; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--azure-300); animation: blink 1.2s infinite both; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.compass__quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 18px 8px; }
.compass__chip {
  font-size: .8rem; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  background: rgba(24,160,219,.08); border: 1px solid rgba(24,160,219,.28); color: var(--azure-600);
  font-family: var(--sans); font-weight: 500; transition: background .2s, transform .2s;
}
.compass__chip:hover { background: rgba(24,160,219,.16); transform: translateY(-1px); }
.compass__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--white); }
.compass__input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font-family: var(--sans); font-size: .92rem; outline: none; transition: border-color .2s; }
.compass__input:focus { border-color: var(--azure); }
.compass__send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--azure-cta); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.compass__send:hover { background: var(--azure-cta-h); transform: scale(1.05); }
.compass__disclaimer { font-size: .68rem; color: var(--text-soft); text-align: center; padding: 0 18px 12px; margin: 0; background: var(--white); }

.quote--surfaced { border-color: var(--azure); box-shadow: 0 18px 44px -22px rgba(24,160,219,.5); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 24px; box-shadow: var(--shadow);
  }
  .nav.is-open > a { padding: 13px 12px; font-size: 1rem; }
  .nav.is-open .nav__cta { margin: 8px 0 0; text-align: center; }

  .grid-2 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pillar--featured { transform: none; }
  .pillar--featured:hover { transform: translateY(-5px); }
  .quotes { columns: 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .about__grid { direction: ltr; }
  .about__media { order: -1; }

  .method-steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto 56px; }
  .method-steps .mstep:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -22px; transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; }
  .compare__vs { width: auto; height: 56px; border-inline: none; border-block: 1px solid var(--line); }
  .quotes { columns: 1; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px 26px; }
  .pcard { grid-template-columns: 1fr; gap: 8px; }
  .pcard__num { font-size: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .step { grid-template-columns: 58px 1fr; gap: 18px; }
  .steps::before { left: 28px; }
  .step__index span { width: 58px; height: 58px; font-size: 1.2rem; }
  .masterclass__inner { flex-direction: column; align-items: flex-start; }

  .hero__top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .persona-switch { width: 100%; }
  .persona-switch__btn { flex: 1; text-align: center; }
  .compass__panel { height: calc(100vh - 90px); height: calc(100dvh - 90px); width: calc(100vw - 24px); border-radius: 18px; }
  .compass__fab-text { display: none; }
  .compass__fab { padding: 13px; }
}
