/* ============================================================
   WellTrained Academy — public landing page
   Palette matches the WellTrained invoice: deep navy + cobalt.
   Mobile-first; every interactive target is at least 48px tall.
   ============================================================ */

:root {
  --navy: #0E1B3D;
  --navy-deep: #0A1430;
  --navy-soft: #16264F;
  --cobalt: #2554D6;
  --cobalt-dark: #1C41AC;
  --cobalt-light: #4C79F0;
  --white: #FFFFFF;
  --paper: #F7F8FC;
  --ink: #16213D;
  --body: #4B5670;
  --muted: #6B7691;
  --line: #E3E7F0;
  --line-navy: rgba(255, 255, 255, .14);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 61, .06), 0 2px 6px rgba(14, 27, 61, .05);
  --shadow-md: 0 10px 30px rgba(14, 27, 61, .10);
  --shadow-lg: 0 22px 60px rgba(14, 27, 61, .16);
  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.16; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: var(--cobalt); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap;
  min-height: 64px; padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--navy);
  min-width: 0; flex: 0 1 auto;
}
.brand-mark {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cobalt), var(--navy));
  color: #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.brand-name {
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: 0 0 auto; }
.nav-link {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav-link:hover { background: var(--paper); }
.nav-portal {
  border: 1px solid var(--line); color: var(--navy);
  padding: 0 14px;
}
.nav-portal:hover { border-color: var(--cobalt); color: var(--cobalt); background: #fff; }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 44px 0 52px;
  background:
    radial-gradient(900px 420px at 88% -10%, #E8EEFF 0%, rgba(232, 238, 255, 0) 62%),
    radial-gradient(700px 420px at 0% 0%, #F1F4FF 0%, rgba(241, 244, 255, 0) 58%),
    var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: flex; flex-direction: column; gap: 16px; }
.eyebrow {
  display: inline-block; margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cobalt);
}
.hero h1 {
  font-size: clamp(30px, 8.4vw, 54px);
  letter-spacing: -.03em;
  max-width: 16em;
}
.lede {
  font-size: clamp(16px, 4.4vw, 19px);
  color: var(--body);
  max-width: 34em;
}
.hero-actions {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  margin-top: 6px;
}
.link-arrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 0 6px;
  font-size: 15px; font-weight: 600; color: var(--cobalt); text-decoration: none;
}
.link-arrow span { transition: transform .18s ease; }
.link-arrow:hover span { transform: translateY(3px); }

.hero-chips {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-chips li {
  font-size: 12.5px; font-weight: 600; color: var(--navy);
  background: #EEF2FF; border: 1px solid #DBE3FF;
  padding: 7px 12px; border-radius: 999px;
}

/* -------------------------------------------------------------- buttons */

.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--tap); padding: 13px 22px;
  border: 1px solid transparent; border-radius: 12px;
  font-family: inherit; font-size: 15.5px; font-weight: 650; line-height: 1.25;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-wa { width: 18px; height: 18px; flex: 0 0 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 84, 214, .28);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(37, 84, 214, .34); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #F2F5FF; }

.btn-ghost {
  background: transparent; color: #DCE4FF;
  border-color: rgba(255, 255, 255, .34);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 16px 28px; font-size: 16.5px; }

.btn:focus-visible, .link-arrow:focus-visible, .nav-link:focus-visible,
.brand:focus-visible, .footer-links a:focus-visible {
  outline: 3px solid var(--cobalt-light); outline-offset: 3px;
}

/* ------------------------------------------------------- section heading */

.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(24px, 6.4vw, 36px); letter-spacing: -.025em; }
.section-sub { color: var(--muted); font-size: 15.5px; max-width: 40em; }
.eyebrow.on-navy { color: #9DB6FF; }

/* -------------------------------------------------------- sample problem */

.sample-section {
  background: var(--navy);
  color: #D9E1F5;
  padding: 52px 0 56px;
  background-image:
    radial-gradient(700px 380px at 92% 0%, rgba(37, 84, 214, .38) 0%, rgba(37, 84, 214, 0) 62%),
    radial-gradient(600px 400px at 0% 100%, rgba(76, 121, 240, .22) 0%, rgba(76, 121, 240, 0) 60%);
}
.sample-section .section-head h2 { color: #fff; }
.sample-section .section-sub { color: #AEBBD8; }

.problem-card {
  background: #fff; color: var(--body);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--cobalt);
}
.problem-title {
  font-size: clamp(20px, 5.4vw, 26px);
  letter-spacing: -.02em;
}
.problem-question {
  margin-top: 12px;
  font-size: clamp(17px, 4.6vw, 21px);
  line-height: 1.5;
  color: var(--ink);
}
.problem-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 20px;
}
.problem-actions .btn-ghost {
  color: var(--navy); border-color: var(--line); background: var(--paper);
}
.problem-actions .btn-ghost:hover { background: #EEF2FF; border-color: #C9D6FA; }
.problem-actions .btn-light {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-dark));
  box-shadow: 0 8px 20px rgba(37, 84, 214, .22);
}
.problem-actions .btn-light:hover { background: linear-gradient(135deg, var(--cobalt-dark), var(--navy)); }

/* reveal panels */
.reveal {
  margin-top: 16px;
  padding: 16px 16px 18px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  animation: revealIn .22s ease both;
}
.reveal[hidden] { display: none; }
@keyframes revealIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal-label {
  margin: 0 0 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cobalt);
}
.reveal-text { color: var(--ink); font-size: 16px; line-height: 1.62; }
.reveal-reasoning { background: #F5F8FF; border-color: #DBE3FF; }

/* the digit work — room to count together */
.digit-work {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #C9D6FA;
  display: flex; flex-direction: column; gap: 14px;
}
.digit-caption {
  font-size: 13px; font-weight: 600; color: var(--body); margin: 0 0 8px;
}
.digit-caption strong { color: var(--cobalt); }
.digit-strip { display: flex; flex-wrap: wrap; gap: 7px; }
.digit {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 6px;
  border-radius: 10px;
  background: #fff; border: 1px solid #D7E0F7;
  font-size: clamp(17px, 4.6vw, 21px);
  font-weight: 700; color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.digit-hit { background: #E7EDFF; border-color: #A9BDF2; color: var(--cobalt-dark); }
.digit-total {
  font-size: clamp(19px, 5vw, 24px); font-weight: 700; color: var(--navy);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.digit-total strong { color: var(--cobalt); }

/* -------------------------------------------------------------- programs */

.programs { padding: 52px 0 56px; background: var(--white); }
.program-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.program-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.program-card:hover { box-shadow: var(--shadow-md); border-color: #CBD7F5; transform: translateY(-2px); }
.program-tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--cobalt-dark); background: #EEF2FF; border: 1px solid #DBE3FF;
  padding: 5px 10px; border-radius: 999px;
}
.program-card h3 { font-size: clamp(19px, 5vw, 22px); letter-spacing: -.02em; }
.program-for { color: var(--ink); font-size: 15.5px; font-weight: 500; }
.program-body { color: var(--muted); font-size: 15px; }
.program-card .btn { margin-top: auto; }
/* Cards with two stacked actions (the school card: form + WhatsApp). */
.program-card .program-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.program-card .program-actions .btn { margin-top: 0; }
.program-card .program-actions .btn-outline { justify-content: center; gap: 8px; font-size: 15px; }
.program-card .program-actions .btn-outline .btn-wa { width: 17px; height: 17px; }
@media (min-width: 720px) {
  .program-card { padding: 26px 24px; }
}

/* ---------------------------------------------------------------- final */

.final {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-soft) 55%, #1B356F 100%);
  color: #D9E1F5;
  padding: 56px 0 60px;
}
.final-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.final h2 { color: #fff; font-size: clamp(25px, 6.8vw, 38px); letter-spacing: -.025em; max-width: 20em; }
.final-text { color: #C3CFEA; font-size: clamp(15.5px, 4.2vw, 18px); max-width: 34em; }
.final .btn { margin-top: 6px; }
.final-note { color: #93A3C6; font-size: 13px; }
.final-school a { color: #C9D8FF; text-decoration: underline; text-underline-offset: 2px; }
.final-school a:hover { color: #fff; }

/* --------------------------------------------------------------- footer */

.site-footer { background: var(--navy-deep); color: #8FA0C4; padding: 30px 0 36px; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.footer-line { font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-top: 4px; }
.footer-links a { color: #B9C8E8; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* ----------------------------------------------------------- responsive */

@media (min-width: 560px) {
  .hero { padding: 56px 0 64px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 18px; }
  .problem-actions { flex-direction: row; flex-wrap: wrap; }
  .problem-card { padding: 28px 26px; }
}

@media (min-width: 860px) {
  .wrap { padding: 0 28px; }
  .hero { padding: 72px 0 80px; }
  .hero-inner { gap: 20px; }
  .sample-section, .programs, .final { padding-top: 76px; padding-bottom: 80px; }
  .problem-card { padding: 36px 38px; }
  .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .digit-work { gap: 16px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .footer-links { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============================================================
   v2 additions: header CTA, proof line, weekly system, how it works,
   results, quotes, FAQ, sticky mobile CTA.
   ============================================================ */

/* header: inline CTA + graceful wrap on small screens */
.btn-header { min-height: 42px; padding: 9px 16px; font-size: 14px; }
/* keep the header on one line: drop the secondary links first, then the CTA,
   then the section links — the sticky bar still carries both actions */
@media (max-width: 900px) {
  .nav-optional { display: none; }
}
@media (max-width: 640px) {
  .btn-header { display: none; }
}
@media (max-width: 480px) {
  .site-nav .nav-link:not(.nav-portal) { display: none; }
  .nav-portal { padding: 0 10px; font-size: 13px; }
}
.btn-arrow { transition: transform .18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* hero proof line — three plain facts under the chips */
.hero-proof {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: grid; gap: 8px;
  font-size: 13.5px; color: var(--body);
}
.hero-proof li { position: relative; padding-left: 22px; }
.hero-proof li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--cobalt); font-weight: 700;
}
@media (min-width: 560px) {
  .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* problem footnote */
.problem-foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--muted);
}
.problem-foot em { color: var(--ink); font-style: normal; font-weight: 600; }

/* -------------------------------------------------- what you get weekly */
.weekly { padding: 52px 0 56px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.weekly-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.weekly-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 6px;
}
.weekly-ico {
  width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center;
  border-radius: 10px; margin-bottom: 4px;
  background: #EEF2FF; color: var(--cobalt-dark);
  font-size: 16px; font-weight: 700;
}
.weekly-card h3 { font-size: 16.5px; letter-spacing: -.015em; }
.weekly-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (min-width: 640px) {
  .weekly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 900px) {
  .weekly-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .weekly { padding-top: 76px; padding-bottom: 80px; }
  .weekly-card { padding: 22px 22px 24px; }
}

/* ------------------------------------------------------------ how it works */
.how {
  background: var(--navy); color: #D9E1F5; padding: 52px 0 56px;
  background-image:
    radial-gradient(760px 400px at 0% 0%, rgba(37, 84, 214, .34) 0%, rgba(37, 84, 214, 0) 60%),
    radial-gradient(620px 380px at 100% 100%, rgba(76, 121, 240, .22) 0%, rgba(76, 121, 240, 0) 62%);
}
.how .section-head h2 { color: #fff; }
.how .section-sub { color: #AEBBD8; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.how-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-navy);
  border-radius: var(--radius); padding: 16px 18px;
}
.how-num {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 14px;
}
.how-step h3 { color: #fff; font-size: 16.5px; margin-bottom: 4px; }
.how-step p { color: #B7C4DE; font-size: 14px; line-height: 1.58; }
.how-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.how-note { color: #93A3C6; font-size: 13.5px; }
.how-note a { color: #C8D6F7; }
@media (min-width: 720px) {
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .how-step { flex-direction: column; }
  .how-cta { flex-direction: row; align-items: center; gap: 18px; }
}
@media (min-width: 860px) {
  .how { padding-top: 76px; padding-bottom: 80px; }
}

/* ------------------------------------------------------------------ results */
.results { padding: 48px 0 52px; background: #fff; }
.results-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.result-card {
  border: 1px solid var(--line); border-left: 4px solid var(--cobalt);
  border-radius: 12px; padding: 14px 16px; background: #fff; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 2px;
}
.result-year { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.result-award { font-size: 15.5px; color: var(--ink); }
.result-comp { font-size: 13px; color: var(--body); }
.result-level {
  align-self: flex-start; margin-top: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cobalt-dark); background: #EEF2FF; padding: 3px 8px; border-radius: 999px;
}
@media (min-width: 640px) { .results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* --------------------------------------------------------------- quotes */
.quotes { padding: 48px 0 52px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-grid { display: grid; gap: 16px; }
.quote-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 18px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.quote-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.quote-card blockquote::before { content: '“'; }
.quote-card blockquote::after { content: '”'; }
.quote-card figcaption { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.quote-card figcaption strong { color: var(--ink); font-size: 13.5px; }
@media (min-width: 720px) { .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------- faq */
.faq { padding: 52px 0 56px; background: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 46em; }
.faq-item {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 0 16px; box-shadow: var(--shadow-sm);
}
.faq-item[open] { border-color: #CBD7F5; }
.faq-item > summary {
  cursor: pointer; list-style: none;
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  padding: 14px 0;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: '+'; flex: 0 0 auto; font-size: 20px; font-weight: 500; color: var(--cobalt);
  line-height: 1; transition: transform .18s ease;
}
.faq-item[open] > summary::after { content: '−'; }
.faq-item > summary:focus-visible { outline: 3px solid var(--cobalt-light); outline-offset: 3px; border-radius: 8px; }
.faq-item p { margin: 0; padding: 0 0 16px; color: var(--body); font-size: 14.5px; line-height: 1.62; }
.faq-more { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (min-width: 860px) { .faq { padding-top: 76px; padding-bottom: 80px; } }

/* --------------------------------------------------------- final buttons */
.final-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 4px; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
@media (min-width: 640px) {
  .final-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ------------------------------------------------------- sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 719px) {
  body { padding-bottom: 76px; }
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(14, 27, 61, .08);
    transform: translateY(110%);
    transition: transform .22s ease;
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta .btn { min-height: 46px; padding: 11px 12px; font-size: 14.5px; }
  .sticky-cta .btn-ghost { color: var(--navy); border-color: var(--line); background: var(--paper); }
  .sticky-cta .btn-ghost:hover { background: #EEF2FF; border-color: #C9D6FA; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* --------------------------------------------------- filled-outline button */
/* Used where a ghost button sat on a white surface: the old pale text was
   unreadable, so this keeps white fill but dark cobalt text + a visible border. */
.btn-outline {
  background: #fff;
  color: var(--cobalt-dark);
  border-color: #B9C8EE;
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: #F4F7FF;
  border-color: var(--cobalt);
  color: #16349A;
}
.btn-outline .btn-wa { color: var(--cobalt-dark); }
.sticky-cta .btn-outline { background: #fff; border-color: #B9C8EE; color: var(--cobalt-dark); }
@media (max-width: 719px) {
  .sticky-cta .btn-outline:hover { background: #F4F7FF; }
}

/* ------------------------------------- weekly card · sample coach note (v31)
   The "Written feedback each session" card grows into a full-width feature so
   the sample note can sit right next to the explanation it illustrates: on a
   phone it stacks under the button, on a laptop it opens beside the text.
   The note is styled like the portal logbook (paper sheet, cobalt label bars)
   so a parent recognises it later when they read the real one.
------------------------------------------------------------------------- */
.weekly-card-feature { gap: 16px; }
.weekly-feature-main { display: flex; flex-direction: column; gap: 6px; }
.weekly-feature-aside { display: flex; flex-direction: column; gap: 12px; }

.note-btn {
  align-self: flex-start;
  background: #fff; color: var(--cobalt-dark);
  border-color: #B9C8EE; box-shadow: var(--shadow-sm);
  font-size: 14.5px; font-weight: 650;
  min-height: var(--tap); padding: 12px 18px;
}
.note-btn:hover { background: #F4F7FF; border-color: var(--cobalt); color: #16349A; }
.note-btn[aria-expanded="true"] { background: #EEF2FF; border-color: var(--cobalt); color: #16349A; }

.note-sample {
  margin-top: 0;
  background: #FBFCFE;
  border: 1px solid #DCE3F4;
  border-left: 4px solid var(--cobalt);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-sm);
}
.note-sample-head {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  margin-bottom: 14px;
}
.note-sample-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: #E7EDFF; color: #16349A;
  border: 1px solid #C5D4F7;
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.note-sample-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--cobalt);
}
.note-sample-meta { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.note-field { padding: 12px 0; border-top: 1px solid #E7ECF8; }
.note-field:first-of-type { border-top: 0; padding-top: 0; }
.note-sample .note-label {
  margin: 0 0 4px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--cobalt);
}
.note-sample .note-text { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.62; }
.note-sample .note-field-next .note-label { color: #0F7A4F; }
.note-sample .note-sample-foot {
  margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed #D7E0F7;
  font-size: 12.5px; color: var(--muted); line-height: 1.55;
}

@media (min-width: 640px) {
  .weekly-card-feature { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  /* Explanation on the left, the note it talks about on the right. */
  .weekly-card-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
    padding: 26px 26px 28px;
  }
  .weekly-feature-main .weekly-ico { margin-bottom: 8px; }
  /* Closed, the button sits level with the paragraph it belongs to instead of
     hanging at the top of a tall, mostly empty column. */
  .weekly-feature-aside { align-self: center; }
  .note-btn { align-self: stretch; }
  .note-sample { padding: 18px 20px 16px; }
  .note-sample .note-text { font-size: 15px; }
}
@media (max-width: 719px) {
  /* A phone is where this page is read from a WhatsApp link: the button is a
     full-width tap target and the note breathes instead of cramping. */
  .note-btn { width: 100%; align-self: stretch; font-size: 15px; }
  .note-sample { padding: 14px 14px 12px; }
  .note-sample .note-text { font-size: 16px; }
}
