:root {
  --navy: #0F2A44;
  --navy-2: #173a5c;
  --teal: #0E8C7F;
  --teal-bright: #2BC4B0;
  --ink: #16212c;
  --slate: #5B6B7C;
  --line: #E3E7EC;
  --bg: #FFFFFF;
  --bg-soft: #F5F7F9;
  --radius: 12px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.brand-word { font-size: 1.35rem; color: var(--navy); font-weight: 450; letter-spacing: -0.01em; }
.brand-qi { background: var(--navy); color: #fff; font-weight: 800; font-size: 1.05rem; padding: 3px 8px; border-radius: 5px; position: relative; }
.brand-qi::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 8px 8px 0; border-color: transparent var(--teal-bright) transparent transparent; border-top-right-radius: 5px; }
.brand-light .brand-word { color: #fff; }
.brand-light .brand-qi { background: #fff; color: var(--navy); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--teal); }
.nav-toggle, .nav-burger { display: none; }

/* Buttons */
.btn { display: inline-block; background: var(--teal); color: #fff !important; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 8px; border: 2px solid var(--teal); transition: background .15s; }
.btn:hover { background: #0b766b; border-color: #0b766b; }
.btn-ghost { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff !important; }
.btn-light { background: #fff; color: var(--navy) !important; border-color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem !important; }

/* Sections */
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #d9e2ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-dark .eyebrow { color: var(--teal-bright); }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 720px; }
.section-dark .lead { color: #b9c7d6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 88px 0 72px; background: linear-gradient(180deg, var(--bg-soft), #fff); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero .lead { margin-bottom: 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px rgba(15,42,68,.07); }
.hero-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.card .num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 12px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--teal); transform: translateY(-2px); }
a.card .more { color: var(--teal); font-weight: 600; }
.section-dark .card { background: var(--navy-2); border-color: #26496d; color: #d9e2ec; }

/* Plans */
.plan { display: flex; flex-direction: column; }
.plan .fit { color: var(--slate); font-size: .95rem; }
.plan ul { padding-left: 18px; margin: 0 0 20px; }
.plan li { margin-bottom: 6px; }
.plan .btn { margin-top: auto; text-align: center; }
.plan.featured { border: 2px solid var(--teal); }
.badge { display: inline-block; background: #e3f5f2; color: var(--teal); font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }

/* Content pages */
.page-hero { padding: 64px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--navy); }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--teal); background: var(--bg-soft); color: var(--navy); }
.callout { background: #e9f6f4; border: 1px solid #bfe6df; border-radius: var(--radius); padding: 20px 22px; margin: 1.5em 0; }
.callout p:last-child { margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: 92px; }
.meta { color: var(--slate); font-size: .9rem; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-list a { font-size: 1.25rem; font-weight: 650; color: var(--navy); text-decoration: none; }
.post-list a:hover { color: var(--teal); }
.post-list p { margin: 6px 0 0; color: var(--slate); }
.placeholder { background: #fff6d6; outline: 1px dashed #d9a400; padding: 0 3px; }

/* CTA band */
.cta-band { background: var(--navy); color: #d9e2ec; border-radius: 16px; padding: 44px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; }

/* Footer */
.site-footer { background: #0b2034; color: #9fb1c3; padding: 56px 0 24px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d6e2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin-top: 14px; }
.footer-legal { border-top: 1px solid #1d3650; margin-top: 36px; padding-top: 18px; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-burger { display: block; width: 40px; height: 40px; cursor: pointer; position: relative; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 9px; width: 22px; height: 2px; background: var(--navy); }
  .nav-burger span { top: 19px; }
  .nav-burger span::before { top: -7px; left: 0; }
  .nav-burger span::after { top: 7px; left: 0; }
  .nav ul { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); }
  .nav ul li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav ul li:last-child { border: 0; padding-top: 14px; }
  .nav-toggle:checked ~ ul { display: flex; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 22px; }
}

/* Utility classes (no inline styles, so the CSP can stay strict) */
.mt { margin-top: 36px; }
.split { gap: 48px; align-items: center; }
.tight { gap: 16px; }
.plan .badge { align-self: flex-start; }

/* Logo image */
.brand img { height: 44px; width: auto; display: block; }
.site-footer .brand img { height: 48px; }

/* Pricing ladder */
.ladder .plan h3 { margin-bottom: 4px; }
.step { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.price { font-size: 1.7rem; font-weight: 750; color: var(--navy); margin: 4px 0 6px; line-height: 1.1; }
.price small { font-size: .85rem; font-weight: 500; color: var(--slate); }
.plan .badge + .step { margin-top: 0; }
.btn-ghost-light { background: transparent; color: #fff !important; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy) !important; }
.prose-wrap { max-width: 800px; }
.faq { margin-top: 28px; }
.faq h3 { margin: 26px 0 6px; }
.faq p { color: #33414f; }

/* Signup form */
.signup h3 { text-transform: none; letter-spacing: 0; font-size: 1.25rem; color: var(--navy); }
.form label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin: 12px 0 4px; }
.form input, .form select { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cfd7df; border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.form .btn { width: 100%; margin-top: 18px; cursor: pointer; font: inherit; font-weight: 600; }
.form .meta { margin: 10px 0 0; font-size: .8rem; }
.hero .checklist { margin-top: 8px; max-width: 520px; }
.price small { display: block; margin-top: 3px; }

/* Navy header and hero (Option B, chosen Sept 24) */
.site-header { background: #0F2A44; border-bottom: 0; }
.nav a { color: #dbe6f0; }
.nav a:hover { color: #2BC4B0; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { background: #fff; }
@media (max-width: 860px) { .nav ul { background: #0F2A44; } .nav ul li { border-color: #26496d; } }
.hero { background: linear-gradient(160deg, #0F2A44 0%, #16406a 100%); border-bottom: 0; }
.hero h1 { color: #fff; }
.hero .lead { color: #c3d1de; }
.hero .eyebrow { color: #2BC4B0; }
.hero .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.8); }
.hero .btn-ghost:hover { background: #fff; color: #0F2A44 !important; }
.hero .checklist li { color: #dbe6f0; border-color: rgba(255,255,255,.14); }
.hero .checklist li::before { border-color: #2BC4B0; }
.hero-card { box-shadow: 0 18px 40px rgba(0,0,0,.25); border: 0; }
.hero-card .checklist li { color: var(--ink); border-color: var(--line); }
.hero-card .checklist li::before { border-color: var(--teal); }

/* ===== Grouped header menus (Oct 3, 2026) =====
   Desktop: panels open on hover (with delay, via nav.js), click/tap and keyboard.
   No JS: CSS opens them on hover and focus. Phone: accordion inside the burger menu. */
.nav .dd { position: relative; }
.dd-btn { background: none; border: 0; padding: 6px 0; margin: 0; font: inherit; font-size: .95rem; font-weight: 500; color: #dbe6f0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.dd-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.dd-btn:hover, .dd.open > .dd-btn, html:not(.js) .dd:hover > .dd-btn { color: #2BC4B0; }
.dd.open > .dd-btn::after { transform: rotate(-135deg) translateY(-1px); }
.dd-btn:focus-visible, .nav a:focus-visible, .mega a:focus-visible { outline: 2px solid #2BC4B0; outline-offset: 3px; border-radius: 4px; }

.mega { display: none; position: absolute; top: calc(100% + 14px); left: -18px; background: #fff; border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.25); padding: 14px; z-index: 60; width: 560px; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge between button and panel */
.mega.one { width: 320px; grid-template-columns: 1fr; }
.mega.r { left: auto; right: -20px; }
.dd.open > .mega, html:not(.js) .dd:hover > .mega, html:not(.js) .dd:focus-within > .mega { display: grid; }
.nav .mega a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav .mega a:hover { background: #f1f7f6; color: var(--ink); }
.mega .t { display: block; color: var(--navy); font-weight: 700; font-size: .98rem; }
.mega .d { display: block; color: var(--slate); font-size: .85rem; font-weight: 400; line-height: 1.4; margin-top: 2px; }
.mega .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.mega .chip { display: inline-block; background: #e3f5f2; color: var(--teal); font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.mega .mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 14px 2px; font-size: .88rem; color: var(--slate); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nav .mega .mega-foot a { display: inline; padding: 0; color: var(--teal); font-weight: 600; }
.nav .mega .mega-foot a:hover { background: none; color: var(--navy); }
.newtag { background: #2BC4B0; color: #0F2A44; font-size: .65rem; font-weight: 800; padding: 2px 6px; border-radius: 5px; margin-left: 6px; vertical-align: 2px; }


/* Phone: accordion inside the burger menu */
@media (max-width: 860px) {
  .nav .dd { width: 100%; }
  .dd-btn { width: 100%; justify-content: space-between; padding: 0; font-size: 1rem; }
  .mega, .mega.one, .mega.r { position: static; width: auto; box-shadow: none; background: transparent; border-radius: 0; padding: 4px 0 0 12px; grid-template-columns: 1fr; }
  .mega::before { display: none; }
  html:not(.js) .mega { display: grid; }               /* no JS: show everything */
  html:not(.js) .dd-btn::after { display: none; }
  .nav .mega a { padding: 8px 0; border-radius: 0; color: #c9d6e2; }
  .nav .mega a:hover { background: none; color: #fff; }
  .mega .t { color: #dbe6f0; font-weight: 500; font-size: .95rem; }
  .mega .d { color: #8fa6bb; font-size: .8rem; }
  .mega .mega-foot { border-color: #26496d; color: #8fa6bb; padding: 10px 0 2px; }
  .nav .mega .mega-foot a { color: #2BC4B0; }
}

/* Training page (Oct 3, 2026) */
.video-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-card video { display: block; width: 100%; height: auto; background: #0F2A44; }
.video-card figcaption { padding: 16px 20px; color: var(--slate); font-size: .95rem; }
.video-card figcaption b { color: var(--navy); }
.footer-grid.five { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .footer-grid.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid.five { grid-template-columns: 1fr; } }

/* Training band on /pricing/ (Oct 5) */
.training-band { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-left: 5px solid var(--teal, #0E8C7F); }
.training-band > div { flex: 1 1 520px; }
.training-band p { margin: 8px 0 0; }
.training-band .training-tiers { color: var(--navy, #0F2A44); }

/* Review batch 1 (Oct 5) */
.span-all { grid-column: 1 / -1; }
.cta-band a.lt { color: #2BC4B0; }
.hero-extras { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-alt { color: #c3d1de; font-size: .95rem; margin: 0; }
.hero-alt a { color: #2BC4B0; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(43,196,176,.14); border: 1px solid rgba(43,196,176,.6); color: #fff !important; text-decoration: none; font-weight: 600; font-size: .95rem; }
.hero-pill:hover { background: rgba(43,196,176,.28); }
.hero-pill b { background: #2BC4B0; color: #0F2A44; border-radius: 999px; padding: 2px 8px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.previews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.preview { margin: 0; }
.preview img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(15,42,68,.12); background: #fff; }
.preview figcaption { margin-top: 10px; font-size: .92rem; color: var(--slate); }
.files { list-style: none; padding: 0; margin: 0; }
.files li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.files li b.n { flex: 0 0 34px; height: 34px; border-radius: 8px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.files li span { color: var(--slate); display: block; font-size: .95rem; }
.contact-card h2 { margin-top: 0; }
@media (max-width: 760px) { .previews { grid-template-columns: 1fr; } }
.contact-grid { align-items: stretch; }
.split.top { align-items: start; }
.training-band .band-title { font-size: 1.5rem; margin: 0 0 4px; color: var(--navy); }
