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

:root {
  --navy: #002145;
  --blue: #0055B7;
  --cyan: #49C7EC;
  --amber: #B8912F;
  --amber-light: #fdf6e3;
  --amber-border: #e8c96d;
  --teal: #1a7f7a;
  --teal-light: #e8f7f6;
  --light-bg: #eef5fa;
  --border: #d0dde8;
  --text: #1a2a3a;
  --muted: #5a6a7e;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ─── NOTICE BANNER ─── */
.notice-banner {
  background: var(--amber-light);
  border-bottom: 2px solid var(--amber-border);
  padding: 1rem 2rem;
}
.notice-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.notice-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.notice-text {
  font-size: 0.875rem;
  color: #5a3e00;
  line-height: 1.55;
}
.notice-text strong { font-weight: 700; color: #3a2800; }

/* ─── HEADER ─── */
header {
  background: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}
.header-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-logos img { display: block; }
.logo-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-badge {
  background: rgba(73,199,236,0.15);
  border: 1px solid rgba(73,199,236,0.35);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* ─── HERO (HOME) ─── */
.hero-home {
  background: var(--navy);
  padding: 5rem 2rem 0;
  overflow: hidden;
}
.hero-home-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 5rem;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.hero-home h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-home-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.hero-stat strong { color: white; display: block; font-size: 1.5rem; font-weight: 700; line-height: 1; margin-bottom: 0.2rem; }

/* ─── WHY THIS EXISTS ─── */
.why-section {
  background: var(--light-bg);
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border);
}
.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.why-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.why-section p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.why-section p:last-child { margin-bottom: 0; }
.why-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}
.why-point-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.why-point-body { flex: 1; }
.why-point-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.why-point-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── CERTIFICATE SECTION ─── */
.cert-section {
  background: var(--light-bg);
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border);
}
.cert-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.cert-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.cert-section p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.cert-section p:last-child { margin-bottom: 0; }
.cert-section .section-eyebrow { color: var(--blue); }
.cert-steps {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cert-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.cert-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-step-text { flex: 1; }
.cert-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.cert-step-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── MODULE GRID ─── */
.modules-section {
  padding: 4rem 2rem;
}
.modules-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.modules-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.modules-section .intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.module-card {
  display: block;
  text-decoration: none;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,33,69,0.1);
  border-color: var(--blue);
}
.module-card-header {
  background: var(--navy);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.module-card-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(73,199,236,0.18);
  border: 1.5px solid rgba(73,199,236,0.4);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.module-card-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}
.module-card-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.module-card-body {
  padding: 1.25rem 1.5rem;
}
.module-card-desc {
  font-size: 0.855rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.module-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.module-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--light-bg);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
}
.module-card-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.5rem 1.25rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.35rem;
}

/* ─── MODULE PAGE LAYOUT ─── */
.module-progress {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.module-progress-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.module-progress-inner::-webkit-scrollbar { display: none; }
.mod-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
  transition: color 0.15s;
}
.mod-step:hover { color: var(--blue); }
.mod-step.active { color: var(--navy); border-bottom-color: var(--blue); }
.mod-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mod-step.active .mod-step-num { background: var(--blue); color: white; }

/* ─── MODULE HERO ─── */
.module-hero {
  background: var(--navy);
  padding: 3.5rem 2rem;
}
.module-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 3rem;
  align-items: center;
}
.module-hero-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.6rem;
}
.module-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.module-hero-intro {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.75;
}
.module-diagram svg { max-width: 100%; display: block; }

/* ─── GOALS SECTION ─── */
.goals-section {
  background: var(--light-bg);
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.goals-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.goals-section h2 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.goals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.goal-pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}
.goal-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ─── CONTENT ─── */
.content-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
}
.content-main { min-width: 0; }
.content-block { margin-bottom: 2.5rem; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-bg);
}
.content-block p {
  font-size: 0.93rem;
  color: #2c3a4a;
  line-height: 1.8;
  margin-bottom: 0.875rem;
}
.content-block p:last-child { margin-bottom: 0; }
.content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 0.875rem;
  padding-left: 1.25rem;
}
.content-list li {
  font-size: 0.9rem;
  color: #2c3a4a;
  line-height: 1.65;
  position: relative;
}
.content-list li::before {
  content: '–';
  color: var(--cyan);
  font-weight: 700;
  position: absolute;
  left: -1.1rem;
  top: 0;
}

/* ─── STEP LIST (staged processes) ─── */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 0.875rem;
}
.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.step-body { flex: 1; min-width: 0; }
.step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── TECHNIQUE CARDS (ranking techniques) ─── */
.technique-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 0.875rem;
}
.technique-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.technique-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.technique-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.technique-speed {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.technique-speed.fast { background: rgba(26,127,122,0.12); color: var(--teal); }
.technique-speed.thorough { background: rgba(0,85,183,0.1); color: var(--blue); }
.technique-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── SEQUENCE LIST (ordered prototype progression) ─── */
.sequence-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 0.875rem;
}
.sequence-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.875rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.sequence-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,85,183,0.12);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.sequence-body { flex: 1; min-width: 0; }
.sequence-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.sequence-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.sequence-badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(73,199,236,0.9);
  background: rgba(73,199,236,0.1);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
  display: inline-block;
  margin-top: 0.35rem;
}

@media (max-width: 600px) {
  .technique-grid { grid-template-columns: 1fr; }
}
.callout {
  background: var(--light-bg);
  border-left: 3px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}
.callout strong { color: var(--navy); font-weight: 700; }

/* ─── VOCAB SIDEBAR ─── */
.vocab-sidebar { position: sticky; top: 84px; }
.vocab-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.vocab-card-header {
  padding: 0.875rem 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.vocab-list { padding: 0.5rem 0; }
.vocab-item {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.vocab-item:last-child { border-bottom: none; }
.vocab-term {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.25rem;
}
.vocab-def {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.5;
}

/* ─── MODULE NAV ─── */
.module-nav {
  border-top: 1px solid var(--border);
  padding: 2rem;
  background: var(--light-bg);
}
.module-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s;
}
.nav-btn-prev {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
}
.nav-btn-prev:hover { border-color: var(--blue); color: var(--blue); }
.nav-btn-next {
  background: var(--blue);
  color: white;
}
.nav-btn-next:hover { background: var(--navy); }
.nav-btn-home {
  background: white;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}
.nav-btn-home:hover { color: var(--blue); border-color: var(--blue); }
.nav-btn-label { font-size: 0.68rem; color: inherit; opacity: 0.6; display: block; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-text { color: rgba(255,255,255,0.45); font-size: 0.8rem; line-height: 1.6; }
.footer-text strong { color: rgba(255,255,255,0.7); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; }
  .cert-inner { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-hero-inner { grid-template-columns: 1fr; }
  .module-diagram { display: none; }
  .content-body { grid-template-columns: 1fr; }
  .vocab-sidebar { position: static; }
}
@media (max-width: 600px) {
  .module-grid { grid-template-columns: 1fr; }
  .hero-home { padding: 3rem 1.25rem 0; }
  .why-section, .cert-section, .modules-section { padding: 3rem 1.25rem; }
  .module-hero { padding: 2.5rem 1.25rem; }
  .content-body { padding: 2rem 1.25rem; }
  .module-progress { padding: 0 1rem; }
  .mod-step { padding: 0.7rem 0.6rem; font-size: 0.72rem; gap: 0.35rem; }
  .mod-step-num { width: 18px; height: 18px; font-size: 0.62rem; }
}

/* ---------- SCORM module section ---------- */
.scorm-section {
  background: linear-gradient(180deg, #eef5fa 0%, #ffffff 100%);
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid rgba(0, 33, 69, 0.08);
}
.scorm-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.scorm-section-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: #002145;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.15;
}
.scorm-intro {
  color: rgba(0, 33, 69, 0.7);
  max-width: 720px;
  margin: 0 0 1.75rem;
  line-height: 1.55;
  font-size: 0.95rem;
}
.scorm-frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 33, 69, 0.18);
}
.scorm-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.scorm-fallback {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: rgba(0, 33, 69, 0.6);
}
.scorm-fallback a {
  color: #0055B7;
  font-weight: 600;
  text-decoration: none;
}
.scorm-fallback a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .scorm-section { padding: 2.5rem 1.25rem 2rem; }
  .scorm-section-inner h2 { font-size: 1.5rem; }
}

/* ---------- Closing certificate reassurance ---------- */
.closing-cert {
  background: var(--navy);
  padding: 3.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.closing-cert-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}
.closing-cert-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.25rem;
}
.closing-cert-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: white;
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 0.875rem;
}
.closing-cert-body p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 680px;
}
@media (max-width: 600px) {
  .closing-cert { padding: 2.5rem 1.25rem; }
  .closing-cert-inner { flex-direction: column; gap: 0.75rem; }
  .closing-cert-body h2 { font-size: 1.4rem; }
}
