:root {
  --navy: #0b1f35;
  --navy-2: #102f4e;
  --teal: #2bb3a3;
  --cyan: #71d6ff;
  --green: #51b96b;
  --amber: #f0aa3d;
  --purple: #8565d6;
  --ink: #1a2433;
  --muted: #64748b;
  --line: #dbe4f0;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --soft-2: #eef5ff;
  --shadow: 0 20px 60px rgba(12, 31, 53, 0.14);
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.wrapper { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.section-pad { padding: 88px 0; }
.section-pad.compact { padding-top: 70px; }
.muted { background: linear-gradient(180deg, #f7fbff, #eef5fb); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 228, 240, 0.9);
}
.nav-shell {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 10px 24px rgba(43, 179, 163, .24);
  font-weight: 800;
}
.brand strong { display: block; letter-spacing: .05em; color: var(--navy); }
.brand small { display: block; color: var(--muted); margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 20px; color: #334155; font-weight: 650; }
.nav-links a { padding: 9px 10px; border-radius: 999px; }
.nav-links a:hover { background: var(--soft-2); color: var(--navy); }
.menu-toggle { display: none; border: 0; background: var(--navy); color: white; border-radius: 12px; width: 42px; height: 42px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(113, 214, 255, .24), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(43, 179, 163, .22), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eff7ff 52%, #f7fffd 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--teal); font-size: .78rem; font-weight: 800; }
.hero h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.6rem); line-height: .93; letter-spacing: -.07em; color: var(--navy); }
.hero-text { max-width: 660px; font-size: 1.2rem; color: #42536a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15, 40, 70, .13); }
.btn.primary { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: white; border-color: transparent; }
.btn.ghost { background: rgba(255,255,255,.6); }
.btn.small { min-height: 36px; padding: 0 13px; font-size: .88rem; }
.btn.accent { background: rgba(240, 170, 61, .12); color: #8a5712; border-color: rgba(240,170,61,.4); }
.hero-stats { display: flex; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats div { background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 18px; padding: 12px 18px; min-width: 125px; }
.hero-stats strong { display: block; color: var(--navy); font-size: 1.55rem; }
.hero-stats span { color: var(--muted); font-size: .88rem; }
.glass-card { border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.72); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.visual-card { padding: 28px; }
.card-label { display: inline-flex; color: var(--navy); background: #e7f7f5; border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .82rem; }
.visual-card h2 { color: var(--navy); font-size: 2rem; margin-bottom: 6px; }
.mini-chart { height: 260px; margin-top: 20px; }
.decision-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.decision-strip span { text-align: center; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 10px 5px; font-weight: 800; color: #334155; }
.hero-orb { position: absolute; border-radius: 999px; filter: blur(4px); opacity: .6; pointer-events: none; }
.orb-one { width: 220px; height: 220px; background: rgba(43, 179, 163, .12); bottom: -60px; left: 8%; }
.orb-two { width: 300px; height: 300px; background: rgba(133, 101, 214, .10); top: 20%; right: -100px; }

.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 14px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 35px rgba(15, 40, 70, .06); }
.path-icon { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: #e8f7f5; color: var(--teal); font-weight: 900; font-size: 1.4rem; }
.path-card h3 { color: var(--navy); margin-bottom: 6px; }
.path-card p { color: var(--muted); }
.text-link { color: var(--teal); font-weight: 850; }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tool-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 16px 45px rgba(15, 40, 70, .08); }
.tool-card.wide { grid-column: 1 / -1; }
.tool-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.tool-kicker { margin: 0; color: var(--teal); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.tool-card h3 { margin: 2px 0 0; color: var(--navy); font-size: 1.55rem; line-height: 1.1; }
.tag { display: inline-flex; white-space: nowrap; color: var(--navy); background: #e8f2ff; border: 1px solid #d5e5fb; padding: 6px 10px; border-radius: 999px; font-weight: 850; font-size: .78rem; }
.tag.amber { background: #fff4df; border-color: #ffe0a7; color: #8a5712; }
.tag.purple { background: #f0ecff; border-color: #ded4ff; color: #5635a3; }
.tag.green { background: #eaf8ee; border-color: #cfeeda; color: #286b3d; }
.tag.teal { background: #e7f7f5; border-color: #bfebe5; color: #14776d; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: start; }
.label { display: block; font-weight: 850; color: var(--navy); margin-bottom: 8px; }
textarea, .select { width: 100%; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); padding: 13px 14px; color: var(--ink); outline: none; resize: vertical; }
textarea:focus, .select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(43, 179, 163, .12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.stat-pill { border: 1px solid var(--line); background: #fbfdff; border-radius: 16px; padding: 11px; }
.stat-pill span { display: block; color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.stat-pill strong { color: var(--navy); font-size: 1.12rem; }
.viz-panel { min-height: 320px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #fbfdff, #f3f8ff); padding: 12px; overflow: hidden; }
.viz-panel.tall { min-height: 290px; }
.insight-box { margin-top: 14px; background: #f8fbff; border-left: 4px solid var(--teal); border-radius: 14px; padding: 13px 14px; color: #334155; font-weight: 650; }
.control-stack { display: grid; gap: 10px; margin-bottom: 12px; }
.control-stack label { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 8px; color: #334155; font-weight: 800; }
input[type="range"] { width: 100%; accent-color: var(--teal); }
.tabs { display: inline-flex; background: var(--soft); border: 1px solid var(--line); padding: 4px; border-radius: 999px; margin-bottom: 12px; }
.tab { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 850; color: var(--muted); cursor: pointer; }
.tab.active { background: white; color: var(--navy); box-shadow: 0 6px 18px rgba(15,40,70,.1); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.case-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: white; color: #334155; border-radius: 999px; padding: 10px 15px; font-weight: 850; cursor: pointer; }
.chip.active, .chip:hover { background: var(--navy); color: white; border-color: var(--navy); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { position: relative; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 36px rgba(15,40,70,.07); min-height: 255px; }
.case-card::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: rgba(43,179,163,.09); right: -55px; top: -45px; }
.case-card h3 { color: var(--navy); margin: 8px 0; }
.case-card p { color: var(--muted); }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.case-meta span { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; font-size: .78rem; font-weight: 800; color: #44566d; }

.software-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.software-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 16px 45px rgba(15,40,70,.08); }
.software-head { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: white; font-weight: 950; font-size: 1.2rem; }
.software-head.excel { background: linear-gradient(135deg, #1b7d4a, #51b96b); }
.software-head.rlang { background: linear-gradient(135deg, #315baf, #8565d6); }
.software-card h3 { color: var(--navy); font-size: 1.7rem; margin-bottom: 6px; }
pre { background: #0c1e32; color: #e9f8ff; padding: 16px; border-radius: 18px; overflow-x: auto; font-size: .9rem; line-height: 1.5; }
.microcopy { color: var(--muted); font-weight: 650; }

.challenge-card { max-width: 860px; margin: 0 auto; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.challenge-question h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.6rem; }
.challenge-question p { color: #40516a; }
.challenge-options { display: grid; gap: 10px; margin: 20px 0; }
.option-btn { text-align: left; border: 1px solid var(--line); background: var(--soft); border-radius: 16px; padding: 13px 15px; cursor: pointer; color: var(--ink); font-weight: 750; }
.option-btn:hover { border-color: var(--teal); background: #effcf9; }
.option-btn.correct { border-color: var(--green); background: #eaf8ee; }
.option-btn.incorrect { border-color: #e06a6a; background: #fff0f0; }
.challenge-feedback { min-height: 42px; border-radius: 14px; color: #334155; font-weight: 750; }

.site-footer { background: var(--navy); color: #dbeafe; padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-brand strong { color: white; }
.footer-brand small { color: #aac6e4; }
.site-footer p { color: #aac6e4; }
.site-footer h4 { margin-bottom: 6px; color: white; }

svg { width: 100%; height: 100%; display: block; }
.axis text, .svg-label { font-size: 11px; fill: #475569; font-weight: 700; }
.axis line, .axis path, .grid-line { stroke: #d6e2ef; stroke-width: 1; }
.bar { fill: url(#barGradient); }
.point { fill: var(--teal); stroke: white; stroke-width: 1.7; }
.reg-line { stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .hero-grid, .two-col, .software-grid, .footer-grid { grid-template-columns: 1fr; }
  .path-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}
@media (max-width: 740px) {
  .section-pad { padding: 64px 0; }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 78px; background: white; border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .path-grid, .case-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .visual-card { padding: 20px; }
  .stat-grid { grid-template-columns: 1fr; }
  .control-stack label { grid-template-columns: 1fr; }
  .tool-header { flex-direction: column; }
  .footer-grid { gap: 10px; }
}

/* Website overview card */
.nav-actions { display: inline-flex; align-items: center; gap: 10px; }
.theme-toggle {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 40, 70, .07);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: rgba(40,194,182,.45); }
.theme-icon { font-size: 1rem; line-height: 1; }

.overview-card {
  padding: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(40,194,182,.12), transparent 34%),
    linear-gradient(160deg, rgba(255,255,255,.96), rgba(247,251,255,.92));
  border: 1px solid rgba(210,225,240,.92);
}
.overview-kicker {
  margin: 0 0 10px;
  color: var(--teal-2);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.overview-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.overview-intro {
  margin: 16px 0 0;
  color: #52657d;
  font-size: 1.04rem;
}
.overview-flow {
  margin: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(245,249,255,.82);
}
.overview-flow span {
  color: var(--navy);
  font-weight: 850;
  font-size: .9rem;
}
.overview-flow i { color: var(--teal-2); font-style: normal; font-weight: 900; }
.overview-list { display: grid; gap: 12px; }
.overview-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(219,228,240,.9);
}
.overview-list article:first-child { border-top: 0; }
.overview-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8f7f5, #eaf3ff);
  color: var(--navy);
  font-weight: 900;
  font-size: .84rem;
}
.overview-list strong { display: block; color: var(--navy); font-size: 1rem; }
.overview-list p { margin: 3px 0 0; color: var(--muted); font-size: .94rem; }


/* Distribution event controls */
.event-control {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.event-control label {
  color: var(--navy);
  font-weight: 850;
}
.compact-select {
  padding: 10px 13px;
  border-radius: 14px;
}
.distribution-key {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--muted);
  font-size: .84rem;
}

/* Software skills hub */
.software-outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.software-outcomes article {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15,40,70,.05);
}
.software-outcomes article > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #e7f7f5;
  color: #14776d;
  font-size: .76rem;
  font-weight: 900;
}
.software-outcomes strong { display: block; margin-top: 12px; color: var(--navy); font-size: 1.02rem; }
.software-outcomes p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }

.software-hub {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(15,40,70,.1);
}
.software-track-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.software-track-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 16px;
  background: var(--soft-3, #f8fbff);
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.software-track-tab:hover { transform: translateY(-2px); border-color: rgba(43,179,163,.55); }
.software-track-tab.active {
  background: linear-gradient(145deg, #ffffff, #eef8ff);
  border-color: rgba(43,179,163,.55);
  box-shadow: 0 12px 30px rgba(15,40,70,.09);
}
.software-track-tab .software-head { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 15px; }
.software-track-tab strong { display: block; color: var(--navy); font-size: 1rem; }
.software-track-tab small { display: block; color: var(--muted); margin-top: 2px; }

.software-learning-layout {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.55fr);
  gap: 22px;
  padding-top: 22px;
}
.software-module-nav { display: grid; align-content: start; gap: 9px; }
.software-module-button {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: center;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 11px 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.software-module-button:hover { background: var(--soft); }
.software-module-button.active {
  background: #edf8f7;
  border-color: #c9ebe7;
}
.software-module-button > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 900;
}
.software-module-button strong { display: block; color: var(--navy); font-size: .9rem; line-height: 1.2; }
.software-module-button small { display: block; color: var(--muted); margin-top: 3px; font-size: .76rem; }

.software-module-detail {
  min-width: 0;
  background: linear-gradient(160deg, #fbfdff, #f2f7fd);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}
.software-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.software-detail-head h3 { margin: 3px 0 7px; color: var(--navy); font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.05; }
.software-detail-head p:last-child { margin: 0; color: var(--muted); }
.software-progress {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: #ffffff;
  font-size: .8rem;
  font-weight: 850;
}
.software-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.software-outcome-card, .software-toolbox {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  background: rgba(255,255,255,.82);
}
.software-outcome-card > span, .software-toolbox > span {
  display: block;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.software-outcome-card p { margin: 7px 0 0; color: #334155; font-weight: 650; }
.software-toolbox div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.software-toolbox em {
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--soft);
  color: #42536a;
  font-size: .76rem;
  font-weight: 800;
}
.software-code-shell {
  overflow: hidden;
  border-radius: 18px;
  background: #0b1d31;
  border: 1px solid #203850;
}
.software-code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid #233b54;
  color: #a9c3dc;
  font-size: .78rem;
  font-weight: 800;
}
.software-code-toolbar button {
  border: 1px solid #3d5872;
  border-radius: 999px;
  background: #152d44;
  color: #edf7ff;
  padding: 5px 11px;
  cursor: pointer;
  font-weight: 800;
}
.software-code-shell pre { margin: 0; border-radius: 0; background: transparent; max-height: 320px; }
.software-decision-note {
  margin-top: 14px;
  border-left: 4px solid var(--teal);
  background: #edf8f7;
  border-radius: 14px;
  padding: 13px 15px;
  color: #334155;
}
.software-decision-note strong { color: var(--navy); }

/* Compact AI access */
.ai-compact-shell {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 30px;
  color: #eaf5ff;
  background:
    radial-gradient(circle at 90% 10%, rgba(43,179,163,.24), transparent 35%),
    linear-gradient(145deg, #0b2037, #102f4e);
  box-shadow: 0 28px 75px rgba(7,20,35,.2);
  overflow: hidden;
}
.ai-compact-copy .eyebrow { color: #79e5d9; }
.ai-compact-copy h2 { margin: 0; color: #ffffff; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.02; letter-spacing: -.045em; }
.ai-compact-copy > p:not(.eyebrow) { color: #bfd1e3; max-width: 650px; }
.ai-use-cases { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.ai-use-cases span {
  border: 1px solid rgba(185,218,244,.18);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 7px 11px;
  color: #dcecff;
  font-size: .82rem;
  font-weight: 800;
}
.ai-compact-shell .btn.primary { background: #ffffff; color: #0b1f35; }
.qr-compact {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
}
.qr-frame {
  width: min(190px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(0,0,0,.24);
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
.qr-compact strong { color: #ffffff; font-size: 1rem; }
.qr-compact span { display: block; color: #a9bfd6; font-size: .84rem; }

@media (max-width: 980px) {
  .software-outcomes { grid-template-columns: repeat(2, 1fr); }
  .software-learning-layout { grid-template-columns: 1fr; }
  .software-module-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-compact-shell { grid-template-columns: 1fr; text-align: center; }
  .ai-compact-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .ai-use-cases { justify-content: center; }
}
@media (max-width: 740px) {
  .event-control { grid-template-columns: 1fr; }
  .software-outcomes, .software-track-tabs, .software-module-nav, .software-detail-grid { grid-template-columns: 1fr; }
  .software-hub { padding: 14px; border-radius: 22px; }
  .software-module-detail { padding: 18px; }
  .software-detail-head { display: grid; }
  .software-progress { justify-self: start; }
  .ai-compact-shell { padding: 24px 18px; border-radius: 24px; }
  .qr-frame { width: 176px; }
}

/* Dark theme */
html[data-theme="dark"] {
  --navy: #eaf4ff;
  --navy-2: #d6e8ff;
  --ink: #edf5ff;
  --muted: #9eb0c4;
  --line: #2b4058;
  --paper: #08111d;
  --soft: #101e2d;
  --soft-2: #13263a;
  --soft-3: #0f1c2b;
}
html[data-theme="dark"] body {
  background: linear-gradient(180deg, #07111c 0%, #0b1725 48%, #08111d 100%);
  color: var(--ink);
}
html[data-theme="dark"] .site-header {
  background: rgba(8,17,29,.86);
  border-bottom-color: rgba(48,70,94,.85);
}
html[data-theme="dark"] .brand strong,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .path-card h3,
html[data-theme="dark"] .tool-card h3,
html[data-theme="dark"] .software-card h3,
html[data-theme="dark"] .ask-ai-card h3,
html[data-theme="dark"] .qr-panel h3,
html[data-theme="dark"] .challenge-question h3,
html[data-theme="dark"] .case-card h3,
html[data-theme="dark"] .label,
html[data-theme="dark"] .stat-pill strong,
html[data-theme="dark"] .overview-card h2,
html[data-theme="dark"] .overview-flow span,
html[data-theme="dark"] .overview-list strong {
  color: #edf5ff;
}
html[data-theme="dark"] .brand small,
html[data-theme="dark"] .hero-text,
html[data-theme="dark"] .section-head p:last-child,
html[data-theme="dark"] .path-card p,
html[data-theme="dark"] .case-card p,
html[data-theme="dark"] .software-card p,
html[data-theme="dark"] .ask-ai-card p,
html[data-theme="dark"] .qr-panel p,
html[data-theme="dark"] .overview-intro,
html[data-theme="dark"] .overview-list p,
html[data-theme="dark"] .microcopy {
  color: #9eb0c4;
}
html[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 8% 10%, rgba(38,154,185,.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(40,194,182,.15), transparent 30%),
    linear-gradient(135deg, #081421 0%, #0c1b2b 52%, #0a1723 100%);
}
html[data-theme="dark"] .hero h1 { color: #f4f8ff; }
html[data-theme="dark"] .muted { background: linear-gradient(180deg, #0b1725, #0e1c2c); }
html[data-theme="dark"] .path-card,
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .software-card,
html[data-theme="dark"] .ask-ai-card,
html[data-theme="dark"] .qr-panel,
html[data-theme="dark"] .challenge-card,
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .hero-ai-card {
  background: #0f1c2b;
  border-color: #293d54;
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
}
html[data-theme="dark"] .overview-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(40,194,182,.12), transparent 36%),
    linear-gradient(160deg, rgba(15,31,48,.98), rgba(10,22,35,.98));
  border-color: #2b4058;
}
html[data-theme="dark"] .overview-flow,
html[data-theme="dark"] .stat-pill,
html[data-theme="dark"] .viz-panel,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .select,
html[data-theme="dark"] .insight-box,
html[data-theme="dark"] .ai-prompt-list span,
html[data-theme="dark"] .option-btn,
html[data-theme="dark"] .tabs {
  background: #101f30;
  border-color: #2b4058;
  color: #dce9f7;
}
html[data-theme="dark"] .overview-list article { border-top-color: #2b4058; }
html[data-theme="dark"] .overview-number { background: linear-gradient(135deg, #163d42, #17314d); color: #dff8f5; }
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .btn.ghost,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .tab.active {
  background: #13263a;
  color: #edf5ff;
  border-color: #30465f;
}
html[data-theme="dark"] .nav-links { color: #c9d8e8; }
html[data-theme="dark"] .nav-links a:hover { background: #14283d; color: #ffffff; }
html[data-theme="dark"] .stat-pill span,
html[data-theme="dark"] .challenge-question p,
html[data-theme="dark"] .case-company,
html[data-theme="dark"] .insight-box,
html[data-theme="dark"] .control-stack label { color: #a8b8ca; }
html[data-theme="dark"] .case-meta span { background: #122235; border-color: #2b4058; color: #b8c7d7; }
html[data-theme="dark"] .svg-label { fill: #aab9ca; }
html[data-theme="dark"] .grid-line { stroke: #36506a; }
html[data-theme="dark"] .qr-panel img,
html[data-theme="dark"] .hero-ai-card img { background: #ffffff; }
html[data-theme="dark"] .site-footer { background: #050c14; }

@media (max-width: 980px) {
  .nav-shell { gap: 12px; }
  .theme-label { display: none; }
  .theme-toggle { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 740px) {
  .overview-flow { display: grid; grid-template-columns: 1fr auto 1fr; text-align: center; }
  .overview-flow span:last-child { grid-column: 2 / 4; }
  html[data-theme="dark"] .nav-links { background: #0f1c2b; border-color: #2b4058; }
}

html[data-theme="dark"] .btn.primary,
html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .chip.active,
html[data-theme="dark"] .chip:hover {
  background: linear-gradient(135deg, #122d49, #164c59);
  color: #ffffff;
  border-color: transparent;
}
html[data-theme="dark"] .tag {
  background: #172b40;
  border-color: #304861;
  color: #dbe9f7;
}
html[data-theme="dark"] .tag.amber { background: #3a2b14; border-color: #6b4a19; color: #ffd894; }
html[data-theme="dark"] .tag.purple { background: #291f45; border-color: #4b3b77; color: #d7c9ff; }
html[data-theme="dark"] .tag.green { background: #173322; border-color: #285c3b; color: #bde9c9; }
html[data-theme="dark"] .tag.teal { background: #123632; border-color: #23645d; color: #baf4ed; }

/* Hero layout safeguards */
img { max-width: 100%; display: block; }
.hero-copy, .hero-panel, .overview-card { min-width: 0; }
.hero-ai-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(15, 40, 70, .08);
}
.hero-ai-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
  padding: 6px;
}
.hero-ai-card strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.hero-ai-card span { color: var(--muted); display: block; margin-bottom: 6px; }
.overview-flow { flex-wrap: wrap; }

@media (max-width: 740px) {
  .hero-ai-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-ai-card img { width: 104px; height: 104px; }
  .overview-card { padding: 24px; }
}


/* Dark theme additions for new components */
html[data-theme="dark"] .event-control label,
html[data-theme="dark"] .software-outcomes strong,
html[data-theme="dark"] .software-track-tab strong,
html[data-theme="dark"] .software-module-button strong,
html[data-theme="dark"] .software-detail-head h3,
html[data-theme="dark"] .software-decision-note strong {
  color: #edf5ff;
}
html[data-theme="dark"] .software-outcomes article,
html[data-theme="dark"] .software-hub,
html[data-theme="dark"] .software-track-tab,
html[data-theme="dark"] .software-module-detail,
html[data-theme="dark"] .software-outcome-card,
html[data-theme="dark"] .software-toolbox {
  background: #0f1c2b;
  border-color: #2b4058;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}
html[data-theme="dark"] .software-track-tab.active,
html[data-theme="dark"] .software-module-button.active,
html[data-theme="dark"] .software-decision-note {
  background: #122c35;
  border-color: #285d61;
}
html[data-theme="dark"] .software-module-button:hover { background: #13263a; }
html[data-theme="dark"] .software-module-button > span,
html[data-theme="dark"] .software-progress,
html[data-theme="dark"] .software-toolbox em {
  background: #14263a;
  border-color: #304861;
  color: #bdeee8;
}
html[data-theme="dark"] .software-outcomes p,
html[data-theme="dark"] .software-track-tab small,
html[data-theme="dark"] .software-module-button small,
html[data-theme="dark"] .software-detail-head p:last-child,
html[data-theme="dark"] .software-outcome-card p,
html[data-theme="dark"] .software-decision-note {
  color: #a8b8ca;
}
html[data-theme="dark"] .software-code-shell { border-color: #35516d; }
html[data-theme="dark"] .compact-select { background: #101f30; color: #dce9f7; border-color: #2b4058; }

/* Final layout refinements */
.hero-ai-card { grid-template-columns: 116px minmax(0, 1fr); }
.hero-ai-card img { width: 116px; height: 116px; image-rendering: pixelated; }
#toolDistributions .event-control,
#toolDistributions .control-stack label { grid-template-columns: 152px minmax(0, 1fr); }
@media (max-width: 740px) {
  #toolDistributions .event-control,
  #toolDistributions .control-stack label { grid-template-columns: 1fr; }
  .hero-ai-card { grid-template-columns: 1fr; }
  .hero-ai-card img { width: 118px; height: 118px; }
}

/* Simplified learning steps */
.simple-learning-grid .path-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.path-step {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5f8f5, #edf5ff);
  color: var(--navy);
  font-weight: 950;
  border: 1px solid #d5e8ee;
}
.simple-learning-grid .text-link { margin-top: auto; }

/* Plain-language tool guidance */
.tool-help {
  margin: 8px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
}
.tool-header > div { min-width: 0; }

/* Detailed case studies */
.case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detailed-case-card {
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.detailed-case-card::after { opacity: .65; pointer-events: none; }
.case-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.case-number {
  color: #9aabc0;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.case-subtitle {
  margin: -2px 0 10px !important;
  color: #344860 !important;
  font-weight: 800;
  line-height: 1.35;
}
.case-details {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 18px;
}
.case-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--soft-3, #f8fbff);
  color: var(--navy);
  font-weight: 850;
}
.case-details summary::-webkit-details-marker { display: none; }
.case-details summary::after { content: '+'; font-size: 1.25rem; color: var(--teal); }
.case-details[open] summary::after { content: '−'; }
.case-detail-body {
  display: grid;
  gap: 16px;
  padding: 18px 2px 2px;
}
.case-detail-body section,
.case-preview-wrap {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.case-detail-label {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.case-detail-body p { margin: 0; }
.case-detail-body ol,
.case-detail-body ul {
  margin: 0;
  padding-left: 20px;
  color: #3c4e65;
}
.case-detail-body li + li { margin-top: 7px; }
.case-decision {
  border-left: 4px solid var(--teal);
  border-radius: 14px;
  background: #eef9f7;
  padding: 13px 15px;
  color: #334155;
}
.case-decision strong { color: var(--navy); }
.case-download { justify-self: start; }
.table-scroll { overflow-x: auto; }
.case-preview-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: .84rem;
}
.case-preview-table th,
.case-preview-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.case-preview-table th {
  background: var(--soft);
  color: var(--navy);
  font-weight: 850;
}

/* Practice library */
.practice-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(113,214,255,.12), transparent 28%),
    linear-gradient(180deg, #fbfdff, #f4f8fd);
}
.practice-toolbar {
  display: grid;
  grid-template-columns: minmax(180px,.75fr) minmax(160px,.6fr) minmax(240px,1.1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 34px rgba(15,40,70,.06);
}
.practice-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: .8rem;
  font-weight: 850;
}
.practice-toolbar input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  padding: 0 14px;
  color: var(--ink);
  outline: none;
}
.practice-toolbar input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(43,179,163,.12); }
.practice-count {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--navy);
  color: white;
  padding: 0 16px;
  font-weight: 850;
  white-space: nowrap;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.practice-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  box-shadow: 0 14px 40px rgba(15,40,70,.07);
}
.practice-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.practice-level { color: var(--muted); font-size: .78rem; font-weight: 850; }
.practice-index { display: block; margin-top: 18px; color: var(--teal); font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.practice-card h3 { margin: 5px 0 8px; color: var(--navy); font-size: 1.28rem; line-height: 1.2; }
.practice-question-text { margin: 0; color: #3d4e64; }
.practice-actions { display: grid; gap: 9px; margin-top: 18px; }
.practice-reveal {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: #fbfdff;
}
.practice-reveal summary {
  cursor: pointer;
  padding: 11px 13px;
  color: var(--navy);
  font-weight: 850;
  list-style: none;
}
.practice-reveal summary::-webkit-details-marker { display: none; }
.practice-reveal summary::after { content: ' +'; color: var(--teal); }
.practice-reveal[open] summary::after { content: ' −'; }
.practice-reveal p { margin: 0; padding: 0 13px 13px; color: #42536a; }
.practice-reveal.answer { background: #eef9f7; border-color: #c8ebe6; }
.practice-source { display: block; margin-top: auto; padding-top: 17px; color: #8190a4; }
.practice-empty { grid-column: 1/-1; padding: 28px; border: 1px dashed var(--line); border-radius: 20px; text-align: center; color: var(--muted); }

/* Expanded software learning */
.software-track-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.software-head.python { background: linear-gradient(135deg, #245b86, #f0b84a); }
.software-track-intro {
  display: grid;
  gap: 3px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.76);
}
.software-track-intro strong { color: var(--navy); }
.software-track-intro span { color: var(--muted); font-size: .9rem; }
.software-steps {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.74);
}
.software-steps > span {
  display: block;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.software-steps ol { margin: 10px 0 0; padding-left: 21px; color: #3c4e65; }
.software-steps li + li { margin-top: 7px; }
.code-window-label { display: flex; align-items: center; gap: 6px; }
.code-window-label i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.code-window-label i:nth-child(2) { background: #f4c14b; }
.code-window-label i:nth-child(3) { background: #4ecb71; margin-right: 5px; }
.software-code-toolbar button { display: inline-flex; align-items: center; gap: 6px; }
.software-code-shell pre { max-height: 440px; }
.software-result-note {
  margin-top: 14px;
  border: 1px solid #d8e7f4;
  background: #f5f9fd;
  border-radius: 14px;
  padding: 13px 15px;
  color: #334155;
}
.software-result-note strong { color: var(--navy); }
.software-source-link { display: inline-block; margin-left: 5px; color: var(--teal); font-weight: 850; }

/* Dark theme for added sections */
html[data-theme="dark"] .path-step,
html[data-theme="dark"] .practice-toolbar,
html[data-theme="dark"] .practice-card,
html[data-theme="dark"] .practice-reveal,
html[data-theme="dark"] .software-track-intro,
html[data-theme="dark"] .software-steps,
html[data-theme="dark"] .software-result-note,
html[data-theme="dark"] .case-details summary,
html[data-theme="dark"] .case-preview-table th {
  background: #101f30;
  border-color: #2b4058;
}
html[data-theme="dark"] .practice-section { background: linear-gradient(180deg, #0d1825, #101d2d); }
html[data-theme="dark"] .case-subtitle,
html[data-theme="dark"] .case-detail-body ol,
html[data-theme="dark"] .case-detail-body ul,
html[data-theme="dark"] .case-decision,
html[data-theme="dark"] .practice-question-text,
html[data-theme="dark"] .practice-reveal p,
html[data-theme="dark"] .software-steps ol,
html[data-theme="dark"] .software-result-note {
  color: #aebfd1 !important;
}
html[data-theme="dark"] .case-decision,
html[data-theme="dark"] .practice-reveal.answer { background: #122c35; border-color: #285d61; }
html[data-theme="dark"] .case-decision strong,
html[data-theme="dark"] .practice-card h3,
html[data-theme="dark"] .practice-reveal summary,
html[data-theme="dark"] .software-track-intro strong,
html[data-theme="dark"] .software-result-note strong,
html[data-theme="dark"] .case-details summary,
html[data-theme="dark"] .case-preview-table th,
html[data-theme="dark"] .practice-toolbar label {
  color: #edf5ff;
}
html[data-theme="dark"] .practice-toolbar input { background: #0f1c2b; color: #edf5ff; border-color: #2b4058; }
html[data-theme="dark"] .case-preview-table td { color: #b7c7d8; border-color: #2b4058; }

@media (max-width: 980px) {
  .case-grid, .practice-grid { grid-template-columns: 1fr; }
  .practice-toolbar { grid-template-columns: 1fr 1fr; }
  .practice-count { justify-self: stretch; }
  .software-track-tabs { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .practice-toolbar { grid-template-columns: 1fr; }
  .detailed-case-card { padding: 20px; }
  .case-preview-table { min-width: 420px; }
}

/* Prevent intrinsic-width overflow on narrow screens */
.case-grid,
.case-card,
.case-details,
.case-detail-body,
.case-preview-wrap,
.table-scroll,
.software-hub,
.software-learning-layout,
.software-module-nav,
.software-module-detail,
.software-code-shell,
.practice-grid,
.practice-card {
  min-width: 0;
  max-width: 100%;
}
.table-scroll { width: 100%; }
.software-code-shell pre { overflow-x: auto; max-width: 100%; }
@media (max-width: 740px) {
  body { overflow-x: hidden; }
  .case-preview-table { min-width: 460px; }
  .wrapper { width: min(var(--max), calc(100% - 28px)); }
}
.case-details:not([open]) > .case-detail-body { display: none; }
@media (max-width: 740px) { .hero-orb { display: none; } }
