:root {
  --navy: #071a36;
  --navy-2: #0b2850;
  --navy-3: #123d6b;
  --gold: #edb21c;
  --gold-light: #ffd45a;
  --ink: #10213a;
  --muted: #66758a;
  --paper: #ffffff;
  --page: #f2f5fa;
  --line: #dce3ee;
  --shadow: 0 18px 45px rgba(5, 22, 48, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 16%, rgba(237,178,28,.08), transparent 28rem),
    linear-gradient(180deg, #f7f9fc 0%, var(--page) 68%, #eaf0f7 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
button, iframe { font: inherit; }

.site-header {
  position: relative;
  z-index: 5;
  color: #fff;
  background: linear-gradient(110deg, #06152d 0%, #09264a 68%, #0a315a 100%);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 8px 22px rgba(4, 18, 39, .18);
}
.header-inner {
  width: min(1320px, calc(100% - 48px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
}
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 236px;
  height: 76px;
  padding: 4px 9px;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
}
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-divider { height: 52px; width: 2px; background: var(--gold); opacity: .9; }
.brand-course { color: #fff; font-size: 15px; font-weight: 750; line-height: 1.3; letter-spacing: .01em; }
.brand-course small { color: #cbd7e9; font-size: 11px; font-weight: 550; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 7px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 999px;
  text-decoration: none;
  color: #e8eef7;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); background: rgba(255,255,255,.09); }
.nav-link:hover { transform: translateY(-1px); }
.nav-special { border: 1px solid rgba(237,178,28,.55); color: #fff; }

.page-shell { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  position: relative;
  margin: 26px 0 27px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--navy);
  border: 1px solid rgba(237,178,28,.48);
  box-shadow: var(--shadow);
}
.hero-art { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.hero-caption {
  position: absolute;
  left: 22px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  color: #fff;
  background: rgba(4,19,41,.84);
  backdrop-filter: blur(8px);
  font-size: 12px;
}
.hero-caption p { margin: 0; color: #dce6f5; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-light); font-weight: 800; }
.eyebrow-dot, .status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--gold); box-shadow: 0 0 0 4px rgba(237,178,28,.14); }

.welcome-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 2px 22px;
}
.section-kicker { margin: 0 0 4px; color: #a77808; font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; color: var(--navy); font-size: clamp(27px, 3.3vw, 40px); letter-spacing: -.035em; line-height: 1.1; }
.welcome-copy { max-width: 760px; margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.gold-button, .outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 11px 19px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.gold-button { color: #081a33; background: linear-gradient(110deg, #ffd45a, #e8a80d); border: 1px solid #d79a09; box-shadow: 0 5px 0 #b87b00, 0 10px 22px rgba(201,145,0,.19); }
.gold-button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #b87b00, 0 13px 25px rgba(201,145,0,.24); }
.outline-button { color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.45); }
.outline-button:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 20px; align-items: start; }
.panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 19px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(7,26,54,.07);
}
.panel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  padding: 15px 19px;
  color: #fff;
  background: linear-gradient(105deg, var(--navy) 0%, #103a6a 100%);
  border-bottom: 3px solid var(--gold);
}
.heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  color: var(--navy);
  background: linear-gradient(145deg, #ffdc78, #e5a90e);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 4px 12px rgba(0,0,0,.15);
}
.play-icon { font-size: 17px; padding-left: 2px; }
.quiz-icon { font-size: 24px; }
.pdf-icon { font-size: 12px; letter-spacing: -.04em; }
.panel-heading h2 { margin: 0; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.panel-heading p { margin: 4px 0 0; color: #c4d2e4; font-size: 12px; }
.video-frame { position: relative; background: #020b18; overflow: hidden; }
.media-frame { aspect-ratio: 16 / 9; }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-panel .media-frame { margin: 16px 16px 0; border-radius: 12px; box-shadow: 0 7px 19px rgba(4,17,36,.19); }
.panel-footnote { display: flex; align-items: center; gap: 9px; padding: 13px 18px 16px; color: var(--muted); font-size: 11px; }
.panel-footnote .status-dot { background: #24a36a; box-shadow: 0 0 0 4px rgba(36,163,106,.12); }

.quiz-intro { display: grid; grid-template-columns: minmax(130px, .82fr) minmax(0, 1fr); gap: 15px; align-items: center; padding: 17px 19px 16px; background: linear-gradient(125deg, #f9fbff, #eef3fa); border-bottom: 1px solid var(--line); }
.quiz-illustration { min-height: 132px; position: relative; display: flex; align-items: center; justify-content: center; }
.clipboard {
  position: relative;
  width: 94px;
  height: 113px;
  padding: 28px 13px 10px;
  border: 5px solid #15477f;
  border-radius: 13px;
  background: linear-gradient(145deg,#fff,#e8f1fe);
  box-shadow: 5px 8px 0 rgba(7,26,54,.10);
  transform: rotate(-5deg);
}
.clip-top { position: absolute; top: -12px; left: 26px; width: 33px; height: 17px; border: 4px solid #15477f; border-radius: 7px 7px 3px 3px; background: #f4c23d; }
.clipboard i { display: block; width: 55px; height: 9px; margin: 7px 0; border-left: 10px solid #e7ad16; border-bottom: 2px solid #9aaec8; }
.question-mark { position: absolute; right: 3px; bottom: 3px; display: flex; align-items: center; justify-content: center; width: 57px; height: 57px; border: 4px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#1f5e9e,#092d58); font-size: 39px; line-height: 1; font-weight: 900; box-shadow: 0 5px 15px rgba(5,33,66,.25); }
.quiz-copy h3 { margin: 0 0 5px; color: var(--navy); font-size: 17px; line-height: 1.2; }
.quiz-copy p { margin: 0 0 14px; color: #4e5c70; font-size: 13px; }
.quiz-copy .gold-button { min-height: 38px; padding: 8px 13px; font-size: 12px; }
.form-wrap { padding: 15px 15px 10px; }
.form-label { display: flex; align-items: center; justify-content: space-between; margin: 0 1px 10px; color: #627188; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.form-label span:last-child { padding: 4px 8px; border-radius: 999px; color: #735006; background: #fff4d5; letter-spacing: .02em; }
.form-wrap iframe { display: block; width: 100%; height: 760px; border: 1px solid #d9e1eb; border-radius: 12px; background: #fff; }
.form-fallback { margin: 9px 2px 4px; color: #6e7a8b; font-size: 11px; }
.form-fallback a { color: #174e85; font-weight: 800; }

.presentation-panel { margin-top: 21px; }
.presentation-heading { flex-wrap: wrap; }
.presentation-heading > div { flex: 1 1 220px; }
.presentation-heading .outline-button { margin-left: auto; }
.pdf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; color: #fff; background: #0a2446; border-bottom: 1px solid rgba(237,178,28,.45); }
.pdf-controls-group { display: flex; align-items: center; gap: 9px; }
.pdf-control { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 32px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #fff; background: rgba(255,255,255,.10); font-size: 22px; line-height: 1; cursor: pointer; }
.pdf-control:hover:not(:disabled) { color: #081a33; background: var(--gold-light); }
.pdf-control:disabled { opacity: .35; cursor: not-allowed; }
.zoom-control { width: 32px; font-size: 19px; }
.page-readout, .zoom-readout { color: #e5edf8; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.pdf-stage { min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 18px; background: #dce3ed; }
.pdf-canvas-wrap { width: 100%; display: flex; justify-content: center; align-items: flex-start; overflow: auto; }
#pdf-canvas { display: block; max-width: none; height: auto; background: #fff; box-shadow: 0 5px 22px rgba(3,16,35,.22); }
.pdf-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 460px; color: #40516a; font-size: 13px; font-weight: 700; }
.loading-spinner { width: 22px; height: 22px; border: 3px solid #c7d2e1; border-top-color: #d49b0e; border-radius: 50%; animation: spin .85s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pdf-fallback { padding: 20px; background: #eaf0f7; }
.pdf-fallback p { margin: 0 0 12px; color: #42526a; font-size: 13px; }
.pdf-fallback iframe { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pdf-bottom-note { display: flex; align-items: center; gap: 10px; padding: 12px 18px 15px; color: #69788e; font-size: 11px; }
.gold-rule { display: inline-block; width: 24px; height: 3px; border-radius: 4px; background: var(--gold); }

.closing-strip { display: flex; align-items: center; gap: 14px; margin: 22px 0 28px; padding: 16px 18px; border: 1px solid rgba(237,178,28,.43); border-radius: 15px; color: #f7f9fc; background: linear-gradient(110deg, #081b38, #10406e); box-shadow: 0 9px 22px rgba(5,20,43,.10); }
.closing-mark { display: flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; color: #17263c; background: var(--gold-light); font-size: 20px; }
.closing-strip p { flex: 1; margin: 0; font-size: 13px; color: #dce6f3; }
.closing-strip strong { color: #fff; }
.closing-strip > a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #081a33; background: var(--gold-light); text-decoration: none; font-weight: 900; }
.site-footer { color: #d4deeb; background: #06152d; border-top: 3px solid var(--gold); }
.footer-inner { width: min(1320px, calc(100% - 48px)); min-height: 65px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; padding: 15px 0; font-size: 11px; }
.footer-inner a { color: var(--gold-light); font-weight: 750; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

.colleague-shell { padding-bottom: 2px; }
.colleague-hero { margin-bottom: 24px; }
.colleague-welcome { margin-top: 0; }
.colleague-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr); gap: 20px; align-items: start; }
.colleague-video .video-frame { margin-bottom: 0; }
.compact-quiz-intro { grid-template-columns: 120px minmax(0, 1fr); }
.compact-quiz-intro .quiz-illustration { min-height: 112px; }
.compact-quiz-intro .clipboard { width: 83px; height: 100px; }
.compact-quiz-intro .question-mark { width: 48px; height: 48px; font-size: 31px; }
.colleague-quiz .form-wrap iframe { height: 820px; }
.colleague-closing { margin-top: 22px; }

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #f2c64b; outline-offset: 3px; }

@media (max-width: 1050px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 0 13px; }
  .main-nav { justify-content: flex-start; width: 100%; }
  .content-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); }
  .colleague-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); }
  .brand-course { font-size: 13px; }
}

@media (max-width: 760px) {
  .header-inner, .page-shell, .footer-inner { width: min(100% - 28px, 620px); }
  .header-inner { gap: 11px; }
  .brand { gap: 10px; width: 100%; }
  .brand-logo { width: 184px; height: 60px; border-radius: 8px; }
  .brand-divider { height: 42px; }
  .brand-course { font-size: 11px; }
  .brand-course small { font-size: 9px; }
  .main-nav { gap: 4px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: thin; }
  .nav-link { min-height: 35px; padding: 7px 10px; font-size: 11px; white-space: nowrap; }
  .hero { margin: 16px 0 20px; border-radius: 14px; }
  .hero-art { aspect-ratio: 2.5 / 1; object-position: center; }
  .hero-caption { left: 9px; bottom: 8px; gap: 3px 8px; max-width: calc(100% - 18px); padding: 6px 9px; border-radius: 10px; font-size: 9px; }
  .hero-caption p { font-size: 9px; }
  .welcome-row { align-items: flex-start; flex-direction: column; gap: 13px; margin: 0 1px 17px; }
  .welcome-copy { font-size: 13px; }
  .gold-button { min-height: 40px; padding: 9px 15px; }
  .content-grid, .colleague-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .panel { border-radius: 15px; }
  .panel-heading { min-height: 68px; padding: 12px 13px; gap: 10px; }
  .heading-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .panel-heading h2 { font-size: 16px; }
  .panel-heading p { font-size: 11px; }
  .video-panel .media-frame { margin: 11px 11px 0; }
  .panel-footnote { padding: 10px 13px 13px; }
  .quiz-intro { grid-template-columns: 108px minmax(0,1fr); gap: 8px; padding: 12px; }
  .quiz-illustration { min-height: 116px; }
  .clipboard { width: 78px; height: 98px; padding: 23px 9px 8px; border-width: 4px; }
  .clipboard i { width: 45px; height: 8px; margin: 6px 0; }
  .clip-top { left: 22px; }
  .question-mark { width: 48px; height: 48px; right: 0; bottom: 0; font-size: 31px; }
  .quiz-copy h3 { font-size: 15px; }
  .quiz-copy p { font-size: 12px; }
  .form-wrap { padding: 10px 10px 7px; }
  .form-wrap iframe { height: 820px; }
  .presentation-panel { margin-top: 15px; }
  .presentation-heading { align-items: center; }
  .presentation-heading .outline-button { margin: 3px 0 0 48px; }
  .pdf-toolbar { flex-wrap: wrap; padding: 9px 10px; }
  .pdf-stage { min-height: 310px; padding: 9px; }
  .pdf-loading { min-height: 270px; font-size: 12px; }
  .pdf-controls-group { gap: 6px; }
  .page-readout, .zoom-readout { font-size: 11px; }
  .pdf-control { width: 31px; height: 30px; }
  .pdf-fallback iframe { height: 640px; }
  .closing-strip { gap: 10px; margin: 15px 0 20px; padding: 12px; }
  .closing-strip p { font-size: 11px; }
  .closing-mark { flex-basis: 32px; width: 32px; height: 32px; }
  .footer-inner { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 10px; }
}

@media (max-width: 390px) {
  .brand-logo { width: 151px; height: 54px; padding: 3px 6px; }
  .brand-course { font-size: 10px; }
  .brand-course small { font-size: 8px; }
  .quiz-intro { grid-template-columns: 88px minmax(0, 1fr); }
  .quiz-illustration { transform: scale(.88); transform-origin: center; }
  .presentation-heading .outline-button { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
