/* HPM Customer Service Training course. Gala overlay on HPM tokens. 9/29/26 */
:root {
  --navy: #0a233f;
  --navy-deep: #061a2e;
  --navy-lift: #0e2c50;
  --teal: #00a2ae;
  --teal-light: #6fd6e3;
  --blue: #8fc0e6;
  --purple: #73308a;
  --purple-light: #c58fd6;
  --gold: #ffcd00;
  --white: #f7fbff;
  --muted: #b7c7d8;
  --line: #6fd6e326;
  --good: #6fd6e3;
  --rule: linear-gradient(90deg, #00a2ae, #8fc0e6 52%, #73308a);
  --serif-accent: linear-gradient(90deg, #5fd3de, #8fc0e6 50%, #c58fd6);
  --display: "Montserrat", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --rail: 300px;
  --bar: 64px;
  --measure: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  background-image:
    radial-gradient(circle at 88% 8%, #73308a2b, transparent 38%),
    radial-gradient(circle at 4% 92%, #00a2ae2b, transparent 40%),
    linear-gradient(#6fd6e30a 1px, transparent 1px),
    linear-gradient(90deg, #6fd6e30a 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
  background-attachment: fixed;
  color: var(--muted);
  font: 400 18px/1.65 var(--serif);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-light); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 50; font: 700 14px var(--display); }
.skip:focus { left: 8px; }

/* Top bar */
.bar {
  position: sticky; top: 0; z-index: 20; height: var(--bar);
  display: flex; align-items: center; gap: 20px; padding: 0 24px;
  background: #061a2ee6; backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar-brand img { width: 150px; height: auto; }
.bar-title { font: 800 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-light); }
.bar-menu { display: none; margin-left: auto; min-height: 44px; padding: 0 16px; background: var(--navy-lift); border: 1px solid #6fd6e347; border-radius: 4px; font: 800 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--white); cursor: pointer; }
.welcome { max-width: 1180px; margin: 56px auto 0; padding: 0 48px; display: grid; grid-template-columns: 1fr 1.7fr; gap: 40px; align-items: center; }
.welcome .film-note { grid-column: 2; margin-top: -24px; }
.welcome h2 { margin: 8px 0 12px; }
.welcome .sub-title { font-size: .8em; white-space: nowrap; }
@media (max-width: 480px) { .welcome .sub-title { white-space: normal; } }
.ai-note { margin-top: 16px; font: 600 14px/1.4 var(--display); color: var(--teal-light); }
@media (max-width: 768px) { .welcome { grid-template-columns: 1fr; padding: 0 16px; gap: 20px; } .welcome .film-note { grid-column: 1; margin-top: 0; } }
.mod-banner { margin: 0 0 48px; }
.mod-banner img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.mod-banner figcaption { margin-top: 12px; text-align: right; }
.mod-banner figcaption a { font: 700 14px/1.2 var(--display); color: var(--teal-light); text-decoration: none; }
.strip-banners, .dl-banners { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.dl-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.strip-banners a, .dl-banners a { display: flex; flex-direction: column; gap: 6px; color: var(--white); text-decoration: none; }
.strip-banners img, .dl-banners img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.strip-banners span, .dl-banners span { font: 700 14px/1.25 var(--display); }
.strip-banners small, .dl-banners small { font: 600 14px/1 var(--display); color: var(--teal-light); }
@media (max-width: 768px) { .strip-banners { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .strip-banners li { flex: 0 0 200px; scroll-snap-align: start; } .dl-banners { grid-template-columns: 1fr; } }
.asset-strip { max-width: 1180px; margin: 56px auto 0; padding: 32px 48px 40px; border-top: 1px solid #ffffff1a; }
.strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.strip-head a { font: 700 14px/1.2 var(--display); color: var(--teal-light); text-decoration: none; }
.asset-strip ul { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.asset-strip a { display: flex; flex-direction: column; gap: 6px; color: var(--white); text-decoration: none; }
.asset-strip img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .2s ease; }
.asset-strip a:hover img, .asset-strip a:focus-visible img { transform: translateY(-3px); }
.asset-strip span { font: 700 14px/1.25 var(--display); }
.asset-strip small { font: 600 14px/1 var(--display); color: var(--teal-light); }
@media (max-width: 1024px) { .asset-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 768px) { .asset-strip { padding: 28px 16px 32px; } .asset-strip ul { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .asset-strip li { flex: 0 0 120px; scroll-snap-align: start; } }
.mod-art { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; }
.mod-art img { width: 200px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.mod-art h2 { margin-top: 6px; }
@media (max-width: 768px) { .mod-art { grid-template-columns: 1fr; } .mod-art img { width: 160px; } }
.bar-home { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid #6fd6e347; border-radius: 4px; background: var(--navy-lift); font: 800 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--white); text-decoration: none; }
.bar-home:hover, .bar-home:focus-visible { border-color: var(--teal-light); color: var(--teal-light); }
.bar-home[aria-current="page"] { border-color: var(--teal-light); }
.rail-home { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px; min-height: 44px; border-radius: 4px; font: 800 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--white); text-decoration: none; }
.rail-home:hover, .rail-home[aria-current="page"] { background: var(--navy-lift); color: var(--teal-light); }
.bar-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #ffffff10; }
.bar-progress span { display: block; height: 100%; width: 0; background: var(--rule); transition: width .6s ease; }

.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: calc(100vh - var(--bar)); }

/* Module rail */
.rail { position: sticky; top: var(--bar); align-self: start; height: calc(100vh - var(--bar)); overflow-y: auto; padding: 28px 18px 40px; border-right: 1px solid var(--line); }
.rail h2 { margin: 0 10px 14px; font: 800 11px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--teal-light); }
.rail ol { list-style: none; margin: 0; padding: 0; }
.rail a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 11px 10px; border-radius: 4px; text-decoration: none; color: var(--muted); font: 600 14px/1.3 var(--display); min-height: 44px; }
.rail a:hover { background: #ffffff08; color: var(--white); }
.rail a[aria-current="page"] { background: var(--navy-lift); color: var(--white); box-shadow: inset 3px 0 0 var(--teal); }
.rail .num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #6fd6e347; font: 800 12px var(--display); color: var(--teal-light); }
.rail .done .num { background: var(--teal); border-color: var(--teal); color: var(--navy-deep); }
.rail .done .num::before { content: "\2713"; }
.rail .done .num span { display: none; }
.rail-meta { margin: 26px 10px 0; padding-top: 18px; border-top: 1px solid var(--line); font: 500 13px/1.5 var(--display); color: #8ea6bd; }

main { min-width: 0; outline: none; }
main:focus, main:focus-visible { outline: none; }
.page { padding: 56px clamp(20px, 5vw, 72px) 96px; max-width: 1180px; }

/* Type */
.eyebrow { margin: 0 0 14px; font: 800 12px/1.2 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--teal-light); }
h1, h2, h3 { color: var(--white); font-family: var(--display); margin: 0; }
h1 { font-weight: 900; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.3; }
.sub { margin: 18px 0 0; font: italic 600 clamp(20px, 2vw, 26px)/1.35 var(--serif); background: var(--serif-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rule { height: 4px; width: 132px; margin: 26px 0 0; border: 0; border-radius: 2px; background: var(--rule); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 18px; text-wrap: pretty; }
.prose strong { color: var(--white); font-weight: 600; }
.lb { display: inline; }
.m-br { display: none; }
section.block { margin-top: 56px; }
section.block + section.block { padding-top: 48px; border-top: 1px solid var(--line); }
.page > .film + .film-note + section.block { margin-top: 48px; }
.otp-content > .film + .film-note + section.block { margin-top: 48px; }
section.block > .eyebrow + h2 { margin-bottom: 20px; }

/* Cover */
.cover { position: relative; min-height: calc(100vh - var(--bar)); display: grid; align-items: end; overflow: hidden; }
.cover-media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.cover-media figure { margin: 0; position: relative; overflow: hidden; }
.cover-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 18s ease-in-out infinite alternate; }
.cover-media figure:nth-child(2) img { animation-delay: -6s; }
.cover-media figure:nth-child(3) img { animation-delay: -12s; }
.cover-media figcaption { position: absolute; left: 24px; top: 24px; padding: 7px 10px; background: #0a233fb3; border-radius: 3px; font: 800 11px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 12px #000a; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0a233f00 0%, #0a233f22 30%, #0a233fb3 58%, #0a233ff7 80%, var(--navy) 100%); }
.cover-copy { position: relative; z-index: 2; padding: 0 clamp(20px, 5vw, 72px) 72px; max-width: 1100px; width: 100%; }
.cover-copy { container-type: inline-size; }
.cover-copy h1 { font-size: clamp(19px, 4.1cqi, 46px); line-height: 1.06; }
.cover-copy h1 .accent { background: var(--serif-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cover-chain { display: flex; align-items: center; gap: 0; margin: 30px 0 0; max-width: 620px; }
.cover-chain span { font: 800 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.cover-chain i { flex: 1; height: 3px; margin: 0 14px; border-radius: 2px; background: var(--rule); }
.cover-chain .c1 { color: var(--teal-light); } .cover-chain .c2 { color: var(--blue); } .cover-chain .c3 { color: var(--purple-light); }
.cover-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 34px 0 0; font: 600 14px/1.4 var(--display); color: var(--muted); }
.cover-meta b { color: var(--white); font-weight: 800; }
@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) { .cover-media img { animation: none; } html { scroll-behavior: auto; } }


/* Ad Studio legibility (method sections 3-4): eyebrow on top with halo, scrimT + topglow,
   3D extrude headline, drop-shadowed serif, every text element anchored. */
.cover::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,26,46,.88) 0%, rgba(6,26,46,0) 26%),
              radial-gradient(ellipse 58% 60% at 24% 62%, rgba(3,14,26,.62), transparent 72%); }
.cover-top { position: absolute; z-index: 3; top: 40px; left: clamp(20px, 5vw, 72px); }
.cover-divider { display: block; width: 64px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: var(--rule); box-shadow: 0 2px 10px rgba(0,0,0,.6); }
.cover-top .eyebrow { margin: 0; font-size: 14px; color: #8ef4ff; text-shadow: 0 2px 6px rgba(0,0,0,.7), 0 0 28px rgba(3,14,26,.9); }
.cover-copy h1 { text-shadow: 1px 1px 0 #061a2e, 2px 2px 0 #061a2e, 3px 3px 0 #061a2e, 4px 4px 0 #061a2e, 6px 8px 22px rgba(0,0,0,.62); }
.cover-copy h1 .accent { text-shadow: none; filter: drop-shadow(1px 1px 0 #061a2e) drop-shadow(2px 2px 0 #061a2e) drop-shadow(3px 3px 0 #061a2e) drop-shadow(6px 8px 16px rgba(0,0,0,.6)); }
.cover-copy .sub { line-height: 1.32; padding-bottom: 4px; filter: drop-shadow(0 5px 16px rgba(0,0,0,.75)); }
.cover-chain span, .cover-meta, .cover-media figcaption { text-shadow: 0 2px 6px rgba(0,0,0,.7), 0 0 24px rgba(3,14,26,.9); }
.cover-chain i { box-shadow: 0 2px 10px rgba(0,0,0,.6); }
.cover .btn { box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.cover .btn.ghost { background: rgba(6,26,46,.55); }
.cover-media figcaption { top: 96px; }
@media (max-width: 768px) {
  .cover::before { display: none; }
  .cover-top { position: static; padding: 24px 16px 0; }
  .cover-copy { padding-top: 14px; }
  .cover-media figcaption { top: auto; }
}

/* Review feedback (review version only) */
.fb-box { margin-top: 56px; padding: clamp(22px, 3vw, 32px); border-radius: 6px; background: #061a2e; border: 1px dashed #ffcd0080; }
.fb-box .eyebrow { color: var(--gold); }
.fb-box h2 { font-size: clamp(20px, 2vw, 26px); }
.fb-box p.hint { margin: 8px 0 0; max-width: 68ch; font-size: 16px; }
.fb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 18px; margin-top: 18px; }
.fb-grid .full { grid-column: 1 / -1; }
.fb-box label { display: block; font: 700 14px/1.3 var(--display); color: var(--white); }
.fb-box input, .fb-box select, .fb-box textarea { width: 100%; margin-top: 8px; padding: 12px 14px; min-height: 48px; border-radius: 4px; border: 1px solid #6fd6e347; background: var(--navy); color: var(--white); font: 400 17px/1.5 var(--serif); }
.fb-box textarea { min-height: 120px; resize: vertical; }
.fb-box .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-status { margin-top: 12px; min-height: 1.4em; font: 600 14px/1.5 var(--display); color: var(--teal-light); }
.fb-status.err { color: #f1a3a3; }
.rail .fb-link a { color: var(--gold); }
@media (max-width: 768px) { .fb-grid { grid-template-columns: 1fr; } }

/* Artwork */
.artwork { padding-top: 24px; }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.art-grid figure { margin: 0; }
.art-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 55px #03132280; }
.art-grid figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; margin-top: 10px; font: 700 14px var(--display); color: var(--white); }
.art-grid a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--teal-light); }
@media (max-width: 768px) { .art-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 4px; background: var(--teal); color: #041b2c; font: 800 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #19b8c4; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px #6fd6e366; }
.btn.ghost:hover { background: #ffffff0a; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Module header */
.mod-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
/* 10/1/26 (Nick: the numbers were cut off): background-clip: text paints only inside the box, and the /.8 line height
   makes the box shorter than the digit. Padding widens the painted area; the negative margin keeps the layout. */
.mod-num { margin: -.12em -.04em; padding: .12em .04em; font: 900 clamp(64px, 9vw, 120px)/.8 var(--display); background: var(--rule); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }
.mod-time { margin-top: 18px; font: 600 13px/1 var(--display); letter-spacing: .08em; color: #8ea6bd; }

/* Film */
.film { position: relative; margin: 44px 0 0; border-radius: 6px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px #03132280; }
.film img, .film video { width: 100%; height: 100%; object-fit: cover; }
.film .shade { position: absolute; inset: 0; background: linear-gradient(0deg, #0a233fe6, #0a233f10 55%); }
.film .label { position: absolute; left: 28px; bottom: 26px; right: 28px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.film .label h3 { font: 900 clamp(20px, 2.4vw, 30px)/1.1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.film .label p { margin: 6px 0 0; font: italic 500 17px var(--serif); color: var(--muted); }
.film .play { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); cursor: pointer; box-shadow: 0 10px 30px #0007; }
.film .play svg { width: 26px; height: 26px; margin-left: 4px; }
.film .soon { flex: none; padding: 10px 14px; border-radius: 3px; background: #0a233fcc; border: 1px solid #6fd6e347; font: 800 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--teal-light); }
.film-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin: 12px 2px 0; font: 500 13px/1.5 var(--display); color: #8ea6bd; }
.film-dl { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.film-dl a { display: inline-flex; align-items: center; min-height: 44px; font: 700 13px var(--display); letter-spacing: .06em; color: var(--teal-light); }

/* The chain reveal */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-radius: 6px; overflow: hidden; }
.link { position: relative; min-height: 420px; border: 0; padding: 0; background: #061a2e; cursor: pointer; text-align: left; overflow: hidden; }
.link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; filter: blur(6px); transform: scale(1.08); transition: opacity .9s ease, filter .9s ease, transform 1.4s ease; }
.link .veil { position: absolute; inset: 0; background: linear-gradient(0deg, #061a2ef2 5%, #061a2e33 60%); }
.link .txt { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.link .role { font: 800 11px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.link h3 { margin-top: 10px; font: 800 22px/1.2 var(--display); }
.link p { margin: 8px 0 0; font: 400 16px/1.5 var(--serif); color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s ease, opacity .8s ease; }
.link .tap { display: inline-block; margin-top: 12px; font: 700 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.link[aria-pressed="true"] img { opacity: 1; filter: none; transform: scale(1); }
.link[aria-pressed="true"] p { max-height: 220px; opacity: 1; }
.link[aria-pressed="true"] .tap { display: none; }
.link:disabled { cursor: default; }
.link:disabled .tap { display: none; }
.link:nth-child(1) .role { color: var(--teal-light); }
.link:nth-child(2) .role { color: var(--blue); }
.link:nth-child(3) .role { color: var(--purple-light); }
.chain-rule { height: 4px; background: var(--rule); transform-origin: left; transform: scaleX(0); transition: transform 1.2s ease; }
.chain-rule.on { transform: scaleX(1); }
.chain-close { display: none; margin-top: 28px; }
.chain-close.on { display: block; animation: rise .8s ease .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Cards and lists */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--navy-lift); border: 1px solid #6fd6e347; border-radius: 4px; padding: 22px 22px 20px; box-shadow: 0 20px 55px #03132259; position: relative; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--teal); border-radius: 4px 0 0 4px; }
.card h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.card p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; }
.card .k { display: block; font: 900 30px/1 var(--display); color: var(--teal-light); margin-bottom: 12px; }
.reveal-list { counter-reset: r; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.reveal-list li { counter-increment: r; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 18px 20px; background: var(--navy-lift); border: 1px solid #6fd6e330; border-radius: 4px; }
.reveal-list li::before { content: counter(r, decimal-leading-zero); font: 900 22px/1.2 var(--display); color: var(--teal-light); }
.reveal-list li > div { min-width: 0; }
.reveal-list b { display: block; font: 800 16px/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--white); }
.reveal-list span { display: block; margin-top: 6px; font-size: 17px; line-height: 1.55; max-width: 72ch; }
.reveal-list { grid-template-columns: 1fr 1fr; }
@media (max-width: 1024px) { .reveal-list { grid-template-columns: 1fr; } }
.plain { margin: 16px 0 0; padding-left: 22px; }
.plain li { margin: 6px 0; }
.plain li::marker { color: var(--teal-light); }

/* Equation */
.equation { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; font: 800 clamp(15px, 1.6vw, 19px)/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--white); }
.equation span { padding: 16px 18px; border-radius: 4px; background: var(--navy-lift); border: 1px solid #6fd6e347; }
.equation i { font-style: normal; color: var(--teal-light); font-size: 1.4em; }
.equation .result { background: var(--rule); color: var(--navy-deep); border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { padding: 8px 12px; border-radius: 999px; border: 1px solid #6fd6e347; font: 700 13px var(--display); color: var(--white); }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.compare > div { padding: 24px; border-radius: 4px; background: var(--navy-lift); border: 1px solid #ffffff14; }
.compare .no { opacity: .85; }
.compare .yes { border-color: #6fd6e380; box-shadow: inset 0 3px 0 var(--teal); }
.compare .tag { font: 800 11px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.compare .no .tag { color: #f1a3a3; } .compare .yes .tag { color: var(--teal-light); }
.compare q { display: block; margin-top: 14px; font: italic 500 19px/1.5 var(--serif); color: var(--white); quotes: "\201C" "\201D"; }

/* Scenario */
.scenario { margin-top: 28px; padding: clamp(22px, 3vw, 36px); border-radius: 6px; background: linear-gradient(180deg, #0e2c50, #0b2644); border: 1px solid #6fd6e347; }
.scenario .prompt { font: italic 600 clamp(20px, 2.2vw, 26px)/1.4 var(--serif); color: var(--white); margin: 12px 0 0; }
.scenario .ctx { margin: 10px 0 0; max-width: var(--measure); }
.options { display: grid; gap: 10px; margin-top: 22px; }
.opt { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; width: 100%; min-height: 56px; padding: 14px 16px; border-radius: 4px; border: 1px solid #ffffff1f; background: #061a2e80; text-align: left; font: 400 17px/1.5 var(--serif); color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover:not(:disabled) { border-color: var(--teal-light); background: #061a2e; color: var(--white); }
.opt .letter { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #6fd6e366; font: 800 13px var(--display); color: var(--teal-light); }
.opt:disabled { cursor: default; }
.opt.right { border-color: var(--teal); background: #00a2ae1f; color: var(--white); }
.opt.right .letter { background: var(--teal); color: var(--navy-deep); border-color: var(--teal); }
.opt.wrong { border-color: #f1a3a399; }
.opt.wrong .letter { border-color: #f1a3a3; color: #f1a3a3; }
.feedback { margin-top: 18px; padding: 18px 20px; border-radius: 4px; background: #061a2e; border-left: 4px solid var(--teal); font-size: 17px; color: var(--white); }
.feedback .verdict { display: block; font: 800 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 8px; }
.feedback.miss { border-left-color: var(--gold); }
.feedback.miss .verdict { color: var(--gold); }
.values-shown { margin-top: 10px; font: 700 13px/1.4 var(--display); color: var(--blue); letter-spacing: .04em; }

/* Takeaway */
.takeaway { margin-top: 56px; padding: 44px clamp(22px, 4vw, 52px); border-radius: 6px; background: radial-gradient(circle at 90% 0%, #73308a40, transparent 55%), var(--navy-deep); border: 1px solid #6fd6e330; }
.takeaway blockquote { margin: 14px 0 0; font: italic 600 clamp(24px, 3vw, 38px)/1.3 var(--serif); color: var(--white); max-width: 28ch; text-wrap: balance; }
.takeaway hr { height: 4px; width: 132px; margin: 26px 0 0; border: 0; border-radius: 2px; background: var(--rule); }

/* Reflection */
.reflect label { display: block; margin-top: 22px; font: 700 16px/1.4 var(--display); color: var(--white); }
.reflect textarea, .field input { width: 100%; margin-top: 10px; padding: 14px 16px; border-radius: 4px; border: 1px solid #6fd6e347; background: #061a2e; color: var(--white); font: 400 17px/1.5 var(--serif); resize: vertical; }
.reflect textarea { min-height: 96px; }
.reflect .saved { margin-top: 8px; font: 600 13px var(--display); color: #8ea6bd; min-height: 1.2em; }

/* SERVE */
.serve { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 24px; }
.serve div { padding: 22px 18px; border-radius: 4px; background: var(--navy-lift); border: 1px solid #6fd6e347; }
.serve .L { display: block; font: 900 54px/1 var(--display); background: var(--rule); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serve b { display: block; margin-top: 12px; font: 800 15px/1.25 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--white); }
.serve span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; }
.vtable { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 17px; }
.vtable th { text-align: left; padding: 14px 16px; background: #12365f; font: 800 12px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-light); border-bottom: 2px solid var(--teal); }
.vtable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vtable td:first-child { color: var(--white); font: 700 15px/1.4 var(--display); white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* Score + certificate */
.score { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 24px; border-radius: 6px; background: var(--navy-deep); border: 1px solid #6fd6e347; }
.score .big { font: 900 54px/1 var(--display); color: var(--white); }
.cert { position: relative; margin-top: 32px; padding: clamp(28px, 5vw, 64px); border-radius: 6px; background: radial-gradient(circle at 88% 10%, #73308a55, transparent 45%), radial-gradient(circle at 6% 94%, #00a2ae45, transparent 45%), var(--navy-deep); border: 1px solid #6fd6e366; text-align: center; }
.cert img { width: 220px; margin: 0 auto; }
.cert .who { margin: 26px 0 0; font: italic 600 clamp(30px, 4vw, 48px)/1.2 var(--serif); color: var(--white); min-height: 1.2em; }
.cert h2 { margin-top: 20px; }
.cert .rule { margin: 22px auto 0; }
.cert p { margin: 18px auto 0; max-width: 46ch; }
.field { max-width: 420px; }
.field label { font: 700 15px var(--display); color: var(--white); }
.locked { padding: 22px; border-radius: 4px; background: #061a2e; border: 1px dashed #6fd6e366; }

.next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.next small { font: 600 13px var(--display); color: #8ea6bd; }

.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 22px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); font: 500 13px/1.5 var(--display); color: #7f98b0; }

/* Responsive */
@media (max-width: 1024px) {
  :root { --rail: 250px; }
  .serve { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .shell { grid-template-columns: 1fr; }
  .bar { padding: 0 16px; gap: 12px; }
  .bar-brand img { width: 120px; }
  .bar-title { display: none; }
  .bar-home { min-height: 44px; }
  .bar-menu { display: inline-block; }
  .rail { position: fixed; top: var(--bar); left: 0; right: 0; bottom: 0; height: auto; z-index: 15; background: var(--navy-deep); transform: translateX(-100%); transition: transform .25s ease; border-right: 0; }
  .rail.open { transform: none; }
  .page { padding: 36px 16px 72px; }
  .cover { display: block; min-height: 0; }
  .cover::after { display: none; }
  .cover-media { position: relative; height: 240px; grid-template-columns: 1fr 1fr 1fr; }
  .cover-media figcaption { left: 8px; top: auto; bottom: 8px; padding: 5px 7px; font-size: 9px; letter-spacing: .14em; }
  .cover-copy { padding: 28px 16px 48px; }
  .chain { grid-template-columns: 1fr; }
  .link { min-height: 300px; }
  .compare { grid-template-columns: 1fr; }
  .serve { grid-template-columns: 1fr 1fr; }
  .mod-head { grid-template-columns: 1fr; gap: 8px; }
  .lb { display: none; }
  .m-br { display: inline; }
  .cover-copy h1 { font-size: 27px; }
  .film .label { left: 16px; right: 16px; bottom: 14px; }
  .film .label p { display: none; }
  .film .play { width: 56px; height: 56px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .serve { grid-template-columns: 1fr; }
  .cover-chain span { font-size: 10px; letter-spacing: .14em; }
}

@media print {
  body { background: #fff; }
  .bar, .rail, .foot, .next, .field, .no-print, .otp { display: none !important; }
  .shell { display: block; }
  .page { padding: 0; }
  .cert { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Lesson area refinements (Nick review 9/29/26): center the lesson column beside the rail; center takeaways. */
.page { margin-left: auto; margin-right: auto; }
.takeaway { text-align: center; }
.takeaway blockquote { margin-left: auto; margin-right: auto; max-width: 30ch; }
.takeaway hr { margin-left: auto; margin-right: auto; }
.fb-status:empty { display: none; }

/* On-this-page navigation for module lesson cards. */
.otp { display: none; }
@media (min-width: 1280px) {
  .page.otp-page { max-width: 1380px; padding-left: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
  .otp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 48px; align-items: start; }
  .otp { display: block; position: sticky; top: calc(var(--bar) + 24px); padding: 14px 12px 12px; border-left: 1px solid var(--line); }
  .otp-h { margin: 0 0 10px; padding-left: 8px; color: var(--teal-light); font: 900 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
  .otp ol { margin: 0; padding: 0; list-style: none; }
  .otp li { margin: 2px 0; }
  .otp button { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; padding: 7px 8px; color: var(--muted); background: transparent; border: 0; border-radius: 6px; font: 700 14px/1.3 var(--display); text-align: left; cursor: pointer; }
  .otp button:hover { color: var(--white); background: #ffffff0d; }
  .otp-num { display: grid; place-items: center; width: 22px; height: 22px; color: var(--teal-light); border: 1px solid var(--line); border-radius: 50%; font-size: 11px; font-weight: 900; }
  .otp button.on { color: var(--white); background: var(--navy-lift); box-shadow: inset 2px 0 0 var(--teal); }
  .otp button.on .otp-num { color: var(--navy-deep); background: var(--teal); border-color: var(--teal); }
}

/* Cover, revision 3 (Nick 9/29/26). Ad Studio layer order: plate, top scrim + glow behind the
   labels and eyebrow, then a bottom underlay that rises from the text block into the photos.
   The photo zone is guaranteed (text can never climb into faces); a short screen grows the page instead. */
.cover { display: grid; grid-template-rows: minmax(clamp(240px, 38vh, 460px), 1fr) auto; align-items: end; min-height: calc(100vh - var(--bar)); }
.cover::after { background: none; }
.cover::before { background: linear-gradient(180deg, rgba(6,26,46,.92) 0%, rgba(6,26,46,.55) 12%, rgba(6,26,46,0) 30%),
  radial-gradient(ellipse 50% 34% at 18% 6%, rgba(3,14,26,.6), transparent 72%); }
.cover-media figcaption { top: 22px; }
.cover-top { top: 74px; }
.cover-copy { grid-row: 2; padding-bottom: 44px; isolation: isolate; }
.cover-copy::before { content: ""; position: absolute; z-index: -1; left: -3000px; right: -3000px; top: -240px; bottom: 0;
  background: linear-gradient(180deg, rgba(10,35,63,0) 0%, rgba(10,35,63,.72) 110px, rgba(10,35,63,.9) 240px, rgba(10,35,63,.97) 100%); }
.cover-copy h1 { font-size: clamp(19px, 3.6cqi, 40px); }
.cover-chain { margin-top: 20px; }
.cover-copy .sub { margin-top: 16px; }
.cover .actions { margin-top: 18px; }
.cover-meta { margin-top: 18px; gap: 8px 24px; }
@media (max-width: 768px) {
  .cover { display: block; min-height: 0; }
  .cover::before { display: none; }
  .cover-copy::before { display: none; }
  .cover-media figcaption { top: 8px; bottom: auto; }
  .cover-copy { padding-bottom: 36px; }
}
.cover-media figcaption { z-index: 4; background: rgba(6,26,46,.78); }

/* ---------- interactive layer (9/29/26) ---------- */
.badge { display: inline-grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: #061a2e; border: 2px solid #ffffff1f; }
.badge svg { width: 30px; height: 30px; fill: none; stroke: #5d7389; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge.on { background: radial-gradient(circle at 30% 25%, #0e3b5c, #061a2e 70%); border: 2px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 2px #00a2ae, 0 0 0 5px #73308a55, 0 10px 26px #00000066; }
.badge.on svg { stroke: #f7fbff; }
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.journey figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 10px; border-radius: 6px; background: var(--navy-lift); border: 1px solid #6fd6e326; }
.journey figcaption b { display: block; font: 800 13px/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--white); }
.journey figcaption span { display: block; margin-top: 4px; font: 600 12px/1.4 var(--display); color: #8ea6bd; }
.journey.compact figure { padding: 14px 8px; }
.journey.compact .badge { width: 52px; height: 52px; }
.journey.compact .badge svg { width: 24px; height: 24px; }
.home-journey { padding-top: 40px; padding-bottom: 8px; }
.home-journey h2 { margin-top: 2px; }
.tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cert .journey { margin: 30px auto 0; max-width: 720px; }
.cert .journey figure { background: transparent; border: 0; padding: 4px; }
.cert-plan { margin: 26px auto 0; max-width: 640px; text-align: left; }
.cert-plan ol, .plan-list { margin: 10px 0 0; padding-left: 22px; }
.cert-plan li, .plan-list li { margin: 8px 0; color: var(--white); }
.plan-list li::marker { color: var(--teal-light); font-weight: 800; }

.try { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 56px; padding: 26px clamp(20px, 3vw, 34px); border-radius: 6px; background: linear-gradient(90deg, #00a2ae26, #73308a26); border: 1px solid #6fd6e359; }
.try > div { flex: 1 1 420px; }
.try .eyebrow { margin-bottom: 8px; }
.try-text { margin: 0; font: italic 600 clamp(19px, 1.8vw, 23px)/1.45 var(--serif); color: var(--white); max-width: 62ch; }
.try .btn[aria-pressed="true"] { background: var(--teal); color: #041b2c; }

.deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.flip { position: relative; min-height: 190px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; text-align: left; }
.flip .face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px; border-radius: 6px; backface-visibility: hidden; transition: transform .5s ease; }
.flip .front { background: #061a2e; border: 1px solid #f1a3a355; }
.flip .back { background: var(--navy-lift); border: 1px solid #6fd6e380; box-shadow: inset 0 3px 0 var(--teal); transform: rotateY(180deg); }
.flip[aria-pressed="true"] .front { transform: rotateY(-180deg); }
.flip[aria-pressed="true"] .back { transform: rotateY(0); }
.flip .tag { font: 800 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.flip .front .tag { color: #f1a3a3; } .flip .back .tag { color: var(--teal-light); }
.flip q { quotes: "\201C" "\201D"; font: italic 600 17px/1.45 var(--serif); color: var(--white); }
.flip .hint { font: 700 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .flip .face { transition: none; } }

.sim { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; margin-top: 24px; padding: clamp(18px, 2.4vw, 28px); border-radius: 6px; background: linear-gradient(180deg, #0e2c50, #0b2644); border: 1px solid #6fd6e347; }
.sim-side { position: sticky; top: calc(var(--bar) + 16px); align-self: start; }
.sim-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; box-shadow: 0 20px 50px #03132280; }
.sim-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
.mood { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mood span { height: 8px; border-radius: 4px; background: #ffffff1a; transition: background .4s ease; }
.mood span.on { background: var(--rule); }
.mood-label { margin: 8px 0 0; font: 800 15px var(--display); color: var(--white); }
.sim-step { margin: 4px 0 0; font: 600 13px var(--display); color: #8ea6bd; }
.sim-talk { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bub { max-width: 86%; margin: 0; padding: 12px 16px; border-radius: 14px; font-size: 17px; line-height: 1.5; color: var(--white); }
.bub b { display: block; margin-bottom: 3px; font: 800 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.bub.them { align-self: flex-start; background: #12365f; border-bottom-left-radius: 4px; }
.bub.them b { color: var(--blue); }
.bub.you { align-self: flex-end; background: #00a2ae33; border: 1px solid #00a2ae80; border-bottom-right-radius: 4px; }
.bub.you b { color: var(--teal-light); }
.bub.now { box-shadow: 0 0 0 2px #8fc0e6aa; }
.sim-ctx { margin: 6px 0 0; font: 700 13px/1.5 var(--display); letter-spacing: .06em; color: #8ea6bd; text-transform: uppercase; }
.sim-why { margin: 0 0 8px; padding: 10px 14px; border-left: 3px solid #ffffff33; font-size: 15px; color: var(--muted); }
.sim-why.good { border-left-color: var(--teal); } .sim-why.miss { border-left-color: var(--gold); }
.sim-why b { color: var(--white); }
.sim-opts { display: grid; gap: 10px; margin-top: 8px; }
.sim-end { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 12px; padding: 20px; border-radius: 6px; background: #061a2e; border: 1px solid #6fd6e347; }
.sim-end img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.sim-end h3 { font-size: clamp(20px, 2vw, 26px); }
.sim-end p { margin: 10px 0 16px; }

#toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-width: min(420px, calc(100vw - 32px)); padding: 16px 20px; border-radius: 8px; background: #061a2ef2; border: 1px solid #6fd6e380; box-shadow: 0 20px 50px #000a; font: 500 14px/1.4 var(--display); color: var(--muted); transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
#toast.show { transform: none; opacity: 1; }
#toast b { display: block; font: 800 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
#toast .badge { width: 46px; height: 46px; } #toast .badge svg { width: 22px; height: 22px; }

@media (max-width: 1024px) { .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sim { grid-template-columns: 1fr; }
  .sim-side { position: static; display: grid; grid-template-columns: 120px 1fr; gap: 0 16px; align-items: center; }
  .sim-photo { grid-row: span 4; }
  .sim-end { grid-template-columns: 1fr; }
  .bub { max-width: 100%; }
}
@media (max-width: 480px) { .deck { grid-template-columns: 1fr; } .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print { .cert .journey figure { break-inside: avoid; } #toast { display: none; } }

/* ---------- v4 (9/29/26) ---------- */
.review-note { margin: 14px 0 0; padding: 10px 14px; border: 1px dashed #ffcd00aa; border-radius: 4px; background: #ffcd000f; font: 600 14px/1.5 var(--display); color: #ffe27a; max-width: 68ch; }
.review-note b { display: block; font: 800 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 12px; margin-top: 14px; }
.card-answer { margin-top: 12px; padding-top: 12px; border-top: 1px solid #6fd6e330; }
.card-answer > p { margin: 0; color: var(--white); font-size: 16px; }
.tpl { margin: 20px 0 0; border-radius: 6px; background: #061a2e; border: 1px solid #6fd6e347; overflow: hidden; }
.tpl figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; background: #12365f; font: 800 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); }
.tpl figcaption .btn { margin: 0; }
.tpl pre { margin: 0; padding: 18px; white-space: pre-wrap; font: 400 16px/1.6 var(--serif); color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 36px; position: sticky; top: calc(var(--bar) + 8px); z-index: 5; padding: 8px; border-radius: 8px; background: #061a2eee; border: 1px solid #6fd6e333; }
.step-tab { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font: 700 14px/1.2 var(--display); text-align: left; cursor: pointer; }
.step-tab span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #6fd6e366; font-weight: 800; font-size: 12px; color: var(--teal-light); }
.step-tab[aria-current="step"] { background: var(--navy-lift); color: var(--white); box-shadow: inset 0 -3px 0 var(--teal); }
.step-tab[aria-current="step"] span { background: var(--teal); color: #041b2c; border-color: var(--teal); }
.step { display: none; }
.step.on { display: block; animation: rise .4s ease both; }
.step-next { justify-content: flex-end; }
.checks { margin: 0; padding-left: 0; list-style: none; }
.checks li { margin: 6px 0; padding-left: 28px; position: relative; color: var(--white); }
.checks li::before { content: "\25CB"; position: absolute; left: 0; color: #8ea6bd; }
.checks li.ok::before { content: "\2713"; color: var(--teal-light); font-weight: 800; }
.hint-line { margin: 6px 0 0; font: 600 13px var(--display); color: #8ea6bd; }
.fb-wrap { margin-top: 48px; }
.fb-wrap > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 4px; border: 1px dashed #ffcd0080; color: var(--gold); font: 700 13px var(--display); letter-spacing: .08em; cursor: pointer; list-style: none; }
.fb-wrap > summary::-webkit-details-marker { display: none; }
.fb-wrap[open] > summary { margin-bottom: 0; }
.fb-wrap .fb-box { margin-top: 14px; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr 1fr; top: calc(var(--bar) + 4px); } .step-tab { font-size: 13px; } }

.steps { top: var(--bar); border-radius: 0 0 8px 8px; }
@media (max-width: 768px) { .steps { top: var(--bar); } }
.pack-group { margin: 32px 0 0; font: 800 13px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-light); }
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 14px 0 0; padding: 0; list-style: none; }
.pack-grid a { display: flex; flex-direction: column; gap: 6px; color: var(--white); text-decoration: none; }
.pack-grid img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.pack-grid span { font: 700 14px/1.25 var(--display); }
.pack-grid small { font: 600 14px/1 var(--display); color: var(--teal-light); }
@media (max-width: 768px) { .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
