/* ============================================================
   Nurse AI OS — shared design system
   Palette: night-shift navy, scrub teal, lamplight gold, warm linen
   Voice: calm, warm, competent — a well-run unit, not a tech demo
   ============================================================ */

:root {
  --navy-900: #0e1f33;
  --navy-800: #16304a;
  --navy-700: #1f3d5c;
  --teal-600: #17807e;
  --teal-500: #1d9c99;
  --teal-100: #e2f3f2;
  --gold-500: #d9a441;
  --gold-300: #ecc87f;
  --gold-100: #faf0da;
  --linen-50: #faf7f1;
  --linen-100: #f3eee4;
  --ink-900: #22303f;
  --ink-600: #4c5b6a;
  --white: #ffffff;
  --rose-600: #b25d68;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(14, 31, 51, .08);
  --shadow-md: 0 6px 20px rgba(14, 31, 51, .10);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--linen-50);
}

.skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 1000;
  transform: translateY(-160%); padding: .65rem 1rem; border-radius: 8px;
  background: var(--gold-300); color: var(--navy-900); font-weight: 800;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: none !important;
  outline: 3px solid var(--teal-600);
  outline-offset: 2px;
}

/* Decorative nursing-sketch background for the public front door and pathways.
   A strong cream veil keeps the supplied clinical collage contextual—not
   instructional—and protects text contrast while the artwork stays visible. */
body.clinical-sketch-page {
  background-color: var(--linen-50);
  background-image:
    linear-gradient(rgba(250, 247, 241, .78), rgba(250, 247, 241, .78)),
    url("img/nurse-clinical-sketch-background.jpg");
  background-position: center top, center top;
  background-size: auto, min(880px, 100vw) auto;
  background-repeat: repeat, repeat;
  background-attachment: scroll, fixed;
}
body.clinical-sketch-page .section {
  background-color: transparent;
}
body.clinical-sketch-page .section-alt {
  background: rgba(243, 238, 228, .54);
}
body.clinical-sketch-page .section-navy {
  background: var(--navy-900);
}

/* More-visible calm nurse portrait for Start Here and Resources. The source
   artwork is already pale; a lighter veil preserves its presence without
   competing with headings, controls, or opaque content cards. */
body.calm-clinical-page {
  background-color: var(--linen-50);
  background-image:
    linear-gradient(rgba(250, 247, 241, .58), rgba(250, 247, 241, .58)),
    url("img/nurse-calm-clinical-background-v2.jpg");
  background-position: center top, center top;
  background-size: auto, min(920px, 100vw) auto;
  background-repeat: repeat, repeat;
  background-attachment: scroll, fixed;
}
body.calm-clinical-page .section {
  background-color: transparent;
}
body.calm-clinical-page .section-alt {
  background: rgba(243, 238, 228, .34);
}
body.calm-clinical-page .section-navy {
  background: var(--navy-900);
}

/* Clinical judgment background for FAQ and Nurse Station. The requested 40%
   cream veil leaves the artwork prominent; white FAQ and bulletin cards carry
   the reading surface while navy heroes and footers remain solid. */
body.judgment-clinical-page {
  background-color: var(--linen-50);
  background-image:
    linear-gradient(rgba(250, 247, 241, .40), rgba(250, 247, 241, .40)),
    url("img/nurse-judgment-station-background.jpg");
  background-position: center top, center top;
  background-size: auto, min(960px, 100vw) auto;
  background-repeat: repeat, repeat;
  background-attachment: scroll, fixed;
}
body.judgment-clinical-page .section {
  background-color: transparent;
}
body.judgment-clinical-page .section-alt {
  background: rgba(243, 238, 228, .22);
}
body.judgment-clinical-page .section-navy {
  background: var(--navy-900);
}

img { max-width: 100%; height: auto; border-radius: var(--radius); }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 600; margin: .4em 0; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 600; margin: 0 0 .5em; }
h3 { font-size: 1.22rem; font-weight: 600; margin: 0 0 .4em; }

a { color: var(--teal-600); }
a:hover { color: var(--navy-800); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--navy-900);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 1.25rem; max-width: 1160px; margin: 0 auto;
  flex-wrap: wrap;
}
.brand {
  color: var(--gold-300); text-decoration: none;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
}
.brand .lamp { font-size: 1.3rem; }
.nav-links { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: #dbe6ef; text-decoration: none; font-size: .97rem; padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a.active { color: var(--gold-300); border-bottom-color: var(--gold-500); }
.nav-cta {
  background: var(--gold-500); color: var(--navy-900) !important;
  padding: .45rem 1rem !important; border-radius: 999px; font-weight: 700;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--gold-300); }

.new-here-bar {
  background: var(--gold-100);
  border-bottom: 1px solid rgba(14, 31, 51, .14);
  color: var(--navy-900);
}
.new-here-inner {
  max-width: 1160px; margin: 0 auto; padding: .48rem 1.25rem;
  display: flex; justify-content: center; align-items: center; gap: .45rem;
  font-size: .94rem; line-height: 1.35; text-align: center;
}
.new-here-inner a {
  min-height: 44px; display: inline-flex; align-items: center;
  font-weight: 800; color: var(--teal-600);
}
.new-here-inner a:focus-visible {
  outline: 3px solid var(--teal-600); outline-offset: 3px; border-radius: 3px;
}
@media (max-width: 540px) {
  .new-here-inner { align-items: flex-start; flex-direction: column; gap: .05rem; }
}

/* ---------- Secondary language navigation ---------- */
.language-nav {
  direction: ltr;
  background: rgba(250, 247, 241, .97);
  border-bottom: 1px solid rgba(14, 31, 51, .12);
  box-shadow: 0 2px 8px rgba(14, 31, 51, .06);
}
.language-nav-inner {
  max-width: 1160px; margin: 0 auto; padding: .58rem 1.25rem;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  overflow-x: auto; scrollbar-width: thin;
}
.language-nav-label {
  color: var(--ink-600); font-size: .78rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  margin-right: .2rem;
}
.language-chip {
  color: var(--white) !important; text-decoration: none;
  border-radius: 999px; padding: .35rem .78rem;
  font-size: .83rem; font-weight: 800; line-height: 1.2; white-space: nowrap;
  border: 2px solid transparent; box-shadow: 0 1px 2px rgba(14, 31, 51, .12);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.language-chip:hover { transform: translateY(-1px); filter: brightness(1.08); }
.language-chip:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.language-chip.is-active {
  border-color: var(--white); box-shadow: 0 0 0 3px var(--gold-500), 0 2px 5px rgba(14, 31, 51, .18);
}
.language-en { background: #315b7d; }
.language-es { background: #a44759; }
.language-tl { background: #0f766e; }
.language-zh { background: #a65b18; }
.language-ar { background: #6f3f63; }
.language-vi { background: #3f6b4f; }
.language-ru { background: #53657d; }
.language-hi { background: #4f46a5; }
.language-fr { background: #674a8f; }

html[lang="ar"] body {
  font-family: "Noto Sans Arabic", var(--font-body);
}
html[lang="hi"] body {
  font-family: "Noto Sans Devanagari", var(--font-body);
}
html[lang="ar"] .offer-table th,
html[lang="ar"] .offer-table td { text-align: right; }
html[lang="ar"] .offer-table td:last-child { text-align: left; }
html[lang="ar"] details.faq summary::after { right: auto; left: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: .8rem 1.7rem; font-size: 1.05rem;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { color: var(--navy-900); }
.btn-secondary {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.55);
}
.btn-secondary:hover { color: var(--gold-300); border-color: var(--gold-300); }
.btn-quiet { background: var(--teal-100); color: var(--teal-600); }
.btn-sm { padding: .5rem 1.15rem; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #1c4258 100%);
  color: #e8eef4; padding: 4.5rem 0 4rem;
}
.hero .kicker {
  color: var(--gold-300); text-transform: uppercase; letter-spacing: .14em;
  font-size: .85rem; font-weight: 700;
}
.hero h1 { color: var(--white); }
.hero .lede { font-size: 1.2rem; max-width: 620px; color: #ccd9e4; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.6rem 0 1rem; }
.hero-note { font-size: .95rem; color: #a9bccb; }
.hero-note strong { color: var(--gold-300); }

/* ---------- Our Intent ---------- */
.our-intent {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--navy-900), #173b57 60%, #0b6f73);
  color: #e8eef4;
}
.our-intent .container { max-width: 820px; }
.our-intent h2 { color: var(--white); margin-bottom: 1.35rem; }
.our-intent p { color: #d7e2eb; }
.our-intent-lead {
  margin-top: 1.5rem;
  color: var(--gold-300) !important;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}
.our-intent-glossary {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(236, 200, 127, .42);
}
.our-intent-glossary h3 {
  margin: 0 0 1rem;
  color: var(--gold-300) !important;
  font-weight: 700;
}
.our-intent-glossary dl { margin: 0; }
.our-intent-glossary dt {
  margin-top: 1rem;
  color: var(--white);
  font-weight: 700;
}
.our-intent-glossary dt:first-child { margin-top: 0; }
.our-intent-glossary dd {
  margin: .35rem 0 0;
  color: #d7e2eb;
}

/* ---------- The Steward's Charter ---------- */
.stewards-charter {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  color: #e8eef4;
  background:
    radial-gradient(circle at 12% 10%, rgba(236, 200, 127, .16), transparent 30rem),
    radial-gradient(circle at 88% 90%, rgba(29, 156, 153, .15), transparent 34rem),
    linear-gradient(155deg, #091624 0%, var(--navy-900) 48%, #122c3e 100%);
  border-top: 1px solid rgba(236, 200, 127, .48);
  border-bottom: 1px solid rgba(236, 200, 127, .34);
}
.charter-shell {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(145deg, rgba(22, 48, 74, .92), rgba(9, 22, 36, .96));
  border: 1px solid rgba(236, 200, 127, .42);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(2, 10, 18, .42), inset 0 0 0 1px rgba(255,255,255,.035);
}
.charter-shell::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(236, 200, 127, .16);
  border-radius: 20px;
  pointer-events: none;
}
.charter-header { position: relative; text-align: center; margin: 0 auto 3rem; }
.charter-lamp {
  line-height: 1;
  margin: 0 auto 1.1rem;
  font-size: 2.25rem;
  filter: drop-shadow(0 0 14px rgba(217, 164, 65, .42));
}
.charter-kicker {
  margin: 0 0 .45rem;
  color: var(--gold-300);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.charter-header h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.3rem, 6vw, 4.3rem);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.charter-subtitle {
  margin: .45rem 0 0;
  color: #b9cad8;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-style: italic;
  text-wrap: balance;
}
.charter-opening,
.charter-responsibility,
.charter-future { position: relative; max-width: 760px; margin: 0 auto; }
.charter-opening > p:first-child { font-size: 1.17rem; color: #d7e2eb; }
.charter-question {
  margin: 2.2rem 0;
  padding: 1.5rem 1.7rem;
  background: rgba(9, 22, 36, .62);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 12px 12px 0;
}
.charter-question p { margin: 0; }
.charter-question p + p { margin-top: .5rem; color: var(--white); font-size: 1.16rem; }
.charter-responsibility {
  margin-top: 2.6rem;
  padding-top: 2.6rem;
  border-top: 1px solid rgba(236, 200, 127, .2);
  color: #c9d7e2;
}
.charter-responsibility p { margin: 0 0 .9rem; }
.charter-responsibility .charter-we-do {
  margin: 1.4rem 0 .25rem;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
}
.charter-covenant {
  position: relative;
  display: grid;
  gap: .8rem;
  max-width: 800px;
  margin: 3rem auto;
}
.charter-covenant p {
  margin: 0;
  padding: 1rem 1.25rem;
  color: #d8e3eb;
  background: rgba(226, 243, 242, .055);
  border: 1px solid rgba(226, 243, 242, .12);
  border-radius: 12px;
}
.charter-covenant span { color: var(--gold-300); font-weight: 700; }
.charter-doctrine {
  position: relative;
  margin: 3.8rem auto;
  padding: clamp(2rem, 5vw, 3.6rem);
  text-align: center;
  background: linear-gradient(145deg, rgba(243, 238, 228, .98), rgba(250, 247, 241, .94));
  border: 2px solid var(--gold-500);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.charter-doctrine::before {
  content: "✦";
  position: absolute;
  top: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--navy-900);
  background: var(--gold-300);
  border-radius: 50%;
}
.charter-doctrine-label {
  margin: 0 0 1.2rem;
  color: var(--ink-600);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.charter-doctrine .charter-doctrine-line {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 600;
  line-height: 1.14;
  text-wrap: balance;
}
.charter-doctrine footer {
  margin-top: 1.35rem;
  color: var(--ink-600);
  font-size: .98rem;
}
.charter-future { color: #d2dee7; }
.charter-build-line {
  margin: 1.9rem 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2.05rem);
  line-height: 1.35;
  text-wrap: balance;
}
.charter-commitment {
  position: relative;
  margin-top: 3.8rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(236, 200, 127, .28);
}
.charter-commitment-intro { max-width: 680px; margin: 0 auto 1.8rem; text-align: center; }
.charter-commitment h3 { margin: 0; color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.charter-commitment-intro > p:last-child { margin: .55rem 0 0; color: #b9cad8; }
.charter-commitments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.charter-commitments li {
  position: relative;
  min-height: 4.25rem;
  padding: 1rem 1rem 1rem 2.8rem;
  color: #e0e9f0;
  background: rgba(9, 22, 36, .55);
  border: 1px solid rgba(236, 200, 127, .18);
  border-radius: 12px;
}
.charter-commitments li::before {
  content: "✓";
  position: absolute;
  top: .95rem;
  left: 1rem;
  color: var(--gold-300);
  font-weight: 800;
}
.charter-closing {
  position: relative;
  max-width: 760px;
  margin: 3.8rem auto 0;
  padding-top: 3rem;
  text-align: center;
  border-top: 1px solid rgba(236, 200, 127, .28);
}
.charter-closing p { margin: 0 0 .75rem; color: #c8d6e1; }
.charter-closing .charter-welcome { margin: 1.7rem 0 1rem; color: var(--white); font-family: var(--font-display); font-size: 1.75rem; }
.charter-closing .charter-intent { color: var(--gold-300); font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.5rem); text-wrap: balance; }
.charter-closing .charter-signature { margin-top: 2.2rem; color: #9cc7c5; font-family: var(--font-display); font-size: 1.08rem; font-style: italic; }
.charter-scope-note {
  position: relative;
  max-width: 760px;
  margin: 2.8rem auto 0;
  padding: .9rem 1rem;
  color: #aebfcd;
  font-size: .86rem;
  text-align: center;
  background: rgba(9, 22, 36, .48);
  border: 1px solid rgba(174, 191, 205, .16);
  border-radius: 10px;
}
.charter-scope-note strong { color: #d6e1e9; }

/* ---------- Sections ---------- */
.section { padding: 3.75rem 0; }
.section-alt { background: var(--linen-100); }
.section-navy { background: var(--navy-900); color: #dbe6ef; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .card h2, .section-navy .card h3 { color: var(--navy-900); }
.eyebrow {
  color: #116b69; text-transform: uppercase; letter-spacing: .13em;
  font-weight: 700; font-size: .82rem; margin-bottom: .4rem;
}
.section-navy .eyebrow { color: var(--gold-300); }
.section-intro { max-width: 720px; color: var(--ink-600); margin-bottom: 2rem; }
.section-navy .section-intro { color: #b7c7d4; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.4rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal-500);
  display: flex; flex-direction: column;
}
.card.gold { border-top-color: var(--gold-500); }
.card .role-tag {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--teal-600); margin-bottom: .35rem;
}
.card p { color: var(--ink-600); font-size: 1rem; }
.card .pain { font-style: italic; color: var(--rose-600); font-size: .97rem; }
.card .cta-line { margin-top: auto; padding-top: .9rem; font-weight: 700; }

/* ---------- Roadmap steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.5rem 1.5rem 4.6rem; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.15rem; top: 1.35rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-300);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: .2rem 0 .6rem; color: var(--ink-600); }
.step .step-cta { font-weight: 700; }

/* ---------- Role icons ---------- */
.role-icon {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--teal-100); border: 2px solid var(--teal-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .85rem; flex-shrink: 0;
}
.role-icon svg {
  width: 1.7rem; height: 1.7rem; stroke: var(--teal-600); fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Badges & boundary ---------- */
.badge {
  display: inline-block; background: var(--teal-100); color: var(--teal-600);
  border-radius: 999px; padding: .22rem .8rem; font-size: .84rem; font-weight: 700;
  margin: 0 .3rem .4rem 0;
}
.badge.gold { background: var(--gold-100); color: #8a6420; }
.boundary {
  background: var(--gold-100); border-left: 5px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.3rem; margin: 1.6rem 0; font-size: .99rem;
}
.boundary strong { color: var(--navy-900); }

/* ---------- Video placeholder ---------- */
.video-slot {
  background: var(--navy-800); border-radius: var(--radius);
  aspect-ratio: 16 / 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  color: #b7c7d4; text-align: center; padding: 1rem;
  border: 2px dashed rgba(217, 164, 65, .5);
}
.video-slot .play {
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; padding-left: .2rem;
}
.video-slot .vtitle { font-weight: 700; color: var(--white); }
.video-slot .vnote { font-size: .85rem; }
.video-embed { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: var(--radius); }

/* ---------- Homepage Short ---------- */
.home-short-section { padding: 3rem 0 3.5rem; }
.home-short-wrap { max-width: 1120px; text-align: center; }
.home-short-wrap .section-intro { margin: 0 auto 1.6rem; }
.home-short-frame {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--gold-500);
  border-radius: calc(var(--radius) + 4px);
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.home-short-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.home-role-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
  text-align: left;
}
.home-role-video {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-sm);
}
.home-role-video h3 { margin: 0 0 .8rem; }
.home-role-video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius);
  background: var(--navy-900);
}
.home-role-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.home-resident-video,
.home-rt-video,
.home-discover-video,
.home-thrive-video,
.home-admin-lane {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 1.4rem;
  border: 2px solid var(--teal-500);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(221,245,241,.9));
  box-shadow: var(--shadow-md);
  text-align: center;
}
.home-resident-video h3,
.home-rt-video h3,
.home-discover-video h3,
.home-thrive-video h3,
.home-admin-lane h3 { margin: .25rem 0 .45rem; }
.home-resident-video > p:not(.eyebrow):not(.cta-line),
.home-rt-video > p:not(.eyebrow):not(.cta-line),
.home-discover-video > p:not(.eyebrow):not(.cta-line),
.home-thrive-video > p:not(.eyebrow):not(.cta-line),
.home-admin-lane > p:not(.eyebrow):not(.cta-line) { margin: 0; color: var(--ink-600); }
.home-resident-video .home-short-frame,
.home-rt-video .home-short-frame,
.home-discover-video .home-short-frame,
.home-thrive-video .home-short-frame,
.home-admin-lane .home-short-frame { margin-top: 1.15rem; }
.home-resident-video .cta-line { margin: 1rem 0 0; }
.home-rt-video {
  margin-top: 1.5rem;
  border-color: var(--navy-700);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(230,242,250,.92));
}
.home-discover-video {
  margin-top: 1.5rem;
  border-color: var(--teal-600);
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(231,245,241,.92));
}
.home-discover-video .cta-line { margin: 1rem 0 0; }
.home-thrive-video {
  margin-top: 1.5rem;
  border-color: #8d3f6c;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(247,234,240,.94));
}
.home-thrive-video .cta-line { margin: 1rem 0 0; }
.home-admin-lane {
  margin-top: 1.5rem;
  border-color: #0b7d7b;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(232,246,242,.94));
}
.home-admin-lane .cta-line { margin: 1rem 0 0; }

/* ---------- Offer table ---------- */
.offer-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.offer-table th, .offer-table td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--linen-100); font-size: 1rem; }
.offer-table td { color: var(--ink-900); }
.offer-table td strong { color: var(--navy-900); }
.offer-table th { background: var(--navy-900); color: var(--gold-300); font-family: var(--font-display); }
.offer-table tr:last-child td { border-bottom: none; background: var(--gold-100); font-weight: 700; }
.offer-table td:last-child { text-align: right; white-space: nowrap; }
.pricing-policy-table { table-layout: fixed; }
.pricing-policy-table th:nth-child(1),
.pricing-policy-table td:nth-child(1) { width: 22%; }
.pricing-policy-table th:nth-child(2),
.pricing-policy-table td:nth-child(2) { width: 16%; }
.pricing-policy-table td:last-child {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
html[lang="ar"] .pricing-policy-table td:last-child { text-align: right; }

@media (max-width: 700px) {
  .pricing-policy-table { table-layout: fixed; }
  .pricing-policy-table thead { position: static; }
  .pricing-policy-table th,
  .pricing-policy-table td,
  .pricing-policy-table td:nth-child(1),
  .pricing-policy-table td:nth-child(2) {
    padding: .65rem .45rem;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .pricing-policy-table th,
  .pricing-policy-table td { font-size: .86rem; }
  .pricing-policy-table th:nth-child(1),
  .pricing-policy-table td:nth-child(1) { width: 24%; }
  .pricing-policy-table th:nth-child(2),
  .pricing-policy-table td:nth-child(2) { width: 22%; }
  html[lang="ar"] .pricing-policy-table td { text-align: right; }
  html[lang="ar"] .pricing-policy-table th { text-align: right; }
}

/* ---------- FAQ ---------- */
details.faq {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  margin-bottom: .9rem; padding: 0;
}
details.faq summary {
  cursor: pointer; font-weight: 700; font-family: var(--font-display);
  font-size: 1.08rem; color: var(--navy-900); padding: 1.05rem 1.3rem;
  list-style: none; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; color: var(--gold-500);
  font-size: 1.35rem; font-weight: 400;
}
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--ink-600); }

/* ---------- Resource hub ---------- */
.resource-group { margin-bottom: 2.6rem; }
.resource-list { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
.resource {
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow-sm);
  padding: .95rem 1.15rem; display: flex; justify-content: space-between;
  align-items: baseline; gap: 1rem; text-decoration: none; color: var(--ink-900); min-width: 0;
}
.resource:hover { box-shadow: var(--shadow-md); color: var(--navy-900); }
.resource > span:first-child { min-width: 0; }
.resource .r-name { font-weight: 700; }
.resource .r-desc { display: block; font-size: .9rem; color: var(--ink-600); font-weight: 400; }
.level { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: .18rem .5rem; white-space: nowrap; }
.level.beginner { background: var(--teal-100); color: var(--teal-600); }
.level.advanced { background: var(--gold-100); color: #8a6420; }

/* ---------- Local / on-premises AI options guide ---------- */
body.local-ai-guide { background: var(--linen-50); }
.local-ai-guide .section-alt { background: var(--linen-100); }
.local-ai-guide .nav-links a {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center;
}
.guide-hero .lede { max-width: 720px; }
.guide-intro p { color: var(--ink-600); }
.guide-boundary-critical {
  margin-top: 0; background: #fff1ed; border-left-color: var(--rose-600);
}
.guide-path-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem; margin: 2rem 0;
}
.guide-path-card {
  min-width: 0; padding: 1.5rem; background: var(--white);
  border-radius: var(--radius); border-top: 4px solid var(--teal-500);
  box-shadow: var(--shadow-sm);
}
.guide-path-cloud { border-top-color: var(--gold-500); }
.guide-path-label {
  margin: 0 0 .35rem; color: var(--teal-600); font-size: .78rem;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.guide-path-card p,
.guide-path-card li { color: var(--ink-600); }
.guide-path-card ul { margin-bottom: 0; padding-left: 1.2rem; }
.guide-table-wrap {
  max-width: 100%; overflow-x: auto; margin: 1.6rem 0;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  background: var(--white); -webkit-overflow-scrolling: touch;
}
.guide-table-wrap:focus-visible {
  outline: 3px solid var(--teal-600); outline-offset: 3px;
}
.guide-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.guide-table caption {
  padding: .9rem 1rem; color: var(--ink-600); font-weight: 700; text-align: left;
}
.guide-table th,
.guide-table td {
  padding: .9rem 1rem; border-top: 1px solid rgba(14,31,51,.12);
  text-align: left; vertical-align: top;
}
.guide-table thead th { background: var(--navy-900); color: var(--white); }
.guide-table tbody th { color: var(--navy-900); }
.guide-pattern-grid .card { min-width: 0; }
.guide-authority-note,
.guide-stop-list {
  padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.guide-authority-note { border-left: 5px solid var(--gold-500); }
.guide-stop-list { margin: 0; padding-left: 2.8rem; border-left: 5px solid var(--rose-600); }
.guide-stop-list li + li { margin-top: .65rem; }
.guide-code {
  overflow-x: auto; padding: 1rem 1.2rem; border-radius: 10px;
  background: var(--navy-900); color: var(--gold-300); font-size: 1rem;
}
.guide-checklist {
  display: grid; gap: .65rem; margin: 1.4rem 0; padding: 0; list-style: none;
}
.guide-checklist li {
  padding: .8rem 1rem; border-radius: 10px; background: var(--white);
  box-shadow: var(--shadow-sm);
}
.guide-checklist label { display: flex; align-items: flex-start; gap: .7rem; }
.guide-checklist input { width: 1.1rem; height: 1.1rem; margin-top: .3rem; flex: none; }
.guide-final-ctas .btn-quiet { display: inline-flex; align-items: center; }
.guide-source-list {
  display: grid; gap: .55rem; margin: 1.2rem 0 0; padding-left: 1.25rem;
}
.guide-source-list a { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .guide-path-grid,
  .guide-pattern-grid { grid-template-columns: 1fr; }
  .guide-table { min-width: 640px; }
  .guide-path-card { padding: 1.25rem; }
  .guide-final-ctas .btn { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900); color: #a9bccb; padding: 2.6rem 0 2rem;
  font-size: .95rem;
}
.site-footer a { color: var(--gold-300); text-decoration: none; }
.footer-motto { font-family: var(--font-display); color: var(--gold-300); font-size: 1.05rem; margin-bottom: .8rem; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: .8rem 0; }

/* ---------- Nurse leader / educator conversion homepage ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

body.leader-educator-home { background: var(--linen-50); }
.leader-educator-home .section-alt { background: var(--linen-100); }
.leader-educator-home .nav-links a {
  display: flex; align-items: center; min-width: 44px; min-height: 44px;
}

.leader-educator-hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(120deg, rgba(14, 31, 51, .98), rgba(22, 48, 74, .94)),
    var(--navy-900);
}
.leader-educator-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.leader-educator-hero h1 {
  max-width: 790px; margin: .35em 0 .42em; color: var(--white);
  font-size: clamp(2.45rem, 5.5vw, 4.65rem); letter-spacing: -.025em;
}
.leader-educator-hero .kicker { color: var(--gold-300); }
.leader-educator-hero .lede { max-width: 720px; color: #e6eef5; font-size: clamp(1.13rem, 2vw, 1.35rem); }
.leader-educator-hero .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.7); }
.leader-educator-hero .btn-secondary:hover { color: var(--navy-900); background: var(--white); }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin: 1.6rem 0 0; padding: 1rem 0 0;
  list-style: none; color: #dbe6ef; border-top: 1px solid rgba(255,255,255,.2); font-size: .95rem;
}
.trust-strip li::before { content: "✓"; margin-right: .4rem; color: var(--gold-300); font-weight: 800; }

.media-placeholder {
  display: grid; place-items: center; min-width: 0; margin: 0;
  color: var(--navy-900); background: var(--gold-100);
  border: 2px dashed rgba(217, 164, 65, .85); border-radius: var(--radius); overflow: hidden;
}
.media-placeholder-mark {
  display: grid; place-items: center; align-self: stretch; justify-self: stretch;
  min-height: 220px; color: rgba(14,31,51,.72); font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.2rem); background:
    linear-gradient(135deg, rgba(255,255,255,.48), rgba(226,243,242,.65));
}
.media-placeholder figcaption {
  display: grid; gap: .15rem; width: 100%; padding: 1rem 1.15rem;
  background: var(--white); border-top: 1px solid rgba(14,31,51,.12); font-size: .9rem;
}
.media-placeholder figcaption span { color: var(--ink-600); }
.media-placeholder-hero .media-placeholder-mark { min-height: 330px; }
.media-placeholder-video .media-placeholder-mark { min-height: 300px; }
.media-placeholder-portrait { max-width: 390px; }
.media-placeholder-portrait .media-placeholder-mark { min-height: 410px; }

.homepage-media {
  min-width: 0; margin: 0; overflow: hidden; background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.homepage-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.homepage-hero-media { aspect-ratio: 16 / 10; }
.homepage-hero-media img { object-position: center 28%; }
.homepage-portrait-media { width: 100%; max-width: 390px; aspect-ratio: 4 / 5; }
.homepage-portrait-media img { object-position: center 18%; }

.leader-credibility { background: var(--gold-100); border-bottom: 1px solid rgba(14,31,51,.1); }
.leader-credibility-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; padding-top: 1rem; padding-bottom: 1rem;
}
.leader-credibility p { margin: 0; font-size: .95rem; }

.leader-walkthrough-section { background: var(--white); }
.leader-walkthrough-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem;
  margin-top: 2rem;
}
.leader-walkthrough-card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--linen-50); border: 1px solid rgba(14,31,51,.14);
  border-top: 5px solid var(--teal-600); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.leader-walkthrough-card:nth-child(2) { border-top-color: var(--gold-500); }
.leader-walkthrough-card:nth-child(3) { border-top-color: var(--navy-700); }
.leader-walkthrough-card p { color: var(--ink-600); }
.leader-walkthrough-card .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; margin-top: auto; white-space: normal; text-align: center;
}
.leader-walkthrough-number {
  margin: 0 0 .5rem; color: var(--teal-600) !important;
  font-size: .82rem; font-weight: 800; letter-spacing: .12em;
}
.leader-walkthrough-boundary { margin-top: 1.25rem; }

.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.audience-panel {
  padding: clamp(1.5rem, 4vw, 2.4rem); background: var(--white); border: 1px solid rgba(14,31,51,.12);
  border-left: 6px solid var(--teal-600);
}
.audience-educator { border-left-color: var(--gold-500); }
.audience-panel h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.audience-panel ul { padding-left: 1.2rem; }
.audience-panel a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 800; }

.workbench-heading {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 2rem; align-items: end;
}
.workbench-safety {
  display: grid; gap: .4rem; padding: 1rem 1.2rem; color: var(--navy-900);
  background: var(--gold-100); border-left: 5px solid var(--gold-500); font-size: .92rem;
}
.workflow-workbench {
  display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  margin-top: 2rem; background: var(--white); border: 1px solid rgba(14,31,51,.16);
  box-shadow: var(--shadow-md);
}
.workflow-controls { padding: clamp(1.35rem, 3vw, 2rem); background: var(--navy-900); color: #dbe6ef; }
.workflow-controls fieldset { margin: 0 0 1.5rem; padding: 0; border: 0; }
.workflow-controls legend { margin-bottom: .55rem; color: var(--gold-300); font-weight: 800; }
.workflow-controls label { display: block; margin-bottom: .35rem; font-size: .88rem; }
.workflow-controls select {
  width: 100%; min-height: 48px; padding: .65rem .75rem; border: 2px solid transparent;
  border-radius: 7px; color: var(--navy-900); background: var(--white); font: inherit;
}
.workflow-controls select:focus-visible { border-color: var(--gold-500); outline: 2px solid var(--gold-300); outline-offset: 2px; }
.workflow-local-note { margin: 0; color: #bfcfdb; font-size: .88rem; }
.workflow-output { min-width: 0; padding: clamp(1.35rem, 3vw, 2rem); }
.workflow-output h3 { font-size: 1.55rem; }
.workflow-output textarea {
  width: 100%; resize: vertical; padding: 1rem; border: 1px solid rgba(14,31,51,.24);
  border-radius: 8px; color: var(--ink-900); background: #fffdf8; font: 500 .96rem/1.55 var(--font-body);
}
.workflow-output textarea:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; }
.workflow-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.workflow-actions .btn { border: 0; cursor: pointer; }
.workflow-actions p { flex: 1 1 240px; margin: 0; color: var(--ink-600); font-size: .9rem; }
.workflow-provider-boundary {
  margin: 1rem 0 0; padding: 1rem; color: var(--navy-900);
  background: var(--teal-100); border-left: 4px solid var(--teal-600);
  font-size: .92rem; line-height: 1.55;
}

.conversion-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; padding: 0; list-style: none; }
.conversion-steps li { display: flex; gap: .9rem; padding: 1.2rem; background: var(--white); border-top: 4px solid var(--teal-600); }
.conversion-steps li > span {
  display: grid; place-items: center; flex: 0 0 2.2rem; width: 2.2rem; height: 2.2rem;
  border-radius: 50%; color: var(--white); background: var(--navy-900); font-weight: 800;
}
.conversion-steps h3, .conversion-steps p { margin-top: 0; }
.conversion-steps p { margin-bottom: 0; }
.conversion-boundary { margin-top: 1rem; }

.demo-grid, .operator-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.asset-brief { padding-left: 1.2rem; }
.asset-brief li { margin-bottom: .35rem; }
.operator-grid { grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); }

.progression-section { background: var(--teal-100); }
.progression-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; border: 1px solid rgba(14,31,51,.18); }
.progression-grid article { padding: clamp(1.3rem, 3vw, 2rem); background: var(--white); border-right: 1px solid rgba(14,31,51,.15); }
.progression-grid article:last-child { border-right: 0; }
.progression-number { margin: 0 0 .6rem; color: var(--gold-500); font: 700 1.1rem var(--font-display); letter-spacing: .08em; }
.progression-grid a { font-weight: 800; }
.download-truth { margin: 1.5rem 0 0; padding: 1rem 1.2rem; background: rgba(255,255,255,.72); border-left: 5px solid var(--teal-600); }

.proof-cohort-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 2.5rem; align-items: center; }
.proof-commitments { display: grid; gap: .65rem; margin: 0; padding: 1.25rem 1.25rem 1.25rem 2.5rem; background: rgba(255,255,255,.08); }
.proof-commitments li { color: #dbe6ef; }
.maturity-compact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 1.3rem; }
.maturity-compact-grid article { padding: 1.25rem; background: var(--white); border-top: 4px solid var(--navy-700); }
.final-conversion { text-align: center; }
.final-conversion p { margin-right: auto; margin-left: auto; max-width: 620px; }

/* ---------- Nurse practitioner personal-edition funnel ---------- */
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
body.np-personal-funnel { background: var(--linen-50); }
.np-personal-funnel .section-alt { background: var(--linen-100); }
.np-hero {
  padding: clamp(3.4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  color: #e6eef5;
  background:
    radial-gradient(circle at 82% 18%, rgba(29, 156, 153, .24), transparent 28rem),
    linear-gradient(128deg, var(--navy-900), #16384f 72%, #174a52);
}
.np-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(310px, .87fr);
  gap: clamp(2.4rem, 6vw, 5rem); align-items: center;
}
.np-hero .kicker { color: var(--gold-300); }
.np-hero h1 {
  max-width: 810px; margin: .32em 0 .4em; color: var(--white);
  font-size: clamp(2.5rem, 5.6vw, 4.7rem); letter-spacing: -.032em;
}
.np-hero .lede { max-width: 740px; color: #d7e3ec; font-size: clamp(1.1rem, 2vw, 1.34rem); }
.np-hero-trust { margin: 1rem 0 0; color: #c9d8e4; font-size: .96rem; }
.np-hero-trust strong { color: var(--gold-300); }
.np-offer-card {
  padding: clamp(1.45rem, 4vw, 2.25rem); color: var(--navy-900);
  background: linear-gradient(145deg, #fffdf8, var(--teal-100));
  border: 2px solid var(--gold-500); border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 22px 55px rgba(0,0,0,.24);
}
.np-offer-label, .np-preview-label {
  margin: 0; color: var(--teal-600); font-size: .77rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.np-offer-card h2 { margin: .3rem 0 1.1rem; font-size: clamp(1.65rem, 3.7vw, 2.25rem); }
.np-offer-card ol, .np-field-note-card ol { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; counter-reset: np-offer; }
.np-offer-card li, .np-field-note-card li {
  position: relative; display: grid; gap: .05rem; min-height: 3.2rem;
  padding: .7rem .75rem .7rem 3.1rem; background: rgba(255,255,255,.82);
  border: 1px solid rgba(14,31,51,.12); border-radius: 9px;
}
.np-offer-card li::before, .np-field-note-card li::before {
  counter-increment: np-offer; content: counter(np-offer); position: absolute;
  left: .72rem; top: .72rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  color: var(--white); background: var(--navy-900); border-radius: 50%; font-weight: 800;
}
.np-offer-card li span, .np-field-note-card li span { color: var(--ink-600); font-size: .89rem; line-height: 1.42; }
.np-offer-close { margin: 1rem 0 0; color: var(--ink-600); font-size: .9rem; }

.np-credibility { background: var(--white); border-bottom: 1px solid rgba(14,31,51,.12); }
.np-credibility-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.np-credibility-grid p {
  display: grid; gap: .05rem; margin: 0; padding: 1rem; text-align: center;
  border-right: 1px solid rgba(14,31,51,.12);
}
.np-credibility-grid p:last-child { border-right: 0; }
.np-credibility-grid strong { color: var(--navy-900); }
.np-credibility-grid span { color: var(--ink-600); font-size: .84rem; }

.np-builder-section { scroll-margin-top: 5.5rem; }
.np-builder-shell {
  display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 1.4rem; margin-top: 1.6rem;
}
.np-config-panel, .np-practice-card-preview {
  min-width: 0; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--white);
  border: 1px solid rgba(14,31,51,.15); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.np-config-panel { display: grid; align-content: start; gap: .55rem; }
.np-config-panel label { margin-top: .6rem; color: var(--navy-900); font-weight: 800; }
.np-config-panel label:first-child { margin-top: 0; }
.np-config-panel select {
  width: 100%; min-height: 48px; padding: .68rem .75rem; color: var(--navy-900);
  background: var(--linen-50); border: 1px solid rgba(14,31,51,.28); border-radius: 8px;
  font: 600 .98rem var(--font-body);
}
.np-config-panel select:focus-visible, .np-practice-card-preview textarea:focus-visible {
  outline: 3px solid var(--teal-500); outline-offset: 2px;
}
.np-safety-card {
  display: grid; gap: .2rem; margin-top: 1rem; padding: 1rem;
  background: var(--gold-100); border-left: 4px solid var(--gold-500);
}
.np-safety-card span { color: var(--ink-600); font-size: .88rem; line-height: 1.5; }
.np-practice-card-preview h3 { margin: .25rem 0 .85rem; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.np-practice-card-preview textarea {
  display: block; width: 100%; min-height: 440px; resize: vertical; padding: 1rem;
  color: #dbe6ef; background: var(--navy-900); border: 1px solid rgba(14,31,51,.38);
  border-radius: 10px; font: 500 .88rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.np-practice-card-preview .workflow-actions { margin-top: 1rem; }
.np-practice-card-preview button { border: 0; cursor: pointer; font-family: var(--font-body); }
.np-provider-boundary {
  margin: 1rem 0 0; padding: 1rem; color: var(--navy-900);
  background: var(--teal-100); border-left: 4px solid var(--teal-600);
  font-size: .9rem; line-height: 1.5;
}
.np-provider-boundary a { color: var(--navy-800); font-weight: 700; }

.np-pain-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
}
.np-pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.5rem; }
.np-pain-grid article { padding: 1rem; background: var(--white); border-left: 4px solid var(--teal-600); }
.np-pain-grid article:last-child { grid-column: 1 / -1; }
.np-pain-grid h3 { font-size: 1.12rem; }
.np-pain-grid p { margin: 0; color: var(--ink-600); font-size: .93rem; }
.np-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2rem; }
.np-photo-card {
  min-width: 0; margin: 0; overflow: hidden; background: var(--white);
  border: 1px solid rgba(14,31,51,.14); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(14,31,51,.12);
}
.np-photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 4; object-fit: cover; border-radius: 0; }
.np-photo-card figcaption { margin: 0; padding: .8rem 1rem; color: var(--ink-600); font-size: .8rem; line-height: 1.45; }

.np-config-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-top: 2rem; }
.np-config-grid article { padding: 1.2rem; background: var(--white); border-top: 4px solid var(--gold-500); }
.np-config-grid span { color: var(--teal-600); font-weight: 800; letter-spacing: .08em; }
.np-config-grid h3 { margin-top: .45rem; }
.np-config-grid p { margin-bottom: 0; color: var(--ink-600); font-size: .93rem; }
.np-free-grid, .np-field-note-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.np-formal-boundary, .np-field-note-card {
  padding: clamp(1.3rem, 3vw, 1.8rem); background: var(--white);
  border: 1px solid rgba(14,31,51,.15); border-radius: var(--radius);
}
.np-formal-boundary h3 { color: var(--navy-900); }
.np-formal-boundary p { color: var(--ink-600); }
.np-field-note-card { border-top: 5px solid var(--gold-500); }
.np-field-note-card ol { margin: .8rem 0 1rem; }
.np-field-note-card > p:last-child { margin-bottom: 0; color: var(--ink-600); font-size: .9rem; }
.np-email-boundary, .np-source-caveat { color: var(--ink-600); font-size: .9rem; }
.np-evidence-note a { font-weight: 700; }
.np-advanced-path { text-align: center; }
.np-advanced-path p { margin-right: auto; margin-left: auto; max-width: 780px; }
.np-footer-languages { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: 1rem 0; }
.np-footer-languages a { color: var(--gold-300); }

@media (max-width: 900px) {
  .np-hero-grid, .np-builder-shell, .np-pain-layout, .np-free-grid, .np-field-note-grid { grid-template-columns: 1fr; }
  .np-config-grid { grid-template-columns: repeat(2, 1fr); }
  .np-credibility-grid { grid-template-columns: repeat(2, 1fr); }
  .np-credibility-grid p:nth-child(2) { border-right: 0; }
  .np-credibility-grid p:nth-child(-n+2) { border-bottom: 1px solid rgba(14,31,51,.12); }
}

@media (max-width: 620px) {
  .np-personal-funnel .nav-bar {
    display: grid; grid-template-columns: 1fr; gap: .7rem; align-items: start;
    padding-top: .8rem; padding-bottom: .8rem;
  }
  .np-personal-funnel .nav-links { display: grid; grid-template-columns: 1fr; width: 100%; }
  .np-personal-funnel .nav-links a:not(.nav-cta) { display: none; }
  .np-personal-funnel .nav-links .nav-cta { display: flex; justify-content: center; text-align: center; width: 100%; }
  .np-hero { padding-top: 1.9rem; }
  .np-hero h1 { font-size: clamp(2.08rem, 10.5vw, 2.5rem); line-height: 1.06; }
  .np-hero .lede { font-size: 1rem; }
  .np-hero .btn { width: 100%; text-align: center; }
  .np-credibility-grid, .np-config-grid, .np-photo-grid, .np-pain-grid { grid-template-columns: 1fr; }
  .np-credibility-grid p { border-right: 0; border-bottom: 1px solid rgba(14,31,51,.12); }
  .np-credibility-grid p:last-child { border-bottom: 0; }
  .np-pain-grid article:last-child { grid-column: auto; }
  .np-practice-card-preview textarea { min-height: 360px; font-size: .78rem; }
  .np-practice-card-preview .btn { width: 100%; text-align: center; }
}

/* ---------- Staff nurse off-shift conversion funnel ---------- */
body.staff-nurse-funnel { background: var(--linen-50); }
.staff-nurse-funnel .section-alt { background: var(--linen-100); }
.staff-hero {
  padding: clamp(3.4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  color: #e6eef5;
  background:
    radial-gradient(circle at 84% 20%, rgba(217, 164, 65, .18), transparent 27rem),
    radial-gradient(circle at 18% 82%, rgba(29, 156, 153, .16), transparent 30rem),
    linear-gradient(128deg, #0b1a2a, var(--navy-900) 58%, #153d47);
}
.staff-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr);
  gap: clamp(2.4rem, 6vw, 5rem); align-items: center;
}
.staff-hero .kicker { color: var(--gold-300); }
.staff-hero h1 {
  max-width: 790px; margin: .32em 0 .4em; color: var(--white);
  font-size: clamp(2.5rem, 5.6vw, 4.7rem); letter-spacing: -.032em;
}
.staff-hero .lede { max-width: 730px; color: #d7e3ec; font-size: clamp(1.1rem, 2vw, 1.34rem); }
.staff-hero-trust { margin: 1rem 0 0; color: #c9d8e4; font-size: .96rem; }
.staff-hero-trust strong { color: var(--gold-300); }
.staff-offer-card {
  padding: clamp(1.45rem, 4vw, 2.25rem); color: var(--navy-900);
  background: linear-gradient(145deg, #fffdf8, #edf7f6);
  border: 2px solid var(--gold-500); border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 22px 55px rgba(0,0,0,.24);
}
.staff-offer-label, .staff-preview-label {
  margin: 0; color: var(--teal-600); font-size: .77rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.staff-offer-card h2 { margin: .3rem 0 1.1rem; font-size: clamp(1.65rem, 3.7vw, 2.25rem); }
.staff-offer-card ol { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; counter-reset: staff-offer; }
.staff-offer-card li {
  position: relative; display: grid; gap: .05rem; min-height: 3.2rem;
  padding: .7rem .75rem .7rem 3.1rem; background: rgba(255,255,255,.84);
  border: 1px solid rgba(14,31,51,.12); border-radius: 9px;
}
.staff-offer-card li::before {
  counter-increment: staff-offer; content: counter(staff-offer); position: absolute;
  left: .72rem; top: .72rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  color: var(--white); background: var(--navy-900); border-radius: 50%; font-weight: 800;
}
.staff-offer-card li span { color: var(--ink-600); font-size: .89rem; line-height: 1.42; }
.staff-offer-close { margin: 1rem 0 0; color: var(--ink-600); font-size: .9rem; }

.staff-credibility { background: var(--white); border-bottom: 1px solid rgba(14,31,51,.12); }
.staff-credibility-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.staff-credibility-grid p {
  display: grid; gap: .05rem; margin: 0; padding: 1rem; text-align: center;
  border-right: 1px solid rgba(14,31,51,.12);
}
.staff-credibility-grid p:last-child { border-right: 0; }
.staff-credibility-grid strong { color: var(--navy-900); }
.staff-credibility-grid span { color: var(--ink-600); font-size: .84rem; }

.staff-builder-section { scroll-margin-top: 5.5rem; }
.staff-builder-shell {
  display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 1.4rem; margin-top: 1.6rem;
}
.staff-config-panel, .staff-practice-card-preview {
  min-width: 0; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--white);
  border: 1px solid rgba(14,31,51,.15); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.staff-config-panel { display: grid; align-content: start; gap: .55rem; }
.staff-config-panel label { margin-top: .6rem; color: var(--navy-900); font-weight: 800; }
.staff-config-panel label:first-child { margin-top: 0; }
.staff-config-panel select {
  width: 100%; min-height: 48px; padding: .68rem .75rem; color: var(--navy-900);
  background: var(--linen-50); border: 1px solid rgba(14,31,51,.28); border-radius: 8px;
  font: 600 .98rem var(--font-body);
}
.staff-config-panel select:focus-visible, .staff-practice-card-preview textarea:focus-visible {
  outline: 3px solid var(--teal-500); outline-offset: 2px;
}
.staff-safety-card {
  display: grid; gap: .2rem; margin-top: 1rem; padding: 1rem;
  background: var(--gold-100); border-left: 4px solid var(--gold-500);
}
.staff-safety-card span { color: var(--ink-600); font-size: .88rem; line-height: 1.5; }
.staff-practice-card-preview h3 { margin: .25rem 0 .85rem; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.staff-practice-card-preview textarea {
  display: block; width: 100%; min-height: 480px; resize: vertical; padding: 1rem;
  color: #dbe6ef; background: var(--navy-900); border: 1px solid rgba(14,31,51,.38);
  border-radius: 10px; font: 500 .86rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.staff-practice-card-preview .workflow-actions { margin-top: 1rem; }
.staff-practice-card-preview button { border: 0; cursor: pointer; font-family: var(--font-body); }
.staff-provider-boundary {
  margin: 1rem 0 0; padding: 1rem; color: var(--navy-900);
  background: var(--teal-100); border-left: 4px solid var(--teal-600);
  font-size: .9rem; line-height: 1.5;
}
.staff-provider-boundary a { color: var(--navy-800); font-weight: 700; }

.staff-pain-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
}
.staff-pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.5rem; }
.staff-pain-grid article { padding: 1rem; background: var(--white); border-left: 4px solid var(--teal-600); }
.staff-pain-grid article:last-child { grid-column: 1 / -1; }
.staff-pain-grid h3 { font-size: 1.12rem; }
.staff-pain-grid p { margin: 0; color: var(--ink-600); font-size: .93rem; }
.staff-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2rem; }
.staff-photo-card {
  min-width: 0; margin: 0; overflow: hidden; background: var(--white);
  border: 1px solid rgba(14,31,51,.14); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(14,31,51,.12);
}
.staff-photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.staff-photo-card figcaption { margin: 0; padding: .8rem 1rem; color: var(--ink-600); font-size: .8rem; line-height: 1.45; }

.staff-focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-top: 2rem; }
.staff-focus-grid article { padding: 1.2rem; background: var(--white); border-top: 4px solid var(--gold-500); }
.staff-focus-grid span { color: var(--teal-600); font-weight: 800; letter-spacing: .08em; }
.staff-focus-grid h3 { margin-top: .45rem; }
.staff-focus-grid p { margin-bottom: 0; color: var(--ink-600); font-size: .93rem; }
.staff-free-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.staff-formal-boundary {
  padding: clamp(1.3rem, 3vw, 1.8rem); background: var(--white);
  border: 1px solid rgba(14,31,51,.15); border-radius: var(--radius);
}
.staff-formal-boundary h3 { color: var(--navy-900); }
.staff-formal-boundary p { color: var(--ink-600); }
.staff-source-caveat { color: var(--ink-600); font-size: .9rem; }
.staff-evidence-note a { font-weight: 700; }
.staff-advanced-path { text-align: center; }
.staff-advanced-path p { margin-right: auto; margin-left: auto; max-width: 780px; }
.staff-footer-languages { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: 1rem 0; }
.staff-footer-languages a { color: var(--gold-300); }

@media (max-width: 900px) {
  .staff-hero-grid, .staff-builder-shell, .staff-pain-layout, .staff-free-grid { grid-template-columns: 1fr; }
  .staff-focus-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-credibility-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-credibility-grid p:nth-child(2) { border-right: 0; }
  .staff-credibility-grid p:nth-child(-n+2) { border-bottom: 1px solid rgba(14,31,51,.12); }
}

@media (max-width: 620px) {
  .staff-nurse-funnel .nav-bar {
    display: grid; grid-template-columns: 1fr; gap: .7rem; align-items: start;
    padding-top: .8rem; padding-bottom: .8rem;
  }
  .staff-nurse-funnel .nav-links { display: grid; grid-template-columns: 1fr; width: 100%; }
  .staff-nurse-funnel .nav-links a:not(.nav-cta) { display: none; }
  .staff-nurse-funnel .nav-links .nav-cta { display: flex; justify-content: center; text-align: center; width: 100%; }
  .staff-hero { padding-top: 1.9rem; }
  .staff-hero h1 { font-size: clamp(2.08rem, 10.5vw, 2.5rem); line-height: 1.06; }
  .staff-hero .lede { font-size: 1rem; }
  .staff-hero .btn { width: 100%; text-align: center; }
  .staff-credibility-grid, .staff-focus-grid, .staff-photo-grid, .staff-pain-grid { grid-template-columns: 1fr; }
  .staff-credibility-grid p { border-right: 0; border-bottom: 1px solid rgba(14,31,51,.12); }
  .staff-credibility-grid p:last-child { border-bottom: 0; }
  .staff-pain-grid article:last-child { grid-column: auto; }
  .staff-practice-card-preview textarea { min-height: 390px; font-size: .76rem; }
  .staff-practice-card-preview .btn { width: 100%; text-align: center; }
}

/* ---------- Medical resident learning conversion funnel ---------- */
body.medical-resident-funnel { background: var(--linen-50); }
.medical-resident-funnel .section-alt { background: #eef4f6; }
.resident-hero {
  padding: clamp(3.4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  color: #e6eef5;
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 164, 65, .17), transparent 27rem),
    radial-gradient(circle at 16% 84%, rgba(14, 116, 144, .22), transparent 30rem),
    linear-gradient(128deg, #071827, #173f5f 58%, #0c596d);
}
.resident-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr);
  gap: clamp(2.4rem, 6vw, 5rem); align-items: center;
}
.resident-hero .kicker { color: var(--gold-300); }
.resident-hero h1 {
  max-width: 820px; margin: .32em 0 .4em; color: var(--white);
  font-size: clamp(2.5rem, 5.6vw, 4.7rem); letter-spacing: -.032em;
}
.resident-hero .lede { max-width: 750px; color: #d7e3ec; font-size: clamp(1.1rem, 2vw, 1.34rem); }
.resident-hero-trust { margin: 1rem 0 0; color: #c9d8e4; font-size: .96rem; }
.resident-hero-trust strong { color: var(--gold-300); }
.resident-offer-card {
  padding: clamp(1.45rem, 4vw, 2.25rem); color: var(--navy-900);
  background: linear-gradient(145deg, #fffdf8, #e8f5f8);
  border: 2px solid var(--gold-500); border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 22px 55px rgba(0,0,0,.24);
}
.resident-offer-label, .resident-preview-label {
  margin: 0; color: #0e7490; font-size: .77rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.resident-offer-card h2 { margin: .3rem 0 1.1rem; font-size: clamp(1.65rem, 3.7vw, 2.25rem); }
.resident-offer-card ol { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; counter-reset: resident-offer; }
.resident-offer-card li {
  position: relative; display: grid; gap: .05rem; min-height: 3.2rem;
  padding: .7rem .75rem .7rem 3.1rem; background: rgba(255,255,255,.84);
  border: 1px solid rgba(14,31,51,.12); border-radius: 9px;
}
.resident-offer-card li::before {
  counter-increment: resident-offer; content: counter(resident-offer); position: absolute;
  left: .72rem; top: .72rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  color: var(--white); background: #173f5f; border-radius: 50%; font-weight: 800;
}
.resident-offer-card li span { color: var(--ink-600); font-size: .89rem; line-height: 1.42; }
.resident-offer-close { margin: 1rem 0 0; color: var(--ink-600); font-size: .9rem; }

.resident-credibility { background: var(--white); border-bottom: 1px solid rgba(14,31,51,.12); }
.resident-credibility-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.resident-credibility-grid p {
  display: grid; gap: .05rem; margin: 0; padding: 1rem; text-align: center;
  border-right: 1px solid rgba(14,31,51,.12);
}
.resident-credibility-grid p:last-child { border-right: 0; }
.resident-credibility-grid strong { color: var(--navy-900); }
.resident-credibility-grid span { color: var(--ink-600); font-size: .84rem; }

.resident-builder-section { scroll-margin-top: 5.5rem; }
.resident-builder-shell {
  display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 1.4rem; margin-top: 1.6rem;
}
.resident-config-panel, .resident-practice-card-preview {
  min-width: 0; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--white);
  border: 1px solid rgba(14,31,51,.15); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.resident-config-panel { display: grid; align-content: start; gap: .55rem; }
.resident-config-panel label { margin-top: .6rem; color: var(--navy-900); font-weight: 800; }
.resident-config-panel label:first-child { margin-top: 0; }
.resident-config-panel select {
  width: 100%; min-height: 48px; padding: .68rem .75rem; color: var(--navy-900);
  background: var(--linen-50); border: 1px solid rgba(14,31,51,.28); border-radius: 8px;
  font: 600 .98rem var(--font-body);
}
.resident-config-panel select:focus-visible, .resident-practice-card-preview textarea:focus-visible {
  outline: 3px solid #0e7490; outline-offset: 2px;
}
.resident-safety-card {
  display: grid; gap: .2rem; margin-top: 1rem; padding: 1rem;
  background: var(--gold-100); border-left: 4px solid var(--gold-500);
}
.resident-safety-card span { color: var(--ink-600); font-size: .88rem; line-height: 1.5; }
.resident-practice-card-preview h3 { margin: .25rem 0 .85rem; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.resident-practice-card-preview textarea {
  display: block; width: 100%; min-height: 520px; resize: vertical; padding: 1rem;
  color: #dbe6ef; background: #071827; border: 1px solid rgba(14,31,51,.38);
  border-radius: 10px; font: 500 .86rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.resident-practice-card-preview .workflow-actions { margin-top: 1rem; }
.resident-practice-card-preview button { border: 0; cursor: pointer; font-family: var(--font-body); }
.resident-provider-boundary {
  margin: 1rem 0 0; padding: 1rem; color: var(--navy-900);
  background: #e6f6fa; border-left: 4px solid #0e7490;
  font-size: .9rem; line-height: 1.5;
}
.resident-provider-boundary a { color: var(--navy-800); font-weight: 700; }

.resident-pressure-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
}
.resident-pressure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.5rem; }
.resident-pressure-grid article { padding: 1rem; background: var(--white); border-left: 4px solid #0e7490; }
.resident-pressure-grid article:last-child { grid-column: 1 / -1; }
.resident-pressure-grid h3 { font-size: 1.12rem; }
.resident-pressure-grid p { margin: 0; color: var(--ink-600); font-size: .93rem; }
.resident-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2rem; }
.resident-photo-card {
  min-width: 0; margin: 0; overflow: hidden; background: var(--white);
  border: 1px solid rgba(14,31,51,.14); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(14,31,51,.12);
}
.resident-photo-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.resident-photo-card figcaption { margin: 0; padding: .8rem 1rem; color: var(--ink-600); font-size: .8rem; line-height: 1.45; }

.resident-focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-top: 2rem; }
.resident-focus-grid article { padding: 1.2rem; background: var(--white); border-top: 4px solid var(--gold-500); }
.resident-focus-grid span { color: #0e7490; font-weight: 800; letter-spacing: .08em; }
.resident-focus-grid h3 { margin-top: .45rem; }
.resident-focus-grid p { margin-bottom: 0; color: var(--ink-600); font-size: .93rem; }
.resident-free-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.resident-formal-boundary {
  padding: clamp(1.3rem, 3vw, 1.8rem); background: var(--white);
  border: 1px solid rgba(14,31,51,.15); border-radius: var(--radius);
}
.resident-formal-boundary h3 { color: var(--navy-900); }
.resident-formal-boundary p { color: var(--ink-600); }
.resident-source-caveat { color: var(--ink-600); font-size: .9rem; }
.resident-evidence-note a { font-weight: 700; }
.resident-advanced-path { text-align: center; }
.resident-advanced-path p { margin-right: auto; margin-left: auto; max-width: 800px; }
.resident-footer-languages { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: 1rem 0; }
.resident-footer-languages a { color: var(--gold-300); }

@media (max-width: 900px) {
  .resident-hero-grid, .resident-builder-shell, .resident-pressure-layout, .resident-free-grid { grid-template-columns: 1fr; }
  .resident-focus-grid { grid-template-columns: repeat(2, 1fr); }
  .resident-credibility-grid { grid-template-columns: repeat(2, 1fr); }
  .resident-credibility-grid p:nth-child(2) { border-right: 0; }
  .resident-credibility-grid p:nth-child(-n+2) { border-bottom: 1px solid rgba(14,31,51,.12); }
}

@media (max-width: 620px) {
  .medical-resident-funnel .nav-bar {
    display: grid; grid-template-columns: 1fr; gap: .7rem; align-items: start;
    padding-top: .8rem; padding-bottom: .8rem;
  }
  .medical-resident-funnel .nav-links { display: grid; grid-template-columns: 1fr; width: 100%; }
  .medical-resident-funnel .nav-links a:not(.nav-cta) { display: none; }
  .medical-resident-funnel .nav-links .nav-cta { display: flex; justify-content: center; text-align: center; width: 100%; }
  .resident-hero { padding-top: 1.9rem; }
  .resident-hero h1 { font-size: clamp(2.08rem, 10.5vw, 2.5rem); line-height: 1.06; }
  .resident-hero .lede { font-size: 1rem; }
  .resident-hero .btn { width: 100%; text-align: center; }
  .resident-credibility-grid, .resident-focus-grid, .resident-photo-grid, .resident-pressure-grid { grid-template-columns: 1fr; }
  .resident-credibility-grid p { border-right: 0; border-bottom: 1px solid rgba(14,31,51,.12); }
  .resident-credibility-grid p:last-child { border-bottom: 0; }
  .resident-pressure-grid article:last-child { grid-column: auto; }
  .resident-practice-card-preview textarea { min-height: 420px; font-size: .76rem; }
  .resident-practice-card-preview .btn { width: 100%; text-align: center; }
}

/* ---------- Student nurse conversion funnel ---------- */
body.student-nurse-funnel { background: var(--linen-50); }
.student-nurse-funnel .section-alt { background: var(--linen-100); }
.student-nurse-hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 80% 24%, rgba(17, 107, 105, .23), transparent 34%),
    linear-gradient(120deg, rgba(14, 31, 51, .99), rgba(22, 48, 74, .95));
}
.student-nurse-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.student-nurse-hero h1 {
  max-width: 820px; margin: .35em 0 .42em; color: var(--white);
  font-size: clamp(2.45rem, 5.5vw, 4.65rem); letter-spacing: -.025em;
}
.student-nurse-hero .kicker { color: var(--gold-300); }
.student-nurse-hero .lede { max-width: 760px; color: #e6eef5; font-size: clamp(1.13rem, 2vw, 1.35rem); }
.student-nurse-hero .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.72); }
.student-nurse-hero .btn-secondary:hover { color: var(--navy-900); background: var(--white); }
.student-proof-card {
  padding: clamp(1.5rem, 4vw, 2.25rem); color: var(--navy-900);
  background: linear-gradient(145deg, #fffdf8, var(--teal-100));
  border: 2px solid var(--gold-500); border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-md);
}
.student-proof-card h2 { margin: .25rem 0 1.2rem; font-size: clamp(1.75rem, 4vw, 2.35rem); }
.student-proof-label {
  margin: 0; color: var(--teal-600); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.student-proof-card ol { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; counter-reset: student-proof; }
.student-proof-card li {
  position: relative; display: grid; gap: .08rem; min-height: 3.25rem; padding: .7rem .8rem .7rem 3.25rem;
  background: rgba(255,255,255,.78); border: 1px solid rgba(14,31,51,.12); border-radius: 9px;
}
.student-proof-card li::before {
  counter-increment: student-proof; content: counter(student-proof);
  position: absolute; left: .75rem; top: .72rem; display: grid; place-items: center;
  width: 1.8rem; height: 1.8rem; color: var(--white); background: var(--navy-900);
  border-radius: 50%; font-weight: 800;
}
.student-proof-card li span { color: var(--ink-600); font-size: .9rem; }
.student-proof-close { margin: 1rem 0 0; color: var(--ink-600); font-size: .9rem; }

.student-control-reminder {
  display: grid; gap: .3rem; margin: 0 0 1.5rem; padding: 1rem;
  color: var(--navy-900); background: var(--gold-100); border-left: 4px solid var(--gold-500);
}
.student-control-reminder span { font-size: .9rem; }
.student-prompt-safety,
.student-provider-boundary {
  margin: 0 0 1rem; padding: 1rem; color: var(--navy-900);
  background: var(--gold-100); border-left: 4px solid var(--gold-500);
  font-size: .92rem; line-height: 1.55;
}
.student-provider-boundary { margin: 1rem 0 0; background: var(--teal-100); border-left-color: var(--teal-600); }
.student-task-catalog {
  padding: 1.2rem 1.35rem; background: var(--white);
  border: 1px solid rgba(14,31,51,.15); border-left: 5px solid var(--teal-600);
}
.student-task-catalog summary { cursor: pointer; color: var(--navy-900); font-size: 1.12rem; font-weight: 800; }
.student-task-catalog ul { margin: 1rem 0 0; padding-left: 1.25rem; }
.student-task-catalog li { margin-bottom: .65rem; color: var(--ink-600); }
.student-advanced-setup { text-align: center; }
.student-advanced-setup p { margin-right: auto; margin-left: auto; max-width: 680px; }
.student-footer-languages { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: 1rem 0; }
.student-footer-languages a { color: var(--gold-300); }
.student-section-media-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
.student-section-media-grid .conversion-steps { grid-template-columns: 1fr; margin-top: 1.5rem; }
.student-section-media {
  min-width: 0; margin: 0; overflow: hidden; background: var(--white);
  border: 1px solid rgba(14,31,51,.14); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(14,31,51,.12);
}
.student-section-media img {
  display: block; width: 100%; height: auto; aspect-ratio: 7 / 4; object-fit: cover;
}
.student-section-media figcaption {
  margin: 0; padding: .8rem 1rem; color: var(--ink-600); font-size: .82rem; line-height: 1.45;
}
.student-integrity-media-grid { align-items: center; margin-bottom: 2rem; }
.student-integrity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.student-integrity-grid article { padding: 1.35rem; background: var(--white); border-left: 5px solid var(--gold-500); }
.student-integrity-grid h3 { font-size: 1.3rem; }
.student-integrity-grid p { margin-bottom: 0; color: var(--ink-600); }

@media (max-width: 900px) {
  .leader-educator-hero-grid, .student-nurse-hero-grid, .demo-grid, .operator-grid { grid-template-columns: 1fr; }
  .leader-credibility-inner, .workbench-heading { grid-template-columns: 1fr; }
  .workflow-workbench { grid-template-columns: 1fr; }
  .leader-walkthrough-grid, .conversion-steps, .progression-grid, .maturity-compact-grid { grid-template-columns: 1fr; }
  .student-section-media-grid { grid-template-columns: 1fr; }
  .student-integrity-grid { grid-template-columns: 1fr; }
  .progression-grid article { border-right: 0; border-bottom: 1px solid rgba(14,31,51,.15); }
  .progression-grid article:last-child { border-bottom: 0; }
  .media-placeholder-hero .media-placeholder-mark { min-height: 250px; }
}

@media (max-width: 620px) {
  .leader-educator-home .nav-bar,
  .student-nurse-funnel .nav-bar {
    display: grid; grid-template-columns: 1fr; gap: .7rem; align-items: start;
    padding-top: .8rem; padding-bottom: .8rem;
  }
  .leader-educator-home .nav-links,
  .student-nurse-funnel .nav-links {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%; gap: .45rem .65rem; font-size: .83rem;
  }
  .leader-educator-home .nav-links a[href="#how-it-works"],
  .leader-educator-home .nav-links a[href="#for-you"],
  .student-nurse-funnel .nav-links a[href="#how-it-works"],
  .student-nurse-funnel .nav-links a[href="#academic-integrity"] { display: none; }
  .leader-educator-home .nav-links a { white-space: normal; line-height: 1.2; }
  .student-nurse-funnel .nav-links a {
    min-width: 0; white-space: normal; line-height: 1.2;
  }
  .leader-educator-home .nav-links .nav-cta,
  .student-nurse-funnel .nav-links .nav-cta {
    display: flex; justify-content: center; align-items: center; text-align: center; width: 100%;
  }
  .student-nurse-funnel .nav-links { grid-template-columns: 1fr; }
  .leader-educator-home .language-nav-inner {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%;
  }
  .leader-educator-home .language-chip {
    width: 100%; max-width: 100%;
  }
  .leader-educator-hero { padding-top: 2.25rem; }
  .leader-educator-hero h1 { font-size: clamp(2.15rem, 11vw, 2.65rem); }
  .student-nurse-hero { padding-top: 1.75rem; }
  .student-nurse-hero h1 { font-size: clamp(2.05rem, 10vw, 2.4rem); line-height: 1.08; }
  .student-nurse-hero .lede { font-size: 1rem; }
  .audience-split, .proof-cohort-grid { grid-template-columns: 1fr; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .workflow-actions .btn { width: 100%; justify-content: center; }
  .media-placeholder-video .media-placeholder-mark { min-height: 210px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .home-role-videos { grid-template-columns: 1fr; max-width: 620px; margin-right: auto; margin-left: auto; }
}
@media (max-width: 620px) {
  .site-header { position: static; }
  .cols-2, .cols-3, .cols-4, .resource-list { grid-template-columns: 1fr; }
  .stewards-charter { padding: 3rem 0; }
  .charter-shell { padding: 2.25rem 1.25rem; border-radius: 20px; }
  .charter-shell::before { inset: 8px; border-radius: 14px; }
  .charter-header { margin-bottom: 2.25rem; }
  .charter-question { padding: 1.2rem; }
  .charter-doctrine { margin: 3rem auto; padding: 2.3rem 1.15rem; }
  .charter-commitments { grid-template-columns: 1fr; }
  .charter-commitments li { min-height: 0; }
  .nav-links { gap: .75rem; font-size: .9rem; }
  .language-nav-inner { justify-content: center; overflow-x: visible; flex-wrap: wrap; padding: .55rem .35rem; gap: .25rem; }
  .language-nav-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .language-chip { flex: 0 1 calc(33.333% - .25rem); min-width: 0; padding: .4rem .25rem; font-size: .74rem; text-align: center; }
  .section { padding: 2.6rem 0; }
  body.clinical-sketch-page {
    background-size: auto, 620px auto;
    background-attachment: scroll, scroll;
  }
  body.calm-clinical-page {
    background-size: auto, 680px auto;
    background-attachment: scroll, scroll;
  }
  body.judgment-clinical-page {
    background-position: center top, 66% top;
    background-size: auto, 720px auto;
    background-attachment: scroll, scroll;
  }
}

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