body:has(.enroll) {
  margin: 0;
  background: #f5f2ea;
}

.enroll {
  --ink: #061321;
  --cream: #f5f2ea;
  --gold: #f0c24b;
  --ochre: #d7a52a;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', 'Vazirmatn', Tahoma, sans-serif;
}

.enroll__panel {
  position: relative;
  flex: 0 0 600px;
  width: 600px;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 470px 72px 40px;
  background: var(--ink);
  color: var(--cream);
}

.enroll__num {
  position: absolute;
  top: 120px;
  right: 72px;
  width: 456px;
  margin: 0;
  text-align: right;
  font-weight: 300;
  font-size: 260px;
  line-height: 260px;
  letter-spacing: 7.8px;
  color: transparent;
  -webkit-text-stroke: 1px #d7a52a;
}

.enroll__eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0.88px;
}

.enroll__display {
  margin: 25px 0 0;
  width: max-content;
  max-width: none;
  color: var(--cream);
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.enroll__blurb {
  margin: 84px 0 0;
  max-width: 430px;
  color: rgba(245, 242, 234, 0.65);
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 1.12px;
}

.enroll__rule {
  width: 456px;
  max-width: 100%;
  height: 1px;
  margin-top: 41px;
  background: rgba(245, 242, 234, 0.18);
}

.enroll__facts {
  display: grid;
  grid-template-columns: 158px 160px 1fr;
  width: 456px;
  max-width: 100%;
  margin: 29px 0 0;
}

.enroll__facts dt {
  margin: 0;
  color: var(--gold);
  font-size: 9px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.72px;
}

.enroll__facts dd {
  margin: 12px 0 0;
  color: var(--cream);
  font-size: 9px;
  font-weight: 500;
  line-height: 13px;
  letter-spacing: 0.72px;
}

.enroll__main {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 56px 72px 4px;
}

.enroll__sheet {
  width: min(696px, 100%);
}

.enroll__back {
  display: inline-flex;
  align-items: center;
  height: 15px;
  margin: 0 0 -29px;
  padding: 14px 12px 15px 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font: 500 10px/15px 'Manrope', sans-serif;
  letter-spacing: 0.6px;
}

.enroll__kicker {
  margin: 68px 0 0;
  color: var(--ochre);
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0.88px;
}

.enroll__title {
  margin: 23px 0 0;
  max-width: 650px;
  color: var(--ink);
  font-size: 48px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: 2.88px;
}

.enroll__lead {
  margin: 28px 0 0;
  max-width: 500px;
  color: rgba(6, 19, 33, 0.6);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.9px;
}

.enroll__line {
  height: 1px;
  margin-top: 17px;
  background: rgba(6, 19, 33, 0.15);
}

.enroll__label {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.88px;
}

.enroll__cards {
  display: grid;
  grid-template-columns: 336px 336px;
  gap: 16px;
  width: 688px;
  margin: 14px 0 0 12px;
}

.enroll__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  width: 336px;
  height: 176px;
  margin: 0;
  padding: 16px 20px 18px;
  border: 1px solid rgba(6, 19, 33, 0.2);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.enroll__card.is-on {
  border-color: var(--gold);
  background: var(--gold);
}

.enroll__card-no {
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.88px;
}

.enroll__card-name {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 1.44px;
}

.enroll__card-text {
  margin-top: 18px;
  max-width: 288px;
  color: rgba(6, 19, 33, 0.65);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.96px;
}

.enroll__card-link {
  margin-top: 12px;
  color: var(--ochre);
  font-size: 9px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.72px;
}

.enroll__addon {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 92px;
  margin-top: 14px;
  padding: 0 27px 0 19px;
  border: 1px solid var(--ochre);
  border-radius: 2px;
  background: rgba(240, 194, 75, 0.14);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.enroll__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
}

.enroll__addon:not(.is-on) .enroll__box {
  background: transparent;
}

.enroll__addon-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.enroll__addon-flag {
  color: #c88f12;
  font-size: 8px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.8px;
}

.enroll__addon-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1.4px;
}

.enroll__addon-note {
  color: rgba(6, 19, 33, 0.55);
  font-size: 9px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.9px;
}

.enroll__addon-price {
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: 0.9px;
}

.enroll__label--sum { margin-top: 16px; }

.enroll__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 1.04px;
}

.enroll__row b {
  font-weight: 500;
}

.enroll__row--offer {
  margin-top: 6px;
  color: var(--ochre);
  font-size: 12px;
  letter-spacing: 0.96px;
}

.enroll__row--muted {
  margin-top: 0;
  color: rgba(6, 19, 33, 0.15);
  font-size: 12px;
  letter-spacing: 0.96px;
}

.enroll__sumline {
  height: 1px;
  margin-top: 11px;
  background: rgba(6, 19, 33, 0.2);
}

.enroll__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 8px;
}

.enroll__total span {
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.96px;
}

.enroll__total strong {
  font-size: 32px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 2.56px;
}

.enroll__go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  margin-top: 19px;
  border: 0;
  border-radius: 32px;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font: 500 18px/24px 'Manrope', sans-serif;
  letter-spacing: 0.72px;
}

.enroll__fine {
  margin: 11px 0 0;
  color: rgba(6, 19, 33, 0.45);
  font-size: 9px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.45px;
  text-align: center;
}

@media (max-width: 1180px) {
  .enroll { flex-direction: column; }
  .enroll__panel {
    flex: none;
    width: 100%;
    min-height: 0;
    padding: 28px 24px 32px;
  }
  .enroll__num {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    max-width: 100%;
    font-size: clamp(112px, 32vw, 200px);
    line-height: 0.9;
    letter-spacing: 0.02em;
  }
  .enroll__display {
    width: auto;
    max-width: 100%;
    letter-spacing: 0.04em;
    white-space: normal;
  }
  .enroll__main { padding: 28px 20px 40px; }
  .enroll__title { letter-spacing: 0.02em; font-size: clamp(32px, 8vw, 48px); }
  .enroll__cards {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
  }
  .enroll__card { width: 100%; height: auto; min-height: 176px; }
  .enroll__addon-name { letter-spacing: 0.04em; }
}

.enroll-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 19, 33, 0.45);
}
.enroll-modal__card {
  width: min(100%, 460px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: #f5f2ea;
  color: #061321;
}
.enroll-modal__card label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; letter-spacing: 0.06em; }
.enroll-modal__card input, .enroll-modal__card textarea {
  min-height: 44px;
  border: 1px solid rgba(6, 19, 33, 0.16);
  padding: 8px 10px;
  font: inherit;
  background: #fff;
}
.enroll-modal__actions, .pay__receipt { display: flex; gap: 8px; flex-wrap: wrap; }
.enroll-modal__card button, .pay__receipt {
  min-height: 44px;
}
.pay__receipt {
  margin-top: 12px;
  color: inherit;
  font-size: 13px;
}
