:root {
  --bg: #f3eee6;
  --paper: rgba(255, 251, 245, 0.85);
  --ink: #171513;
  --muted: #5c5854;
  --line: rgba(23, 21, 19, 0.12);
  --deep-line: rgba(23, 21, 19, 0.22);
  --red: #b3463a;
  --red-deep: #8d3027;
  --blue: #28546b;
  --blue-soft: #dbeaf0;
  --olive: #596043;
  --shadow: 0 10px 30px rgba(26, 20, 17, 0.08);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-sm: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111519;
  --paper: rgba(21, 26, 31, 0.9);
  --ink: #edf2f5;
  --muted: #b4bec7;
  --line: rgba(237, 242, 245, 0.12);
  --deep-line: rgba(237, 242, 245, 0.22);
  --red: #d9685a;
  --red-deep: #f0a59b;
  --blue: #8bbfda;
  --blue-soft: #172731;
  --olive: #a8b68f;
  --shadow: 0 14px 34px rgba(2, 4, 6, 0.38);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(900px 480px at 8% -5%, rgba(204, 94, 70, 0.14), transparent 65%),
    radial-gradient(900px 600px at 100% 0%, rgba(64, 118, 145, 0.14), transparent 60%),
    var(--bg);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, #000 50%, transparent 100%);
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}

.orb-a {
  width: 260px;
  height: 260px;
  top: 90px;
  right: -80px;
  background: rgba(179, 70, 58, 0.45);
}

.orb-b {
  width: 320px;
  height: 320px;
  bottom: 120px;
  left: -120px;
  background: rgba(40, 84, 107, 0.28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(var(--max), 95vw);
  margin: 12px auto 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.82);
  box-shadow: 0 10px 22px rgba(20, 15, 11, 0.06);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 500 0.78rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}

.brand-text {
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.top-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 8px 10px;
  border-radius: 999px;
}

.top-nav a:hover {
  background: rgba(23, 21, 19, 0.05);
  color: var(--ink);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  padding: 7px 10px;
  min-height: 38px;
  cursor: pointer;
  font: 500 0.8rem/1 "IBM Plex Mono", monospace;
  white-space: nowrap;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.62);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(40, 84, 107, 0.35);
  outline-offset: 2px;
}

.theme-toggle-label {
  color: var(--muted);
}

.theme-toggle-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 21, 19, 0.07);
  color: var(--ink);
}

.course-banner {
  width: min(var(--max), 95vw);
  margin: 16px auto 0;
}

.course-banner-inner {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(40, 84, 107, 0.08), transparent 75%),
    radial-gradient(420px 180px at 0% 100%, rgba(179, 70, 58, 0.08), transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 251, 245, 0.78));
  box-shadow: 0 8px 20px rgba(20, 15, 11, 0.05);
  padding: 18px 22px;
}

.course-framework {
  margin: 0 0 6px;
  color: var(--blue);
  font: 500 0.8rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.course-title {
  margin: 0;
  max-width: none;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.course-context {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.page {
  width: min(var(--max), 95vw);
  margin: 18px auto 40px;
  display: grid;
  gap: 18px;
}

.hero,
.panel,
.cta-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), var(--paper));
  box-shadow: var(--shadow);
}

.hero {
  padding: 34px;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 20px 18px auto;
  width: 160px;
  height: 160px;
  border-radius: 20px;
  transform: rotate(8deg);
  border: 1px solid rgba(23, 21, 19, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.25)),
    repeating-linear-gradient(
      0deg,
      rgba(23, 21, 19, 0.04),
      rgba(23, 21, 19, 0.04) 1px,
      transparent 1px,
      transparent 10px
    );
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red-deep);
  font: 500 0.82rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}

h1 {
  max-width: 16ch;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  line-height: 1.2;
}

.hero-title {
  max-width: 16ch;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
}

.lede {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 1.02rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 21, 19, 0.12);
}

.btn-primary:hover {
  box-shadow: 0 12px 24px rgba(23, 21, 19, 0.14);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--ink);
}

.meta-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.meta-pill {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.52);
}

.meta-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.meta-value {
  color: var(--ink);
  font: 500 0.86rem/1.25 "IBM Plex Mono", monospace;
}

.panel {
  padding: 24px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.split h2 {
  margin-bottom: 10px;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section-head p:last-child {
  max-width: 70ch;
}

.list-card,
.method-card,
.proof-card,
.build-card,
.day-card,
.price-card,
.admission-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.list-card {
  padding: 18px;
}

.list-card h3,
.list-card h2 {
  margin-bottom: 10px;
}

.list-card.warn {
  border-color: rgba(179, 70, 58, 0.2);
  background: linear-gradient(180deg, rgba(255, 245, 243, 0.8), rgba(255, 255, 255, 0.55));
}

ul,
ol {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--ink);
}

li {
  margin: 6px 0;
  line-height: 1.4;
}

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

.method-card {
  padding: 18px;
}

.method-card h3 {
  margin-bottom: 8px;
}

.micro {
  margin-top: 10px;
  color: var(--blue);
  font-size: 0.9rem;
}

.diagram-shell {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(23, 21, 19, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(248, 244, 237, 0.8)),
    repeating-linear-gradient(
      90deg,
      rgba(23, 21, 19, 0.025),
      rgba(23, 21, 19, 0.025) 1px,
      transparent 1px,
      transparent 24px
    );
}

.diagram-node {
  width: min(100%, 520px);
  text-align: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  font-weight: 600;
}

.diagram-node span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 400 0.78rem/1.3 "IBM Plex Mono", monospace;
}

.diagram-node-human {
  border-width: 2px;
  border-color: rgba(179, 70, 58, 0.45);
  background: linear-gradient(180deg, rgba(255, 245, 243, 0.9), rgba(255, 255, 255, 0.8));
  box-shadow: 0 0 0 3px rgba(179, 70, 58, 0.08);
}

.diagram-arrow {
  color: var(--muted);
  font: 500 1.15rem/1 "IBM Plex Mono", monospace;
}

.proof-grid,
.build-grid,
.modules-grid,
.pricing-grid,
.admission-grid {
  display: grid;
  gap: 14px;
}

.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-card {
  padding: 18px;
}

.proof-label {
  color: var(--red-deep);
  font: 500 0.76rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-card h3 {
  margin-top: 8px;
}

.proof-card p {
  margin-top: 8px;
}

.proof-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(40, 84, 107, 0.35);
}

.proof-card a:hover {
  border-bottom-color: rgba(40, 84, 107, 0.8);
}

.proof-note {
  margin-top: 14px;
  color: var(--ink);
  font-weight: 500;
}

.build-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.module-series {
  margin: -2px 0 12px;
  color: var(--blue);
  font: 500 0.8rem/1.25 "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.module-card {
  position: relative;
  padding: 16px;
  border-left: 10px solid transparent;
}

.module-card h3 {
  margin-top: 6px;
  font-size: 1.03rem;
  line-height: 1.2;
}

.module-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.module-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font: 500 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.module-audience {
  margin-top: 10px;
  color: var(--muted);
  font: 400 0.78rem/1.35 "IBM Plex Mono", monospace;
}

.modules-footnote {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.module-spec {
  border-left-color: rgba(40, 84, 107, 0.28);
  background: linear-gradient(180deg, rgba(40, 84, 107, 0.045), rgba(255, 255, 255, 0.55));
}

.module-execution {
  border-left-color: rgba(179, 70, 58, 0.28);
  background: linear-gradient(180deg, rgba(179, 70, 58, 0.04), rgba(255, 255, 255, 0.55));
}

.module-repo {
  border-left-color: rgba(89, 96, 67, 0.28);
  background: linear-gradient(180deg, rgba(89, 96, 67, 0.045), rgba(255, 255, 255, 0.55));
}

.module-assets {
  border-left-color: rgba(104, 78, 135, 0.22);
  background: linear-gradient(180deg, rgba(104, 78, 135, 0.035), rgba(255, 255, 255, 0.55));
}

.module-funding {
  border-left-color: rgba(166, 127, 39, 0.26);
  background: linear-gradient(180deg, rgba(166, 127, 39, 0.04), rgba(255, 255, 255, 0.55));
}

.build-card {
  padding: 18px;
}

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

.day-card {
  padding: 16px;
}

.day-card h3 {
  margin: 6px 0 8px;
}

.day-kicker {
  color: var(--blue);
  font: 500 0.8rem/1.2 "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.output {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 500;
}

.cohort-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cohort-meta span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font-size: 0.86rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.price-card {
  padding: 18px;
}

.price-card h3 {
  margin-top: 8px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
}

.price-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.price-sub {
  margin-top: 8px;
  font: 400 0.8rem/1.4 "IBM Plex Mono", monospace;
  color: var(--muted);
}

.price-card.featured {
  border-color: rgba(179, 70, 58, 0.35);
  background: linear-gradient(180deg, rgba(179, 70, 58, 0.08), rgba(255, 255, 255, 0.7));
}

.admission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admission-card {
  padding: 16px;
}

.admission-card h3 {
  margin-bottom: 8px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0 14px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details p {
  padding: 12px 0 14px;
}

.cta-panel {
  padding: 26px;
  border-color: rgba(40, 84, 107, 0.2);
  background:
    radial-gradient(550px 260px at 90% 0%, rgba(40, 84, 107, 0.08), transparent 70%),
    radial-gradient(500px 240px at 0% 100%, rgba(179, 70, 58, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), var(--paper));
}

.cta-panel h2 {
  margin-bottom: 10px;
}

.tiny-note {
  margin-top: 12px;
  color: var(--muted);
  font: 400 0.78rem/1.35 "IBM Plex Mono", monospace;
}

.site-footer {
  width: min(var(--max), 95vw);
  margin: 0 auto 34px;
  padding: 10px 2px;
}

.site-footer p {
  font-size: 0.85rem;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-state {
  background: rgba(179, 70, 58, 0.12);
  color: var(--red-deep);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-label {
  color: var(--ink);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(900px 480px at 8% -5%, rgba(217, 104, 90, 0.18), transparent 65%),
    radial-gradient(900px 600px at 100% 0%, rgba(139, 191, 218, 0.14), transparent 60%),
    var(--bg);
}

html[data-theme="dark"] .grain {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

html[data-theme="dark"] .site-header {
  background: rgba(15, 18, 22, 0.78);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .course-banner-inner {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(139, 191, 218, 0.08), transparent 75%),
    radial-gradient(420px 180px at 0% 100%, rgba(217, 104, 90, 0.08), transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .brand-mark {
  background: var(--red);
  color: #fff;
}

html[data-theme="dark"] .top-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .theme-toggle-state {
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .panel {
  background: linear-gradient(180deg, rgba(28, 34, 40, 0.9), var(--paper));
}

html[data-theme="dark"] .cta-panel {
  background:
    radial-gradient(550px 260px at 90% 0%, rgba(139, 191, 218, 0.09), transparent 70%),
    radial-gradient(500px 240px at 0% 100%, rgba(217, 104, 90, 0.11), transparent 70%),
    linear-gradient(180deg, rgba(27, 33, 38, 0.95), var(--paper));
}

html[data-theme="dark"] .hero::after {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 10px
    );
}

html[data-theme="dark"] .btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .meta-pill,
html[data-theme="dark"] .list-card,
html[data-theme="dark"] .method-card,
html[data-theme="dark"] .proof-card,
html[data-theme="dark"] .build-card,
html[data-theme="dark"] .day-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .admission-card,
html[data-theme="dark"] .faq-list details {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .list-card.warn {
  border-color: rgba(217, 104, 90, 0.22);
  background: linear-gradient(180deg, rgba(217, 104, 90, 0.06), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .diagram-shell {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 24px
    );
}

html[data-theme="dark"] .diagram-node {
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .diagram-node-human {
  border-color: rgba(217, 104, 90, 0.48);
  background: linear-gradient(180deg, rgba(217, 104, 90, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0 0 3px rgba(217, 104, 90, 0.08);
}

html[data-theme="dark"] .module-series {
  color: var(--blue);
}

html[data-theme="dark"] .module-id {
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .module-spec {
  border-left-color: rgba(139, 191, 218, 0.34);
  background: linear-gradient(180deg, rgba(139, 191, 218, 0.045), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .module-execution {
  border-left-color: rgba(217, 104, 90, 0.34);
  background: linear-gradient(180deg, rgba(217, 104, 90, 0.05), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .module-repo {
  border-left-color: rgba(168, 182, 143, 0.3);
  background: linear-gradient(180deg, rgba(168, 182, 143, 0.04), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .module-assets {
  border-left-color: rgba(182, 154, 221, 0.28);
  background: linear-gradient(180deg, rgba(182, 154, 221, 0.035), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .module-funding {
  border-left-color: rgba(216, 187, 109, 0.3);
  background: linear-gradient(180deg, rgba(216, 187, 109, 0.04), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .cohort-meta span {
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .price-card.featured {
  border-color: rgba(217, 104, 90, 0.3);
  background: linear-gradient(180deg, rgba(217, 104, 90, 0.07), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .faq-list details[open] summary {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.reveal {
  animation: reveal-up 540ms ease both;
}

.page > .reveal:nth-child(2) {
  animation-delay: 40ms;
}

.page > .reveal:nth-child(3) {
  animation-delay: 70ms;
}

.page > .reveal:nth-child(4) {
  animation-delay: 100ms;
}

.page > .reveal:nth-child(5) {
  animation-delay: 130ms;
}

.page > .reveal:nth-child(6) {
  animation-delay: 160ms;
}

.page > .reveal:nth-child(7) {
  animation-delay: 190ms;
}

.page > .reveal:nth-child(8) {
  animation-delay: 220ms;
}

.page > .reveal:nth-child(9) {
  animation-delay: 250ms;
}

.page > .reveal:nth-child(10) {
  animation-delay: 280ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* JBA-specific visual identity overrides (framework page only) */
:root {
  --bg: #efece5;
  --paper: rgba(249, 247, 241, 0.9);
  --ink: #161512;
  --muted: #58544d;
  --line: rgba(22, 21, 18, 0.12);
  --deep-line: rgba(22, 21, 18, 0.22);
  --red: #11756d;
  --red-deep: #0f625a;
  --blue: #146c7b;
  --blue-soft: #deefec;
  --olive: #5f6d54;
  --shadow: 0 12px 34px rgba(22, 16, 12, 0.07);
}

html[data-theme="dark"] {
  --bg: #101116;
  --paper: rgba(24, 26, 32, 0.93);
  --ink: #f1ebe4;
  --muted: #b9aea7;
  --line: rgba(241, 235, 228, 0.11);
  --deep-line: rgba(241, 235, 228, 0.2);
  --red: #c96f99;
  --red-deep: #e1a4c1;
  --blue: #d387ae;
  --blue-soft: #231924;
  --shadow: 0 16px 36px rgba(2, 2, 4, 0.43);
}

body {
  font-family: "IBM Plex Mono", monospace;
  font-size: 16.5px;
  line-height: 1.68;
  background:
    radial-gradient(900px 480px at 8% -5%, rgba(17, 117, 109, 0.12), transparent 65%),
    radial-gradient(900px 600px at 100% 0%, rgba(20, 108, 123, 0.1), transparent 60%),
    var(--bg);
}

p,
li {
  line-height: 1.7;
}

.page {
  margin: 22px auto 50px;
  gap: 22px;
}

.hero {
  padding: 40px;
}

.panel {
  padding: 28px;
}

.section-head {
  margin-bottom: 22px;
}

.course-banner-inner {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(20, 108, 123, 0.08), transparent 75%),
    radial-gradient(420px 180px at 0% 100%, rgba(17, 117, 109, 0.08), transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(249, 247, 241, 0.82));
  box-shadow: 0 10px 22px rgba(20, 15, 11, 0.04);
  padding: 20px 24px;
}

.brand-mark {
  background: var(--blue);
}

.brand-text {
  font-size: 0.86rem;
}

.top-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.35);
}

.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font: 500 0.72rem/1 "IBM Plex Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lang-switcher a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.lang-switcher a[aria-current="page"] {
  color: var(--ink);
  background: rgba(23, 21, 19, 0.08);
}

h1,
h2,
h3,
.course-title,
.hero-title {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

h1,
.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.85rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.28rem;
}

.course-title {
  max-width: none;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  line-height: 0.98;
}

.course-context {
  font-size: 0.9rem;
}

.lede {
  max-width: 68ch;
  font-size: 0.96rem;
}

.list-card,
.method-card,
.proof-card {
  background: rgba(255, 255, 255, 0.46);
}

.proof-card a {
  color: var(--blue);
  border-bottom-color: rgba(20, 108, 123, 0.28);
}

.proof-card a:hover {
  border-bottom-color: rgba(20, 108, 123, 0.75);
}

.proof-note,
.micro {
  color: var(--ink);
}

.site-footer p {
  font-size: 0.78rem;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(900px 480px at 8% -5%, rgba(201, 111, 153, 0.16), transparent 65%),
    radial-gradient(900px 600px at 100% 0%, rgba(211, 135, 174, 0.1), transparent 60%),
    var(--bg);
}

html[data-theme="dark"] .site-header {
  background: rgba(14, 15, 19, 0.8);
}

html[data-theme="dark"] .course-banner-inner {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(211, 135, 174, 0.08), transparent 75%),
    radial-gradient(420px 180px at 0% 100%, rgba(201, 111, 153, 0.08), transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .brand-mark {
  background: var(--red);
}

html[data-theme="dark"] .lang-switcher {
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="dark"] .lang-switcher a:hover {
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .lang-switcher a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .panel {
  background: linear-gradient(180deg, rgba(23, 25, 31, 0.92), var(--paper));
}

html[data-theme="dark"] .cta-panel {
  background:
    radial-gradient(550px 260px at 90% 0%, rgba(211, 135, 174, 0.08), transparent 70%),
    radial-gradient(500px 240px at 0% 100%, rgba(201, 111, 153, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(22, 24, 30, 0.95), var(--paper));
}

html[data-theme="dark"] .btn-primary {
  background: var(--red);
}

html[data-theme="dark"] .list-card,
html[data-theme="dark"] .method-card,
html[data-theme="dark"] .proof-card {
  background: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .proof-card a {
  color: var(--blue);
  border-bottom-color: rgba(211, 135, 174, 0.22);
}

html[data-theme="dark"] .proof-card a:hover {
  border-bottom-color: rgba(211, 135, 174, 0.62);
}

html[data-theme="dark"] .theme-toggle[aria-pressed="true"] .theme-toggle-state {
  color: var(--red-deep);
}

html[data-theme="dark"] .theme-toggle:focus-visible {
  outline-color: rgba(211, 135, 174, 0.35);
}

@media (max-width: 960px) {
  .site-header {
    border-radius: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-text {
    white-space: normal;
  }

  .top-nav {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-toggle {
    align-self: flex-start;
  }

  .lang-switcher {
    align-self: flex-start;
  }

  .meta-grid,
  .split,
  .method-grid,
  .proof-grid,
  .build-grid,
  .modules-grid,
  .days-grid,
  .pricing-grid,
  .admission-grid {
    grid-template-columns: 1fr;
  }

  .hero::after {
    display: none;
  }

  .course-banner {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(var(--max), 96vw);
    gap: 14px;
  }

  .hero {
    padding: 22px;
  }

  .panel,
  .cta-panel {
    padding: 18px;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    animation: none;
  }

  .btn {
    transition: none;
  }
}

/* JBA v2: editorial rhythm + soft brutalism differentiation from HITM */
h1,
h2,
h3,
.course-title,
.hero-title {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

body {
  background:
    radial-gradient(720px 300px at 92% -8%, rgba(19, 122, 152, 0.11), transparent 72%),
    radial-gradient(520px 220px at 4% 8%, rgba(216, 170, 112, 0.045), transparent 74%),
    linear-gradient(180deg, #f5f2ec 0%, #f0ede6 58%, #eceae5 100%);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(680px 300px at 88% -10%, rgba(213, 132, 171, 0.14), transparent 72%),
    radial-gradient(520px 260px at 4% 6%, rgba(177, 88, 131, 0.1), transparent 72%),
    linear-gradient(180deg, #101116 0%, #11131a 56%, #14131a 100%);
}

.hero::after {
  content: none !important;
  display: none !important;
}

.page {
  width: min(1240px, 96vw);
  margin: 36px auto 88px;
  gap: 54px;
}

.site-header,
.course-banner-inner,
.hero,
.panel,
.cta-panel,
.list-card,
.method-card,
.proof-card {
  border-radius: 0 !important;
}

.btn,
.meta-pill,
.theme-toggle,
.theme-toggle-state,
.lang-switcher,
.lang-switcher a,
.brand-mark {
  border-radius: 2px !important;
}

.site-header {
  box-shadow: none;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
}

.course-banner-inner {
  padding: 42px 42px;
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(19, 122, 152, 0.05), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 245, 238, 0.88));
}

.course-framework {
  margin-bottom: 10px;
  letter-spacing: 0.09em;
}

.course-title {
  font-size: clamp(2.9rem, 5.2vw, 5.4rem);
  line-height: 0.88;
}

.course-context {
  margin-top: 14px;
  max-width: 90ch;
  line-height: 1.75;
}

.hero {
  padding: 82px 74px 74px;
  background:
    radial-gradient(620px 220px at 100% 0%, rgba(19, 122, 152, 0.06), transparent 72%),
    linear-gradient(90deg, rgba(19, 122, 152, 0.055), rgba(19, 122, 152, 0) 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(248, 245, 238, 0.92));
}

.hero-title {
  max-width: none;
  font-size: clamp(3.7rem, 7.4vw, 7.6rem);
  line-height: 0.87;
  text-wrap: balance;
}

.hero .lede {
  margin-top: 30px;
  max-width: 72ch;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 36px;
  gap: 16px;
}

.panel,
.cta-panel {
  padding: 60px 58px 54px;
}

.panel {
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(19, 122, 152, 0.045), transparent 74%),
    radial-gradient(460px 200px at 0% 100%, rgba(216, 170, 112, 0.03), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 245, 238, 0.94));
}

.section-head {
  margin-bottom: 46px;
}

.section-head h2 + p {
  margin-top: 18px;
}

.section-head h2,
.cta-panel h2 {
  max-width: none;
  font-size: clamp(2.25rem, 4.4vw, 4.6rem);
  line-height: 0.92;
}

.panel.split {
  grid-template-columns: 1fr;
  gap: 36px;
}

.panel.split > div:not(.list-card) {
  display: grid;
  align-content: start;
  gap: 22px;
}

.panel.split > div:not(.list-card) > .eyebrow {
  margin-bottom: 0;
}

.panel.split > div:not(.list-card) > h2 {
  max-width: none;
  font-size: clamp(2.25rem, 4.4vw, 4.4rem);
  line-height: 0.92;
}

.panel.split > div:not(.list-card) > p:last-child {
  max-width: 84ch;
}

.list-card h2,
.method-card h3,
.proof-card h3 {
  letter-spacing: -0.005em;
}

.meta-grid {
  margin-top: 44px;
  gap: 16px;
}

.meta-pill {
  border-width: 1.5px;
  background: rgba(255, 255, 255, 0.34);
}

.list-card,
.method-card,
.proof-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 30px;
  box-shadow: none;
  border-width: 1.5px;
}

.method-grid,
.proof-grid {
  gap: 28px;
}

.proof-card a {
  border-bottom-width: 1px;
}

.cta-panel {
  background:
    radial-gradient(560px 200px at 100% 0%, rgba(19, 122, 152, 0.065), transparent 72%),
    linear-gradient(90deg, rgba(19, 122, 152, 0.065), rgba(19, 122, 152, 0) 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(248, 245, 238, 0.92));
}

html[data-theme="dark"] .course-banner-inner {
  background:
    linear-gradient(90deg, rgba(205, 110, 153, 0.08), rgba(205, 110, 153, 0) 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .hero {
  background:
    linear-gradient(90deg, rgba(211, 135, 174, 0.08), rgba(211, 135, 174, 0) 20%),
    linear-gradient(180deg, rgba(22, 24, 30, 0.96), var(--paper));
}

html[data-theme="dark"] .panel {
  background: linear-gradient(180deg, rgba(22, 24, 30, 0.95), var(--paper));
}

html[data-theme="dark"] .cta-panel {
  background:
    linear-gradient(90deg, rgba(211, 135, 174, 0.09), rgba(211, 135, 174, 0) 22%),
    linear-gradient(180deg, rgba(22, 24, 30, 0.96), var(--paper));
}

html[data-theme="dark"] .meta-pill {
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 960px) {
  .page {
    width: min(1240px, 97vw);
    margin: 18px auto 40px;
    gap: 28px;
  }

  .site-header {
    border-radius: 0 !important;
  }

  .course-banner-inner {
    padding: 28px 22px;
  }

  .hero {
    padding: 44px 28px 36px;
  }

  .panel,
  .cta-panel {
    padding: 34px 26px 30px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .section-head h2,
  .cta-panel h2,
  .panel.split > div:not(.list-card) > h2 {
    font-size: clamp(1.9rem, 7vw, 3rem);
  }

  .meta-grid {
    margin-top: 28px;
    gap: 10px;
  }
}

/* Phase 1 identity pass: JBA should read as the calmer framework/editorial page. */
body {
  background:
    radial-gradient(820px 340px at 100% -6%, rgba(40, 84, 107, 0.08), transparent 70%),
    radial-gradient(620px 280px at -6% 100%, rgba(166, 127, 39, 0.045), transparent 72%),
    linear-gradient(rgba(23, 21, 19, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 19, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, #f6f1e8, #f2ebdf 58%, #eee7da);
  background-size: auto, auto, 30px 30px, 30px 30px, auto;
}

.grain {
  opacity: 0.032;
  background-image: radial-gradient(rgba(23, 21, 19, 0.09) 0.55px, transparent 0.8px);
  background-size: 14px 14px;
  mask-image: radial-gradient(circle at 50% 18%, #000 58%, transparent 100%);
}

.orb-a,
.orb-b {
  display: none;
}

.site-header {
  border-color: rgba(23, 21, 19, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.72), rgba(255, 251, 245, 0.64));
  backdrop-filter: blur(12px);
}

.brand-mark {
  background: rgba(23, 21, 19, 0.92);
}

.brand-text {
  color: var(--ink);
}

.top-nav a {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.course-banner-inner {
  position: relative;
  border-color: rgba(40, 84, 107, 0.12);
  box-shadow: none;
  background:
    linear-gradient(90deg, rgba(40, 84, 107, 0.04), rgba(40, 84, 107, 0) 18%),
    repeating-linear-gradient(0deg, rgba(23, 21, 19, 0.018), rgba(23, 21, 19, 0.018) 1px, transparent 1px, transparent 28px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 245, 238, 0.92));
}

.course-banner-inner::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(40, 84, 107, 0.35), rgba(40, 84, 107, 0.05));
}

.course-framework {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(40, 84, 107, 0.12);
  border-radius: 999px;
  background: rgba(40, 84, 107, 0.03);
}

.course-context {
  color: var(--ink);
  max-width: 76ch;
  line-height: 1.72;
}

.page {
  gap: 26px;
}

.hero {
  border-color: rgba(40, 84, 107, 0.11);
  padding: 90px 74px 84px;
  background:
    radial-gradient(680px 240px at 100% 0%, rgba(19, 122, 152, 0.045), transparent 74%),
    linear-gradient(90deg, rgba(19, 122, 152, 0.04), rgba(19, 122, 152, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 245, 238, 0.95));
}

.hero::after {
  opacity: 0.48;
  transform: rotate(4deg);
}

.hero .lede {
  max-width: 78ch;
  line-height: 1.72;
  color: var(--muted);
}

.hero-actions .btn-primary {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(23, 21, 19, 0.14);
  color: var(--ink);
  box-shadow: none;
}

.hero-actions .btn-primary:hover {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.58);
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(23, 21, 19, 0.08);
}

.meta-pill {
  border-color: rgba(23, 21, 19, 0.08);
  background: rgba(255, 255, 255, 0.22);
}

.panel,
.cta-panel {
  border-color: rgba(23, 21, 19, 0.09);
  box-shadow: none;
}

.panel {
  background:
    radial-gradient(560px 200px at 100% 0%, rgba(19, 122, 152, 0.03), transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 245, 238, 0.95));
}

.section-head {
  margin-bottom: 52px;
}

.cta-panel {
  border-color: rgba(40, 84, 107, 0.12);
  background:
    linear-gradient(90deg, rgba(40, 84, 107, 0.045), rgba(40, 84, 107, 0) 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 245, 238, 0.93));
}

#flagship.cta-panel {
  position: relative;
}

#flagship.cta-panel::before {
  content: "";
  position: absolute;
  inset: 20px auto 20px 20px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(40, 84, 107, 0.32), rgba(40, 84, 107, 0.06));
}

html[data-theme="dark"] .site-header {
  border-color: rgba(237, 242, 245, 0.08);
  background: rgba(15, 18, 22, 0.72);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(880px 380px at 100% -8%, rgba(139, 191, 218, 0.11), transparent 70%),
    radial-gradient(640px 300px at -8% 100%, rgba(168, 182, 143, 0.045), transparent 74%),
    linear-gradient(rgba(255, 255, 255, 0.046) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    #101419;
  background-size: auto, auto, 30px 30px, 30px 30px, auto;
}

html[data-theme="dark"] .grain {
  opacity: 0.04;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.55px, transparent 0.8px);
  background-size: 14px 14px;
  mask-image: radial-gradient(circle at 50% 18%, #000 58%, transparent 100%);
}

html[data-theme="dark"] .brand-text {
  color: var(--ink);
}

html[data-theme="dark"] .course-banner-inner {
  border-color: rgba(139, 191, 218, 0.12);
  background:
    linear-gradient(90deg, rgba(139, 191, 218, 0.04), rgba(139, 191, 218, 0) 20%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0.016) 1px, transparent 1px, transparent 28px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
}

html[data-theme="dark"] .course-framework {
  border-color: rgba(139, 191, 218, 0.14);
  background: rgba(139, 191, 218, 0.05);
}

html[data-theme="dark"] .hero {
  border-color: rgba(139, 191, 218, 0.12);
  background:
    linear-gradient(90deg, rgba(139, 191, 218, 0.04), rgba(139, 191, 218, 0) 24%),
    linear-gradient(180deg, rgba(22, 24, 30, 0.96), var(--paper));
}

html[data-theme="dark"] .hero-actions .btn-primary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(237, 242, 245, 0.12);
  color: var(--ink);
}

html[data-theme="dark"] .hero-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(237, 242, 245, 0.08);
}

html[data-theme="dark"] .meta-pill {
  border-color: rgba(237, 242, 245, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="dark"] .panel,
html[data-theme="dark"] .cta-panel {
  border-color: rgba(237, 242, 245, 0.08);
}

html[data-theme="dark"] .panel {
  background: linear-gradient(180deg, rgba(22, 24, 30, 0.95), var(--paper));
}

html[data-theme="dark"] .cta-panel {
  background:
    linear-gradient(90deg, rgba(139, 191, 218, 0.05), rgba(139, 191, 218, 0) 24%),
    linear-gradient(180deg, rgba(22, 24, 30, 0.96), var(--paper));
}

html[data-theme="dark"] #flagship.cta-panel::before {
  background: linear-gradient(180deg, rgba(139, 191, 218, 0.28), rgba(139, 191, 218, 0.04));
}

@media (max-width: 960px) {
  .page {
    gap: 24px;
  }

  .course-banner-inner::before,
  #flagship.cta-panel::before {
    inset: 14px auto 14px 14px;
  }

  .hero {
    padding: 48px 28px 40px;
  }

  .hero .lede,
  .course-context {
    line-height: 1.62;
  }
}
