/* Trauma Nursing Certification Canada LMS (learn.traumanursing.ca). Brand #004B63; same look as the sales page. */
:root {
  --brand: #004B63; --brand-deep: #002F3F; --brand-soft: #E6F1F4; --accent: #F5B841; --accent-ink: #2A1E00;
  --heart: #D7263D; --go: #22C55E; --go-hover: #16A34A; --go-ink: #03220E; --ink: #0F2A33; --muted: #4D6670; --line: #D5E3E8; --bg: #FFFFFF; --bg-alt: #F5F8F9; --radius: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink);
       background: var(--bg-alt); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

/* Top bar */
.top { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; }
.top .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: 68px; padding-top: 30px; padding-bottom: 30px; }
.top .bar > a:first-child { justify-self: start; }
.top .bar > .mic-top { justify-self: center; }
.mic-top { height: 45px; width: auto; flex: none; filter: drop-shadow(0 4px 14px rgba(0,0,0,.3)); }
.hero-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding-top: 30px; padding-bottom: 10px; width: 100%; }
.hero-nav .mic-top { height: 48px; grid-column: 2; grid-row: 1; justify-self: center; }
.hero-nav nav { grid-column: 3; grid-row: 1; justify-self: end; }
.top .bar img { height: 64px; width: auto; }
.top nav { justify-self: end; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.top nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; opacity: .9; }
.top nav a[aria-current="page"] { background: rgba(255,255,255,.14); opacity: 1; }
.top nav a.cta, .hero nav a.cta, .mini nav a.cta { background: var(--go); color: var(--go-ink); opacity: 1; font-weight: 800; box-shadow: 0 4px 16px rgba(34,197,94,.45); }
.top nav a.cta:hover, .hero nav a.cta:hover, .mini nav a.cta:hover { background: var(--go-hover); color: #fff; }

/* Full-height header (LMS home): trauma footage behind, big logo, big countdown, green Register now. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; display: flex; flex-direction: column; overflow: hidden;
        padding-bottom: calc(min(1280px, 100vw - 40px) * .1875 + 40px); background: var(--brand-deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,40,54,.66) 0%, rgba(0,47,63,.34) 45%, rgba(0,40,54,.78) 100%); }
.hero > :not(.hero-bg):not(.hero-shade) { position: relative; z-index: 1; }
.hero-nav nav { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.hero nav a, .mini nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; }
.hero nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
.hero-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 1vh; }
.hero-logo { width: clamp(240px, min(40vw, 58vh), 600px); height: auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,.45)); margin-bottom: 1.6vh; }
.kicker { font-size: clamp(17px, 2.2vw, 22px); margin: 0 0 1.8vh; color: rgba(255,255,255,.92); }
.kicker b { color: var(--accent); }
.bigcd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 3vw, 40px); width: min(1040px, 100%); margin-bottom: 2.8vh; }
.bigcd div { background: rgba(0,30,40,.55); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: clamp(10px, 2vw, 20px) 4px; backdrop-filter: blur(6px); }
.bigcd b { display: block; font-size: clamp(44px, min(10vw, 12.5vh), 136px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
           text-shadow: 0 6px 24px rgba(0,0,0,.4); }
.bigcd span { display: block; margin-top: 8px; font-size: clamp(11px, 1.3vw, 14px); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.hero .btn-go { font-size: clamp(18px, 2vw, 22px); min-height: 60px; padding: 16px 40px; }
.hero-sub { margin: 16px 0 0; font-size: 15px; color: rgba(255,255,255,.8); }
.pop { animation: pop-in .7s cubic-bezier(.2,1.6,.4,1) .6s both, go-glow 2.6s ease-in-out 1.6s infinite; }
@keyframes pop-in { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes go-glow { 0%, 100% { box-shadow: 0 8px 26px rgba(34,197,94,.45), 0 0 0 0 rgba(34,197,94,.55); }
                     50% { box-shadow: 0 8px 26px rgba(34,197,94,.45), 0 0 0 14px rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .pop { animation: none; } }
/* The video comes up into the header by a third of its height. */
main.after-hero { padding-top: 0; }
.hero1.lift { margin-top: calc(min(1280px, 100vw - 40px) * -.1875 - 10px); position: relative; z-index: 2; }
.lift .stage-card { box-shadow: 0 30px 70px rgba(0,20,30,.45); }
.lift > h1 { margin-top: 26px; }
/* Compact bar that slides in once the header has scrolled away. */
.mini { position: fixed; left: 0; right: 0; top: 0; z-index: 9000; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
        color: #fff; transform: translateY(-110%); transition: transform .25s ease; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.mini.on { transform: none; }
.mini .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: 66px; padding-top: 30px; padding-bottom: 30px; }
.mini .bar > a:first-child { justify-self: start; }
.mini .bar .mic-top { height: 39px; justify-self: center; }
.mini .bar img { height: 48px; width: auto; }
.mini nav { justify-self: end; display: flex; gap: 4px; }

.guarantee { display: flex; gap: 22px; align-items: center; margin-top: 22px; background: #fff; border: 2px solid var(--go); border-radius: var(--radius); padding: 22px 24px; }
.guarantee h3 { margin: 0 0 6px; font-size: 21px; }
.guarantee p { margin: 0 0 6px; color: var(--muted); }
.guarantee .nore { margin: 0; font-size: 14.5px; }
.guarantee .nore b { color: #B3001B; }
.gseal { flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; font-weight: 800; font-size: 30px; line-height: 1;
         background: radial-gradient(circle at 35% 30%, #34D96F, #15803D); box-shadow: 0 0 0 5px #fff, 0 0 0 8px var(--go), 0 10px 24px rgba(21,128,61,.35); }
.gseal small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; line-height: 1.2; }
@media (max-width: 560px) { .guarantee { flex-direction: column; text-align: center; } }

.insts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.inst { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-align: center; }
.inst .ph { position: relative; display: block; width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden;
            background: linear-gradient(160deg, var(--brand), var(--brand-deep)); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--brand-soft); }
.inst .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.inst .ph.hb { background: var(--brand-soft); }
.inst .ph.hb img { object-fit: contain; padding: 10px; }
.inst .ph i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; font-size: 40px; letter-spacing: .02em; }
.inst b { display: block; font-size: 18px; }
.inst .role { display: block; color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 2px 0 8px; }
.inst small { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .insts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .insts { grid-template-columns: 1fr; } }

/* Banners */
.bf { background: var(--heart); color: #fff; font-size: 15px; text-align: center; padding: 9px 16px; }
.bf a { color: #fff; font-weight: 700; }
.bf b { font-variant-numeric: tabular-nums; }
.opens { background: var(--brand-deep); color: rgba(255,255,255,.9); }
.opens .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 12px; padding-bottom: 14px; }
.opens b { color: var(--accent); }
.opens .cd { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; }

/* Layout */
main { padding: 28px 0 80px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.grid2 { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; align-items: start; }
.wrap.wide { max-width: 1320px; }
.hero1 { max-width: 1280px; margin: 0 auto; }
.wrap.onecol { max-width: 820px; display: grid; gap: 18px; }
.wrap.onecol .guarantee { margin-top: 0; }
.hero1 > h1, .hero1 > p { text-align: center; }
.hero1 > p.muted { max-width: 680px; margin-left: auto; margin-right: auto; }
.stage-card { padding: 10px; margin-top: 18px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; align-items: start; }
.cards3 .btn { margin-top: 4px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 8px; }
h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
       font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-go { background: var(--go); color: var(--go-ink); font-weight: 800; box-shadow: 0 8px 26px rgba(34,197,94,.45); }
.btn-go:hover { background: var(--go-hover); color: #fff; }
.btn-line { background: #fff; color: var(--brand); border: 2px solid var(--brand); }

/* Video */
.player { position: relative; border-radius: 14px; overflow: hidden; background: #0B1F27; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; display: block; background: #0B1F27; }
.player .soon { position: absolute; inset: 0; display: none; place-items: center; text-align: center; color: #fff; padding: 20px;
                background: radial-gradient(800px 400px at 70% 0%, #0A6E8C 0%, transparent 60%), linear-gradient(160deg, var(--brand), var(--brand-deep)); }
.player.missing .soon { display: grid; }
.player.tall { aspect-ratio: 9 / 16; max-height: 82vh; max-width: calc(82vh * 9 / 16); margin: 0 auto; }
.player .soon img { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 12px; border: 3px solid rgba(255,255,255,.6); }
.vtitle { margin: 12px 0 2px; font-weight: 700; font-size: 18px; }

/* Lessons and sections */
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lesson { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.lesson .num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px;
               background: var(--brand-soft); color: var(--brand); }
.lesson .t { flex: 1; min-width: 0; }
.lesson .t b { display: block; font-size: 15.5px; }
.lesson .t small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.lesson .st { flex: none; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.st.open { background: #E3F6EC; color: #11734A; }
.st.lock { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.lesson.playable { cursor: pointer; }
.lesson.playable:hover { border-color: var(--brand); }
.lesson.playable .num { background: var(--brand); color: #fff; }
.phase { margin-top: 30px; }
.phase > p { color: var(--muted); margin-bottom: 12px; }
details.sec { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
details.sec summary { cursor: pointer; list-style: none; padding: 15px 46px 15px 16px; font-weight: 700; position: relative; display: flex; gap: 12px; align-items: baseline; }
details.sec summary::-webkit-details-marker { display: none; }
details.sec summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 24px; color: var(--brand); font-weight: 600; }
details.sec[open] summary::after { content: "–"; }
details.sec summary .n { color: var(--brand); min-width: 2em; }
details.sec summary .c { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
details.sec .lessons { padding: 0 14px 14px; }
details.sec .lesson { border-color: transparent; background: var(--bg-alt); }

/* Side panels */
.side { display: grid; gap: 16px; }
.side .card h3 { font-size: 18px; }
.hb-card { display: flex; gap: 14px; align-items: center; }
.hb-card img { width: 64px; height: 64px; border-radius: 50%; flex: none; }

/* Forms (help) */
form label.l { display: block; font-weight: 600; font-size: 15px; margin: 0 0 6px; }
form .row { margin-bottom: 14px; }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form input[type=text], form input[type=email], form input[type=tel], form select, form textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
form textarea { min-height: 140px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { outline: 3px solid rgba(0,75,99,.25); border-color: var(--brand); }
.err { color: #B3001B; font-weight: 600; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -3px; font-size: 22px; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
footer { background: var(--brand-deep); color: rgba(255,255,255,.75); padding: 30px 0 90px; font-size: 14px; }
footer .f { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer .f img.logo { height: 36px; width: auto; }
footer .mic { display: flex; align-items: center; gap: 10px; }
footer .mic img { height: 64px; width: auto; }
footer a { color: #fff; }

@media (max-width: 900px) { .grid2, .cards3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top .bar { grid-template-columns: 1fr; justify-items: center; padding-top: 18px; padding-bottom: 18px; gap: 10px; }
  .top .bar > a:first-child, .top nav { justify-self: center; }
  .mic-top { height: 33px; }
  .hero-nav { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding-top: 12px; }
  .hero-nav .mic-top { height: 36px; grid-column: 1; grid-row: 1; }
  .hero-nav nav { grid-column: 1; grid-row: 2; justify-self: center; }
  .mini .bar { grid-template-columns: auto 1fr auto; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .mini .bar .mic-top { height: 26px; }
  .top nav { justify-content: center; }
  .top nav a { padding: 6px 10px; font-size: 14px; }
  .top .bar img { height: 52px; }
  .hero-nav nav { justify-content: center; }
  .hero nav a { padding: 7px 10px; font-size: 14px; }
  .hero-body { justify-content: flex-start; padding-top: 5vh; }
  .mini nav a:not(.cta) { display: none; }
  .mini .bar img { height: 40px; }
  .hero1.lift { margin-top: calc((100vw - 32px) * -.1875 - 6px); }
  .hero { padding-bottom: calc((100vw - 32px) * .1875 + 30px); }
  .card { padding: 18px; }
  .stage-card { padding: 0; border: 0; background: transparent; }
  .wrap.f .mic img { height: 56px; }
  form .two { grid-template-columns: 1fr; }
  .lesson .st { font-size: 11.5px; padding: 4px 8px; }
}
