:root {
  --bfs-blue: #009DDC;
  --bfs-dark: #231F20;
  --bfs-white: #FFFFFF;
  --bfs-silver: #B6B8BA;
  --bfs-red: #DB3E26;
  --bfs-grey: #6C7B81;
  --bfs-cream: #EFE6D8;
  --bfs-ice: #D8E0E4;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--bfs-dark);
  background: var(--bfs-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; }
h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 1.9rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { font-size: 1rem; }
a { color: var(--bfs-blue); }
code, .mono { font-family: var(--mono); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section--ice { background: var(--bfs-ice); }
.section--cream { background: var(--bfs-cream); }
.section--dark { background: var(--bfs-dark); color: var(--bfs-white); }
.section--dark h2, .section--dark h3 { color: var(--bfs-white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bfs-blue); margin-bottom: 1rem;
}
.eyebrow svg { width: 16px; height: 16px; }
.section-lead { color: var(--bfs-grey); font-size: 1.1rem; max-width: 46ch; margin-top: 0.75rem; }
.section--dark .section-lead { color: var(--bfs-silver); }

.bfs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.bfs-split-60-40 { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: center; }
.bfs-split-40-60 { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) {
  .bfs-split, .bfs-split-60-40, .bfs-split-40-60 { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bfs-ice);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.bfs-logo { max-height: 38px; height: auto; width: auto; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--bfs-dark);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--bfs-blue); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 5rem; background: linear-gradient(160deg, #fff 0%, var(--bfs-ice) 100%); }
.module-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bfs-blue); color: #fff; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 100px; margin-bottom: 1.25rem;
}
.module-tag svg { width: 15px; height: 15px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--bfs-blue); }
.hero-blurb {
  font-size: 1.12rem; color: var(--bfs-dark); border-left: 3px solid var(--bfs-blue);
  padding-left: 1.1rem; max-width: 52ch;
}
.hero-blurb strong { color: var(--bfs-blue); font-weight: 600; }
.hero-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.bfs-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.4rem; border-radius: 6px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9375rem;
  text-decoration: none; cursor: pointer; transition: all 0.2s ease; border: none;
}
.bfs-btn svg { width: 18px; height: 18px; }
.bfs-btn-primary { background: var(--bfs-blue); color: #fff; }
.bfs-btn-primary:hover { background: #0088c2; box-shadow: 0 4px 12px rgba(0,157,220,0.3); }
.bfs-btn-secondary { background: transparent; color: var(--bfs-blue); border: 2px solid var(--bfs-blue); }
.bfs-btn-secondary:hover { background: var(--bfs-blue); color: #fff; }

/* ---------- Cards ---------- */
.bfs-card {
  background: var(--bfs-white); border-radius: 14px; padding: 1.6rem;
  box-shadow: 0 2px 10px rgba(35,31,32,0.07); transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(182,184,186,0.25);
}
.bfs-card:hover { box-shadow: 0 10px 28px rgba(35,31,32,0.12); transform: translateY(-2px); }
.card-grid { display: grid; gap: 1.25rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

/* ---------- Icon list ---------- */
.bfs-icon-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.bfs-icon-list-item { display: flex; align-items: flex-start; gap: 1rem; }
.bfs-icon-list-item .icon-container {
  width: 52px; height: 52px; min-width: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,157,220,0.13), rgba(0,157,220,0.04));
  display: flex; align-items: center; justify-content: center; color: var(--bfs-blue);
}
.bfs-icon-list-item .icon-container svg { width: 26px; height: 26px; }
.bfs-icon-list-item .li-body { flex: 1; }
.bfs-icon-list-item .li-body strong { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.bfs-icon-list-item .li-body span { color: var(--bfs-grey); font-size: 0.95rem; }
.section--dark .bfs-icon-list-item .icon-container {
  background: rgba(0,157,220,0.18); color: var(--bfs-blue);
}
.section--dark .bfs-icon-list-item .li-body span { color: var(--bfs-silver); }

/* ---------- Stat callouts ---------- */
.stat-stack { display: flex; flex-direction: column; gap: 1rem; }
.stat {
  background: var(--bfs-white); border-radius: 12px; padding: 1.25rem 1.4rem;
  border: 1px solid var(--bfs-ice); display: flex; align-items: center; gap: 1rem;
}
.stat .stat-icon {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,157,220,0.1); color: var(--bfs-blue);
}
.stat .stat-icon svg { width: 26px; height: 26px; }
.stat .num { font-size: 1.65rem; font-weight: 700; color: var(--bfs-dark); line-height: 1.1; }
.stat .lbl { font-size: 0.85rem; color: var(--bfs-grey); }

/* ---------- Terminal / UI mockups ---------- */
.window {
  border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(35,31,32,0.22);
  border: 1px solid rgba(0,0,0,0.15); background: #1b1819;
}
.window-bar {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem;
  background: #2a2627; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.window-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.window-bar .title { margin-left: 0.6rem; font-family: var(--mono); font-size: 0.78rem; color: #9a9495; }
.term { padding: 1.25rem 1.4rem; font-family: var(--mono); font-size: 0.84rem; line-height: 1.75; color: #e6e1e2; }
.term .prompt { color: var(--bfs-blue); }
.term .you { color: #f3eee9; }
.term .dim { color: #8c8688; }
.term .ok { color: #28c840; }
.term .file { color: #febc2e; }
.term .claude { color: #6fd0f5; }
.term .blink { display: inline-block; width: 9px; height: 16px; background: var(--bfs-blue); vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* ---------- Code / file card ---------- */
.code-card {
  background: #1b1819; border-radius: 12px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(35,31,32,0.2); border: 1px solid rgba(0,0,0,0.15);
}
.code-card .fname {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem;
  background: #2a2627; font-family: var(--mono); font-size: 0.8rem; color: #cfc9ca;
}
.code-card .fname svg { width: 16px; height: 16px; color: var(--bfs-blue); }
.code-body { padding: 1.25rem 1.4rem; font-family: var(--mono); font-size: 0.82rem; line-height: 1.8; color: #e6e1e2; white-space: pre-wrap; }
.code-body .h { color: #6fd0f5; font-weight: 600; }
.code-body .c { color: #8c8688; }
.code-body .k { color: #febc2e; }

/* ---------- Folder anatomy diagram ---------- */
.folder-diagram { display: flex; flex-direction: column; align-items: center; gap: 0; }
.folder-root {
  display: flex; align-items: center; gap: 0.75rem; background: var(--bfs-dark); color: #fff;
  padding: 0.9rem 1.4rem; border-radius: 12px; font-family: var(--mono); font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(35,31,32,0.18); position: relative; z-index: 2;
}
.folder-root svg { width: 22px; height: 22px; color: var(--bfs-blue); }
.folder-connector { width: 2px; height: 26px; background: var(--bfs-silver); }
.folder-children { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; width: 100%; }
.folder-child {
  background: #fff; border: 1px solid var(--bfs-ice); border-radius: 12px; padding: 1rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.folder-child .fc-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; background: rgba(0,157,220,0.1); color: var(--bfs-blue);
}
.folder-child .fc-icon svg { width: 22px; height: 22px; }
.folder-child .fc-title { font-weight: 600; font-size: 0.92rem; }
.folder-child .fc-desc { font-size: 0.8rem; color: var(--bfs-grey); }
.folder-child code { font-size: 0.78rem; background: var(--bfs-ice); padding: 0.05rem 0.3rem; border-radius: 4px; color: var(--bfs-dark); }

/* ---------- Prompt-pattern flow ---------- */
.flow { display: flex; flex-direction: column; gap: 0.6rem; }
.flow-step {
  display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 12px;
  padding: 1rem 1.25rem; border: 1px solid var(--bfs-ice); position: relative;
}
.flow-step .fs-num {
  width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: var(--bfs-blue);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.flow-step .fs-title { font-weight: 600; }
.flow-step .fs-desc { font-size: 0.85rem; color: var(--bfs-grey); }
.flow-arrow { display: flex; justify-content: flex-start; padding-left: 17px; color: var(--bfs-silver); }
.flow-arrow svg { width: 20px; height: 20px; }

/* ---------- Self-rating bars ---------- */
.rating-row { margin-bottom: 1.05rem; }
.rating-row .rr-label { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; font-weight: 500; margin-bottom: 0.35rem; }
.rating-row .rr-label svg { width: 18px; height: 18px; color: var(--bfs-blue); }
.rr-scale { display: flex; gap: 6px; }
.rr-pip { flex: 1; height: 12px; border-radius: 3px; background: var(--bfs-ice); }
.rr-pip.on { background: var(--bfs-blue); }
.rr-legend { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--bfs-grey); margin-top: 0.75rem; }

/* ---------- Level ladder ---------- */
.ladder { display: flex; flex-direction: column; gap: 0; }
.rung {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: stretch;
}
.rung .rung-line { display: flex; flex-direction: column; align-items: center; }
.rung .rung-badge {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1.05rem; box-shadow: 0 5px 14px rgba(0,157,220,0.25);
}
.rung .rung-stem { width: 2px; flex: 1; background: var(--bfs-silver); margin: 4px 0; }
.rung:last-child .rung-stem { display: none; }
.rung .rung-card { background: #fff; border: 1px solid var(--bfs-ice); border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1.1rem; }
.rung .rung-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.rung .rung-card h4 svg { width: 19px; height: 19px; color: var(--bfs-blue); }
.rung .rung-tasks { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.rung .rung-tasks li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; line-height: 1.5; }
.rung .rung-tasks li svg { position: absolute; left: 0; top: 3px; width: 17px; height: 17px; color: var(--bfs-blue); }
.lvl1 { background: var(--bfs-grey); } .lvl2 { background: var(--bfs-blue); } .lvl3 { background: var(--bfs-red); }

/* ---------- Path cards ---------- */
.path-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.path-head .ph-icon { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; }
.path-head .ph-icon svg { width: 24px; height: 24px; }
.path-head .ph-kicker { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bfs-grey); font-weight: 600; }
.path-head h3 { font-size: 1.2rem; }
.path-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.path-list li { position: relative; padding-left: 1.75rem; font-size: 0.92rem; line-height: 1.5; }
.path-list li svg { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; color: var(--bfs-blue); }

/* ---------- Numbered steps ---------- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1rem; }
.step-item {
  display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; border-radius: 12px;
  padding: 1.15rem 1.35rem; border: 1px solid var(--bfs-ice);
}
.step-item .step-num {
  counter-increment: step; width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bfs-blue), #0079ad); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-item .step-num::before { content: counter(step); }
.step-item .step-icon { color: var(--bfs-blue); display: flex; align-items: center; }
.step-item .step-icon svg { width: 24px; height: 24px; }
.step-item .step-text strong { display: block; font-weight: 600; margin-bottom: 0.1rem; }
.step-item .step-text span { color: var(--bfs-grey); font-size: 0.92rem; }

/* ---------- Callout ---------- */
.callout {
  display: flex; gap: 1rem; background: rgba(219,62,38,0.07); border: 1px solid rgba(219,62,38,0.25);
  border-radius: 12px; padding: 1.25rem 1.4rem; align-items: flex-start;
}
.callout.blue { background: rgba(0,157,220,0.07); border-color: rgba(0,157,220,0.28); }
.callout .co-icon { color: var(--bfs-red); flex-shrink: 0; }
.callout.blue .co-icon { color: var(--bfs-blue); }
.callout .co-icon svg { width: 28px; height: 28px; }
.callout h4 { margin-bottom: 0.25rem; }
.callout p { font-size: 0.95rem; color: var(--bfs-dark); }

/* ---------- Done checklist ---------- */
.done-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.done-list li { display: flex; gap: 0.8rem; align-items: center; font-size: 1.02rem; }
.done-list li .ck {
  width: 30px; height: 30px; min-width: 30px; border-radius: 50%; background: var(--bfs-blue);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.done-list li .ck svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
footer { background: var(--bfs-dark); color: var(--bfs-silver); padding: 3rem 0 2.5rem; text-align: center; }
footer .bfs-logo { max-height: 40px; margin-bottom: 1.25rem; }
footer .foot-line { font-size: 0.9rem; }
footer .foot-meta { font-size: 0.8rem; color: var(--bfs-grey); margin-top: 0.75rem; }

/* ---------- Misc ---------- */
.pill { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 100px; background: rgba(0,157,220,0.12); color: var(--bfs-blue); }
.pill svg { width: 14px; height: 14px; }
.divider-note { font-size: 0.85rem; color: var(--bfs-grey); font-style: italic; margin-top: 1.5rem; }
.divider-note code { font-style: normal; background: var(--bfs-ice); padding: 0.05rem 0.35rem; border-radius: 4px; }
.section-head { margin-bottom: 2.75rem; max-width: 60ch; }

/* ---------- Interactive: ratings ---------- */
.rr-scale.interactive .rr-pip { cursor: pointer; transition: background 0.12s ease; }
.rr-scale.interactive .rr-pip:hover { background: rgba(0,157,220,0.45); }
.rr-hint { font-size: 0.78rem; color: var(--bfs-grey); margin-top: 0.2rem; }
.rr-val { float: right; font-weight: 700; color: var(--bfs-blue); }

/* ---------- Interactive: diagnostic checkboxes ---------- */
.rung-tasks li.task { position: relative; padding-left: 2rem; font-size: 0.92rem; line-height: 1.5; cursor: pointer; user-select: none; }
.rung-tasks li.task .task-box {
  position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border: 2px solid var(--bfs-silver);
  border-radius: 5px; display: flex; align-items: center; justify-content: center; transition: all 0.15s ease;
}
.rung-tasks li.task .task-box::after { content: ""; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.rung-tasks li.task:hover .task-box { border-color: var(--bfs-blue); }
.rung-tasks li.task.checked .task-box { background: var(--bfs-blue); border-color: var(--bfs-blue); }
.rung-tasks li.task.checked .task-box::after { content: "\2713"; }
.rung-tasks li.task.checked .task-label { color: var(--bfs-grey); }

/* ---------- Submit form ---------- */
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field label .req { color: var(--bfs-red); }
.field input[type=text], .field input[type=email], .field textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--bfs-silver); border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: var(--bfs-dark); background: #fff;
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bfs-blue); box-shadow: 0 0 0 3px rgba(0,157,220,0.15); }
.radio-set { display: flex; flex-direction: column; gap: 0.55rem; }
.radio-opt { display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.9rem; border: 1px solid var(--bfs-silver); border-radius: 8px; cursor: pointer; background: #fff; font-size: 0.92rem; transition: border-color 0.15s; }
.radio-opt:hover { border-color: var(--bfs-blue); }
.radio-opt input { accent-color: var(--bfs-blue); width: 17px; height: 17px; }
.form-status { margin-top: 0.5rem; font-size: 0.9rem; min-height: 1.2rem; }
.form-status.err { color: var(--bfs-red); }
#checkinSuccess { display: none; }
#checkinSuccess.show { display: block; }
#checkinForm.hide { display: none; }
.success-card { text-align: center; padding: 2.5rem 2rem; background: #fff; border-radius: 14px; border: 1px solid var(--bfs-ice); box-shadow: 0 2px 10px rgba(35,31,32,0.07); }
.success-card .sc-check { width: 66px; height: 66px; border-radius: 50%; background: var(--bfs-blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; color: #fff; }
.success-card .sc-check svg { width: 34px; height: 34px; }
.btn-full { width: 100%; justify-content: center; }
.btn-full[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Fluency quiz ---------- */
.quiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .quiz-grid { grid-template-columns: 1fr; } }
.quiz-card .qc-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1.1rem; }
.quiz-card .qc-head .qc-icon { width: 42px; height: 42px; min-width: 42px; border-radius: 10px; background: linear-gradient(135deg, rgba(0,157,220,0.13), rgba(0,157,220,0.04)); display: flex; align-items: center; justify-content: center; color: var(--bfs-blue); }
.quiz-card .qc-head .qc-icon svg { width: 22px; height: 22px; }
.quiz-card .qc-head h3 { font-size: 1.05rem; }
.quiz .field { margin-bottom: 0.95rem; }
.quiz .field:last-child { margin-bottom: 0; }
.quiz .field label { font-weight: 500; font-size: 0.9rem; }
.quiz .field label code { font-size: 0.85em; background: var(--bfs-ice); padding: 0.05rem 0.3rem; border-radius: 4px; }
.quiz .field textarea { min-height: 62px; }
.quiz .field select { width: 100%; padding: 0.65rem 0.8rem; border: 1px solid var(--bfs-silver); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 0.93rem; color: var(--bfs-dark); background: #fff; }
.quiz .field select:focus { outline: none; border-color: var(--bfs-blue); box-shadow: 0 0 0 3px rgba(0,157,220,0.15); }

/* ---------- Key concepts glossary ---------- */
.concept-card { background: var(--bfs-white); border-radius: 14px; padding: 1.4rem; box-shadow: 0 2px 10px rgba(35,31,32,0.07); border: 1px solid rgba(182,184,186,0.25); }
.concept-card .cc-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.55rem; }
.concept-card .cc-head .cc-icon { width: 38px; height: 38px; min-width: 38px; border-radius: 9px; background: rgba(0,157,220,0.1); color: var(--bfs-blue); display: flex; align-items: center; justify-content: center; }
.concept-card .cc-head .cc-icon svg { width: 20px; height: 20px; }
.concept-card .cc-head h4 { font-size: 1rem; font-weight: 600; }
.concept-card p { font-size: 0.9rem; color: var(--bfs-grey); }
.concept-card p code { font-size: 0.85em; background: var(--bfs-ice); padding: 0.05rem 0.3rem; border-radius: 4px; color: var(--bfs-dark); }

/* ============ V2: step engine ============ */
.step { display: none; }
.step.active { display: block; animation: stepIn 0.25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
body.stepper { padding-bottom: 96px; }
.stepbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--bfs-ice); box-shadow: 0 -4px 20px rgba(35,31,32,0.08);
  display: flex; align-items: center; gap: 1.25rem; padding: 0.8rem 1.5rem;
}
.sb-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.2rem;
  border-radius: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: 2px solid var(--bfs-silver); background: #fff; color: var(--bfs-grey);
  transition: all 0.15s; white-space: nowrap;
}
.sb-btn:hover:not(:disabled) { border-color: var(--bfs-blue); color: var(--bfs-blue); }
.sb-btn:disabled { opacity: 0.35; cursor: default; }
.sb-btn.primary { background: var(--bfs-blue); border-color: var(--bfs-blue); color: #fff; }
.sb-btn.primary:hover { background: #0088c2; color: #fff; }
.sb-mid { flex: 1; min-width: 0; }
.sb-label { font-size: 0.8rem; font-weight: 600; color: var(--bfs-dark); margin-bottom: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-label .sb-count { color: var(--bfs-grey); font-weight: 500; }
.sb-track { height: 7px; border-radius: 100px; background: var(--bfs-ice); overflow: hidden; }
.sb-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--bfs-blue), #00b8ff); transition: width 0.3s ease; }
@media (max-width: 640px) { .sb-btn span.sb-word { display: none; } }

/* ============ V2: module-switcher nav ============ */
.nav-mod { font-size: 0.85rem; font-weight: 500; color: var(--bfs-silver); padding: 0.25rem 0.7rem; border-radius: 100px; white-space: nowrap; }
.nav-mod.soon::after { content: " · soon"; font-size: 0.7rem; }
.nav-mod.current { background: rgba(0,157,220,0.12); color: var(--bfs-blue); font-weight: 600; }
.nav-mod.done { color: #1d7a34; }
a.nav-hub { font-weight: 600; }

/* ============ V2: hub ============ */
.hub-hero { padding: 4rem 0 3rem; background: linear-gradient(160deg, #fff 0%, var(--bfs-ice) 100%); }
.hub-hero h1 { font-size: 2.5rem; margin: 0.75rem 0 0.5rem; }
.hub-hero p { color: var(--bfs-grey); max-width: 56ch; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  background: #fff; border-radius: 16px; padding: 1.7rem; border: 1px solid rgba(182,184,186,0.3);
  box-shadow: 0 2px 10px rgba(35,31,32,0.07); display: flex; flex-direction: column; gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hub-card.available:hover { box-shadow: 0 10px 28px rgba(35,31,32,0.13); transform: translateY(-3px); }
.hub-card.locked { opacity: 0.65; }
.hub-card .hc-num { font-family: var(--mono, monospace); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--bfs-grey); }
.hub-card .hc-icon { width: 54px; height: 54px; border-radius: 13px; background: linear-gradient(135deg, rgba(0,157,220,0.13), rgba(0,157,220,0.04)); display: flex; align-items: center; justify-content: center; color: var(--bfs-blue); }
.hub-card .hc-icon svg { width: 28px; height: 28px; }
.hub-card h3 { font-size: 1.2rem; }
.hub-card p { font-size: 0.9rem; color: var(--bfs-grey); flex: 1; }
.hub-card .hc-progress { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; color: var(--bfs-grey); }
.hub-card .hc-progress .sb-track { flex: 1; }
.hub-card .hc-badge { align-self: flex-start; font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 100px; background: var(--bfs-ice); color: var(--bfs-grey); }
.hub-card .hc-badge.done { background: rgba(29,122,52,0.12); color: #1d7a34; }

/* ============ V2: Module 1 visuals ============ */
.quote-panel { background: var(--bfs-dark); color: #fff; border-radius: 16px; padding: 2.2rem 2.4rem; position: relative; }
.quote-panel .qp-mark { position: absolute; top: 1rem; left: 1.4rem; font-size: 4.5rem; color: var(--bfs-blue); font-family: Georgia, serif; line-height: 1; opacity: 0.9; }
.quote-panel p { font-size: 1.35rem; font-weight: 600; line-height: 1.45; margin-top: 1.2rem; }
.quote-panel .qp-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bfs-blue); font-weight: 600; }

.pillar { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--bfs-ice); border-radius: 14px; padding: 1.3rem; align-items: flex-start; }
.pillar .p-icon { width: 50px; height: 50px; min-width: 50px; border-radius: 12px; background: linear-gradient(135deg, rgba(0,157,220,0.13), rgba(0,157,220,0.04)); display: flex; align-items: center; justify-content: center; color: var(--bfs-blue); }
.pillar .p-icon svg { width: 26px; height: 26px; }

/* vision team diagram */
.team-diagram { display: flex; flex-direction: column; gap: 0.7rem; }
.team-row { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--bfs-ice); border-radius: 12px; padding: 0.9rem 1.2rem; }
.team-row .tr-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.team-row .tr-icon svg { width: 22px; height: 22px; }
.team-row .tr-title { font-weight: 600; font-size: 0.95rem; }
.team-row .tr-sub { font-size: 0.8rem; color: var(--bfs-grey); }
.team-row .tr-count { margin-left: auto; font-family: var(--mono, monospace); font-weight: 600; color: var(--bfs-blue); white-space: nowrap; }
.team-connector { width: 2px; height: 16px; background: var(--bfs-silver); margin-left: 2.2rem; }

/* strategy layer cake */
.layers { display: flex; flex-direction: column-reverse; gap: 0.6rem; }
.layer { border-radius: 14px; padding: 1.2rem 1.4rem; border: 2px solid transparent; position: relative; }
.layer h4 { display: flex; align-items: center; gap: 0.55rem; font-size: 1rem; margin-bottom: 0.3rem; }
.layer h4 svg { width: 19px; height: 19px; }
.layer p { font-size: 0.88rem; }
.layer.l1 { background: var(--bfs-blue); color: #fff; }
.layer.l1 p { color: rgba(255,255,255,0.9); }
.layer.l2 { background: var(--bfs-ice); }
.layer.l2 p, .layer.l3 p { color: var(--bfs-grey); }
.layer.l3 { background: var(--bfs-cream); }
.you-badge { position: absolute; top: -12px; right: 14px; background: var(--bfs-red); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.25rem 0.7rem; border-radius: 100px; box-shadow: 0 3px 8px rgba(219,62,38,0.35); }
.funds-arrow { display: flex; align-items: center; gap: 0.5rem; justify-content: center; font-size: 0.78rem; color: var(--bfs-grey); }
.funds-arrow svg { width: 15px; height: 15px; color: var(--bfs-blue); }

/* mastery cycle */
.mastery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 700px) { .mastery { grid-template-columns: 1fr; } }
.m-card { background: #fff; border: 1px solid var(--bfs-ice); border-radius: 12px; padding: 1.1rem 1.2rem; position: relative; }
.m-card .m-num { position: absolute; top: 0.9rem; right: 1rem; font-family: var(--mono, monospace); font-size: 1.6rem; font-weight: 600; color: var(--bfs-ice); }
.m-card h5 { display: flex; align-items: center; gap: 0.5rem; font-size: 0.98rem; margin-bottom: 0.3rem; }
.m-card h5 svg { width: 18px; height: 18px; color: var(--bfs-blue); }
.m-card p { font-size: 0.85rem; color: var(--bfs-grey); }
