:root {
  color-scheme: dark;
  --ink: #10131e;
  --panel: #161c2c;
  --panel-light: #1b2234;
  --paper: #f2e8d8;
  --text: #dedbe4;
  --muted: #b5b7c7;
  --gold: #ddbc87;
  --blue: #acbeda;
  --line: rgb(205 198 218 / 17%);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 280px;
  background: radial-gradient(ellipse 920px 650px at 82% 0, #1b2439, transparent 84%), var(--ink);
  color: var(--text);
  font: 500 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
section[id] { scroll-margin-top: 24px; }

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.shell {
  width: min(1320px, calc(100% - 108px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  transform: translateY(-150%);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header {
  --header-ink: #23283a;
  --header-muted: #555064;
  --header-border: rgb(57 45 55 / 23%);
  --header-button-bg: #252c40;
  --header-button-ink: #f6ebdc;
  --header-button-hover: #3b455f;
  --brand-rim: rgb(52 61 82 / 36%);
  border-bottom: 1px solid var(--header-border);
  background: #f0e7d9;
}

[data-header-variant="dark"] .site-header {
  --header-ink: var(--paper);
  --header-muted: var(--muted);
  --header-border: var(--line);
  --header-button-bg: transparent;
  --header-button-ink: var(--paper);
  --header-button-hover: rgb(221 188 135 / 11%);
  --brand-rim: rgb(221 188 135 / 48%);
  background: #151a28;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-right: auto;
  line-height: 1.25;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  padding: 2px;
  border: 1px solid var(--brand-rim, rgb(221 188 135 / 48%));
  border-radius: 50%;
  background: #faf9f4;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.brand-text { display: grid; gap: 3px; }
.brand-text strong { color: var(--header-ink, var(--paper)); font-size: .9rem; font-weight: 700; }
.brand-text > span { color: var(--header-muted, var(--muted)); font-size: .72rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--header-muted);
  font-size: .86rem;
}

.site-nav a:hover { color: var(--header-ink); }
.site-footer a:hover { color: var(--paper); }

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-gold {
  background: var(--gold);
  color: #202330;
}

.button-gold:hover { background: #f0d3a2; }

.button-outline {
  border-color: rgb(221 188 135 / 42%);
  color: var(--paper);
}

.button-outline:hover {
  border-color: var(--gold);
  background: rgb(221 188 135 / 9%);
}

.header-button {
  min-height: 40px;
  padding-inline: 17px;
  border-color: var(--header-border);
  background: var(--header-button-bg);
  color: var(--header-button-ink);
  font-size: .82rem;
}

.header-button:hover {
  border-color: var(--header-border);
  background: var(--header-button-hover);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 25px;
  padding-block: clamp(52px, 5.1vw, 86px) clamp(59px, 6vw, 90px);
}

.hero-copy { position: relative; z-index: 1; align-self: center; }

.course-format {
  margin-bottom: 23px;
  color: var(--gold);
  font-size: .92rem;
  font-weight: 650;
}

h1, h2, h3 {
  color: var(--paper);
  font-family: var(--display);
  font-weight: 600;
}

h1 {
  font-family: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, serif;
  font-size: clamp(3.5rem, 6.25vw, 6.25rem);
  line-height: .93;
  letter-spacing: -.042em;
  overflow-wrap: anywhere;
}

.edition { white-space: nowrap; }

.hero-description {
  max-width: 452px;
  margin-top: 27px;
  color: var(--muted);
  font-size: clamp(.98rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
  margin-top: 29px;
}

.text-link {
  color: var(--paper);
  font-size: .88rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgb(221 188 135 / 43%);
  text-underline-offset: 5px;
}

.text-link:hover { text-decoration-color: var(--gold); }

.course-facts {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.08fr;
  max-width: 466px;
  margin: 35px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.course-facts > div { min-width: 0; padding-right: 11px; }

.course-facts > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.course-facts dt {
  color: var(--paper);
  font: 600 2.23rem/.96 var(--display);
}

.course-facts dt small { font-size: .63em; }

.course-facts dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.3;
}

.chart-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(183 188 215 / 20%);
  border-radius: 23px;
  background:
    radial-gradient(ellipse at 41% 51%, rgb(187 148 108 / 11%), transparent 68%),
    radial-gradient(ellipse at 74% 45%, rgb(112 145 206 / 18%), transparent 68%),
    #131a2b;
  box-shadow: 0 16px 64px rgb(4 6 16 / 31%);
}

.chart-heading {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  padding: 21px 24px 0;
}

.chart-title {
  color: var(--paper);
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.35;
}

.chart-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: .72rem;
}

.chart-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 3px 13px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: .71rem;
}

.chart-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.chart-legend li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--legend-color);
}

.legend-first { --legend-color: var(--gold); }
.legend-second { --legend-color: var(--blue); }

.chart-scene {
  position: relative;
  height: clamp(350px, 35.4vw, 516px);
  margin: -5px 0 -5px;
}

#synastry-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
}

.chart-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 24px 20px;
}

.chart-modes {
  display: flex;
  max-width: 100%;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgb(11 15 28 / 57%);
}

.chart-modes button, .replay-button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}

.chart-modes button { padding: 0 12px; }

.chart-modes button[aria-pressed="true"] {
  background: #2a334a;
  color: var(--paper);
}

.chart-modes button:hover, .replay-button:hover { color: var(--paper); }

.replay-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
}

.replay-icon {
  color: var(--gold);
  font-size: 1.08rem;
  line-height: 1;
}

.section {
  padding-block: clamp(50px, 7.05vw, 106px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  column-gap: 35px;
  margin-bottom: 37px;
}

h2 {
  font-size: clamp(2.55rem, 5.1vw, 4.85rem);
  line-height: .98;
  letter-spacing: -.034em;
}

.section-heading > p, .workbook-lead {
  max-width: 410px;
  color: var(--muted);
}

.section-program { background: #141824; }

.module-stack {
  display: grid;
  gap: 16px;
}

.module {
  --module-accent: var(--gold);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(118deg, #1a1f2d, #1a2133);
}

.module:nth-child(2) {
  --module-accent: var(--blue);
  background: linear-gradient(118deg, #1a202f, #1c2540);
}

.module-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 23px clamp(20px, 3vw, 39px);
  cursor: pointer;
  list-style: none;
}

.module-heading::-webkit-details-marker { display: none; }

.module-heading:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -5px;
}

.module-heading::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-inline: 4px;
  border-bottom: 1px solid var(--module-accent);
  border-right: 1px solid var(--module-accent);
  transform: rotate(45deg);
}

.module[open] .module-heading::after { transform: rotate(225deg); }

.module-label {
  display: block;
  margin-bottom: 10px;
  color: var(--module-accent, var(--gold));
  font-family: var(--body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.module-body {
  padding: 0 clamp(20px, 3vw, 39px) clamp(23px, 3vw, 39px);
}

.module-body h4 {
  margin: 0 0 8px;
  color: var(--paper);
  font-size: .91rem;
  font-weight: 700;
}

.module-result {
  margin-bottom: 24px;
  padding: 12px 15px;
  border-left: 2px solid var(--module-accent);
  background: rgb(11 15 27 / 23%);
  color: var(--muted);
  font-size: .9rem;
}

.module-result h4 { margin-bottom: 3px; }

.module-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: clamp(20px, 4vw, 62px);
}

.module-topics {
  display: grid;
  gap: 11px;
  margin: 0;
}

.module-topics > div {
  padding-block: 10px 2px;
  border-top: 1px solid var(--line);
}

.module-topics dt {
  color: var(--paper);
  font-size: .91rem;
  font-weight: 700;
}

.module-topics dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.48;
}

.module-practice {
  padding-left: clamp(18px, 2.65vw, 39px);
  border-left: 1px solid var(--line);
}

.module-body .module-steps {
  margin-block: 6px 0;
  color: var(--muted);
  font-size: .86rem;
}

.module-steps-ordered {
  display: grid;
  gap: 5px;
  padding-inline-start: 21px;
}

.module-steps-ordered li::marker {
  color: var(--module-accent);
  font-weight: 700;
}

.module-materials {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.module-materials a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h3 {
  font-size: clamp(1.9rem, 3.65vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.021em;
}

.topic-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.5;
}

.topic-list li {
  position: relative;
  padding-left: 17px;
}

.topic-list li::before {
  content: "";
  position: absolute;
  top: .66em;
  left: 0;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--gold);
}

.module .topic-list li::before { background: var(--module-accent); }

.section-orion {
  background:
    radial-gradient(ellipse 720px 510px at 78% 63%, rgb(60 75 117 / 32%), transparent 86%),
    #151926;
}

.orion-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(24px, 5vw, 78px);
}

.orion-copy .module-label { margin-bottom: 13px; }

.orion-lead {
  max-width: 440px;
  margin-top: 20px;
  color: var(--muted);
}

.orion-included {
  display: grid;
  gap: 4px;
  max-width: 444px;
  margin-block: 23px;
  padding: 13px 0 13px 16px;
  border-left: 2px solid rgb(221 188 135 / 67%);
  color: var(--muted);
  font-size: .86rem;
}

.orion-included strong {
  color: var(--paper);
  font-weight: 700;
}

.orion-demo {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(183 188 215 / 22%);
  border-radius: 21px;
  background: #151c2e;
  box-shadow: 0 16px 55px rgb(4 6 16 / 32%);
}

.orion-demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 21px;
  border-bottom: 1px solid var(--line);
}

.orion-demo-heading p {
  color: var(--paper);
  font-size: .9rem;
  font-weight: 700;
}

.orion-demo-heading > span {
  color: var(--muted);
  font-size: .73rem;
}

.orion-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(280px, 29vw, 410px);
  background:
    radial-gradient(ellipse at 61% 56%, rgb(105 125 173 / 24%), transparent 67%),
    linear-gradient(135deg, #161e32, #192036 77%);
}

.orion-orbit {
  position: absolute;
  left: 38%;
  top: 50%;
  width: 60%;
  max-width: 392px;
  aspect-ratio: 1;
  border: 1px solid rgb(172 190 218 / 15%);
  border-radius: 50%;
  transform: translateY(-50%);
}

.orion-orbit::before {
  position: absolute;
  inset: 7%;
  border: 1px dashed rgb(221 188 135 / 22%);
  border-radius: 50%;
  content: "";
}

.orion-form-image, .orion-wheel-image, .orion-aspects {
  position: absolute;
  transition: transform 780ms cubic-bezier(.2, .74, .22, 1), opacity 620ms ease;
}

.orion-form-image {
  z-index: 2;
  left: 10%;
  top: 50%;
  width: min(42%, 257px);
  height: auto;
  max-height: 88%;
  object-fit: contain;
  border: 1px solid rgb(244 236 219 / 34%);
  border-radius: 9px;
  background: #fbfbfb;
  box-shadow: 9px 17px 33px rgb(2 8 21 / 38%);
  transform: translateY(-50%) rotate(-5deg);
}

.orion-wheel-image {
  z-index: 1;
  left: 44%;
  top: 50%;
  width: min(53%, 351px);
  height: auto;
  border: 1px solid rgb(228 215 195 / 50%);
  border-radius: 50%;
  box-shadow: 0 0 45px rgb(143 168 215 / 22%);
  opacity: .56;
  transform: translate(5%, -47%) scale(.84) rotate(18deg);
}

.orion-demo[data-step="charts"] .orion-form-image {
  opacity: .47;
  transform: translate(-13%, -53%) scale(.86) rotate(-8deg);
}

.orion-demo[data-step="charts"] .orion-wheel-image {
  z-index: 3;
  opacity: 1;
  transform: translate(-14%, -50%) scale(1.04);
}

.orion-demo[data-step="aspects"] .orion-form-image {
  opacity: 0;
  transform: translate(-25%, -58%) scale(.72) rotate(-10deg);
}

.orion-demo[data-step="aspects"] .orion-wheel-image {
  opacity: .77;
  transform: translate(-68%, -49%) scale(.87) rotate(-11deg);
}

.orion-aspects {
  z-index: 4;
  top: 50%;
  right: 7%;
  width: min(51%, 310px);
  padding: 16px;
  border: 1px solid rgb(221 188 135 / 39%);
  border-radius: 13px;
  background: #202940;
  box-shadow: 0 16px 36px rgb(3 6 16 / 44%);
  opacity: 0;
  transform: translate(12%, -40%) scale(.96);
}

.orion-demo[data-step="aspects"] .orion-aspects {
  opacity: 1;
  transform: translateY(-50%);
}

.orion-aspects > p {
  color: var(--paper);
  font-size: .83rem;
  font-weight: 700;
}

.orion-aspects ul {
  display: grid;
  gap: 6px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.orion-aspects li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 10px;
  padding: 7px 8px;
  border: 1px solid rgb(179 193 225 / 13%);
  border-radius: 5px;
  background: rgb(12 18 35 / 34%);
  color: var(--text);
  font-size: .72rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: transform 420ms ease, opacity 420ms ease;
}

.orion-demo[data-step="aspects"] .orion-aspects li {
  opacity: 1;
  transform: translateY(0);
}

.orion-demo[data-step="aspects"] .orion-aspects li:nth-child(2) { transition-delay: 100ms; }
.orion-demo[data-step="aspects"] .orion-aspects li:nth-child(3) { transition-delay: 200ms; }
.orion-aspects li > span:last-child { color: var(--gold); }

.orion-demo-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  padding: 12px 18px 0;
  border-top: 1px solid var(--line);
}

.orion-toggles {
  display: flex;
  gap: 2px;
  min-width: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #12192b;
}

.orion-toggles button {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}

.orion-toggles button:hover { color: var(--paper); }

.orion-toggles button[aria-pressed="true"] {
  background: #2a334a;
  color: var(--paper);
}

.orion-demo-caption {
  min-height: 3.1em;
  margin: 11px 20px 7px;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.55;
}

.section-workbook {
  background: radial-gradient(ellipse 550px 380px at 75% 57%, #25293b, transparent 87%), #151824;
}

.workbook-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 44px;
}

.workbook-lead { margin-top: 19px; }
.workbook-copy .topic-list { margin-top: 20px; }

.workbook-art {
  display: grid;
  place-items: center;
}

.workbook-preview {
  display: block;
  width: min(100%, 419px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #141e2a;
  color: var(--paper);
  box-shadow: 0 22px 50px rgb(3 6 17 / 37%);
  cursor: pointer;
}

.workbook-preview:hover { border-color: rgb(221 188 135 / 48%); }

.workbook-preview video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 680 / 650;
  background: #141e2a;
  pointer-events: none;
}

.workbook-action {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: #171e2c;
  color: var(--paper);
  font-size: .78rem;
  font-weight: 700;
}

.workbook-icon {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--gold);
}

.workbook-preview[aria-pressed="true"] .workbook-icon {
  width: 7px;
  height: 8px;
  border: 0;
  background: linear-gradient(to right, var(--gold) 0 2px, transparent 2px 5px, var(--gold) 5px);
}

.section-pricing { background: #10131e; }

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

.plan {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(23px, 3.6vw, 46px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #181e2b;
}

.plan-advanced {
  border-color: rgb(221 188 135 / 56%);
  background: linear-gradient(151deg, #282633, #1d2335 75%);
}

.plan h3 { font-size: clamp(1.85rem, 3.4vw, 3.1rem); }

.plan-price {
  margin-top: 21px;
  color: var(--paper);
  font: 600 clamp(3rem, 5.3vw, 5rem)/.9 var(--display);
  letter-spacing: -.035em;
}

.plan-price > span {
  color: var(--gold);
  font-size: .58em;
}

.plan-term {
  margin-top: 9px;
  color: var(--muted);
  font-size: .89rem;
}

.section-heading .text-link { font-size: inherit; }

.plan-summary {
  margin-block: 18px 12px;
  color: var(--paper);
  font-size: .93rem;
  font-weight: 650;
}

.plan-details {
  width: 100%;
  margin: 0 0 21px;
}

.plan-details > div {
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.plan-details dt {
  color: var(--paper);
  font-size: .93rem;
  font-weight: 700;
}

.plan-details dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.52;
}

.plan-button { width: 100%; margin-top: auto; }

.booking-note {
  margin-top: 17px;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}

.section-support {
  padding-block: clamp(40px, 5.5vw, 78px);
  background: linear-gradient(112deg, #202638, #1b2132);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: 26px;
}

.support-layout h2 { font-size: clamp(2.5rem, 4.6vw, 4.4rem); }

.support-layout p {
  max-width: 475px;
  margin-top: 12px;
  color: var(--muted);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.support-actions > a { white-space: nowrap; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #121622;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(23px, 4vw, 53px);
  padding-block: clamp(30px, 4.3vw, 60px);
  color: var(--muted);
  font-size: .83rem;
}

.footer-school p { max-width: 283px; margin-top: 13px; }

.footer-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-group h2 {
  margin: 3px 0 2px;
  color: var(--paper);
  font: 700 .93rem/1.3 var(--body);
  letter-spacing: 0;
}

.footer-group a {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgb(221 188 135 / 44%);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 15px 19px;
  color: var(--muted);
  font-size: .76rem;
}

@media (max-width: 1100px) {
  .shell { width: calc(100% - 72px); }
  .header-inner { gap: 23px; }
  .site-nav { gap: 19px; }
  .hero { gap: 18px; }
  .chart-heading { padding-inline: 17px; }
  .chart-toolbar { padding-inline: 17px; }
  .chart-legend { gap: 3px 9px; }
}

@media (max-width: 890px) {
  .shell { width: min(690px, calc(100% - 48px)); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 33px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.8rem, 10vw, 6rem); }
  .hero-description { max-width: 490px; }
  .chart-scene { height: clamp(310px, 59vw, 510px); }
  .section-heading { grid-template-columns: 1fr; gap: 13px; }
  .orion-layout { grid-template-columns: minmax(0, 1fr); }
  .orion-scene { height: clamp(300px, 56vw, 410px); }
  .support-layout { grid-template-columns: minmax(0, 1fr); }
  .support-actions { justify-content: flex-start; }
}

@media (max-width: 740px) {
  .header-inner { gap: 19px; }
  .site-nav { gap: 16px; }
  .site-nav a[href="#workbook"] { display: none; }
}

@media (max-width: 625px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; gap: 13px; }
  .brand { gap: 9px; }
  .brand-mark { width: 37px; height: 37px; flex-basis: 37px; }
  .brand-text strong { font-size: .78rem; }
  .brand-text > span { font-size: .66rem; }
  .site-nav { gap: 0; font-size: .78rem; }
  .site-nav a:not([href="#orion"]) { display: none; }
  .header-button { min-height: 38px; padding-inline: 13px; }
  .hero { padding-block: 28px 43px; gap: 20px; }
  .course-format { margin-bottom: 11px; font-size: .8rem; }
  h1 { font-size: clamp(2.45rem, 11.65vw, 4.05rem); line-height: .96; }
  .hero-description { margin-top: 15px; font-size: .9rem; line-height: 1.5; }
  .hero-actions { gap: 12px 15px; margin-top: 16px; }
  .hero-actions .button { min-height: 44px; padding-inline: 12px; font-size: .8rem; }
  .hero-actions .text-link { font-size: .78rem; }
  .course-facts { margin-top: 18px; padding-top: 12px; }
  .course-facts > div { padding-right: 5px; }
  .course-facts > div + div { padding-left: 9px; }
  .course-facts dt { font-size: 1.82rem; }
  .course-facts dd { margin-top: 4px; font-size: .66rem; }
  .chart-panel { border-radius: 17px; }
  .chart-heading { padding: 14px 13px 0; }
  .chart-title { font-size: .75rem; }
  .chart-note, .chart-legend { font-size: .61rem; }
  .chart-legend { display: grid; gap: 1px; }
  .chart-legend li { gap: 4px; }
  .chart-legend li::before { width: 5px; height: 5px; }
  .chart-scene { height: clamp(228px, 73vw, 390px); margin-block: -3px -4px; }
  .chart-toolbar { padding: 0 12px 12px; }
  .chart-modes button, .replay-button { min-height: 40px; font-size: .69rem; }
  .chart-modes button { padding-inline: 8px; }
  .replay-button { gap: 4px; padding-inline: 3px; }
  .section-heading { margin-bottom: 23px; }
  .section-heading > p, .workbook-lead, .topic-list { font-size: .91rem; }
  .module-columns, .workbook-layout, .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .module-practice { padding: 17px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .module-heading { padding-block: 18px; }
  .topic-list { margin-top: 17px; }
  .orion-lead { margin-top: 14px; font-size: .91rem; }
  .orion-included { margin-block: 17px; }
  .orion-demo { border-radius: 16px; }
  .orion-demo-heading { padding: 12px 13px; }
  .orion-demo-heading p { font-size: .79rem; }
  .orion-demo-heading > span { font-size: .68rem; }
  .orion-scene { height: clamp(226px, 64vw, 360px); }
  .orion-form-image { left: 8%; width: 43%; }
  .orion-wheel-image { width: 53%; }
  .orion-aspects { right: 4%; width: min(63%, 252px); padding: 10px; }
  .orion-aspects > p { font-size: .7rem; }
  .orion-aspects ul { margin-top: 7px; }
  .orion-aspects li { padding: 5px 6px; font-size: .65rem; }
  .orion-demo-controls { padding: 9px 10px 0; }
  .orion-toggles button { min-height: 38px; padding: 0 8px; font-size: .69rem; }
  .orion-demo-caption { margin: 8px 12px 8px; font-size: .73rem; }
  .workbook-layout { gap: 20px; }
  .plan-grid { gap: 14px; }
  .plan-price { margin-top: 15px; }
  .support-layout { gap: 19px; }
  .support-actions { display: grid; }
  .support-layout p { font-size: .91rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 350px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { gap: 9px; }
  .chart-heading { gap: 5px; padding-inline: 10px; }
  .chart-toolbar { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .replay-button { display: none; }
  .orion-form-image, .orion-wheel-image, .orion-aspects, .orion-aspects li {
    transition: none;
  }
}
