/* Clinic Policy Kit: clinical editorial. Warm ivory paper, deep spruce, a vital-sign mint accent.
   Fonts are self-hosted (no @import, CSP font-src 'self'). No inline styles anywhere: CSP. */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0d1b24;
  --ink-2: #26363f;
  --muted: #5b6970;
  --paper: #f6f3ec;
  --paper-2: #eee8db;
  --card: #fffdf8;
  --line: #e1d9c8;
  --line-2: #cfc5b0;
  --spruce: #0b4744;
  --spruce-2: #0f5c57;
  --deep: #062426;
  --deep-2: #0a3335;
  --mint: #3fe0b2;
  --mint-ink: #0a7a5f;
  --mint-soft: #dcf6ec;
  --brass: #b48e52;
  --coral: #c9533c;
  --coral-soft: #f8e4de;
  --amber: #b97d12;
  --amber-soft: #f7ecd4;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(13, 27, 36, .06), 0 8px 24px -12px rgba(13, 27, 36, .18);
  --shadow-lg: 0 2px 4px rgba(6, 36, 38, .08), 0 30px 60px -24px rgba(6, 36, 38, .45);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.62 var(--sans); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--spruce-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--spruce); }
::selection { background: var(--mint); color: var(--deep); }
:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 450; color: var(--ink); letter-spacing: -.015em; line-height: 1.08; font-variation-settings: "opsz" 144, "SOFT" 30; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; line-height: 1.2; font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; font-weight: 380; color: var(--spruce-2); }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--spruce-2); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 40rem; }
.fine { font-size: .86rem; color: var(--muted); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- top bars ---------- */
.testbar { background: var(--deep); color: #bfe9dc; text-align: center; font-size: .8rem; letter-spacing: .02em; padding: 7px 16px; }
.testbar b { color: var(--mint); font-weight: 600; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(207, 197, 176, .6); }
.nav { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font: 500 1.32rem/1 var(--serif); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font: 600 .6rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.navlinks { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.navlinks a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.navlinks a.btn, .navlinks a.btn:hover { color: #f4fffb; }
.navlinks a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px; background: var(--mint-ink); transition: right .25s ease; }
.navlinks a:not(.btn):hover::after { right: 0; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: .5rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: grid; }
.menu-panel { display: none; position: absolute; left: 16px; right: 16px; top: 66px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: .6rem; box-shadow: var(--shadow-lg); }
.menu-panel a { padding: .75rem .9rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.menu-panel a:hover { background: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--spruce); display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--b); color: #f4fffb; border: 1px solid var(--b); padding: .82rem 1.35rem; border-radius: 999px;
  font: 600 .98rem/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 18px -8px rgba(11, 71, 68, .6);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { color: #fff; background: var(--spruce-2); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 24px -10px rgba(11, 71, 68, .7); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.mint { --b: var(--mint); color: var(--deep); box-shadow: 0 10px 30px -10px rgba(63, 224, 178, .7); }
.btn.mint:hover { background: #63ecc4; color: var(--deep); }
.btn.ghost { background: transparent; color: var(--spruce); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--card); border-color: var(--spruce); color: var(--spruce); }
.btn.ghost-light { background: rgba(255, 255, 255, .04); color: #e9fbf4; border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn.small { padding: .55rem .95rem; font-size: .88rem; }
.btn.block { width: 100%; }
button.link { background: none; border: 0; color: var(--spruce-2); cursor: pointer; font: inherit; font-size: .85rem; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
button.link.danger { color: var(--coral); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e6f4ef; isolation: isolate;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(63, 224, 178, .22), transparent 60%),
    radial-gradient(700px 600px at -10% 110%, rgba(180, 142, 82, .18), transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 55%, #0b3b3b 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: var(--grain); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 3.5rem; align-items: center; padding: 5.5rem 0 7rem; }
.hero h1 { color: #f6fbf9; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 400; line-height: 1.02; }
.hero h1 em { color: var(--mint); font-weight: 350; }
.hero .eyebrow { color: var(--mint); }
.hero .lede { color: #b7cfc8; font-size: 1.22rem; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.proof { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.proof div { display: grid; gap: .15rem; }
.proof b { font: 400 2rem/1 var(--serif); color: #fff; }
.proof span { font-size: .82rem; color: #9fbcb4; letter-spacing: .02em; }

/* hero product composition */
.stage { position: relative; min-height: 470px; }
.panel { position: absolute; background: var(--card); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.panel.dash { top: 0; right: 0; width: 88%; padding: 1.3rem 1.4rem 1.1rem; }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .9rem; }
.dash-head b { font: 500 1.08rem/1.2 var(--serif); }
.dash-head span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dash-row { display: grid; grid-template-columns: 28px 1fr auto; gap: .75rem; align-items: center; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .86rem; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 .7rem/1 var(--sans); color: var(--spruce); background: var(--mint-soft); }
.avatar.b { background: #efe3cc; color: #7a5a24; }
.avatar.c { background: #e3e7f0; color: #3c4a6b; }
.pips { display: flex; gap: 3px; margin-top: 4px; }
.pips i { width: 16px; height: 5px; border-radius: 3px; background: var(--line); }
.pips i.on { background: var(--mint-ink); }
.tag-done { font-size: .72rem; font-weight: 600; color: var(--mint-ink); background: var(--mint-soft); padding: .2rem .55rem; border-radius: 999px; }
.tag-prog { font-size: .72rem; font-weight: 600; color: var(--amber); background: var(--amber-soft); padding: .2rem .55rem; border-radius: 999px; }
.panel.cert { left: -2%; bottom: -10px; width: 64%; padding: 1.3rem 1.4rem; transform: rotate(-4deg); background: #fffaf0; border: 1px solid #eadfc6; }
.panel.cert::before { content: ""; position: absolute; inset: 8px; border: 1px solid #e3d3b0; border-radius: 15px; pointer-events: none; }
.cert-k { font: 600 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--spruce-2); }
.cert-n { font: italic 400 1.7rem/1.1 var(--serif); margin: .5rem 0 .2rem; }
.cert-s { font-size: .74rem; color: var(--muted); }
.seal { position: absolute; right: 18px; bottom: 16px; width: 58px; height: 58px; }
.panel.score { right: 6%; bottom: 40px; width: 168px; padding: 1rem; display: flex; gap: .8rem; align-items: center; background: var(--deep); color: #e6f4ef; border: 1px solid rgba(255, 255, 255, .12); }
.panel.score svg { width: 56px; height: 56px; flex: none; }
.panel.score b { display: block; font: 400 1.5rem/1 var(--serif); color: #fff; }
.panel.score span { font-size: .7rem; color: #9fbcb4; }
.pulse { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none; }
.pulse path { fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: trace 3.2s ease-out .4s forwards; filter: drop-shadow(0 0 6px rgba(63, 224, 178, .6)); }
@keyframes trace { to { stroke-dashoffset: 0; } }
.float { animation: float 7s ease-in-out infinite; }
.float.slow { animation-duration: 9s; animation-delay: -2s; }
@keyframes float { 50% { translate: 0 -8px; } }

/* page-load stagger */
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .44s; } .d5 { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .pulse path { stroke-dashoffset: 0; }
}

/* ---------- sections ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section.tight { padding: 4.5rem 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--deep); color: #d6e9e3; overflow: hidden; isolation: isolate; }
.section.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; background-image: var(--grain); }
.section.dark h2, .section.dark h3 { color: #f6fbf9; }
.section.dark h2 em { color: var(--mint); }
.section.dark .eyebrow { color: var(--mint); }
.section.dark .lede, .section.dark p { color: #a9c4bc; }
.head { max-width: 46rem; margin-bottom: 3.2rem; }
.head.center { margin-left: auto; margin-right: auto; }

.rules { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; }
.rules > div { flex: 1 1 220px; padding: 1.6rem 1.7rem; border-right: 1px solid var(--line); }
.rules > div:last-child { border-right: 0; }
.rules small { display: block; font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: .6rem; }
.rules b { font: 450 1.2rem/1.25 var(--serif); display: block; margin-bottom: .3rem; }
.rules p { font-size: .9rem; color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.step { position: relative; }
.step .n { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); font: italic 400 1.7rem/1 var(--serif); color: var(--spruce); margin-bottom: 1.3rem; box-shadow: var(--shadow); position: relative; }
.step p { color: var(--muted); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.feature + .feature { margin-top: 6.5rem; }
.feature.flip .feature-copy { order: 2; }
.feature-copy ul { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.feature-copy li { display: grid; grid-template-columns: 26px 1fr; gap: .5rem; align-items: start; }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); margin-top: 2px; }
.tick svg { width: 12px; height: 12px; }

/* kit visual: a fanned stack of documents */
.docs { position: relative; min-height: 430px; }
.doc { position: absolute; width: 62%; aspect-ratio: 8.5 / 11; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 1.4rem 1.3rem; overflow: hidden; }
.doc:nth-child(1) { left: 2%; top: 30px; transform: rotate(-7deg); }
.doc:nth-child(2) { left: 19%; top: 12px; transform: rotate(-1.5deg); }
.doc:nth-child(3) { left: 36%; top: 0; transform: rotate(5deg); }
.doc h4 { font: 500 .98rem/1.2 var(--serif); margin: 0 0 .9rem; }
.doc .k { font: 600 .55rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: .55rem; }
.doc i { display: block; height: 6px; border-radius: 3px; background: var(--paper-2); margin: .5rem 0; }
.doc i.s { width: 60%; } .doc i.m { width: 82%; }
.doc mark { display: inline-block; background: var(--mint-soft); color: var(--mint-ink); font: 600 .62rem/1 var(--sans); padding: .25rem .4rem; border-radius: 4px; margin: .4rem 0; }
.doc .tbl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin-top: .8rem; }
.doc .tbl span { height: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.filechips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.filechips span { font-size: .78rem; padding: .3rem .65rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink-2); }

/* course visual */
.player { background: var(--deep); border-radius: var(--r-lg); padding: 1rem; box-shadow: var(--shadow-lg); color: #d9ece6; }
.screen { aspect-ratio: 16 / 9; border-radius: 12px; position: relative; overflow: hidden; background: radial-gradient(500px 260px at 70% 20%, rgba(63, 224, 178, .25), transparent 70%), linear-gradient(140deg, #0c3b3c, #072628); display: grid; place-items: center; }
.screen .play { width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; backdrop-filter: blur(4px); }
.screen .play svg { width: 24px; height: 24px; margin-left: 4px; }
.screen .cap { position: absolute; left: 1.1rem; bottom: 1rem; font: italic 400 1.2rem/1.2 var(--serif); color: #fff; }
.screen .cap small { display: block; font: 600 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mint); margin-bottom: .4rem; font-style: normal; }
.bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); margin: .9rem .2rem .4rem; overflow: hidden; }
.bar i { display: block; width: 38%; height: 100%; background: var(--mint); }
.playlist { display: grid; gap: 2px; margin-top: .6rem; }
.playlist div { display: grid; grid-template-columns: 26px 1fr auto; gap: .7rem; align-items: center; padding: .55rem .6rem; border-radius: 8px; font-size: .86rem; }
.playlist div.on { background: rgba(63, 224, 178, .1); }
.playlist b { font: italic 400 .95rem/1 var(--serif); color: var(--mint); }
.playlist span:last-child { font-size: .74rem; color: #8fb0a7; }

/* big quote band */
.quote { font: 380 clamp(1.9rem, 3.8vw, 3.1rem)/1.12 var(--serif); letter-spacing: -.02em; color: #f6fbf9; max-width: 22ch; }
.quote em { color: var(--mint); font-style: italic; }
.scams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.scam { border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 1.2rem 1.25rem; background: rgba(255, 255, 255, .03); }
.scam small { font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #ff9e86; }
.scam p { margin: .7rem 0 0; font: italic 400 1.02rem/1.4 var(--serif); color: #e2efea; }

/* certificate showcase */
.certbig { position: relative; background: #fffaf0; border: 1px solid #e6d8b8; border-radius: 8px; padding: 2.4rem 2.2rem 2rem; box-shadow: var(--shadow-lg); text-align: center; transform: rotate(-1.2deg); }
.certbig::before { content: ""; position: absolute; inset: 10px; border: 2px solid var(--spruce); border-radius: 4px; pointer-events: none; }
.certbig::after { content: ""; position: absolute; inset: 15px; border: 1px solid #d9c59c; border-radius: 2px; pointer-events: none; }
.certbig .k { font: 600 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--spruce-2); }
.certbig .n { font: italic 400 2.3rem/1.1 var(--serif); margin: 1rem 0 .4rem; }
.certbig p { font-size: .88rem; color: var(--muted); margin: 0 0 .3rem; }
.certbig .meta { display: flex; justify-content: space-between; margin-top: 1.8rem; font-size: .72rem; color: var(--muted); text-align: left; }
.certbig .meta b { display: block; color: var(--ink); font-size: .82rem; }
.certbig .seal { position: static; width: 70px; height: 70px; margin: 1rem auto 0; display: block; }

.audit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.audit > div { background: var(--card); padding: 1.6rem 1.5rem; }
.audit .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); margin-bottom: 1rem; }
.audit .ic svg { width: 20px; height: 20px; }
.audit h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.audit p { color: var(--muted); font-size: .92rem; margin: 0; }
.audit small { display: block; margin-top: .7rem; font-size: .76rem; color: var(--mint-ink); font-weight: 600; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.8rem 1.8rem; box-shadow: var(--shadow); }
.plan h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.plan .for { font-size: .86rem; color: var(--muted); margin-bottom: 1.3rem; }
.price { display: flex; align-items: baseline; gap: .4rem; margin: 0 0 1.2rem; }
.price b { font: 400 3.2rem/1 var(--serif); letter-spacing: -.03em; }
.price span { font-size: .85rem; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .6rem; font-size: .93rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: .5rem; }
.plan li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 6.2l2 2 4-4.4' fill='none' stroke='%230a7a5f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px no-repeat; }
.plan form { margin-top: auto; }
.plan.featured { background: var(--deep); color: #d6e9e3; border-color: var(--deep); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.plan.featured h3, .plan.featured .price b { color: #fff; }
.plan.featured .for, .plan.featured .price span { color: #9fbcb4; }
.plan.featured li::before { background-color: rgba(63, 224, 178, .18); }
.ribbon { position: absolute; top: -12px; left: 1.8rem; background: var(--mint); color: var(--deep); font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 999px; }
.save { font-size: .78rem; font-weight: 600; color: var(--mint); margin-left: .3rem; }
.renewal-note { text-align: center; margin-top: 2rem; color: var(--muted); font-size: .92rem; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .94rem; }
.compare th, .compare td { padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 500 1rem/1.2 var(--serif); background: var(--paper); }
.compare tr:last-child td { border-bottom: 0; }
.compare .y { color: var(--mint-ink); font-weight: 700; }
.compare .n { color: var(--line-2); }

.faq { display: grid; gap: .7rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.4rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 0; font: 450 1.12rem/1.3 var(--serif); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.6rem/1 var(--sans); color: var(--spruce-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 4rem 3.5rem; color: #e6f4ef; isolation: isolate; background: radial-gradient(600px 300px at 90% 0%, rgba(63, 224, 178, .3), transparent 60%), linear-gradient(140deg, var(--spruce), var(--deep)); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: var(--grain); }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band h2 em { color: var(--mint); }
.cta-band p { color: #b7cfc8; margin: .8rem 0 0; }
.cta-band .cta-row { justify-content: flex-end; margin: 0; }

/* ---------- interior pages ---------- */
.pagehead { padding: 4.5rem 0 3rem; border-bottom: 1px solid var(--line); background: radial-gradient(700px 300px at 90% 0%, rgba(63, 224, 178, .14), transparent 70%); }
.pagehead h1 { max-width: 20ch; }
.pagehead.slim { padding: 3rem 0 2rem; }
.crumbs { font-size: .86rem; margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.page { padding: 3.5rem 0 5rem; }
.flash { background: var(--amber-soft); border: 1px solid #ead39c; color: #6b4a07; padding: .85rem 1.1rem; border-radius: 12px; margin: 1.4rem 0 0; font-weight: 500; }
.notice { display: flex; gap: .8rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--mint-ink); padding: 1rem 1.2rem; border-radius: 12px; margin: 1.2rem 0; font-size: .95rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.7rem; box-shadow: var(--shadow); }
.card h2 { font-size: 1.5rem; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.message { max-width: 38rem; margin: 5rem auto; text-align: center; }
.message .lede { margin: 0 auto 2rem; }
.message .badge { width: 64px; height: 64px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-ink); }
.message .badge svg { width: 28px; height: 28px; }
.message form.inline { justify-content: center; }

/* forms */
input, select, textarea { font: inherit; font-size: 1rem; padding: .78rem .95rem; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); max-width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--spruce-2); box-shadow: 0 0 0 4px rgba(15, 92, 87, .12); }
input:disabled { background: var(--paper); color: var(--muted); }
form.inline { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
form.inline input { flex: 1 1 220px; }
.stackform { display: grid; gap: 1.1rem; }
.stackform label, .contact label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--ink-2); }

/* quiz */
.quizlayout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.quizside { position: sticky; top: 100px; }
.progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin: .8rem 0 .4rem; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--spruce-2), var(--mint-ink)); transition: width .35s ease; }
.progress-label { font-size: .84rem; color: var(--muted); }
.side-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; font-size: .9rem; color: var(--ink-2); }
.side-list li { display: grid; grid-template-columns: 22px 1fr; gap: .4rem; }
.q { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-lg); padding: 1.4rem 1.6rem 1.5rem; margin: 0 0 1rem; transition: border-color .2s, box-shadow .2s; }
.q:focus-within { border-color: var(--line-2); box-shadow: var(--shadow); }
.q legend { float: left; width: 100%; padding: 0; margin-bottom: 1rem; font: 450 1.18rem/1.35 var(--serif); color: var(--ink); display: grid; grid-template-columns: 38px 1fr; }
.num { font: italic 400 1rem/1.6 var(--serif); color: var(--mint-ink); }
.choices { clear: both; display: flex; gap: .5rem; flex-wrap: wrap; padding-left: 38px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; padding: .55rem 1.05rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .92rem; font-weight: 500; background: #fff; transition: all .15s; }
.choices label:hover span { border-color: var(--spruce-2); }
.choices input:checked + span { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.choices input:focus-visible + span { outline: 2px solid var(--mint-ink); outline-offset: 2px; }
.choices.stack { display: grid; gap: .5rem; }
.choices.stack span { display: block; border-radius: 12px; padding: .8rem 1rem; }
.q.right { border-color: #9ad8c1; background: #f4fcf8; }
.q.wrong { border-color: #ebb3a6; background: #fdf6f4; }
.q.right legend .num::after { content: " ✓"; color: var(--mint-ink); font-style: normal; }
.q.wrong legend .num::after { content: " ✕"; color: var(--coral); font-style: normal; }
.why { clear: both; margin: .9rem 0 0 38px; font-size: .9rem; color: var(--muted); border-left: 2px solid var(--mint-ink); padding-left: .8rem; }
.contact { display: grid; gap: 1rem; }
.contact .choices { padding: 0; }
.result { padding: 1.1rem 1.3rem; border-radius: 14px; margin: 1.2rem 0; display: flex; gap: .8rem 1.2rem; flex-wrap: wrap; align-items: center; font-weight: 500; }
.result.good { background: var(--mint-soft); color: #075c47; }
.result.bad { background: var(--coral-soft); color: #8a3221; }

/* score result */
.scorehead { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: center; }
.ring { width: 220px; height: 220px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--line); stroke-width: 12; }
.ring .val { fill: none; stroke-width: 12; stroke-linecap: round; animation: ringin 1.4s cubic-bezier(.2, .7, .2, 1) .2s both; }
@keyframes ringin { from { stroke-dasharray: 0 999; } }
.ring.good .val { stroke: var(--mint-ink); } .ring.warn .val { stroke: var(--amber); } .ring.bad .val { stroke: var(--coral); }
.ring .lbl { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .lbl b { font: 400 4rem/1 var(--serif); letter-spacing: -.03em; }
.ring .lbl span { font-size: .8rem; color: var(--muted); }
.band-tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.band-tag.good { background: var(--mint-soft); color: var(--mint-ink); } .band-tag.warn { background: var(--amber-soft); color: var(--amber); } .band-tag.bad { background: var(--coral-soft); color: var(--coral); }
.gaps { list-style: none; padding: 0; counter-reset: g; display: grid; gap: .8rem; }
.gaps li { counter-increment: g; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.4rem 1.2rem 4.2rem; position: relative; }
.gaps li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 1.3rem; top: 1.1rem; font: italic 400 1.5rem/1 var(--serif); color: var(--mint-ink); }
.gaps strong { font: 450 1.06rem/1.35 var(--serif); display: block; }
.gaps p { margin: .4rem 0 0; color: var(--muted); font-size: .94rem; }
.weight { float: right; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-left: 1rem; }

/* articles */
.alist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.aitem { display: grid; grid-template-columns: 80px 1fr auto; gap: 1.5rem; align-items: baseline; padding: 2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .25s; }
.aitem:hover { color: var(--ink); padding-left: .6rem; }
.aitem .idx { font: italic 400 1.6rem/1 var(--serif); color: var(--mint-ink); }
.aitem h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.aitem p { color: var(--muted); margin: 0; max-width: 46rem; }
.aitem .read { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.gridcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.acard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.acard:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.acard small { font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 1rem; }
.acard h3 { font-size: 1.3rem; }
.acard p { color: var(--muted); font-size: .94rem; flex: 1; }
.acard .more { font-weight: 600; font-size: .9rem; color: var(--spruce-2); }

.articlelayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; }
.prose { max-width: 42rem; font-size: 1.08rem; }
.prose h1 { display: none; }
.prose h2 { font-size: 1.8rem; margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > p:first-of-type::first-letter { float: left; font: 400 4.2rem/.82 var(--serif); color: var(--spruce); margin: .35rem .6rem 0 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--mint-ink); }
.prose table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 1.6rem 0; font-size: .94rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.prose blockquote { margin: 1.6rem 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--mint-ink); background: var(--card); border-radius: 0 12px 12px 0; font: italic 400 1.12rem/1.5 var(--serif); color: var(--ink-2); }
.prose blockquote p { margin: 0; }
.prose strong { color: var(--ink); }
.prose.lesson > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.aside { position: sticky; top: 100px; }
.aside .card { padding: 1.5rem; }
.aside h3 { font-size: 1.2rem; }

/* course */
.coursehead { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.ring.small { width: 130px; height: 130px; }
.ring.small .lbl b { font-size: 2.2rem; }
.ring.small .track, .ring.small .val { stroke-width: 10; }
.modules { list-style: none; padding: 0; display: grid; gap: .8rem; margin: 2rem 0; }
.modules a { display: grid; grid-template-columns: 56px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.modules a:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.modules .mn { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--paper-2); font: italic 400 1.5rem/1 var(--serif); color: var(--spruce); }
.modules li.passed .mn { background: var(--mint-soft); color: var(--mint-ink); }
.modules .t strong { font: 450 1.18rem/1.3 var(--serif); display: block; }
.modules .t small { color: var(--muted); font-size: .88rem; }
.modules .st { font-size: .82rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; background: var(--paper); color: var(--spruce-2); white-space: nowrap; }
.modules li.passed .st { background: var(--mint-soft); color: var(--mint-ink); }
.modules li.retry .st { background: var(--amber-soft); color: var(--amber); }
.certready { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; background: var(--deep); color: #d6e9e3; border-radius: var(--r-lg); padding: 1.5rem 1.8rem; margin: 1.5rem 0; }
.certready .seal { position: static; width: 56px; height: 56px; }
.certready b { font: 450 1.3rem/1.2 var(--serif); color: #fff; display: block; }
.certready span { font-size: .85rem; color: #9fbcb4; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-lg); overflow: hidden; margin: 1.5rem 0; box-shadow: var(--shadow-lg); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lessoncover { aspect-ratio: 16 / 7; border-radius: var(--r-lg); margin: 1.5rem 0 2rem; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 1.8rem 2rem; color: #fff; background: radial-gradient(600px 260px at 80% 10%, rgba(63, 224, 178, .3), transparent 70%), linear-gradient(140deg, var(--spruce), var(--deep)); isolation: isolate; }
.lessoncover::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background-image: var(--grain); }
.lessoncover .pulse { height: 70px; bottom: auto; top: 30%; opacity: .55; }
.lessoncover b { font: italic 400 clamp(1.4rem, 3vw, 2.1rem)/1.1 var(--serif); }
.lessoncover small { display: block; font: 600 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin-bottom: .6rem; }
.script summary { cursor: pointer; color: var(--spruce-2); font-weight: 600; }
.meta-row { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin-top: 1rem; }
.meta-row span, .meta-row a { display: inline-flex; gap: .4rem; align-items: center; }
.meta-row svg { width: 16px; height: 16px; color: var(--mint-ink); }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; max-width: 980px; margin: 0 auto; }
.summary { background: var(--deep); color: #d6e9e3; border-color: var(--deep); }
.summary h2 { color: #fff; }
.summary .price b { color: #fff; }
.summary .fine { color: #9fbcb4; }

.checks { list-style: none; padding: 0; margin: 0 auto 2rem; display: grid; gap: .6rem; max-width: 30rem; text-align: left; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .4rem; }
.checks li::before { content: "✓"; color: var(--mint-ink); font-weight: 700; }

/* tables (account, admin) */
.tablewrap { overflow-x: auto; margin: 1rem 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
table.report { border-collapse: collapse; width: 100%; font-size: .9rem; }
.report th, .report td { border-bottom: 1px solid var(--line); padding: .75rem .9rem; text-align: left; vertical-align: top; }
.report tr:last-child td { border-bottom: 0; }
.report th { color: var(--muted); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; background: var(--paper); }
.report td.ok { color: var(--mint-ink); font-weight: 700; }
.report td.try { color: var(--amber); font-weight: 600; }
.report td.actions form { display: inline; margin-right: .7rem; }
.report td.msg { white-space: pre-wrap; max-width: 28rem; }
.st-sent, .st-dry-run { color: var(--mint-ink); font-weight: 600; }
.st-failed, .st-held { color: var(--coral); font-weight: 600; }
.st-skipped { color: var(--muted); }
.st-queued { color: var(--amber); font-weight: 600; }
.warnings { list-style: none; background: var(--amber-soft); border: 1px solid #ead39c; border-radius: var(--r); padding: 1rem 1.2rem; display: grid; gap: .5rem; font-size: .92rem; color: #5e4208; }
.warnings li::before { content: "▲ "; color: var(--amber); font-size: .7rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; margin: 1.6rem 0; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; display: grid; gap: .2rem; }
.stats b { font: 400 2rem/1 var(--serif); color: var(--ink); }
.stats span { color: var(--muted); font-size: .8rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 2rem; }
.tabs a { padding: .5rem 1rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--line-2); color: var(--ink-2); font-size: .88rem; font-weight: 500; }
.tabs a.on { background: var(--spruce); color: #fff; border-color: var(--spruce); }
pre.mail { white-space: pre-wrap; background: var(--card); border: 1px solid var(--line); padding: 1.4rem 1.6rem; border-radius: var(--r); font: .95rem/1.6 var(--sans); }
details.card summary { cursor: pointer; font-weight: 600; }
.acct-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.pill.on { background: var(--mint-soft); border-color: #b5e6d4; color: var(--mint-ink); }
.pill.off { background: var(--coral-soft); border-color: #efc2b6; color: var(--coral); }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: #a3bdb5; padding: 5rem 0 2.5rem; margin-top: 0; position: relative; isolation: isolate; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; background-image: var(--grain); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot .brand { color: #fff; }
.foot .brand small { color: #7f9d95; }
.foot h4 { font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.foot a { color: #a3bdb5; text-decoration: none; font-size: .93rem; }
.foot a:hover { color: var(--mint); }
.foot p { font-size: .9rem; }
.foot-bottom { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: .8rem; color: #7f9d95; }
.foot-bottom p { max-width: 52rem; margin: 0; font-size: .8rem; }
.mainpad { min-height: 50vh; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .feature, .articlelayout, .quizlayout, .checkout, .cta-band { grid-template-columns: 1fr; }
  .hero-grid { padding: 3.5rem 0 5rem; gap: 2.5rem; }
  .feature.flip .feature-copy { order: 0; }
  .feature { gap: 2.5rem; }
  .plans, .gridcards, .scams { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .audit { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .quizside, .aside { position: static; }
  .cta-band .cta-row { justify-content: flex-start; }
  .navlinks { display: none; }
  .menu { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 4.2rem 0; }
  .stage { min-height: 400px; }
  .panel.dash { width: 100%; }
  .panel.cert { width: 78%; }
  .panel.score { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .audit { grid-template-columns: 1fr; }
  .docs { min-height: 330px; }
  .doc { width: 70%; }
  .scorehead { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.5rem; }
  .coursehead { grid-template-columns: 1fr; }
  .aitem { grid-template-columns: 1fr; gap: .4rem; }
  .modules a { grid-template-columns: 44px 1fr; }
  .modules .mn { width: 44px; height: 44px; font-size: 1.2rem; }
  .modules .st { grid-column: 2; justify-self: start; }
  .choices { padding-left: 0; }
  .why { margin-left: 0; }
  .cta-band { padding: 2.6rem 1.6rem; border-radius: 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .certready { grid-template-columns: 1fr; }
  .rules > div { border-right: 0; border-bottom: 1px solid var(--line); }
}
