/* =========================================================
   Pass Point Learning — site styles
   Brand colors come from the Pass Point shield logo.
   ========================================================= */
:root {
  --navy: #1c2758;
  --navy-2: #26336f;
  --navy-deep: #121a3d;
  --teal: #36b2af;
  --teal-dark: #23827f;   /* teal text on white (passes contrast) */
  --teal-soft: #e6f6f5;
  --gray: #d4d5d6;
  --ink: #1b2236;
  --muted: #5a6275;
  --line: #e4e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --gold: #f5b83d;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(18, 26, 61, .06), 0 8px 24px rgba(18, 26, 61, .08);
  --shadow-lg: 0 2px 4px rgba(18, 26, 61, .06), 0 18px 48px rgba(18, 26, 61, .14);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 52px; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(54, 178, 175, .35); }
.btn-primary:hover { background: #2fa3a0; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); background: #f0f3f8; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; min-height: 42px; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) 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; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand img { width: 38px; height: auto; }
.brand span small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--teal-dark); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.login-link { color: var(--navy); font-weight: 700; text-decoration: none; font-size: .95rem; }
@media (max-width: 900px) { .nav { display: none; } }
.brand span, .login-link { white-space: nowrap; }
@media (max-width: 480px) {
  .brand span small { display: none; }
  .brand { font-size: .98rem; gap: 8px; }
  .brand img { width: 32px; }
  .header-inner { height: 64px; gap: 10px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding: 10px 14px; min-height: 40px; }
  .login-link { font-size: .88rem; }
  .chip { padding: 10px 14px; font-size: .9rem; min-height: 44px; }
  .picker { padding: 22px; }
  .card, .course { padding: 22px; }
  .section { padding: 60px 0; }
}
@media (max-width: 420px) { .header-actions .login-link { display: none; } }
@media (max-width: 330px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(54,178,175,.18), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(28,39,88,.08), transparent 60%),
              #fff;
  padding: 72px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--teal-dark); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 580px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.badge-approved {
  display: inline-flex; align-items: center; gap: 8px; background: var(--teal-soft); color: var(--navy);
  border: 1px solid rgba(54,178,175,.35); padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; margin-bottom: 22px;
}
.badge-approved svg { width: 18px; height: 18px; flex: none; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.check { width: 20px; height: 20px; flex: none; color: var(--teal); }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 30px; position: relative;
}
.hero-card .price-big { font-size: 3.4rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.hero-card .price-big sup { font-size: 1.3rem; top: -1.3em; margin-right: 2px; }
.hero-card .per { color: var(--muted); font-weight: 600; }
.hero-card ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero-card .ribbon {
  position: absolute; top: -14px; right: 22px; background: var(--gold); color: var(--navy-deep);
  font-weight: 800; font-size: .78rem; padding: 7px 12px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase;
}
.hero-card .fine { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy); color: #fff; }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.trust-item svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.trust-item small { display: block; color: #b9c1dc; font-weight: 500; font-size: .8rem; }
@media (max-width: 900px) { .trustbar .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trustbar .container { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.icon-bubble { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 16px; }
.icon-bubble svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Course cards ---------- */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .courses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .courses { grid-template-columns: 1fr; } }
.course {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 26px; box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  scroll-margin-top: 90px;
}
.course:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.course.is-match { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(54,178,175,.25), var(--shadow-lg); }
.course-tag { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.course h3 { font-size: 1.3rem; margin-bottom: 6px; }
.course .meta { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.course ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .95rem; }
.course li { display: flex; gap: 9px; align-items: flex-start; }
.course li .check { width: 18px; height: 18px; margin-top: 3px; }
.course .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 16px; }
.course .price { font-size: 2.1rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.course .price-note { color: var(--muted); font-size: .88rem; font-weight: 600; }
.course[data-flag]::before {
  content: attr(data-flag); position: absolute; top: -12px; left: 24px; background: var(--navy); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}

/* ---------- Course picker ---------- */
.picker { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 30px; margin-bottom: 44px; }
.picker h3 { font-size: 1.3rem; }
.picker-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.chip {
  font: inherit; font-weight: 700; font-size: .95rem; padding: 12px 18px; border-radius: 999px; min-height: 46px;
  border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.picker-result { margin-top: 18px; padding: 20px; border-radius: 16px; background: var(--teal-soft); display: none; }
.picker-result.show { display: block; }
.picker-result p { margin: 0 0 12px; font-weight: 600; color: var(--navy); }
.picker-result .result-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.picker-result .total { font-size: 1.05rem; }

/* ---------- Compare table ---------- */
.compare-wrap { max-width: 860px; margin: 0 auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.compare thead th { background: var(--bg-soft); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.compare thead th.us { background: var(--navy); color: #fff; }
.compare td.us { background: rgba(54,178,175,.08); font-weight: 700; color: var(--navy); }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--teal-dark); font-weight: 700; }
.compare-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 14px; }
@media (max-width: 560px) {
  .compare th, .compare td { padding: 14px 12px; font-size: .9rem; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- States ---------- */
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .states { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .states { grid-template-columns: 1fr 1fr; gap: 12px; }
  .state.live { grid-column: 1 / -1; }
  .state.soon { padding: 16px; }
  .state.soon .abbr { font-size: 1.5rem; }
  .state.soon .name { font-size: 1rem; }
}
.state {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.state.live:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--teal); color: var(--ink); }
.state .abbr { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.state .name { font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.state .status { font-size: .85rem; font-weight: 700; }
.state.live .status { color: var(--teal-dark); }
.state.soon { background: var(--bg-soft); box-shadow: none; }
.state.soon .status { color: var(--muted); }
.state .go { margin-top: 10px; font-weight: 700; color: var(--teal-dark); }

/* ---------- Notify form ---------- */
.notify { max-width: 640px; margin: 36px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.notify h3 { font-size: 1.1rem; margin-bottom: 4px; }
.notify p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.notify form { display: grid; grid-template-columns: 1fr 160px auto; gap: 10px; }
.notify input, .notify select {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); min-height: 50px; width: 100%; background: #fff; color: var(--ink);
}
.notify input:focus, .notify select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(54,178,175,.2); }
.notify .hidden { position: absolute; left: -9999px; }
@media (max-width: 620px) { .notify form { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; box-shadow: 0 1px 2px rgba(18,26,61,.04); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 700; color: var(--navy); position: relative; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Disclosure box ---------- */
.disclosure { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .disclosure { grid-template-columns: 1fr; } }
.disclosure .card h3 { font-size: 1.1rem; }
.disclosure ul { margin: 0; padding-left: 20px; color: var(--muted); }
.disclosure li { margin-bottom: 8px; }
.fee-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.fee-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; padding-left: 12px; }
.fee-table tr:last-child td { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1f5f7a 100%);
  color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd4ea; font-size: 1.1rem; max-width: 620px; margin: 0 auto 26px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }
@media (max-width: 560px) { .cta-band { padding: 40px 22px; border-radius: 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c1dc; padding: 56px 0 28px; margin-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; letter-spacing: 0; }
.site-footer a { color: #dfe4f3; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand img { width: 36px; background: #fff; border-radius: 10px; padding: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .82rem; color: #8e97b8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Mobile sticky buy bar ---------- */
.mobile-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -8px 24px rgba(18,26,61,.08);
}
.mobile-buy .mb-price { font-weight: 800; color: var(--navy); line-height: 1.1; }
.mobile-buy .mb-price small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
@media (max-width: 720px) {
  .mobile-buy { display: flex; }
  body.has-mobile-buy .site-footer { padding-bottom: 96px; }
}

/* ---------- Simple page (policy, 404) ---------- */
.page { padding: 56px 0 20px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p, .prose li { color: #3a4256; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
