:root {
  font-family: Montserrat, Arial, sans-serif;
  font-synthesis: none;
  color: #241936;
  background: #fdfcff;
  --violet: #6337a9;
  --deep-violet: #492380;
  --muted: #594e6d;
  --line: #dfd6ed;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --page-max-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #9860ed; outline-offset: 4px; }
.page-width { width: min(calc(100% - var(--gutter) * 2), var(--page-max-width)); margin-inline: auto; }

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.85rem, 2vw, 1.8rem);
}
.brand { flex: 0 1 270px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: .55rem clamp(.8rem, 2vw, 1.85rem); }
.site-nav a { font-size: .85rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .program-link:hover, .site-footer a:hover { color: var(--violet); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 51px;
  padding: .8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.button span { font-size: 1.15em; line-height: 1; }
.button-outline { flex: none; min-height: 43px; border-color: #b7a3d8; color: var(--deep-violet); }
.button-outline:hover { background: #f0e9fa; }
.button-primary { background: var(--deep-violet); color: #fff; box-shadow: 0 8px 22px #49238026; }
.button-primary:hover { background: #602f9f; }

.hero { position: relative; isolation: isolate; overflow: hidden; border-block: 1px solid #f0eaf8; background: #fff; }
.hero-sky {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: min(81%, 1440px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 21%);
}
.hero-sky img { width: 100%; height: 100%; object-fit: cover; object-position: right 24%; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; }
.intro { align-self: center; padding-block: clamp(3rem, 7vw, 7rem); padding-inline-end: clamp(1rem, 3vw, 2rem); }
.module {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--deep-violet);
  font-size: .85rem;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.module::before { content: ""; height: 2px; width: 1.4rem; background: #a280d3; }
.intro h1 {
  margin: .75rem 0 1.1rem;
  color: var(--deep-violet);
  font-size: clamp(3.1rem, 6.9vw, 7.3rem);
  font-weight: 880;
  letter-spacing: -.075em;
  line-height: .96;
}
.intro h1 span {
  display: block;
  margin-top: .55rem;
  color: #3a2a57;
  font-size: .45em;
  font-weight: 760;
  letter-spacing: -.047em;
  line-height: 1.06;
}
.intro-details { max-width: 30rem; color: var(--muted); font-size: clamp(.94rem, 1.42vw, 1.18rem); line-height: 1.58; }
.intro-date { margin-top: .9rem; color: var(--deep-violet); font-size: clamp(.86rem, 1.25vw, 1rem); font-weight: 720; line-height: 1.4; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.45rem; margin-top: 1.5rem; }
.program-link { font-size: .88rem; font-weight: 720; text-underline-offset: .24em; }
.program-link span { display: inline-block; margin-left: .2rem; }
.hero-art { --portrait-position: 28%; position: relative; isolation: isolate; min-height: 496px; }
.hero-portrait {
  position: absolute;
  z-index: 1;
  left: var(--portrait-position);
  bottom: 1.65rem;
  width: min(96%, 590px);
  height: 90%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 24px #43306543);
  mask-image: linear-gradient(#000 89%, transparent 100%);
}
.speaker {
  position: absolute;
  z-index: 2;
  left: var(--portrait-position);
  bottom: 1.25rem;
  width: max-content;
  transform: translateX(-50%);
  border: 1px solid #fff9;
  border-radius: 4px;
  padding: .55rem .8rem;
  background: #fdfaffef;
  color: #352453;
  font-size: clamp(.69rem, 1.06vw, .84rem);
  font-weight: 680;
  line-height: 1.35;
}
.constellation { position: absolute; z-index: 2; width: 138px; height: 41px; pointer-events: none; }
.constellation-upper {
  top: 17%;
  right: calc(clamp(.7rem, 1.4vw, 1.5rem) - max(var(--gutter), (100vw - var(--page-max-width)) / 2));
  transform: rotate(12deg);
  transform-origin: right center;
  color: #f9f4ff;
}
.constellation-lower { z-index: 0; top: 45%; left: calc(6% - 4.25rem); transform: scale(.85) rotate(-17deg); color: #9474d2; }
.constellation i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--length);
  height: 1px;
  background: currentColor;
  transform: rotate(var(--angle));
  transform-origin: left center;
  box-shadow: 0 0 5px #a37be0bf;
}
.constellation i::before, .constellation i:last-child::after {
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px #fff;
  content: "";
}
.constellation i::before { left: -2px; }
.constellation i::after { right: -2px; }

.section { padding-block: clamp(3.1rem, 7vw, 6rem); }
.section h2, .booking h2 {
  font-size: clamp(1.8rem, 3.65vw, 3.5rem);
  font-weight: 820;
  letter-spacing: -.055em;
  line-height: 1.1;
}
.program-list, .outcomes-list, .features-list { margin: 0; padding: 0; list-style: none; }
.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.4rem;
  margin-top: clamp(1.35rem, 3vw, 2.7rem);
  counter-reset: program;
}
.program-list li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  min-height: 71px;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1rem, 1.42vw, 1.16rem);
  font-weight: 660;
  line-height: 1.4;
  counter-increment: program;
}
.program-list li::before {
  content: counter(program, decimal-leading-zero);
  color: var(--violet);
  font-size: .85rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.program-list li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }

.outcomes { background: #f1ebfa; }
.outcomes-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 6vw, 7rem); align-items: end; }
.reading { margin-top: 1.55rem; padding-left: 1.2rem; border-left: 3px solid #9a70cd; }
.reading h3 { margin-bottom: .45rem; font-size: clamp(1.07rem, 1.7vw, 1.38rem); line-height: 1.35; }
.reading p, .features p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.outcomes-list li, .features-item { position: relative; padding: .8rem 0 .8rem 1.45rem; border-top: 1px solid #d5c8e8; }
.outcomes-list li { font-size: clamp(.96rem, 1.4vw, 1.12rem); font-weight: 660; line-height: 1.44; }
.outcomes-list li::before, .features-item::before {
  content: "";
  position: absolute;
  top: 1.14rem;
  left: .1rem;
  width: .45rem;
  height: .45rem;
  transform: rotate(45deg);
  background: #9266c6;
}
.features-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 0 clamp(1.25rem, 3vw, 2.4rem);
  margin-top: clamp(1.35rem, 3vw, 2.7rem);
}
.features-item { padding-block: 1rem; }
.features-item::before { top: 1.37rem; }
.features-item-wide { grid-row: 3; grid-column: 1 / span 2; }
.features-item-continuation { grid-area: 2 / 1; }
.calculator-feature { display: contents; }
.calculator-preview {
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: center;
  width: 100%;
  height: auto;
}
.features strong { font-size: clamp(.98rem, 1.5vw, 1.13rem); line-height: 1.4; }
.features p { margin-top: .22rem; }

.booking {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-radius: 12px;
  background:
    linear-gradient(100deg, #321957f2 4%, #422677d4 43%, #51308661),
    #492380 url("assets/galaxy.webp") left 61% / 155% auto no-repeat;
  color: #fff;
}
.booking-date { margin-top: .65rem; font-size: clamp(.98rem, 1.7vw, 1.35rem); line-height: 1.45; }
.booking-description { margin-top: 1.45rem; color: #f0e9fb; line-height: 1.45; }
.price-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.7rem, 2vw, 1.25rem);
  margin: .9rem 0 1.45rem;
}
.price-options > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .55rem;
  padding: clamp(.75rem, 2vw, 1.2rem);
  border: 1px solid #e8d9ff59;
  border-radius: 8px;
  background: #28134236;
  color: #f0e8fa;
}
.price-options > [aria-current="true"] { border-color: #e8d9ffbc; background: #281342a6; color: #fff; }
.price-status { display: block; margin-bottom: .35rem; font-size: .75rem; font-weight: 560; }
.price-options > [aria-current="true"] .price-status { color: #eedcff; }
.price-options dt { font-size: clamp(.82rem, 1.35vw, 1rem); font-weight: 620; line-height: 1.4; }
.price-options dd { margin: 0; font-size: clamp(1.4rem, 3.4vw, 2.85rem); font-weight: 820; letter-spacing: -.038em; }
.booking-reservation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e8d9ff6e;
}
.booking-reservation p { font-size: clamp(.94rem, 1.5vw, 1.12rem); line-height: 1.45; }
.button-light { flex: none; background: #fff; color: var(--deep-violet); }
.button-light:hover { background: #f0e8fb; }
.site-footer { padding-block: 1.5rem; color: var(--muted); font-size: .8rem; }
.site-footer a { text-underline-offset: .22em; }

@media (max-width: 990px) {
  .site-nav { display: none; }
  .hero-art { min-height: 440px; }
  .constellation-upper { transform: scale(.75) rotate(12deg); }
}

@media (max-width: 760px) {
  .site-header { min-height: 64px; }
  .brand { flex: 0 1 222px; }
  .hero-layout { display: block; }
  .intro { padding: 2rem 0 0; }
  .intro h1 { font-size: clamp(3.15rem, 11vw, 4.7rem); }
  .intro h1 span { font-size: .54em; }
  .hero-actions { margin-top: 1rem; }
  .hero-sky {
    inset: auto 0 0;
    width: 100%;
    height: clamp(340px, 66vw, 460px);
    mask-image: linear-gradient(transparent, #000 24%);
  }
  .hero-sky img { width: 133%; max-width: none; margin-left: -33%; object-position: right 25%; }
  .hero-art { --portrait-position: 26%; min-height: clamp(302px, 64vw, 400px); margin-top: .55rem; }
  .hero-portrait { width: min(99%, 469px); height: min(94%, 70vw); bottom: .4rem; }
  .speaker { bottom: .6rem; padding: .32rem .5rem; }
  .constellation-upper { top: 22%; transform: scale(.43) rotate(12deg); }
  .constellation-lower { top: 49%; left: -3.5rem; transform: scale(.43) rotate(-17deg); }
  .outcomes-layout { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .features-list { grid-template-columns: minmax(0, 1fr); }
  .features-item-wide, .features-item-continuation { grid-area: auto; }
  .calculator-feature { display: block; }
  .calculator-preview { margin: 0 0 1.1rem; }
  .booking {
    background:
      linear-gradient(165deg, #321957ed, #432477d4 45%, #55319280),
      #492380 url("assets/galaxy-mobile.webp") left bottom / cover no-repeat;
  }
}

@media (max-width: 540px) {
  .header-booking { display: none; }
  .program-list { grid-template-columns: minmax(0, 1fr); }
  .program-list li { min-height: 57px; grid-template-columns: 2rem minmax(0, 1fr); }
  .program-list li:nth-last-child(2) { border-bottom: 0; }
  .price-options { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .price-options > div { flex-direction: row; align-items: center; }
  .price-options dd { font-size: clamp(1.13rem, 4.7vw, 1.45rem); }
  .booking-reservation { flex-direction: column; align-items: stretch; }
}

@media (max-width: 390px) {
  .hero-actions .button { width: 100%; }
  .hero-actions { gap: .65rem; }
}
