:root {
  --bc-ink: #0a2146;
  --bc-navy: #0a2146;
  --bc-navy-2: #123b66;
  --bc-teal: #18a3a3;
  --bc-teal-dark: #0a6574;
  --bc-blue: #2563eb;
  --bc-gold: #c7a25b;
  --bc-gold-light: #f8f0df;
  --bc-green: #147d64;
  --bc-red: #b42318;
  --bc-orange: #b54708;
  --bc-bg: #f5f8fc;
  --bc-panel: #ffffff;
  --bc-muted: #52606d;
  --bc-border: rgba(10, 33, 70, 0.13);
  --bc-shadow: 0 14px 34px rgba(10, 33, 70, 0.1);
  --bc-shadow-hover: 0 20px 48px rgba(10, 33, 70, 0.15);
  --bc-radius: 18px;
  --bc-radius-lg: 26px;
  --bc-focus: 0 0 0 4px rgba(37, 99, 235, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--bc-ink);
  background:
    radial-gradient(1000px 440px at 0 0, rgba(24, 163, 163, 0.1), transparent 55%),
    radial-gradient(900px 430px at 100% 0, rgba(37, 99, 235, 0.08), transparent 56%),
    var(--bc-bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: var(--bc-blue); }

a:hover { color: var(--bc-teal-dark); }

button,
a { -webkit-tap-highlight-color: transparent; }

button,
.button { font: inherit; }

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--bc-focus);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--bc-navy);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--bc-border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 22px;
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: 220px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--bc-ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--bc-border);
  background: rgba(24, 163, 163, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 46px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(199, 162, 91, 0.36), transparent 25%),
    radial-gradient(circle at 18% 0, rgba(24, 163, 163, 0.52), transparent 36%),
    linear-gradient(135deg, #071a38 0%, #0a2146 52%, #0a6574 120%);
}

.hero::after {
  position: absolute;
  right: -86px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #d8f8f6;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: #f7dfaa;
  font-size: 0.48em;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: #e7eef7;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
  color: var(--bc-ink);
  background: #fff;
  box-shadow: 0 5px 16px rgba(10, 33, 70, 0.08);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  color: var(--bc-ink);
  box-shadow: var(--bc-shadow);
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  color: #071a38;
  background: linear-gradient(135deg, #fff6dc, #f1d28d);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.button-secondary:hover { color: #fff; }

.button-small {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #d8f8f6;
  background: rgba(0, 0, 0, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-memory {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--bc-radius-lg);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.hero-memory strong {
  display: block;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.hero-memory span {
  display: block;
  margin-top: 9px;
  color: #d8f8f6;
  font-weight: 750;
}

.hero-memory hr {
  height: 1px;
  margin: 22px 0;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
}

.section { padding: 62px 0; }

.section-tight { padding: 38px 0; }

.section-alt {
  border-block: 1px solid var(--bc-border);
  background: rgba(255, 255, 255, 0.68);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading p {
  max-width: 64ch;
  margin: 9px 0 0;
  color: var(--bc-muted);
}

.kicker {
  margin: 0 0 7px;
  color: var(--bc-teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.muted { color: var(--bc-muted); }

.hub-grid,
.feature-grid,
.education-grid,
.flip-grid,
.template-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.hub-card,
.feature-card,
.education-card,
.template-card,
.quiz-shell,
.case-shell,
.source-list,
.scope-box {
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  background: var(--bc-panel);
  box-shadow: 0 1px 0 rgba(10, 33, 70, 0.03);
}

.hub-card {
  position: relative;
  grid-column: span 7;
  overflow: hidden;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hub-card:hover {
  color: inherit;
  box-shadow: var(--bc-shadow-hover);
  transform: translateY(-3px);
}

.hub-card h2,
.hub-card h3 { margin: 0; }

.hub-card p { color: var(--bc-muted); }

.hub-card-featured::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--bc-teal), var(--bc-blue), var(--bc-gold));
  content: "";
}

.hub-card-planned {
  grid-column: span 5;
  background: linear-gradient(155deg, #fff, #f8fbff);
}

.module-icon { font-size: 2rem; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(10, 101, 116, 0.17);
  border-radius: 999px;
  color: var(--bc-teal-dark);
  background: rgba(24, 163, 163, 0.08);
  font-size: 0.75rem;
  font-weight: 800;
}

.quick-progress {
  position: sticky;
  z-index: 30;
  top: 78px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bc-border);
  background: rgba(245, 248, 252, 0.94);
  backdrop-filter: blur(10px);
}

.progress-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.progress-copy {
  min-width: 148px;
  font-size: 0.88rem;
  font-weight: 800;
}

.progress-track {
  flex: 1;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce6f2;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bc-teal), var(--bc-blue));
  transition: width 0.24s ease;
}

.progress-status {
  min-width: 108px;
  color: var(--bc-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
}

.workflow-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(10, 33, 70, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.workflow-card:hover {
  border-color: rgba(24, 163, 163, 0.42);
  box-shadow: var(--bc-shadow);
  transform: translateY(-1px);
}

.workflow-card.is-complete {
  border-color: rgba(20, 125, 100, 0.42);
  background: linear-gradient(135deg, #fff, #f0fbf7);
}

.workflow-card.is-stop {
  border-color: rgba(180, 35, 24, 0.42);
  background: linear-gradient(135deg, #fff, #fff3f1);
}

.step-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--bc-navy), var(--bc-teal-dark));
  font-size: 1.35rem;
  font-weight: 900;
}

.step-body h3 {
  margin: 0;
  font-size: 1.13rem;
  letter-spacing: -0.01em;
}

.step-body p { margin: 7px 0 0; }

.step-body ul { margin: 9px 0 0; padding-left: 20px; }

.step-actions {
  display: flex;
  align-self: start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  min-width: 156px;
}

.choice-button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
  color: var(--bc-ink);
  background: #f8fbff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.choice-button[aria-pressed="true"] {
  border-color: var(--bc-navy);
  color: #fff;
  background: var(--bc-navy);
}

.choice-button[data-value="stop"][aria-pressed="true"] {
  border-color: var(--bc-red);
  background: var(--bc-red);
}

.inline-alert {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 4px solid var(--bc-red);
  border-radius: 10px;
  color: #7a271a;
  background: #fff1ef;
  font-weight: 720;
}

.inline-alert.is-visible { display: block; }

.dialysis-alert {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #f3b6b0;
  border-radius: 12px;
  color: #7a271a;
  background: #fff4f2;
}

.copy-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 11px;
}

.copy-text {
  flex: 1 1 440px;
  margin: 0;
  padding: 12px 14px;
  border: 1px dashed rgba(10, 101, 116, 0.38);
  border-radius: 12px;
  color: #20314d;
  background: #f4fbfb;
  font-size: 0.91rem;
}

.copy-feedback {
  min-height: 1.2em;
  color: var(--bc-green);
  font-size: 0.78rem;
  font-weight: 800;
}

.ready-strip {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(20, 125, 100, 0.2);
  border-radius: var(--bc-radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.14), transparent 27%),
    linear-gradient(135deg, #0b644f, #0a6574);
  box-shadow: var(--bc-shadow);
}

.ready-strip h3 { margin: 0 0 7px; font-size: 1.45rem; }

.ready-strip p { margin: 0; color: #e0fff4; font-weight: 750; }

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.special-card {
  padding: 20px;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  background: #fff;
}

.special-card h3 { margin: 0; }

.special-result {
  display: none;
  margin: 12px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  color: #7a2e0e;
  background: #fff2e8;
  font-weight: 800;
}

.special-card.is-applicable .special-result { display: block; }

.relationship-strip {
  margin-top: 14px;
  padding: 15px;
  border-radius: 12px;
  color: var(--bc-navy);
  background: linear-gradient(90deg, #eff9f8, #eef4ff);
  font-weight: 900;
  text-align: center;
}

.education-card {
  grid-column: span 6;
  overflow: clip;
}

.education-card > summary,
.source-drawer > summary,
.scope-box > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.education-card > summary::-webkit-details-marker,
.source-drawer > summary::-webkit-details-marker,
.scope-box > summary::-webkit-details-marker { display: none; }

.education-card > summary::after,
.source-drawer > summary::after,
.scope-box > summary::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--bc-teal-dark);
  font-size: 1.35rem;
}

.education-card[open] > summary::after,
.source-drawer[open] > summary::after,
.scope-box[open] > summary::after { content: "−"; }

.education-content {
  padding: 0 20px 20px;
  border-top: 1px solid var(--bc-border);
}

.education-content h4 {
  margin: 18px 0 4px;
  color: var(--bc-teal-dark);
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.education-content p { margin: 4px 0 0; }

.source-drawer {
  margin-top: 14px;
  border: 1px solid var(--bc-border);
  border-radius: 12px;
  background: #f8fbff;
}

.source-drawer > summary { padding: 12px 14px; font-size: 0.86rem; }

.source-content { padding: 0 14px 14px; color: var(--bc-muted); font-size: 0.86rem; }

.source-content p { margin: 4px 0; }

.flip-card {
  grid-column: span 6;
  width: 100%;
  min-height: 220px;
  padding: 0;
  border: 0;
  border-radius: var(--bc-radius);
  background: transparent;
  cursor: pointer;
  perspective: 900px;
  text-align: left;
}

.flip-inner {
  position: relative;
  display: grid;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.46s ease;
}

.flip-card[aria-expanded="true"] .flip-inner { transform: rotateY(180deg); }

.flip-face {
  grid-area: 1 / 1;
  padding: 22px;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(10, 33, 70, 0.03);
  backface-visibility: hidden;
}

.flip-front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-back {
  overflow: auto;
  color: #fff;
  background: linear-gradient(145deg, var(--bc-navy), var(--bc-teal-dark));
  transform: rotateY(180deg);
}

.flip-prompt { color: var(--bc-teal-dark); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }

.flip-statement { margin: 10px 0 20px; font-size: 1.06rem; font-weight: 820; }

.flip-reveal { color: var(--bc-muted); font-size: 0.82rem; font-weight: 700; }

.memory-flip .flip-front {
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, var(--bc-navy), var(--bc-blue));
  text-align: center;
}

.memory-flip .flip-front strong { font-size: clamp(2.8rem, 8vw, 5.6rem); }

.case-shell { padding: 26px; }

.case-shell blockquote {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-left: 5px solid var(--bc-gold);
  border-radius: 0 14px 14px 0;
  background: var(--bc-gold-light);
  font-size: 1.04rem;
}

.classify-list { display: grid; gap: 10px; }

.classify-item {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--bc-border);
  border-radius: 12px;
}

.classify-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.classify-feedback {
  grid-column: 1 / -1;
  min-height: 1.2em;
  color: var(--bc-muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.classify-item.is-correct { border-color: rgba(20, 125, 100, 0.42); background: #f1fbf7; }

.classify-item.is-wrong { border-color: rgba(180, 35, 24, 0.35); background: #fff4f2; }

.practical-lesson {
  margin: 22px 0 0;
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  background: var(--bc-navy);
}

.template-card {
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  padding: 20px;
}

.template-card h3 { margin: 0; }

.template-card .copy-text { flex: 1 1 auto; }

.template-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.template-note {
  margin: 18px 0 0;
  color: var(--bc-muted);
  font-size: 0.88rem;
}

.template-heading { margin-top: 38px; }

.checklist-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.checklist-promo h2 { margin: 0; }

.checklist-promo .hero-actions { flex: 0 0 auto; margin-top: 0; }

.checklist-kicker { color: #d8f8f6; }

.quiz-shell { overflow: hidden; }

.quiz-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px 22px;
  color: #fff;
  background: linear-gradient(120deg, var(--bc-navy), var(--bc-teal-dark));
}

.quiz-header h3 { margin: 0; }

.quiz-score { font-weight: 900; white-space: nowrap; }

.quiz-progress {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
}

.quiz-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #f5dca5;
  transition: width 0.2s ease;
}

.quiz-body { padding: 24px; }

.quiz-meta { color: var(--bc-teal-dark); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }

.quiz-question { margin: 8px 0 18px; font-size: 1.2rem; line-height: 1.4; }

.quiz-options { display: grid; gap: 10px; }

.quiz-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--bc-border);
  border-radius: 13px;
  color: var(--bc-ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.quiz-option:hover { border-color: rgba(37, 99, 235, 0.45); background: #f7faff; }

.quiz-option:disabled { cursor: default; }

.quiz-option.is-correct { border-color: rgba(20, 125, 100, 0.55); background: #edf9f4; }

.quiz-option.is-wrong { border-color: rgba(180, 35, 24, 0.45); background: #fff2f0; }

.option-letter {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--bc-navy);
  font-weight: 900;
}

.quiz-feedback {
  display: none;
  margin-top: 18px;
  padding: 17px;
  border-radius: 14px;
  background: #f3f7fc;
}

.quiz-feedback.is-visible { display: block; }

.quiz-feedback h4 { margin: 0 0 6px; }

.quiz-feedback p { margin: 7px 0; }

.pearl {
  padding: 10px 12px;
  border-left: 4px solid var(--bc-gold);
  border-radius: 8px;
  background: #fff8e9;
}

.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.quiz-complete { text-align: center; }

.review-missed { text-align: left; }

.review-missed li + li { margin-top: 10px; }

.quiz-result-score {
  margin: 4px 0;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
}

.quiz-concepts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin: 22px auto;
  text-align: left;
}

.concept-box {
  padding: 13px;
  border: 1px solid var(--bc-border);
  border-radius: 12px;
  background: #f8fbff;
}

.source-list { padding: 24px; }

.source-list h2 { margin-top: 0; }

.source-list ol { padding-left: 22px; }

.source-list li + li { margin-top: 9px; }

.scope-box { overflow: clip; }

.scope-content { padding: 0 20px 20px; color: var(--bc-muted); }

.scope-content ul { margin-bottom: 0; }

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--bc-border);
  color: var(--bc-muted);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-script {
  margin: 18px auto;
  padding: 14px;
  border: 1px solid #f2c6c2;
  border-radius: 12px;
  color: #7a271a;
  background: #fff4f2;
}

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

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .site-header { position: relative; }
  .nav { justify-content: flex-start; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-memory { max-width: 560px; }
  .quick-progress { top: 0; }
  .workflow-card { grid-template-columns: 48px minmax(0, 1fr); }
  .step-actions { grid-column: 2; justify-content: flex-start; min-width: 0; }
  .hub-card, .hub-card-planned, .education-card, .flip-card { grid-column: span 12; }
  .template-card { grid-column: span 6; }
  .checklist-promo { align-items: flex-start; flex-direction: column; }
  .checklist-promo .hero-actions { margin-top: 6px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1160px); }
  .brand { width: 190px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 9px; font-size: 0.82rem; }
  .hero { padding: 44px 0 34px; }
  .hero h1 { font-size: clamp(2.25rem, 14vw, 3.6rem); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-memory { padding: 20px; }
  .section { padding: 46px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .progress-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .progress-track { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .progress-status { min-width: 0; }
  .workflow-card { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .step-number { width: 42px; height: 42px; border-radius: 12px; font-size: 1.08rem; }
  .special-grid { grid-template-columns: 1fr; }
  .template-card { grid-column: span 12; }
  .classify-item { grid-template-columns: 1fr; }
  .classify-feedback { grid-column: 1; }
  .quiz-header { grid-template-columns: 1fr; }
  .quiz-progress { grid-column: 1; }
  .quiz-body { padding: 18px; }
  .quiz-concepts { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media print {
  @page { margin: 0.55in; }
  body { color: #000; background: #fff; font-size: 10pt; }
  .skip-link, .site-header, .quick-progress, .hero-actions, .button, button, .quiz-shell, .flip-grid, .no-print, .site-footer { display: none !important; }
  .hero { padding: 0 0 18px; color: #000; background: #fff; }
  .hero h1, .hero h1 span, .hero-lead, .trust-badge { color: #000; }
  .hero-memory { border-color: #bbb; color: #000; background: #fff; box-shadow: none; }
  .hero-memory strong, .hero-memory span { color: #000; }
  .section { padding: 20px 0; }
  #memory-tools { break-before: page; }
  .workflow-card, .special-card, .education-card, .template-card, .case-shell, .source-list, .scope-box { break-inside: avoid; box-shadow: none; }
  .education-card:not([open]) > *:not(summary), .source-drawer:not([open]) > *:not(summary), .scope-box:not([open]) > *:not(summary) { display: block; }
  a { color: #000; text-decoration: underline; }
}
