/* ======================================================================
   COURSE PAGE COMPONENTS (cp-*) — used by ace-the-nuet.html, reusable for every course
   ====================================================================== */
.cp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.cp-narrow { max-width: 820px; margin: 0 auto; }
.cp-sec { padding: 88px 0; border-top: 1px solid var(--nf-line); }
.cp-sec.tint { background: var(--nf-bg-2); }
.cp-eyebrow { display: block; font: 700 13px var(--nf-font); letter-spacing: .12em; text-transform: uppercase; color: var(--nf-blue); margin-bottom: 12px; }
.cp-h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; margin: 0 0 14px; text-align: left; }
.cp-center { text-align: center; } .cp-center .cp-h2 { text-align: center; }
.cp-lead { color: var(--nf-mute); font-size: 1.12rem; max-width: 62ch; margin: 0 0 40px; }
.cp-center .cp-lead { margin-left: auto; margin-right: auto; }
.cp-ph-note { display: inline-block; font: 700 11px var(--nf-font); letter-spacing: .08em; text-transform: uppercase; color: #b54708;
  background: #fff4e5; border: 1px dashed #f5b26b; border-radius: 6px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
html.dark-mode .cp-ph-note { background: #33240f; color: #f5b26b; }

/* hero */
.cp-hero { padding: 56px 0 72px; }
.cp-crumbs { font-size: 14px; color: var(--nf-mute); margin-bottom: 22px; }
.cp-crumbs a { color: var(--nf-mute); text-decoration: none; } .cp-crumbs a:hover { color: var(--nf-blue); }
.cp-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.cp-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 1.02; margin: 0 0 18px; }
.cp-hero .tagline { font-size: 1.25rem; color: var(--nf-ink); margin: 0 0 14px; font-weight: 500; }
.cp-hero .by { color: var(--nf-mute); margin: 0 0 30px; }
.cp-hero .by b { color: var(--nf-head); }
.cp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 10px;
  font: 700 16px var(--nf-font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.cp-btn.blue { background: var(--nf-blue); color: #fff; } .cp-btn.blue:hover { background: var(--nf-blue-d); }
.cp-btn.line { background: transparent; color: var(--nf-head); border-color: var(--nf-line); } .cp-btn.line:hover { border-color: var(--nf-blue); color: var(--nf-blue); }
.cp-btn.wide { width: 100%; }
.cp-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 28px; padding-top: 22px; border-top: 1px solid var(--nf-line); }
.cp-facts b { display: block; font-size: 1.35rem; color: var(--nf-head); }
.cp-facts span { font-size: 13.5px; color: var(--nf-mute); }

/* video + image placeholders */
.cp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0f1115; color: #fff; cursor: pointer;
  display: grid; place-items: center; border: 0; width: 100%; padding: 0; font: inherit; }
.cp-video::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px); }
.cp-video .play { position: relative; width: 78px; height: 78px; border-radius: 50%; background: var(--nf-blue); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(31,107,255,.45); transition: transform .15s; }
.cp-video:hover .play { transform: scale(1.06); }
.cp-video .play::after { content: ""; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.cp-video .cap { position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #cfd3db; }
.cp-video .cap b { color: #fff; }
.cp-video iframe, .cp-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
/* self-hosted video (data-src): poster image under the play button, darkened at the bottom for the caption */
.cp-video .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-video.has-poster::before { z-index: 1; background: linear-gradient(to top, rgba(5,8,30,.7), rgba(5,8,30,0) 45%); }
.cp-video.has-poster .play, .cp-video.has-poster .cap { z-index: 2; }
.cp-img { position: relative; border-radius: 14px; background: var(--nf-bg-2); border: 1px dashed var(--nf-line); display: grid; place-items: center;
  color: var(--nf-mute); font: 600 14px var(--nf-font); text-align: center; padding: 16px; min-height: 160px; }
.cp-img::before { content: ""; position: absolute; width: 44px; height: 34px; top: calc(50% - 40px); border: 2px solid currentColor; border-radius: 6px; opacity: .45;
  background: linear-gradient(135deg, transparent 55%, currentColor 55% 60%, transparent 60%); }
.cp-img span { margin-top: 40px; }

/* sticky enrol bar */
.cp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--nf-surface); border-top: 1px solid var(--nf-line);
  box-shadow: 0 -6px 24px rgba(15,20,30,.06); transform: translateY(110%); transition: transform .25s; }
.cp-sticky.show { transform: none; }
.cp-sticky .cp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.cp-sticky b { color: var(--nf-head); } .cp-sticky span { color: var(--nf-mute); font-size: 14px; }

/* outcomes */
.cp-learn { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.cp-learn li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--nf-line); }
.cp-learn ul { margin: 0; padding: 0; }
.cp-tick { width: 24px; height: 24px; border-radius: 50%; background: var(--nf-blue-soft); color: var(--nf-blue); display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 1px; }
.cp-learn b { display: block; color: var(--nf-head); margin-bottom: 2px; }
.cp-learn p { margin: 0; color: var(--nf-mute); font-size: .97rem; }

/* feature rows (how it works) */
.cp-rows { display: grid; gap: 56px; }
.cp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cp-row:nth-child(even) .cp-img { order: 2; }
.cp-row .cp-img { aspect-ratio: 4 / 3; }
.cp-row .num { font: 700 13px var(--nf-font); color: var(--nf-blue); letter-spacing: .1em; }
.cp-row h3 { font-size: 1.6rem; margin: 8px 0 10px; }
.cp-row p { color: var(--nf-mute); margin: 0; font-size: 1.05rem; }

/* accordions with blue plus */
.cp-acc { border-top: 1px solid var(--nf-line); }
.cp-acc > details { border-bottom: 1px solid var(--nf-line); }
.cp-acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 36px; gap: 16px; align-items: center; padding: 22px 0; }
.cp-acc summary::-webkit-details-marker { display: none; }
.cp-plus { width: 36px; height: 36px; border-radius: 50%; background: var(--nf-blue); position: relative; transition: transform .2s, background .15s; }
.cp-plus::before, .cp-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 2px; transform: translate(-50%, -50%); }
.cp-plus::before { width: 14px; height: 2.5px; } .cp-plus::after { width: 2.5px; height: 14px; }
details[open] > summary .cp-plus { transform: rotate(45deg); }
.cp-acc summary:hover .cp-plus { background: var(--nf-blue-d); }
.cp-acc .q { font: 700 1.12rem var(--nf-display); color: var(--nf-head); }
.cp-acc .q small { display: block; font: 600 12.5px var(--nf-font); letter-spacing: .1em; text-transform: uppercase; color: var(--nf-blue); margin-bottom: 4px; }
.cp-acc .a { padding: 0 52px 24px 0; color: var(--nf-mute); }

/* curriculum */
.cp-phase { margin-bottom: 40px; }
.cp-phase-h { display: flex; gap: 14px; align-items: baseline; margin-bottom: 6px; }
.cp-phase-h span { font: 700 12.5px var(--nf-font); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--nf-blue); padding: 4px 11px; border-radius: 99px; }
.cp-phase-h h3 { font-size: 1.35rem; margin: 0; }
.cp-phase > p { color: var(--nf-mute); margin: 0 0 8px; }
.cp-week .a h5 { font: 700 12.5px var(--nf-font); letter-spacing: .1em; text-transform: uppercase; color: var(--nf-blue); margin: 18px 0 8px; }
.cp-week .a ul.goals { margin: 0; padding-left: 18px; color: var(--nf-ink); }
.cp-week .a ul.goals li { margin-bottom: 6px; }
.cp-days { list-style: none; padding: 0; margin: 0; border: 1px solid var(--nf-line); border-radius: 12px; overflow: hidden; }
.cp-days li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--nf-line); background: var(--nf-surface); }
.cp-days li:last-child { border-bottom: 0; }
.cp-days .d { font: 700 12px var(--nf-font); letter-spacing: .08em; text-transform: uppercase; color: var(--nf-mute); padding-top: 2px; }
.cp-days .t { color: var(--nf-head); font-weight: 600; }
.cp-days .t small { display: block; color: var(--nf-mute); font-weight: 400; font-size: .9rem; }
.cp-days .m { color: var(--nf-mute); font-size: 13.5px; white-space: nowrap; }
.cp-days .tag { margin-left: 8px; font: 700 10.5px var(--nf-font); letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; vertical-align: 2px; }
.cp-days .tag.mock { background: var(--nf-blue); color: #fff; }
.cp-days .tag.rest { background: var(--nf-bg-2); color: var(--nf-mute); border: 1px solid var(--nf-line); }
.cp-days li.rest .t { color: var(--nf-mute); }

/* instructor */
.cp-coach { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.cp-coach .cp-img { aspect-ratio: 4 / 5; }
.cp-coach h3 { font-size: 2rem; margin: 0 0 4px; }
.cp-coach .role { color: var(--nf-blue); font-weight: 600; margin: 0 0 18px; }
.cp-coach p { color: var(--nf-mute); }
.cp-cred { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cp-cred span { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--nf-line); font-size: 14px; color: var(--nf-ink); }

/* testimonials */
.cp-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cp-story { background: var(--nf-surface); border: 1px solid var(--nf-line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; }
.cp-story blockquote { margin: 0 0 20px; color: var(--nf-ink); font-size: 1.02rem; line-height: 1.6; }
.cp-story .who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.cp-story .av { width: 44px; height: 44px; border-radius: 50%; background: var(--nf-bg-2); border: 1px dashed var(--nf-line); }
.cp-story .who b { display: block; color: var(--nf-head); font-size: .95rem; } .cp-story .who span { color: var(--nf-mute); font-size: .88rem; }

/* included + price */
.cp-buy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.cp-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cp-incl div { border: 1px solid var(--nf-line); border-radius: 12px; padding: 20px; background: var(--nf-surface); }
.cp-incl b { display: block; color: var(--nf-head); margin-bottom: 4px; } .cp-incl span { color: var(--nf-mute); font-size: .95rem; }
.cp-pricecard { border: 2px solid var(--nf-blue); border-radius: 16px; padding: 30px; background: var(--nf-surface); position: sticky; top: 90px; }
.cp-pricecard .amt { font: 800 2.6rem var(--nf-display); color: var(--nf-head); margin: 8px 0 2px; }
.cp-pricecard .amt small { font-size: 1rem; color: var(--nf-mute); font-weight: 600; }
.cp-pricecard ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.cp-pricecard li { display: flex; gap: 10px; } .cp-pricecard li::before { content: "✓"; color: var(--nf-blue); font-weight: 800; }
.cp-guarantee { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--nf-line); }
.cp-guarantee i { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--nf-blue); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--nf-blue); }
.cp-guarantee p { margin: 0; color: var(--nf-mute); font-size: .95rem; }
.cp-final { text-align: center; padding: 96px 0; border-top: 1px solid var(--nf-line); }
.cp-final h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0 0 14px; }
.cp-final p { color: var(--nf-mute); font-size: 1.12rem; max-width: 54ch; margin: 0 auto 30px; }

@media (max-width: 960px) {
  .cp-hero-grid, .cp-row, .cp-coach, .cp-buy, .cp-learn { grid-template-columns: 1fr; }
  .cp-row:nth-child(even) .cp-img { order: 0; }
  .cp-stories { grid-template-columns: 1fr; }
  .cp-facts { grid-template-columns: repeat(2, auto); }
  .cp-pricecard { position: static; }
  .cp-sec { padding: 64px 0; }
  .cp-coach .cp-img { max-width: 360px; }
}
@media (max-width: 640px) {
  .cp-incl { grid-template-columns: 1fr; }
  .cp-days li { grid-template-columns: 58px 1fr; } .cp-days .m { grid-column: 2; }
  .cp-acc .a { padding-right: 0; }
  .cp-sticky span { display: none; }
}
.cp-coach p + p, .cp-week .a > p { margin-top: 0; margin-bottom: 12px; }
.cp-coach p { margin-bottom: 12px; }
.cp-pricecard p, .cp-incl span { display: block; }
@media (max-width: 640px) { .cp-video .cap span { display: none; } }

/* ======================================================================
   MEMBERSHIP PLATFORM COMPONENTS (mv-*) — homepage, catalogue, program pages, membership, quiz
   ====================================================================== */
/* image placeholder that carries the prompt for the image to generate */
.ph-img { position: relative; margin: 0; border-radius: 16px; background: var(--nf-bg-2); border: 1.5px dashed #c9ced8; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 180px; }
html.dark-mode .ph-img { border-color: #3a3f48; }
.ph-img::before { content: ""; position: absolute; left: 50%; top: 38%; width: 54px; height: 42px; transform: translate(-50%, -50%);
  border: 2px solid #b8bec9; border-radius: 8px; background: radial-gradient(circle at 32% 34%, #b8bec9 0 5px, transparent 6px),
  linear-gradient(140deg, transparent 52%, #b8bec9 52% 56%, transparent 56%); }
.ph-img figcaption { position: relative; width: 100%; padding: 14px 16px; font-size: 13px; line-height: 1.45; color: var(--nf-mute);
  background: color-mix(in srgb, var(--nf-surface) 92%, transparent); border-top: 1px solid var(--nf-line); }
.ph-img figcaption b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #b54708; margin-bottom: 4px; }
.ph-img.round { border-radius: 50%; min-height: 0; aspect-ratio: 1; align-items: center; justify-content: center; }
.ph-img.round figcaption { display: none; }

.mv-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mv-narrow { max-width: 860px; margin: 0 auto; }
.mv-sec { padding: 96px 0; }
.mv-sec.tint { background: var(--nf-bg-2); }
.mv-sec.line { border-top: 1px solid var(--nf-line); }
.mv-c { text-align: center; }
.mv-h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.04; margin: 0 0 20px; letter-spacing: -.035em; }
.mv-h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.03em; }
.mv-c .mv-h2, .mv-c .mv-h1 { text-align: center; }
.mv-sub { color: var(--nf-mute); font-size: 1.18rem; max-width: 64ch; margin: 0 0 32px; }
.mv-c .mv-sub { margin-left: auto; margin-right: auto; }
.mv-eyebrow { display: block; font: 700 13px var(--nf-font); letter-spacing: .12em; text-transform: uppercase; color: var(--nf-blue); margin-bottom: 12px; }

/* header (membership nav) */
body.nf .bar.nf-bar .nav-right .mv-start { white-space: nowrap; }

/* top announcement strip */
.mv-strip { background: var(--nf-head); color: #fff; text-align: center; font-size: 14px; padding: 9px 16px; }
html.dark-mode .mv-strip { background: #1b2a4a; }
.mv-strip a { color: #fff; font-weight: 700; text-decoration: underline; }
/* launch offer headline (index.html offer rows, membership.html plans): second line on its own row, in the brand colour */
.mv-h2.mv-deal span { display: block; color: var(--nf-blue); }
.mv-deal-sub { margin: 14px 0 0; font-size: 1.15rem; color: var(--nf-mute); } .mv-deal-sub strong { color: var(--nf-head); }
body.nf.home .mv-h2.mv-deal span { background: var(--hm-grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* launch offer strip with a countdown (index.html; script.js fills the numbers) */
.mv-promo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding: 10px 16px; font-size: 15px; }
.mv-promo-strip[hidden] { display: none; }
.mv-ps-t { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mv-ps-off { font: 800 1.2rem/1 var(--hm-display, inherit); letter-spacing: -.02em; padding: 4px 10px; border-radius: 8px; background: #FDE047; color: #111827; }
.mv-ps-cd { display: inline-flex; gap: 6px; }
.mv-ps-cd > span { display: inline-flex; align-items: baseline; gap: 3px; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.16); }
.mv-ps-cd b { font: 800 1rem/1 var(--hm-display, inherit); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.mv-ps-cd small { font-size: 11px; opacity: .85; }
.mv-strip a.mv-ps-btn { padding: 7px 16px; border-radius: 999px; background: #fff; color: #1e1b4b; text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap; transition: transform .15s; }
.mv-strip a.mv-ps-btn:hover { transform: translateY(-1px); }
@media (max-width: 600px) { .mv-promo-strip { gap: 8px 10px; font-size: 14px; } .mv-ps-t > span { display: none; } .mv-ps-cd > span { padding: 4px 6px; } }
/* centred program hero */
.mv-phero { padding: 64px 0 40px; }
.mv-phero .cp-video, .mv-phero .mv-hero-img { max-width: 960px; margin: 36px auto 0; }
.mv-phero .mv-actions { justify-content: center; }
.mv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mv-keyfacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 28px; color: var(--nf-mute); font-size: 15px; }
.mv-keyfacts b { color: var(--nf-head); }

/* long-form story section */
.mv-story { max-width: 760px; margin: 0 auto; font-size: 1.15rem; line-height: 1.75; color: var(--nf-ink); }
.mv-story p { margin: 0 0 18px; }
.mv-story .ph-img { margin: 34px 0; aspect-ratio: 16 / 8; }

/* tabs (week by week) */
.mv-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.mv-tabs button { flex: 0 0 auto; font: 700 14.5px var(--nf-font); padding: 10px 18px; border-radius: 99px; border: 1px solid var(--nf-line);
  background: var(--nf-surface); color: var(--nf-mute); cursor: pointer; }
.mv-tabs button[aria-selected="true"] { background: var(--nf-blue); border-color: var(--nf-blue); color: #fff; }
.mv-tabpanel[hidden] { display: none; }
.mv-tabpanel h4 { font-size: 1.25rem; margin: 0 0 6px; }
.mv-tabpanel > p { color: var(--nf-mute); margin: 0 0 16px; }

/* parts accordion bullets */
.mv-ticks { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.mv-ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--nf-ink); }
.mv-ticks li::before { content: "✓"; color: var(--nf-blue); font-weight: 800; }

/* bonus + trainer block */
.mv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mv-split .ph-img { aspect-ratio: 4 / 3; }
.mv-split.portrait .ph-img { aspect-ratio: 4 / 5; }
.mv-bonus { border: 2px solid var(--nf-blue); border-radius: 18px; padding: 32px; background: var(--nf-surface); }
.mv-bonus .tag { display: inline-block; background: var(--nf-blue); color: #fff; font: 700 12px var(--nf-font); letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.mv-link { color: var(--nf-blue); font-weight: 700; text-decoration: none; } .mv-link:hover { text-decoration: underline; }

/* testimonials */
.mv-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mv-quote { background: var(--nf-surface); border: 1px solid var(--nf-line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.mv-quote h3 { font-size: 1.1rem; line-height: 1.35; margin: 0 0 12px; }
.mv-quote p { color: var(--nf-mute); margin: 0 0 18px; font-size: .97rem; }
.mv-quote .who { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.mv-quote .who .ph-img { width: 46px; height: 46px; min-height: 0; border-width: 1px; }
.mv-quote .who .ph-img::before { width: 18px; height: 14px; border-width: 1.5px; top: 50%; }
.mv-quote .who b { display: block; font-size: .95rem; color: var(--nf-head); } .mv-quote .who span { font-size: .85rem; color: var(--nf-mute); }

/* included grid */
.mv-incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mv-incl > div { border: 1px solid var(--nf-line); border-radius: 16px; padding: 24px; background: var(--nf-surface); }
.mv-incl .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--nf-blue-soft); color: var(--nf-blue); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.mv-incl b { display: block; color: var(--nf-head); font-size: 1.05rem; margin-bottom: 4px; } .mv-incl span { color: var(--nf-mute); font-size: .95rem; }

/* learning path */
.mv-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: p; }
.mv-path > div { position: relative; border: 1px solid var(--nf-line); border-radius: 16px; padding: 22px; background: var(--nf-surface); counter-increment: p; }
.mv-path > div::before { content: "Step " counter(p); display: block; font: 700 12px var(--nf-font); letter-spacing: .1em; text-transform: uppercase; color: var(--nf-blue); margin-bottom: 8px; }
.mv-path b { display: block; color: var(--nf-head); margin-bottom: 4px; } .mv-path span { color: var(--nf-mute); font-size: .93rem; }

/* transformation list */
.mv-transform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; max-width: 900px; margin: 0 auto; }
.mv-transform div { display: grid; grid-template-columns: 1fr 28px 1fr; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--nf-line); }
.mv-transform s { color: var(--nf-mute); text-decoration: none; } .mv-transform i { color: var(--nf-blue); font-style: normal; text-align: center; font-weight: 800; }
.mv-transform b { color: var(--nf-head); }

/* offer box */
.mv-offer { max-width: 560px; margin: 0 auto; border: 2px solid var(--nf-blue); border-radius: 20px; padding: 34px; background: var(--nf-surface); text-align: left; }
.mv-offer h3 { font-size: 1.5rem; margin: 0 0 14px; }
.mv-toggle { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--nf-bg-2); border: 1px solid var(--nf-line); margin-bottom: 20px; }
.mv-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 99px; font: 700 14px var(--nf-font); color: var(--nf-mute); cursor: pointer; }
.mv-toggle button[aria-pressed="true"] { background: var(--nf-surface); color: var(--nf-head); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.mv-price { font: 800 3rem var(--nf-display); color: var(--nf-head); line-height: 1; }
.mv-price small { font-size: 1rem; color: var(--nf-mute); font-weight: 600; }
.mv-price-note { color: var(--nf-mute); margin: 6px 0 20px; font-size: .95rem; }
.mv-save { display: inline-block; margin: 0 0 20px; padding: 6px 12px; border-radius: 99px; background: #e7f6ec; color: #12833f; font-weight: 700; font-size: .92rem; }
html.dark-mode .mv-save { background: #143524; color: #6fdc9a; }
.mv-offer .mv-ticks { margin-bottom: 24px; }
.mv-guar { display: flex; gap: 12px; align-items: center; justify-content: center; color: var(--nf-mute); font-size: 14px; margin-top: 14px; }
.mv-guar i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--nf-blue); color: var(--nf-blue); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; }

/* membership buy card (.mv-buy): banner card + yearly/monthly plan rows + payment logos */
.mv-offer.mv-buy { max-width: 520px; padding: 16px 16px 22px; border: 1px solid var(--nf-line); border-radius: 26px; box-shadow: 0 18px 50px -24px rgba(15, 23, 42, .35); }
.mv-mcard { position: relative; container-type: inline-size; aspect-ratio: 2.75 / 1; border-radius: 18px; overflow: hidden; background: #0a1238; margin-bottom: 30px; isolation: isolate; }
.mv-mcard-art { position: absolute; inset: 0; z-index: -1; }
.mv-mcard-art img { position: absolute; width: 34%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 10px 30px rgba(0,0,0,.45); opacity: .8; }
.mv-mcard-art img:nth-child(1) { left: -8%; top: -30%; transform: rotate(-18deg); }
.mv-mcard-art img:nth-child(2) { left: 18%; top: 22%; transform: rotate(-12deg); }
.mv-mcard-art img:nth-child(3) { left: 44%; top: -42%; transform: rotate(-16deg); }
.mv-mcard-art img:nth-child(4) { left: 64%; top: 26%; transform: rotate(-10deg); }
.mv-mcard-art img:nth-child(5) { left: 84%; top: -24%; transform: rotate(-15deg); }
.mv-mcard-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(10,18,56,.55), transparent 75%), linear-gradient(115deg, rgba(37,99,235,.62), rgba(67,56,202,.5) 50%, rgba(91,33,182,.62)); }
.mv-mcard-t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2cqw; color: #fff; }
.mv-mcard-brand { display: inline-flex; align-items: center; gap: 1.6cqw; font: 700 clamp(13px, 4.4cqw, 21px) var(--nf-display); letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.mv-mcard-logo { width: 1.25em; height: 1.25em; fill: currentColor; }
.mv-mcard-t b { font: italic 800 clamp(30px, 13.5cqw, 72px)/.9 "Kanit", "Exo 2", var(--nf-display); letter-spacing: -.01em; padding-right: .08em; background: linear-gradient(180deg, #fff 30%, #c9d6ff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 10px rgba(5,10,40,.55)); }
.mv-plans { display: grid; gap: 14px; margin-bottom: 22px; }
.mv-plan { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px 20px; border: 1.5px solid var(--nf-line); border-radius: 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.mv-plan:has(.mv-plan-tag) { margin-top: 12px; }
.mv-plan:hover { border-color: var(--nf-blue); }
.mv-plan:has(input:checked) { border: 2px solid var(--nf-blue); background: var(--nf-blue-soft); padding: 19.5px 19.5px; }
.mv-plan input { appearance: none; -webkit-appearance: none; margin: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b8bec9; background: var(--nf-surface); display: grid; place-items: center; cursor: pointer; }
.mv-plan input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--nf-blue); transform: scale(0); transition: transform .15s; }
.mv-plan input:checked { border-color: var(--nf-blue); }
.mv-plan input:checked::after { transform: scale(1); }
.mv-plan input:focus-visible { outline: 3px solid color-mix(in srgb, var(--nf-blue) 35%, transparent); outline-offset: 2px; }
.mv-plan-tag { position: absolute; top: -14px; left: 22px; padding: 4px 14px; border-radius: 99px; background: var(--nf-blue-d); color: #fff; font: 800 12.5px/1.3 var(--nf-font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.mv-plan-n b { display: block; font: 700 1.3rem/1.2 var(--nf-display); color: var(--nf-head); }
.mv-plan-n small { display: block; margin-top: 2px; color: var(--nf-mute); font-size: .92rem; }
.mv-plan-p { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; color: var(--nf-head); }
.mv-plan-p s { color: var(--nf-mute); font: 600 1.15rem var(--nf-display); margin-right: 4px; }
.mv-plan-p b { font: 800 1.85rem/1 var(--nf-display); }
.mv-plan-p small { color: var(--nf-mute); font-size: .95rem; font-weight: 600; }
.mv-offer .mv-promo { margin: 0 0 16px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.mv-promo summary { list-style: none; display: inline-flex; cursor: pointer; color: var(--nf-blue); font-weight: 700; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.mv-promo summary::-webkit-details-marker { display: none; }
.mv-promo[open] summary { margin-bottom: 10px; }
.mv-promo-f { display: flex; gap: 8px; }
.mv-promo-f input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1.5px solid var(--nf-line); border-radius: 12px; background: var(--nf-surface); color: var(--nf-head); font: 600 16px var(--nf-font); text-transform: uppercase; letter-spacing: .04em; }
.mv-promo-f input::placeholder { text-transform: none; letter-spacing: 0; color: var(--nf-mute); font-weight: 500; }
.mv-promo-f input:focus { outline: none; border-color: var(--nf-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nf-blue) 22%, transparent); }
.mv-promo-f button { height: 48px; padding: 0 20px; border: 1.5px solid var(--nf-blue); border-radius: 12px; background: transparent; color: var(--nf-blue); font: 700 15px var(--nf-font); cursor: pointer; }
.mv-promo-f button:hover { background: var(--nf-blue-soft); }
.mv-promo-msg { margin: 8px 0 0; font-size: .9rem; color: var(--nf-mute); }
.mv-promo-msg:empty { display: none; }
.mv-promo-msg.ok { color: #12833f; }
html.dark-mode .mv-promo-msg.ok { color: #6fdc9a; }
.mv-buy .cp-btn.wide { font-size: 1.1rem; padding-top: 17px; padding-bottom: 17px; }
.mv-buy .mv-guar { margin-top: 18px; font-size: 15px; }
.mv-pay { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 0; padding: 0; }
.mv-pay li { display: grid; place-items: center; height: 46px; border: 1px solid #e4e7ec; border-radius: 8px; background: #fff; }
.mv-pay img { width: 100%; max-width: 96px; height: auto; display: block; }
.mv-vat { margin: 14px 0 0; text-align: center; color: var(--nf-mute); font-size: 13px; }
html.dark-mode .mv-pay li { border-color: transparent; }
html.dark-mode .mv-plan input { border-color: #5b6478; }
@media (max-width: 480px) {
  .mv-offer.mv-buy { padding: 12px 12px 18px; border-radius: 22px; }
  .mv-plan, .mv-plan:has(input:checked) { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .mv-plan-n b { font-size: 1.12rem; }
  .mv-plan-n small { font-size: .8rem; }
  .mv-plan-p { gap: 3px; }
  .mv-plan-p s { font-size: .95rem; margin-right: 2px; }
  .mv-plan-p b { font-size: 1.45rem; }
  .mv-plan-p small { font-size: .8rem; }
  .mv-plan input { width: 20px; height: 20px; }
  .mv-plan-tag { font-size: 11px; left: 14px; }
  .mv-pay { gap: 6px; }
  .mv-pay li { height: 40px; }
}

/* what happens after you order */
.mv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; counter-reset: s; text-align: left; }
.mv-steps > div { counter-increment: s; border-top: 3px solid var(--nf-blue); padding-top: 16px; }
.mv-steps > div::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--nf-blue-soft); color: var(--nf-blue); font-weight: 800; margin-bottom: 12px; }
.mv-steps b { display: block; color: var(--nf-head); margin-bottom: 4px; } .mv-steps span { color: var(--nf-mute); font-size: .95rem; }

/* catalogue rows */
.mv-catrow { margin-bottom: 56px; scroll-margin-top: 90px; }
.mv-catrow-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.mv-catrow-h h3 { font-size: 1.6rem; margin: 0; } .mv-catrow-h span { color: var(--nf-mute); }
.mv-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.mv-card { scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--nf-line); border-radius: 16px; overflow: hidden;
  background: var(--nf-surface); text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
a.mv-card:hover { box-shadow: 0 10px 30px rgba(15,20,30,.08); transform: translateY(-2px); }
.mv-card .ph-img { border-radius: 0; border-width: 0 0 1.5px 0; aspect-ratio: 16 / 10; min-height: 0; }
.mv-card .ph-img figcaption { font-size: 11.5px; padding: 9px 12px; }
.mv-card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.mv-card .st { font: 700 11.5px var(--nf-font); letter-spacing: .08em; text-transform: uppercase; color: var(--nf-mute); margin-bottom: 6px; }
.mv-card .st.live { color: #12833f; }
.mv-card h4 { font-size: 1.1rem; margin: 0 0 4px; } .mv-card .by { color: var(--nf-mute); font-size: .9rem; margin: 0 0 10px; }
.mv-card p { color: var(--nf-mute); font-size: .92rem; margin: 0; }

/* trainers */
.mv-trainers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mv-trainer { text-align: center; }
.mv-trainer .ph-img { aspect-ratio: 1; min-height: 0; margin-bottom: 12px; }
.mv-trainer b { display: block; color: var(--nf-head); } .mv-trainer span { color: var(--nf-mute); font-size: .92rem; }

/* sticky offer bar */
.mv-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--nf-surface); border-top: 1px solid var(--nf-line);
  box-shadow: 0 -6px 24px rgba(15,20,30,.06); transform: translateY(110%); transition: transform .25s; }
.mv-bar.show { transform: none; }
.mv-bar .mv-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.mv-bar b { display: block; color: var(--nf-head); } .mv-bar span { color: var(--nf-mute); font-size: 14px; }

/* quiz */
.mv-quiz { max-width: 680px; margin: 0 auto; }
.mv-quiz .prog { height: 6px; background: var(--nf-line); border-radius: 6px; overflow: hidden; margin-bottom: 30px; }
.mv-quiz .prog i { display: block; height: 100%; width: 0; background: var(--nf-blue); transition: width .3s; }
.mv-quiz h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 22px; text-align: left; }
.mv-choices { display: grid; gap: 12px; }
.mv-choices button { text-align: left; padding: 18px 20px; border-radius: 14px; border: 1.5px solid var(--nf-line); background: var(--nf-surface);
  font: 600 1.02rem var(--nf-font); color: var(--nf-head); cursor: pointer; transition: border-color .15s, background .15s; }
.mv-choices button:hover { border-color: var(--nf-blue); background: var(--nf-blue-soft); }
.mv-choices button small { display: block; color: var(--nf-mute); font-weight: 400; font-size: .9rem; margin-top: 2px; }
.mv-result { border: 2px solid var(--nf-blue); border-radius: 20px; padding: 32px; background: var(--nf-surface); }

@media (max-width: 960px) {
  .mv-split, .mv-quotes, .mv-incl, .mv-steps, .mv-transform { grid-template-columns: 1fr; }
  .mv-path, .mv-trainers { grid-template-columns: 1fr 1fr; }
  .mv-sec { padding: 68px 0; }
}
@media (max-width: 640px) {
  .mv-path, .mv-trainers { grid-template-columns: 1fr; }
  .mv-transform div { grid-template-columns: 1fr; gap: 2px; } .mv-transform i { display: none; }
  .mv-bar span { display: none; }
  body.nf .bar.nf-bar nav { display: none; }
}

/* ---------- home page (index.html): video hero, dark video bands, offer row, stats, tiles, paths ---------- */
.mv-vhero, .mv-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #0f131a center / cover no-repeat; }
.mv-bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
/* hero reel (script.js, [data-reel]): clips stacked, only the current one visible */
.mv-reel { position: absolute; inset: 0; z-index: -2; isolation: isolate; pointer-events: none; }
/* cinematic: full colour with a light grade, long crossfade, slow push-in on each shot (HOLD/FADE in script.js) */
.mv-reel .mv-bgv { z-index: 0; transform: scale(1.02); transition: opacity 1.6s ease-in-out, transform 8s linear; }
.mv-reel .mv-bgv.mv-top { z-index: 1; transform: scale(1.1); }
body.nf.home .mv-reel .mv-bgv { opacity: 1; filter: saturate(1.08) contrast(1.06); } /* reel clips: full opacity, nothing shows through */
.mv-vhero[data-reel] .mv-reel .mv-bgv.mv-off { opacity: 0; transform: scale(1.02); transition: none; }
.mv-vhero::before, .mv-band::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.mv-vhero::before { background: linear-gradient(90deg, rgba(8,12,20,.88) 0%, rgba(8,12,20,.66) 48%, rgba(8,12,20,.3) 100%); }
.mv-band::before { background: rgba(8,12,20,.72); }
.mv-vhero { min-height: min(84vh, 740px); display: flex; align-items: center; padding: 72px 0; }
.mv-vhero > .mv-wrap { width: 100%; }
.mv-vhero-in { max-width: 660px; }
body.nf .mv-vhero .mv-h1, body.nf .mv-band .mv-h2 { color: #fff; }
.mv-vhero .mv-sub, .mv-band .mv-sub { color: rgba(255,255,255,.86); }
.mv-band { padding: 120px 0; text-align: center; }
.mv-band .mv-sub { margin-left: auto; margin-right: auto; }
.mv-band .mv-eyebrow { color: #9ec1ff; }
@media (prefers-reduced-motion: reduce) { .mv-bgv { display: none; } }

.mv-offer-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 64px; align-items: center; }
.mv-offer-row .mv-offer { margin: 0; width: 100%; }
.mv-offer-row .mv-ticks { gap: 14px; font-size: 1.05rem; }
.mv-split .mv-h2, .mv-offer-row .mv-h2 { text-align: left; }
.mv-incl-h { font-size: 1.15rem; margin: 26px 0 16px; }

.mv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; text-align: center; }
.mv-stats b { display: block; font: 800 clamp(2.4rem, 5.4vw, 3.8rem)/1.05 var(--nf-display); letter-spacing: -.03em; color: var(--nf-head); margin-bottom: 10px; }
.mv-stats span { display: block; max-width: 24ch; margin: 0 auto; color: var(--nf-mute); font-size: .95rem; }

.mv-paths { padding-top: 40px; }
.mv-pathway { padding: 60px 0 44px; border-bottom: 1px solid var(--nf-line); scroll-margin-top: 80px; }
.mv-pathway:last-of-type { border-bottom: 0; }
.mv-pathway-h { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; margin-bottom: 30px; }
.mv-pathway-h h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 12px; }
.mv-pathway-h p { color: var(--nf-mute); font-size: 1.08rem; margin: 0; max-width: 56ch; }
.mv-pathway-h .mv-ticks { margin-bottom: 16px; }

.mv-bignum { font: 800 clamp(4.5rem, 13vw, 8.5rem)/1 var(--nf-display); letter-spacing: -.045em; color: var(--nf-blue); margin-bottom: 6px; }
.mv-chips { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.mv-chips span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--nf-blue-soft); color: var(--nf-blue); font-weight: 700; font-size: .95rem; }

@media (max-width: 960px) {
  .mv-offer-row, .mv-pathway-h { grid-template-columns: 1fr; gap: 28px; }
  .mv-pathway-h { align-items: start; }
  .mv-band { padding: 84px 0; }
}
@media (max-width: 640px) {
  .mv-vhero { min-height: 0; padding: 56px 0 64px; }
  .mv-vhero::before { background: rgba(8,12,20,.74); }
  .mv-stats { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .mv-pathway { padding: 44px 0 32px; }
  .mv-chips { gap: 5px; } .mv-chips span { font-size: .78rem; border-radius: 7px; }
}

/* instructor wall (home page) */
.mv-team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 12px; }
.mv-tm { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0 18px; border: 1px solid var(--nf-line); border-radius: 16px;
  background: var(--nf-surface); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
a.mv-tm:hover { box-shadow: 0 10px 30px rgba(15,20,30,.08); transform: translateY(-2px); }
.mv-tm .ph { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 12%; background: var(--nf-bg-2); margin-bottom: 14px; }
.mv-tm b { color: var(--nf-head); font-size: 1rem; line-height: 1.25; padding: 0 10px; }
.mv-tm .sub { color: var(--nf-mute); font-size: .88rem; margin: 3px 0 12px; padding: 0 10px; }
.mv-tm .sc { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 8px; }
.mv-tm .sc i { font-style: normal; font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 99px; background: var(--nf-blue-soft); color: var(--nf-blue); }
@media (max-width: 960px) { .mv-team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .mv-team { grid-template-columns: repeat(2, 1fr); gap: 10px; } .mv-tm { padding-bottom: 14px; } }

/* Level chips on a catalog card (Speak like a Native: Rookie … GOAT) */
.mv-card .mv-levels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mv-card .mv-levels span { padding: 3px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; opacity: .75; }

/* ===== Ace the IELTS page: three track cards (.mv-tracks) and the day list inside a week (.mv-days) ===== */
.mv-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.mv-track { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--nf-line); border-radius: 20px; padding: 28px; background: var(--nf-surface); }
.mv-track .st { font: 700 11.5px var(--nf-font); letter-spacing: .08em; text-transform: uppercase; color: var(--nf-mute); margin-bottom: 14px; }
.mv-track .st.live { color: #12833f; }
.mv-track-lvl { font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--nf-blue); margin-bottom: 10px; }
.mv-track h3 { font-size: 1.35rem; margin: 0 0 6px; }
.mv-track .by { color: var(--nf-head); font-size: .92rem; font-weight: 600; margin: 0 0 12px; }
.mv-track p { color: var(--nf-mute); margin: 0 0 22px; }
.mv-track .cp-btn { margin-top: auto; }
.mv-days { margin: 0; padding-left: 2.2em; color: var(--nf-ink); }
.mv-days li { padding: 5px 0; }
.mv-days li::marker { color: var(--nf-mute); font-variant-numeric: tabular-nums; }
#ielts-plan .mv-tabpanel h4 { margin-bottom: 16px; }
@media (max-width: 860px) { .mv-tracks { grid-template-columns: 1fr; } }
/* a catalogue cover (art + title, .mv-cover) used as the hero picture of a course page */
.mv-hero-img.mv-cover { position: relative; container-type: inline-size; background: #0b1020; aspect-ratio: 16 / 9; overflow: hidden; }
.mv-hero-img.mv-cover > img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.mv-hero-img.mv-cover .mv-cover-logo img { width: auto; height: 5cqw; filter: brightness(0) invert(1); }

/* ======================================================================
   HOME RESTYLE (index.html, <body class="nf home">, 2026-11-20)
   Same blocks and order as before, own look instead of the stock template:
   Sora display type, blue→violet brand gradient, ridgeline edges under the dark
   video sections (the "peak" of Skillpeak), graph-paper tint sections, offset
   blue shadows on cards, answer-sheet bubbles for the mock tests.
   ====================================================================== */
body.nf.home {
  --hm-display: "Sora", "Google Sans Flex", system-ui, sans-serif;
  --hm-violet: #7C3AED;
  --hm-grad: linear-gradient(100deg, #2563EB 0%, #5B4BF0 55%, #7C3AED 100%);
  --hm-grad-txt: linear-gradient(100deg, #2563EB 10%, #7C3AED 90%);
  --hm-navy: #0A1433;
  --hm-grid: rgba(37, 99, 235, .07);
  --hm-shadow: 6px 6px 0 var(--nf-blue);
}
html.dark-mode body.nf.home, body.nf.home.dark-mode {
  --hm-violet: #A78BFA;
  --hm-grad-txt: linear-gradient(100deg, #7AA9F8 10%, #B49CFB 90%);
  --hm-grid: rgba(122, 169, 248, .07);
}

/* type */
body.nf.home .mv-h1, body.nf.home .mv-h2, body.nf.home .mv-pathway-h h3, body.nf.home .mv-incl-h,
body.nf.home .mv-quote h3, body.nf.home .mv-card h4, body.nf.home .mv-steps b, body.nf.home .mv-bar b {
  font-family: var(--hm-display); font-weight: 800; letter-spacing: -.035em;
}
body.nf.home .mv-h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1; }
body.nf.home .mv-h2 { line-height: 1.08; }
body.nf.home .mv-card h4, body.nf.home .mv-quote h3 { letter-spacing: -.02em; }
body.nf.home .mv-h1 em { font-style: normal; background: linear-gradient(100deg, #93C5FD, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* eyebrow = small pill with a dot */
body.nf.home .mv-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--nf-blue-soft); color: var(--nf-blue); font-size: 12px; letter-spacing: .14em; margin-bottom: 18px; }
body.nf.home .mv-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hm-grad); flex: none; }
body.nf.home .mv-band .mv-eyebrow, body.nf.home .mv-vhero .mv-eyebrow { background: rgba(255,255,255,.12); color: #c9dcff; }

/* buttons: brand gradient, a little bolder */
body.nf.home .cp-btn.blue, body.nf.home .nf-btn.primary { background: var(--hm-grad); font-weight: 600; box-shadow: 0 10px 24px -12px rgba(76, 60, 240, .7); transition: transform .15s, box-shadow .15s, filter .15s; }
body.nf.home .cp-btn.blue:hover, body.nf.home .nf-btn.primary:hover { background: var(--hm-grad); filter: brightness(.9); transform: translateY(-1px); }
body.nf.home .cp-btn.line { border-width: 2px; border-color: var(--nf-head); font-weight: 600; }
body.nf.home .mv-link { font-weight: 700; }

/* top strip */
body.nf.home .mv-strip { background: var(--hm-grad); }

/* hero + bands: navy duotone over the video, ridgeline at the bottom edge */
body.nf.home .mv-vhero, body.nf.home .mv-band { background-color: var(--hm-navy); }
body.nf.home .mv-bgv { filter: grayscale(1) contrast(1.1); opacity: .55; }
body.nf.home .mv-vhero::before { background:
  linear-gradient(0deg, rgba(6, 10, 24, .55) 0%, transparent 35%),
  radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(6, 10, 24, .45) 100%),
  linear-gradient(90deg, rgba(6, 10, 24, .88) 0%, rgba(6, 10, 24, .6) 42%, rgba(6, 10, 24, .12) 100%); }
@media (max-width: 760px) { body.nf.home .mv-vhero::before { background: linear-gradient(180deg, rgba(6, 10, 24, .5), rgba(6, 10, 24, .82)); } }
body.nf.home .mv-band::before { background:
  radial-gradient(50% 90% at 50% 0%, rgba(124, 58, 237, .35), transparent 70%),
  linear-gradient(180deg, rgba(10, 20, 51, .86), rgba(10, 20, 51, .92)); }
body.nf.home .mv-vhero::after, body.nf.home .mv-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 0;
  background: var(--nf-bg); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V58L130 30 220 50 360 6 480 44 580 26 700 60 830 20 960 52 1070 12 1200 48 1310 30 1440 56V80Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V58L130 30 220 50 360 6 480 44 580 26 700 60 830 20 960 52 1070 12 1200 48 1310 30 1440 56V80Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
body.nf.home .mv-vhero { padding-bottom: 120px; }
body.nf.home .mv-band { padding-bottom: 150px; }
/* hero: the logo mark as a big outline on the right */
body.nf.home .mv-vhero-in { position: relative; z-index: 1; max-width: 720px; }
body.nf.home .mv-vhero > .mv-wrap { position: relative; }
body.nf.home .mv-vhero > .mv-wrap::after { content: ""; position: absolute; right: 24px; top: 50%; translate: 0 -50%; width: min(34vw, 420px); aspect-ratio: 1075 / 905; opacity: .9; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='80 90 1095 925'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%2393C5FD'/%3E%3Cstop offset='1' stop-color='%23A78BFA'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='10' stroke-linejoin='round'%3E%3Cpath d='M613 108V445L430 628 613 803V1000L425 806H275L96 627Z'/%3E%3Cpath d='M640 108 1158 627 978 806H828L638 1000V627H820L640 447Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
body.nf.home .mv-vhero .mv-sub { font-size: 1.25rem; }

/* tint sections: graph paper */
body.nf.home .mv-sec.tint { background-color: var(--nf-bg-2);
  background-image: linear-gradient(var(--hm-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hm-grid) 1px, transparent 1px);
  background-size: 28px 28px; background-position: center top; }

/* ticks: round gradient checks */
body.nf.home .mv-ticks li { grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
body.nf.home .mv-ticks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--hm-grad); color: #fff; font-size: 12px; font-weight: 800; }

/* buy card: blue offset shadow */
body.nf.home .mv-offer.mv-buy { border: 2px solid var(--nf-head); box-shadow: 10px 10px 0 var(--nf-blue); }

/* video + stats */
body.nf.home .cp-video { border-radius: 22px; box-shadow: var(--hm-shadow); border: 2px solid var(--nf-head); }
body.nf.home .mv-stats > div { padding: 26px 18px; border-radius: 20px; background: var(--nf-surface); border: 1.5px solid var(--nf-line); }
body.nf.home .mv-stats b, body.nf.home .mv-bignum { font-family: var(--hm-display); background: var(--hm-grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.nf.home .mv-bignum { font-size: clamp(5rem, 15vw, 10rem); }

/* how it works: four step cards, each with a small drawn screen (lesson, mock test, solution) */
body.nf.home .hw { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
body.nf.home .hw-s { position: relative; display: flex; flex-direction: column; padding: 14px 14px 22px; border-radius: 22px; background: var(--nf-surface); border: 1.5px solid var(--nf-line); transition: transform .15s, box-shadow .15s, border-color .15s; }
body.nf.home .hw-s:hover { border-color: var(--nf-head); box-shadow: var(--hm-shadow); transform: translate(-3px, -3px); }
body.nf.home .hw-s h3 { font: 800 1.2rem/1.2 var(--hm-display); letter-spacing: -.025em; color: var(--nf-head); margin: 0 8px 8px; }
body.nf.home .hw-s p { margin: 0 8px; color: var(--nf-mute); font-size: .95rem; line-height: 1.5; }
body.nf.home .hw-n { display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 12px 8px; position: relative; z-index: 1; border-radius: 50%;
  background: var(--hm-grad); color: #fff; font: 800 16px var(--hm-display); box-shadow: 0 0 0 4px var(--nf-surface); }
/* the drawing area: graph paper with a little app screen on it */
body.nf.home .hw-art { height: 176px; border-radius: 14px; display: grid; place-items: center; padding: 18px; overflow: hidden;
  background-color: var(--nf-bg-2); background-image: linear-gradient(var(--hm-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hm-grid) 1px, transparent 1px); background-size: 18px 18px; }
body.nf.home .hw-art > div { width: 100%; max-width: 230px; padding: 12px; border-radius: 12px; background: var(--nf-surface); border: 1.5px solid var(--nf-line); box-shadow: 0 12px 24px -16px rgba(10, 20, 51, .35);
  display: flex; flex-direction: column; gap: 8px; font: 600 12px/1.2 var(--nf-font); color: var(--nf-head); }
body.nf.home .hw-art .ln { display: block; height: 7px; border-radius: 4px; background: var(--nf-line); }
body.nf.home .hw-art .ln.s { width: 62%; }
body.nf.home .hw-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--nf-mute); font-size: 11px; }
body.nf.home .hw-bar em { display: flex; gap: 3px; } body.nf.home .hw-bar em i { width: 14px; height: 5px; border-radius: 3px; background: var(--nf-line); } body.nf.home .hw-bar em i.d { background: var(--hm-grad); }
/* 1: course picker */
body.nf.home .hw-pick > div { display: flex; align-items: center; gap: 8px; padding: 5px; border-radius: 9px; border: 1.5px solid transparent; }
body.nf.home .hw-pick img { width: 30px; height: 22px; border-radius: 5px; object-fit: cover; flex: none; }
body.nf.home .hw-pick b { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.nf.home .hw-pick .on { border-color: var(--nf-blue); background: var(--nf-blue-soft); }
body.nf.home .hw-pick .on i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--hm-grad); color: #fff; font-size: 10px; font-style: normal; }
/* 2: lesson slide */
body.nf.home .hw-eq { font: 800 1.15rem var(--hm-display); letter-spacing: -.02em; padding: 4px 0 2px; }
body.nf.home .hw-ok { align-self: flex-start; padding: 4px 9px; border-radius: 999px; background: #E3F6EA; color: #0f7a3a; font-weight: 700; }
/* 3: mock test */
body.nf.home .hw-time { padding: 3px 8px; border-radius: 999px; background: var(--hm-navy); color: #fff; font: 700 11px var(--hm-display); }
body.nf.home .hw-opts { display: flex; justify-content: space-between; padding-top: 4px; }
body.nf.home .hw-opts span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--nf-blue); color: var(--nf-blue); font: 800 11px var(--hm-display); }
body.nf.home .hw-opts span.on { background: var(--hm-grad); border-color: transparent; color: #fff; }
/* 4: result + solution */
body.nf.home .hw-score { font: 600 12px var(--nf-font); color: var(--nf-mute); } body.nf.home .hw-score b { font: 800 1.35rem var(--hm-display); color: var(--nf-head); letter-spacing: -.02em; margin-right: 2px; }
body.nf.home .hw-row { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border-radius: 8px; }
body.nf.home .hw-row span { font: 800 11px var(--hm-display); } body.nf.home .hw-row .ln { flex: 1; } body.nf.home .hw-row em { font-style: normal; font-weight: 800; }
body.nf.home .hw-row.bad { background: #FDECEC; color: #b42318; } body.nf.home .hw-row.good { background: #E3F6EA; color: #0f7a3a; }
body.nf.home .hw-row .ln { background: currentColor; opacity: .25; }
html.dark-mode body.nf.home .hw-ok, html.dark-mode body.nf.home .hw-row.good { background: #12301f; color: #6ee69a; }
html.dark-mode body.nf.home .hw-row.bad { background: #3a1616; color: #ff8a80; }
/* the extras under the steps */
body.nf.home .hw-more { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
body.nf.home .hw-more li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--nf-line); background: var(--nf-surface); color: var(--nf-head); font-weight: 600; font-size: .95rem; }
body.nf.home .hw-more li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--hm-grad); color: #fff; font-size: 11px; font-weight: 800; }
@media (max-width: 1040px) { body.nf.home .hw { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; } }
@media (max-width: 600px) { body.nf.home .hw { grid-template-columns: 1fr; } body.nf.home .hw-art { height: 160px; } }

/* course cards + team cards */
body.nf.home .mv-card, body.nf.home .mv-tm, body.nf.home .mv-quote { border: 1.5px solid var(--nf-line); border-radius: 20px; }
body.nf.home a.mv-card:hover, body.nf.home a.mv-tm:hover { border-color: var(--nf-head); box-shadow: var(--hm-shadow); transform: translate(-3px, -3px); }
body.nf.home .mv-card .st { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--nf-bg-2); font-size: 11px; }
body.nf.home .mv-card .st.live { background: #E3F6EA; color: #0f7a3a; }
body.nf.home .mv-card .st.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html.dark-mode body.nf.home .mv-card .st.live { background: #12301f; color: #6ee69a; }
body.nf.home .mv-pathway { border-bottom-style: dashed; }
body.nf.home .mv-tm .sc i { background: var(--hm-grad); color: #fff; }
body.nf.home .mv-quote h3 { font-size: 1.2rem; }
body.nf.home .mv-quote::before { content: "“"; font: 800 64px/0.7 var(--hm-display); background: var(--hm-grad-txt); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }

/* steps after ordering: big gradient numbers */
body.nf.home .mv-steps > div { border-top: 0; padding: 22px; border-radius: 20px; background: var(--nf-surface); border: 1.5px solid var(--nf-line); }
body.nf.home .mv-steps > div::before { width: 44px; height: 44px; background: var(--hm-grad); color: #fff; font: 800 18px var(--hm-display); }

/* mock tests: an answer sheet, some bubbles filled in */
body.nf.home .mv-chips { padding: 22px; border-radius: 22px; background: var(--nf-surface); border: 2px solid var(--nf-head); box-shadow: var(--hm-shadow); gap: 10px; }
body.nf.home .mv-chips span { border-radius: 50%; background: transparent; border: 2px solid var(--nf-blue); font-family: var(--hm-display); font-weight: 800; }
body.nf.home .mv-chips span:nth-child(3n+1), body.nf.home .mv-chips span:nth-child(7n+2) { background: var(--hm-grad); border-color: transparent; color: #fff; }

/* FAQ + sticky bar */
body.nf.home .cp-acc details { border-radius: 16px; }
body.nf.home .mv-bar { border-top: 2px solid var(--nf-head); }

@media (max-width: 1180px) {
  body.nf.home .mv-vhero > .mv-wrap::after { width: 46vw; right: -10vw; opacity: .28; }
}
@media (max-width: 640px) {
  body.nf.home .mv-vhero::after, body.nf.home .mv-band::after { height: 30px; }
  body.nf.home .mv-vhero { padding-bottom: 76px; }
  body.nf.home .mv-band { padding-bottom: 110px; }
  body.nf.home .mv-vhero > .mv-wrap::after { display: none; }
  body.nf.home .mv-chips { padding: 14px; gap: 6px; } body.nf.home .mv-chips span { border-width: 1.5px; }
  body.nf.home .mv-offer.mv-buy { box-shadow: 6px 6px 0 var(--nf-blue); }
  body.nf.home .mv-stats > div { padding: 20px 16px; }
}

/* header menu (About, Membership, Courses, Free Books): one line per item, tighter on mid-size screens */
body.nf .bar.nf-bar nav a { white-space: nowrap; }
@media (max-width: 1100px) { body.nf .bar.nf-bar nav { margin-left: 12px; gap: 0; } body.nf .bar.nf-bar nav a { padding: 10px 10px; } }
@media (max-width: 1240px) { body.nf .bar.nf-bar .sk-name, body.nf .bar.nf-bar .sk-logout { display: none; } }

/* phone menu (script.js): a button at the right end of the header and a panel of the header links under it */
.sk-mnav-btn { display: none; }
.sk-mnav-btn svg { width: 22px; height: 22px; display: block; } .sk-mnav-btn .x { display: none; }
.sk-mnav-btn.open .o { display: none; } .sk-mnav-btn.open .x { display: block; }
.sk-mnav { position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; padding: 8px 16px 16px; background: var(--nf-bg); border-bottom: 1px solid var(--nf-line); box-shadow: 0 16px 30px -18px rgba(10, 20, 51, .35); }
.sk-mnav[hidden] { display: none; }
.sk-mnav a { padding: 14px 12px; border-radius: 12px; color: var(--nf-head); font-weight: 600; font-size: 16px; text-decoration: none; }
.sk-mnav a + a { border-top: 1px solid var(--nf-line); }
.sk-mnav a.on { color: var(--nf-blue); background: var(--nf-bg-2); }
.sk-mnav-theme { margin-top: 8px; padding: 13px 12px; border-radius: 12px; border: 1.5px solid var(--nf-line); background: var(--nf-surface); color: var(--nf-head); font: 600 15px var(--nf-font); text-align: left; cursor: pointer; }
@media (max-width: 640px) {
  body.nf .bar.nf-bar .nav-right .theme-btn { display: none; }
  body.nf .bar.nf-bar { gap: 6px; }
  body.nf .bar.nf-bar .nav-right { gap: 6px; }
}
@media (max-width: 400px) {
  body.nf .bar.nf-bar { padding-left: 12px; padding-right: 12px; }
  body.nf .bar.nf-bar .logo b { font-size: 18px; }
  body.nf .bar.nf-bar .logo { gap: 6px; }
  body.nf .bar.nf-bar .nav-right .mv-start { padding-left: 12px; padding-right: 12px; }
  body.nf .bar.nf-bar .sk-mnav-btn { width: 36px; height: 36px; }
}
@media (max-width: 1000px) {
  body.nf .bar.nf-bar nav { display: none; }
  body.nf .bar.nf-bar .sk-mnav-btn { display: grid; place-items: center; order: 99; flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1.5px solid var(--nf-line); background: var(--nf-surface); color: var(--nf-head); cursor: pointer; }
}
@media (min-width: 1001px) { .sk-mnav { display: none !important; } }

/* the four paths, easy to see: colour + icon per path.
   courses.html: big picture tiles under "Explore by category"; index.html: a large label above each path */
.cat-t.exam, .cat-label.exam { --cat: #2563EB; --cat2: #1E3A8A; }
.cat-t.boss, .cat-label.boss { --cat: #DB2777; --cat2: #7C3AED; }
.cat-t.pro, .cat-label.pro { --cat: #0D9488; --cat2: #0F3D56; }
.cat-t.found, .cat-label.found { --cat: #EA580C; --cat2: #9A3412; }
.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 44px; }
.cat-t { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 18px; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; transition: transform .15s, box-shadow .15s; }
.cat-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.cat-t::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, color-mix(in srgb, var(--cat) 78%, transparent) 0%, color-mix(in srgb, var(--cat2) 94%, transparent) 75%); }
.cat-t:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -18px var(--cat); } .cat-t:hover img { transform: scale(1.06); }
.cat-t .cat-ic { position: absolute; top: 16px; left: 16px; }
.cat-t b { font: 800 1.3rem/1.15 var(--hm-display, var(--nf-font)); letter-spacing: -.02em; }
.cat-t small { margin-top: 4px; font-size: .92rem; opacity: .9; }
.cat-go { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); font-style: normal; font-weight: 700; }
.cat-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.cat-ic svg { width: 24px; height: 24px; }
.cat-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 6px 18px 6px 6px; border-radius: 999px; background: linear-gradient(120deg, var(--cat), var(--cat2)); color: #fff; font: 800 1.05rem var(--hm-display, var(--nf-font)); letter-spacing: -.01em; box-shadow: 0 10px 24px -14px var(--cat); }
.cat-label .cat-ic { width: 38px; height: 38px; border-radius: 50%; }
.cat-label .cat-ic svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .cat-t { min-height: 150px; padding: 14px; } .cat-t b { font-size: 1.1rem; } .cat-tiles { gap: 10px; } }

/* ---------- About (about.html): four "how we teach" cards ---------- */
.ab-vals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.ab-vals > div { padding: 24px 22px; border-radius: 20px; background: var(--nf-surface); border: 1.5px solid var(--nf-line); }
.ab-vals h3 { font-size: 1.15rem; margin: 14px 0 8px; color: var(--nf-head); }
.ab-vals p { margin: 0; color: var(--nf-mute); font-size: .96rem; line-height: 1.55; }
.ab-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nf-blue); color: #fff; font-weight: 800; }
@media (max-width: 1000px) { .ab-vals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ab-vals { grid-template-columns: 1fr; } }

/* ---------- Free books (free-books.html): one card per book, cover + page fanned on the left ---------- */
.fb-book { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px; border-radius: 24px; background: var(--nf-surface); border: 1.5px solid var(--nf-line); }
.fb-book .mv-h2, .fb-book .mv-sub { text-align: left; margin-left: 0; }
.fb-pics { position: relative; height: 380px; }
.fb-pics img { position: absolute; width: 62%; border-radius: 6px; box-shadow: 0 22px 44px -18px rgba(10, 20, 51, .45); background: #fff; }
.fb-p1 { left: 6%; top: 0; transform: rotate(-5deg); z-index: 2; }
.fb-p2 { right: 4%; top: 28px; transform: rotate(6deg); }
.fb-meta { display: inline-block; font: 700 12px var(--nf-font); letter-spacing: .1em; text-transform: uppercase; color: var(--nf-blue); margin-bottom: 10px; }
.fb-book .mv-ticks { margin: 20px 0 24px; }
.fb-note { margin: 14px 0 0; color: var(--nf-mute); font-size: .9rem; }
.fb-more { margin-top: 28px; color: var(--nf-mute); }
/* free-books.html: book shelf; each card opens the online reader book.html?b=<folder> */
.fb-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.fb-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 22px; border-radius: 20px; background: var(--nf-surface); border: 1.5px solid var(--nf-line); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.fb-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(10, 20, 51, .45); }
.fb-cover { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 18px; box-shadow: 0 16px 32px -18px rgba(10, 20, 51, .5); }
.fb-title { margin: 0 0 6px; font: 800 1.2rem/1.25 var(--nf-font); }
.fb-by { margin: 0 0 12px; color: var(--nf-mute); font-size: .92rem; }
.fb-blurb { margin: 0 0 14px; font-size: .95rem; line-height: 1.5; flex: 1; }
.fb-genre { margin-bottom: 18px; font-size: .82rem; color: var(--nf-mute); }
@media (max-width: 860px) { .fb-book { grid-template-columns: 1fr; gap: 28px; padding: 24px; } .fb-pics { height: 300px; max-width: 360px; width: 100%; margin: 0 auto; } }

/* ===== account.html (.ac-*): profile, membership, progress, sign-in ===== */
.ac-page .mv-sec { padding: 56px 0 88px; }
.ac-head { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.ac-head .mv-h2 { margin: 4px 0 2px; }
.ac-ava { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font: 800 30px var(--nf-font); color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); }
.ac-mail { margin: 0; color: var(--nf-mute); word-break: break-all; }
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ac-card { padding: 26px 24px; border-radius: 20px; background: var(--nf-surface); border: 1.5px solid var(--nf-line); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; }
.ac-card h2 { font-size: 1.2rem; margin: 0 0 4px; color: var(--nf-head); }
.ac-card p { margin: 0; color: var(--nf-mute); }
.ac-card .sk-badge { margin: 0; }
.ac-big { font-size: 1.05rem; } .ac-big b { font-size: 2rem; color: var(--nf-head); margin-right: 4px; }
.ac-note { font-size: 14px; }
.ac-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--nf-line); color: var(--nf-head); font-weight: 700; font-size: 13px; }
.ac-dl { margin: 0; width: 100%; display: grid; gap: 10px; }
.ac-dl > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--nf-line); }
.ac-dl dt { color: var(--nf-mute); } .ac-dl dd { margin: 0; font-weight: 700; color: var(--nf-head); text-align: right; word-break: break-all; }
.ac-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; }
.ac-f { display: grid; gap: 6px; width: 100%; } .ac-f > span { font-weight: 700; color: var(--nf-head); font-size: 14px; }
.ac-f input[type=text] { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--nf-line); background: var(--nf-bg); color: var(--nf-head); font: inherit; }
.ac-f input[type=text]:focus { outline: 2px solid var(--nf-blue); outline-offset: 1px; }
.ac-seg { display: flex; gap: 10px; }
.ac-seg label { cursor: pointer; } .ac-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ac-seg span { display: block; padding: 10px 22px; border-radius: 12px; border: 1.5px solid var(--nf-line); font-weight: 700; color: var(--nf-head); }
.ac-seg input:checked + span { border-color: var(--nf-blue); background: color-mix(in srgb, var(--nf-blue) 12%, transparent); color: var(--nf-blue); }
.ac-seg input:focus-visible + span { outline: 2px solid var(--nf-blue); outline-offset: 2px; }
.ac-msg { font-size: 14px; min-height: 1.2em; } .ac-msg.ok { color: var(--q-ct, #16a34a); } .ac-msg.err { color: #dc2626; }
.ac-wait { display: flex; align-items: center; gap: 12px; } .ac-wait[hidden] { display: none; } .ac-wait p { margin: 0; color: var(--nf-head); font-weight: 700; }
.ac-spin { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--nf-line); border-top-color: var(--nf-blue); animation: ac-spin .8s linear infinite; }
@keyframes ac-spin { to { transform: rotate(360deg); } }
.ac-out { margin-top: auto; }
@media (max-width: 760px) { .ac-grid { grid-template-columns: 1fr; } .ac-head { gap: 14px; } .ac-ava { width: 56px; height: 56px; font-size: 24px; } }

/* "One course" plan ($19/month): course picker under the plans (script.js shows it), courses on account.html */
.mv-course-pick { display: grid; gap: 6px; margin: -8px 0 20px; font-weight: 700; font-size: .95rem; color: var(--nf-head); }
.mv-course-pick[hidden], .mv-ticks[hidden] { display: none; }
.mv-course-pick small { color: var(--nf-mute); font-weight: 500; font-size: .88rem; }
.mv-course-pick select { width: 100%; padding: 13px 14px; border: 1.5px solid var(--nf-line); border-radius: 14px; background: var(--nf-surface); color: var(--nf-head); font: 600 1rem var(--nf-font); }
.mv-course-pick select:focus-visible { outline: 3px solid color-mix(in srgb, var(--nf-blue) 35%, transparent); outline-offset: 2px; }
.ac-courses { width: 100%; margin-bottom: 14px; }
.ac-courses h3 { margin: 0 0 8px; font-size: 1rem; }
.ac-clist { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.ac-clist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nf-line); }
.ac-clist span { color: var(--nf-mute); }
