@font-face {
  font-family: "Guaruja Neue";
  src: url("./assets/GuarujaNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Guaruja Neue";
  src: url("./assets/GuarujaNeue-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Guaruja Neue";
  src: url("./assets/GuarujaNeue-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #080808;
  --paper: #ffffff;
  --outer: #ffffff;
  --cura: #afbcaf;
  --cura-soft: #e8ede8;
  --method: #bd6978;
  --method-soft: #f3e5e8;
  --muted: #5b5e5b;
  --muted-on-tint: #454845;
  --line: 1px solid var(--ink);
  --frame-gutter: clamp(12px, 2.8vw, 48px);
  --content-pad: clamp(24px, 3.4vw, 56px);
  --title: clamp(2.7rem, 4.3vw, 4.5rem);
  --section-title: clamp(2rem, 3vw, 3.2rem);
  --body: clamp(1rem, 1.2vw, 1.125rem);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--outer);
  font-family: "Guaruja Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--outer);
  font-size: 16px;
  line-height: 1.35;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
label,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  border-radius: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

fieldset,
figure,
dl,
dd,
p,
h1,
h2,
h3,
ol {
  margin: 0;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--method);
  outline-offset: 3px;
}

.choice-row:focus-within,
.time-option:focus-within,
.payment-tabs label:focus-within,
.accept-row:focus-within,
.mini-choice label:focus-within,
.tag-choice label:focus-within {
  outline: 3px solid var(--method);
  outline-offset: 3px;
}

.page-frame {
  width: min(calc(100% - (2 * var(--frame-gutter))), 1600px);
  min-height: 100vh;
  margin-inline: auto;
  border-inline: var(--line);
  background: var(--paper);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(280px, 32%) 18% 1fr;
  min-height: 72px;
  border-bottom: var(--line);
}

.brand,
.header-field,
.product-label {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand {
  padding: 12px var(--content-pad);
  text-decoration: none;
}

.brand img {
  width: 172px;
  height: 44px;
}

.header-field {
  border: 0;
}

.product-label {
  justify-content: center;
  padding: 20px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.75rem;
}

.checkout-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 12px 0 18px;
  border-bottom: var(--line);
}
.checkout-account > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.checkout-account span, .checkout-account a { font-size: 0.75rem; }
.checkout-account strong { font-weight: 500; overflow-wrap: anywhere; }
.checkout-account a { min-height: 44px; display: inline-flex; align-items: center; }

.global-journey {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: stretch;
  min-height: 86px;
  border-bottom: var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.journey-label {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-right: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
}

.global-journey ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}

.global-journey li {
  --step-x: 16px;
  --step-y: 14px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 12px auto;
  gap: 8px;
  align-content: start;
  align-items: start;
  min-width: 0;
  padding: 14px 16px;
  border-right: 0;
}

.global-journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--step-y) + 5px);
  left: calc(var(--step-x) + 6px);
  width: 100%;
  height: 1px;
  background: var(--ink);
  pointer-events: none;
}

.global-journey li:last-child {
  border-right: 0;
}

.global-journey li i {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: var(--line);
  background: var(--paper);
}

.global-journey li.done i {
  background: var(--cura);
}

.global-journey li.current i {
  background: var(--ink);
}

.global-journey li span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.global-journey li strong,
.global-journey li small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-journey li strong {
  font-size: 0.87rem;
  font-weight: 500;
}

.global-journey li small {
  color: var(--muted);
  font-size: 0.68rem;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

h1,
h2,
h3,
strong,
b {
  font-weight: 500;
}

h1 {
  max-width: 13ch;
  font-size: var(--title);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h2 {
  font-size: var(--section-title);
  line-height: 1;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 710px;
  font-size: var(--body);
  line-height: 1.45;
}

.lead.narrow {
  max-width: 650px;
}

.microcopy,
.security-copy,
.support-note,
.summary-foot {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.button {
  position: relative;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 14px 18px;
  border: var(--line);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-outline {
  color: var(--ink);
  background: transparent;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.button-line {
  position: relative;
  width: 34px;
  height: 1px;
  flex: none;
  background: currentColor;
}

.button-line::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: var(--line);
  background: transparent;
  font-size: 0.78rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: calc(100vh - 159px);
}

.landing-intro,
.cohort-column {
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.landing-intro {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-right: var(--line);
}

.landing-intro h1 {
  margin-top: 0;
}

.landing-copy {
  order: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 44px var(--content-pad);
}

.landing-more {
  order: 3;
  width: 100%;
  min-height: 60px;
  flex-shrink: 0;
  padding-inline: 24px;
  border-inline: 0;
  border-bottom: 0;
}

.landing-intro .lead {
  margin-top: 28px;
}

.experience-meta {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex-shrink: 0;
  margin: 0;
  min-height: 164px;
  border-top: var(--line);
  background: var(--cura);
}

.experience-meta div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px;
  border-right: var(--line);
}

.experience-meta div + div {
  padding-left: 20px;
}

.experience-meta div:last-child {
  border-right: 0;
}

.experience-meta dt {
  font-size: 0.85rem;
}

.experience-meta dd {
  margin-top: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.25;
}

.landing-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}

.landing-intro .microcopy {
  margin-top: 12px;
}

.landing-photo {
  flex-shrink: 0;
  height: clamp(180px, 24vh, 310px);
  margin: 0;
  border-bottom: var(--line);
  overflow: hidden;
}

.landing-photo img {
  width: 100%;
  height: 100%;
  filter: grayscale(1);
  object-fit: cover;
  object-position: center 48%;
}

.cohort-column {
  display: grid;
  grid-template-rows: 1fr;
}

.section-heading {
  padding: 34px var(--content-pad) 30px;
  border-bottom: var(--line);
  background: var(--cura);
}

.section-heading h2 {
  max-width: 13ch;
  margin-top: 10px;
}

.landing-cohorts {
  display: grid;
  grid-template-rows: repeat(4, minmax(150px, 1fr));
}

.cohort-card {
  --accent: var(--cura);
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) minmax(260px, 1.5fr);
  grid-template-rows: 1fr auto;
  min-width: 0;
  border-bottom: var(--line);
  background: var(--paper);
}

.cohort-card.method,
.selection-summary.method,
.checkout-item.method,
.mini-selection.method,
.teacher-course.method,
.base-course-card.method,
.time-group.method {
  --accent: var(--method);
  --accent-soft: var(--method-soft);
}

.cohort-card.archicad,
.selection-summary.archicad,
.checkout-item.archicad,
.mini-selection.archicad,
.teacher-course.archicad,
.base-course-card.archicad,
.time-group.archicad {
  --accent: var(--cura);
  --accent-soft: var(--cura-soft);
}

.cohort-card-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  padding: 20px;
  border-right: var(--line);
}

.course-chip {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  flex: none;
  border: var(--line);
  background: var(--accent);
}

.cohort-card-title small,
.cohort-card dl dt,
.cohort-card dl small {
  display: block;
  font-size: 0.66rem;
}

.cohort-card-title h3 {
  margin-top: 6px;
  font-size: clamp(1.32rem, 1.8vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.cohort-card dl {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.25fr;
  min-width: 0;
}

.cohort-card dl > div {
  min-width: 0;
  padding: 18px 12px;
  border-right: var(--line);
}

.cohort-card dl > div:last-child {
  border-right: 0;
}

.cohort-card dl dd {
  margin-top: 5px;
  font-size: 0.98rem;
  font-weight: 500;
}

.cohort-card dl small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.2;
}

.cohort-action {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  margin: 14px 20px;
  padding: 12px 18px;
  border: var(--line);
  color: var(--paper);
  background: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.cohort-action span {
  font-size: 1.1rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(330px, 1fr);
  min-height: calc(100vh - 159px);
}

.flow-main {
  min-width: 0;
  padding: clamp(42px, 5vw, 78px) var(--content-pad) 70px;
}

.flow-main h1 {
  margin-top: 14px;
}

.flow-main > .lead {
  margin-top: 26px;
}

.flow-aside {
  min-width: 0;
  border-left: var(--line);
}

.form-stack {
  display: grid;
  gap: 30px;
  margin-top: 42px;
}

.choice-set > legend,
.time-group > legend,
.payment-tabs > legend,
.mini-choice > legend,
.tag-choice > legend {
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 500;
}

.choice-set {
  min-inline-size: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.choice-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
  border: var(--line);
}

.choice-row {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr 18px;
  gap: 10px;
  align-items: start;
  min-height: 126px;
  padding: 18px 14px;
  border-right: var(--line);
  cursor: pointer;
}

.choice-row:last-child {
  border-right: 0;
}

.choice-row.selected {
  background: var(--cura);
}

.choice-row input,
.time-option input,
.payment-tabs input,
.accept-row input,
.mini-choice input,
.tag-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-index {
  font-size: 0.72rem;
}

.choice-row > span:nth-child(3) {
  align-self: end;
}

.choice-row strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.05;
}

.choice-row small {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  line-height: 1.25;
}

.choice-row i,
.time-option i {
  width: 18px;
  height: 18px;
  border: var(--line);
  background: var(--paper);
}

.choice-row.selected i::after,
.time-option.selected i::after {
  display: block;
  width: 8px;
  height: 8px;
  margin: 4px;
  background: var(--ink);
  content: "";
}

.schedule-picker {
  display: grid;
  gap: 22px;
}

.schedule-picker.is-dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.time-group {
  min-width: 0;
}

.time-group > legend strong {
  font-weight: 600;
}

.time-group > div {
  display: grid;
  border: var(--line);
}

.time-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px;
  border-bottom: var(--line);
  cursor: pointer;
}

.time-option:last-child {
  border-bottom: 0;
}

.time-option.selected {
  background: var(--accent-soft);
}

.time-option strong,
.time-option small {
  display: block;
}

.time-option strong {
  font-size: 1rem;
}

.time-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field > span {
  font-size: 0.72rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: var(--line);
  border-radius: 0;
  background: transparent;
  outline: 0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-width: 2px;
}

.field textarea {
  resize: vertical;
}

.email-field {
  max-width: 760px;
}

.form-feedback,
.checkout-feedback {
  padding: 16px;
  border: var(--line);
  background: var(--method-soft);
}

.form-feedback p {
  margin: 5px 0 10px;
  font-size: 0.85rem;
}

.program-aside {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--cura-soft);
}

.program-header {
  padding: 34px 30px;
  border-bottom: var(--line);
}

.program-header h2 {
  max-width: 11ch;
  margin-top: 8px;
}

.program-content {
  display: grid;
  align-content: start;
}

.program-aside.both .program-content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-content.is-dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-content.is-dual > :first-child {
  border-right: var(--line);
}

[data-program-content] .teacher-course {
  padding: 24px;
  background: var(--cura-soft);
}

[data-program-content] .teacher-course.method {
  background: var(--method-soft);
}

[data-program-content] .teacher-course h3 {
  margin-bottom: 18px;
  font-size: 1.25rem;
}

[data-program-content] .teacher-course article {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 18px 0;
}

.program-aside.both [data-program-content] > :first-child {
  border-right: var(--line);
}

.program-course {
  --accent: var(--cura);
  min-width: 0;
  padding: 28px 30px 34px;
  border-bottom: var(--line);
}

.program-course.method {
  --accent: var(--method);
  background: var(--method-soft);
}

.program-course.archicad {
  background: var(--cura-soft);
}

.program-aside.both .program-course:first-child {
  border-right: var(--line);
}

.program-course h3 {
  display: inline-block;
  padding: 5px 7px;
  background: var(--accent);
  font-size: 1.25rem;
}

.program-course ol {
  margin-top: 22px;
  padding-left: 0;
  list-style: none;
}

@media (min-width: 701px) {
  [data-contract-program].is-dual {
    grid-template-rows: auto repeat(4, auto) auto;
  }
  [data-contract-program].is-dual > .program-course {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / 7;
  }
  [data-contract-program].is-dual > .program-course:first-child { grid-column: 1; }
  [data-contract-program].is-dual > .program-course:last-child { grid-column: 2; }
  [data-contract-program].is-dual h3 {
    justify-self: start;
    align-self: start;
    margin-bottom: 22px;
  }
  [data-contract-program].is-dual ol {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 2 / 6;
    margin-top: 0;
  }
  [data-contract-program].is-dual > .program-course > small { grid-row: 6; }
}

.program-course li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: var(--line);
  font-size: 0.86rem;
}

.program-course li span,
.program-course > small {
  color: var(--muted);
  font-size: 0.68rem;
}

.program-course > small {
  display: block;
  margin-top: 18px;
  line-height: 1.35;
}

.program-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--line);
  background: var(--paper);
}

.program-team section {
  min-width: 0;
  padding: 22px 24px;
  border-right: var(--line);
}

.program-team section:last-child {
  border-right: 0;
}

.program-team section > small {
  color: var(--muted);
  font-size: 0.68rem;
}

.program-team p {
  margin-top: 12px;
}

.program-team p strong,
.program-team p span {
  display: block;
}

.program-team p strong {
  font-size: 0.9rem;
}

.program-team p span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.return-aside,
.alternatives-aside,
.profile-aside,
.teacher-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 30px;
  background: var(--cura);
}

.return-aside h2 {
  max-width: 10ch;
  margin-top: 10px;
}

.return-aside p:not(.eyebrow) {
  max-width: 36ch;
  margin-top: 20px;
}

.aside-actions {
  display: grid;
  gap: 18px;
  align-items: start;
  margin-top: 60px;
}

.base-course-list {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.base-course-card {
  --accent: var(--cura);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(160px, 0.8fr);
  border: var(--line);
}

.base-course-card > * {
  min-width: 0;
  padding: 20px;
  border-right: var(--line);
}

.base-course-card > *:last-child {
  border-right: 0;
}

.base-course-card h2 {
  display: block;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 6px;
  background: var(--accent);
  font-size: 1.5rem;
  line-height: 1.15;
}

.base-course-card > div > small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.4;
}

.base-course-card p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.base-course-card a {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.875rem;
  line-height: 1.4;
  min-height: 56px;
  text-decoration: none;
}

.coupon-block small,
.coupon-block code,
.coupon-block span {
  display: block;
}

.coupon-block small {
  font-size: 0.75rem;
}

.coupon-block code {
  margin-top: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.coupon-block span {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.contract-selection {
  margin-top: 44px;
}

.selection-list {
  display: grid;
  border: var(--line);
}

.selection-list.is-combined {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.selection-summary {
  --accent: var(--cura);
  min-width: 0;
  background: var(--paper);
}

.selection-list.is-combined .selection-summary:first-child {
  border-right: var(--line);
}

.selection-summary header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px;
  border-bottom: var(--line);
}

.selection-summary header small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.35;
}

.selection-summary header > div {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
}

.selection-summary header .course-chip {
  display: none;
}

.selection-summary header h2 {
  display: inline-block;
  margin: 0;
  padding: 5px 8px;
  background: var(--accent);
  font-size: 1.5rem;
  line-height: 1.15;
}

.selection-summary dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.selection-summary dl > div {
  min-width: 0;
  padding: 18px;
  border-right: var(--line);
}

.selection-summary dl > div:last-child {
  border-right: 0;
}

.selection-summary dt {
  font-size: 0.68rem;
}

.selection-summary dd {
  margin-top: 7px;
  font-size: 0.95rem;
  font-weight: 500;
}

.selection-summary dd small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 400;
}

.investment-cell dd strong { display: block; font-size: clamp(1.05rem, 1.65vw, 1.45rem); font-weight: 650; line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; }
.investment-cell dd small { color: var(--ink); font-size: 0.8rem; }

.combined-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
  border: var(--line);
  border-top: 0;
  background: var(--paper);
}

.combined-total span {
  font-size: 0.75rem;
}

.combined-total strong {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-variant-numeric: tabular-nums;
}

.combined-total small {
  grid-column: 1;
  color: var(--ink);
  font-size: 0.9rem;
  text-align: center;
}

.contract-reader {
  margin-top: 28px;
  padding: 20px;
  border: var(--line);
}

.contract-reader > div {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: var(--line);
}

.contract-reader p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.77rem;
}

.contract-dialog {
  width: min(calc(100% - 32px), 720px);
  max-height: min(82vh, 760px);
  padding: 0;
  border: var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
}

.contract-dialog::backdrop {
  background: rgba(8, 8, 8, 0.62);
}

.contract-dialog form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 42px);
}

.dialog-head {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: var(--line);
}

.dialog-head button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: var(--line);
  background: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.contract-document {
  display: grid;
  gap: 18px;
  line-height: 1.5;
}

.contract-document ul {
  display: grid;
  margin: 0;
  padding: 0;
  border: var(--line);
  list-style: none;
}

.contract-document li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  padding: 16px;
  border-bottom: var(--line);
}

.contract-document li:last-child {
  border-bottom: 0;
}

.contract-document li span:first-of-type {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-warning {
  padding: 16px;
  border: var(--line);
  background: var(--method-soft);
  font-size: 0.8rem;
  line-height: 1.45;
}

.accept-row {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  cursor: pointer;
}

.select-mark {
  width: 20px;
  height: 20px;
  flex: none;
  border: var(--line);
  background: var(--paper);
}

.accept-row input:checked + .select-mark::after {
  display: block;
  width: 10px;
  height: 10px;
  margin: 4px;
  background: var(--ink);
  content: "";
}

.flow-main > .button {
  margin-top: 22px;
}

.support-note {
  margin-top: 12px;
}

.teacher-aside {
  justify-content: flex-start;
}

.teacher-grid {
  display: grid;
  gap: 28px;
  margin-top: 26px;
}

.teacher-course {
  --accent: var(--cura);
}

.teacher-course h2 {
  display: inline-block;
  padding: 5px 7px;
  background: var(--accent);
  font-size: 1.5rem;
}

.teacher-course article {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  min-height: 74px;
  border-bottom: var(--line);
}

.teacher-monogram {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: var(--line);
  background: var(--paper);
  font-size: 0.72rem;
  font-weight: 600;
}

.teacher-course article strong,
.teacher-course article small {
  display: block;
}

.teacher-course article small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(360px, 0.9fr);
  min-height: calc(100vh - 159px);
}

.checkout-main {
  min-width: 0;
  padding: clamp(42px, 5vw, 72px) var(--content-pad) 72px;
}

.checkout-main h1 {
  margin-top: 14px;
}

.demo-notice {
  display: grid;
  gap: 3px;
  max-width: 720px;
  margin-top: 26px;
  padding: 14px 16px;
  border: var(--line);
  background: var(--method-soft);
  font-size: 0.78rem;
}

.demo-notice span {
  color: var(--muted);
}

.checkout-form {
  display: grid;
  gap: 28px;
  max-width: 800px;
  margin-top: 34px;
}

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

.payment-tabs legend {
  grid-column: 1 / -1;
}

.payment-tabs label {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 74px;
  padding: 16px;
  border: var(--line);
  cursor: pointer;
}

.payment-tabs label.selected {
  background: var(--cura);
}

.payment-tabs label span {
  font-size: 1.05rem;
  font-weight: 500;
}

.payment-tabs label small {
  color: var(--muted);
  font-size: 0.7rem;
}

.payment-tabs label.selected small {
  color: var(--muted-on-tint);
}

.buyer-fields,
.card-fields,
.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
}

.span-two {
  grid-column: 1 / -1;
}

.benefit-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  padding: 20px;
  border: var(--line);
}

.benefit-box .button {
  align-self: end;
}

.benefit-box > p,
.demo-tools {
  grid-column: 1 / -1;
}

.benefit-box > p {
  color: var(--muted);
  font-size: 0.74rem;
}

.demo-tools {
  padding-top: 12px;
  border-top: var(--line);
}

.demo-tools summary {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  font-size: 0.72rem;
  cursor: pointer;
}

.demo-tools div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.demo-tools button {
  min-height: 44px;
  padding: 8px 10px;
  border: var(--line);
  background: var(--paper);
  font-size: 0.68rem;
  cursor: pointer;
}

.checkout-submit {
  width: min(100%, 340px);
}

.checkout-inline-summary {
  display: none;
  padding: 20px;
  border: var(--line);
  background: var(--cura-soft);
}

.checkout-inline-summary > [data-inline-items] {
  margin-top: 14px;
  border-top: var(--line);
}

.checkout-inline-summary dl {
  margin-top: 14px;
  border-top: var(--line);
}

.checkout-inline-summary dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: var(--line);
}

.checkout-inline-summary dt {
  font-size: 0.78rem;
}

.checkout-inline-summary dd {
  font-weight: 500;
}

.checkout-inline-summary .grand-total {
  border-bottom: 0;
}

.checkout-inline-summary .grand-total dd {
  font-size: 1.65rem;
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 38px 30px;
  border-left: var(--line);
  background: var(--cura);
}

.checkout-summary h2 {
  margin-top: 8px;
}

.checkout-summary [data-checkout-items] {
  margin-top: 34px;
  border-top: var(--line);
}

.checkout-item {
  --accent: var(--cura);
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 20px 0;
  border-bottom: var(--line);
}

.checkout-item h3 {
  font-size: 1.08rem;
}

.checkout-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.checkout-summary .checkout-item p,
.checkout-summary .summary-foot,
.teacher-aside .teacher-course article small {
  color: var(--muted-on-tint);
}

.checkout-item > strong {
  font-size: 0.9rem;
}

.totals {
  margin-top: auto;
  padding-top: 44px;
}

.totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: var(--line);
}

.totals dt {
  font-size: 0.75rem;
}

.totals dd {
  font-size: 1rem;
  font-weight: 500;
}

.totals .grand-total {
  padding-top: 18px;
  border-bottom: 0;
}

.totals .grand-total dd {
  font-size: 2rem;
}

.summary-foot {
  margin-top: 22px;
}

.payment-result {
  max-width: 620px;
  margin-top: 38px;
  padding: 28px;
  border: var(--line);
}

.payment-result h2 {
  max-width: 12ch;
  margin-top: 8px;
}

.payment-result > p:not(.eyebrow) {
  max-width: 48ch;
  margin-top: 18px;
}

.payment-result .button {
  margin-top: 24px;
}

.result-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  border: var(--line);
  background: var(--cura);
  font-size: 1.7rem;
}

.result-mark.is-error {
  background: var(--method);
}

.result-mark.is-waiting {
  background: var(--paper);
}

.demo-qr {
  display: grid;
  grid-template-columns: repeat(9, 8px);
  width: fit-content;
  margin: 24px 0;
  padding: 12px;
  border: var(--line);
  background: var(--paper);
}

.demo-qr i {
  width: 8px;
  height: 8px;
  background: var(--paper);
}

.demo-qr .q0,
.demo-qr .q1 {
  background: var(--ink);
}

.profile-grid .flow-main {
  padding-bottom: 80px;
}

.result-status {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 28px;
  font-size: 0.72rem;
  font-weight: 500;
}

.result-status span {
  width: 10px;
  height: 10px;
  border: var(--line);
  background: var(--cura);
}

.result-status.status-neutral span {
  background: var(--paper);
}

.optional-skip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
}

.profile-form {
  margin-top: 38px;
}

.mini-choice,
.tag-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--line);
  border-left: var(--line);
}

.mini-choice legend,
.tag-choice legend {
  width: 100%;
  padding-bottom: 10px;
}

.mini-choice label,
.tag-choice label {
  position: relative;
  min-height: 44px;
  padding: 12px;
  border-right: var(--line);
  border-bottom: var(--line);
  font-size: 0.74rem;
  cursor: pointer;
}

.mini-choice label.selected,
.tag-choice label.selected {
  background: var(--cura);
}

.tag-choice {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.profile-aside {
  justify-content: flex-start;
}

.profile-aside > div {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.mini-selection {
  --accent: var(--cura);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: var(--line);
}

.mini-selection:last-child {
  border-bottom: var(--line);
}

.mini-selection strong,
.mini-selection small {
  display: block;
}

.mini-selection small {
  margin-top: 6px;
  font-size: 0.72rem;
}

.success-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: calc(100vh - 159px);
}

.success-copy,
.success-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--content-pad);
}

.success-copy {
  color: var(--paper);
  background: var(--ink);
}

.success-copy .lead {
  margin-top: 24px;
}

.success-copy .button {
  width: fit-content;
  margin-top: 34px;
}

.success-symbol {
  position: relative;
  width: 82px;
  height: 82px;
  margin-bottom: 42px;
}

.success-symbol span {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 1px solid var(--paper);
}

.success-symbol span:first-child {
  top: 0;
  left: 0;
}

.success-symbol span:last-child {
  right: 0;
  bottom: 0;
  background: var(--cura);
}

.success-details {
  border-left: var(--line);
  background: var(--cura);
}

.success-details .mini-selection:first-of-type {
  margin-top: 26px;
}

.success-details > p:last-child {
  max-width: 40ch;
  margin-top: 34px;
}

.waitlist-form {
  display: grid;
  gap: 24px;
  max-width: 780px;
  margin-top: 40px;
}

.form-feedback[data-state="success"] {
  background: var(--cura-soft);
}

.form-feedback[data-state="error"] {
  background: var(--method-soft);
}

.waitlist-form .cohort-card {
  grid-template-columns: 1fr 1.5fr;
  border: var(--line);
}

.alternatives-aside {
  justify-content: flex-start;
  background: var(--paper);
}

.alternatives-aside > div {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.alternatives-aside .cohort-card {
  display: block;
  border: var(--line);
}

.alternatives-aside .cohort-card-title {
  border-right: 0;
  border-bottom: var(--line);
}

.alternatives-aside .cohort-card dl {
  grid-template-columns: 1fr;
}

.alternatives-aside .cohort-card dl > div {
  display: none;
}

.alternatives-aside .cohort-card dl > div:nth-child(2) {
  display: block;
  border-right: 0;
}

.capture-mode *,
.capture-mode *::before,
.capture-mode *::after {
  animation: none !important;
  transition: none !important;
}

@media (hover: hover) {
  .choice-row:hover,
  .time-option:hover,
  .payment-tabs label:hover {
    background: var(--cura-soft);
  }

  .choice-row.selected:hover,
  .payment-tabs label.selected:hover {
    background: var(--cura);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(240px, 34%) 12% 1fr;
  }

  .global-journey {
    grid-template-columns: 98px 1fr;
  }

  .global-journey li {
    --step-x: 10px;
    padding-inline: 10px;
  }

  .global-journey li small {
    display: none;
  }

  .cohort-card {
    grid-template-columns: minmax(160px, 1fr) 1.4fr;
  }

  .cohort-card dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cohort-card dl > div {
    padding-inline: 9px;
  }

  .flow-grid,
  .checkout-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.9fr);
  }

  .selection-summary dl {
    grid-template-columns: 1fr;
  }

  .selection-summary dl > div {
    border-right: 0;
    border-bottom: var(--line);
  }

  .selection-summary dl > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 960px) {
  :root {
    --frame-gutter: 24px;
    --content-pad: 28px;
  }

  .site-header {
    grid-template-columns: 1fr 36%;
  }

  .header-field {
    display: none;
  }

  .global-journey {
    display: block;
    min-height: 0;
    overflow: visible;
  }

  .journey-label {
    display: none;
  }

  .global-journey ol {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-width: 0;
  }

  .global-journey li {
    min-height: 66px;
  }

  .global-journey li strong {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .checkout-inline-summary {
    display: block;
  }

  .landing-grid,
  .flow-grid,
  .checkout-grid,
  .success-grid {
    grid-template-columns: 1fr;
  }

  .landing-intro,
  .flow-aside,
  .checkout-summary,
  .success-details {
    border: 0;
  }

  .landing-intro {
    min-height: 700px;
    border-bottom: var(--line);
  }

  .landing-photo {
    height: 270px;
  }

  .landing-cohorts {
    grid-template-rows: none;
  }

  .flow-aside,
  .checkout-summary,
  .success-details {
    border-top: var(--line);
  }

  .program-aside {
    min-height: 520px;
  }

  .return-aside,
  .teacher-aside,
  .profile-aside,
  .alternatives-aside {
    min-height: 420px;
  }

  .checkout-summary {
    display: none;
  }

  .totals {
    margin-top: 50px;
  }

  .success-copy,
  .success-details {
    min-height: 520px;
  }
}

@media (max-width: 700px) {
  :root {
    --frame-gutter: 12px;
    --content-pad: 20px;
    --title: clamp(2.45rem, 13vw, 3.5rem);
    --section-title: clamp(1.8rem, 9vw, 2.55rem);
  }

  .site-header {
    min-height: 64px;
  }

  .brand {
    padding: 10px 16px;
  }

  .brand img {
    width: 145px;
    height: auto;
  }

  .product-label {
    padding: 12px;
    font-size: 0.68rem;
  }

  .global-journey ol {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    padding: 0 20px 14px;
  }

  .global-journey {
    position: static;
  }

  .journey-label {
    display: block;
    padding: 14px 20px 8px;
  }

  .global-journey li {
    min-height: 30px;
    grid-template-columns: 12px minmax(0, 1fr);
    grid-template-rows: auto;
    column-gap: 12px;
    --step-x: 0px;
    --step-y: 9px;
    padding: 6px 0;
  }

  .global-journey li i {
    margin-top: 3px;
  }

  .global-journey li:not(:last-child)::after {
    top: 15px;
    left: 5px;
    width: 1px;
    height: 100%;
  }

  .global-journey li strong {
    font-size: 0.875rem;
    line-height: 18px;
  }

  .global-journey li.current strong {
    font-weight: 600;
  }

  .global-journey li small {
    font-size: 0.72rem;
  }

  .screen small,
  .screen dt,
  .screen legend,
  .screen .eyebrow,
  .screen .field > span,
  .screen .cohort-action,
  .screen .checkout-item p,
  .product-label {
    font-size: 0.75rem;
  }

  .landing-intro {
    min-height: 660px;
    padding-top: 0;
  }

  .experience-meta {
    grid-template-columns: 1fr;
  }

  .experience-meta div,
  .experience-meta div + div {
    padding: 18px 20px;
    border-right: 0;
    border-bottom: var(--line);
  }

  .experience-meta div:last-child {
    border-bottom: 0;
  }

  .landing-actions {
    display: grid;
    gap: 16px;
  }

  .landing-photo {
    height: 210px;
    margin-top: 0;
  }

  .section-heading {
    padding: 28px 20px;
  }

  .cohort-card,
  .waitlist-form .cohort-card {
    grid-template-columns: 1fr;
  }

  .cohort-card-title {
    border-right: 0;
    border-bottom: var(--line);
  }

  .cohort-card dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cohort-card dl > div {
    padding: 14px 8px;
  }

  .cohort-card dl dd {
    font-size: 0.86rem;
  }

  .flow-main,
  .checkout-main {
    padding-top: 42px;
  }

  .choice-options,
  .schedule-picker.is-dual,
  .program-aside.both .program-content,
  .selection-list.is-combined,
  .buyer-fields,
  .card-fields,
  .profile-form,
  .mini-choice,
  .tag-choice {
    grid-template-columns: 1fr;
  }

  .choice-row {
    min-height: 92px;
    border-right: 0;
    border-bottom: var(--line);
  }

  .choice-row:last-child {
    border-bottom: 0;
  }

  .program-aside.both .program-course:first-child,
  .selection-list.is-combined .selection-summary:first-child {
    border-right: 0;
  }

  .program-team {
    grid-template-columns: 1fr;
  }

  .program-team section {
    border-right: 0;
    border-bottom: var(--line);
  }

  .program-team section:last-child {
    border-bottom: 0;
  }

  .base-course-card {
    grid-template-columns: 1fr;
  }

  .base-course-card > * {
    border-right: 0;
    border-bottom: var(--line);
  }

  .base-course-card > *:last-child {
    border-bottom: 0;
  }

  .selection-summary dl {
    grid-template-columns: 1fr;
  }

  .selection-summary dl > div {
    border-right: 0;
    border-bottom: var(--line);
  }

  .selection-summary dl > div:last-child {
    border-bottom: 0;
  }

  .contract-reader > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .contract-document li {
    grid-template-columns: 1fr;
  }

  .contract-document li span:first-of-type {
    grid-column: auto;
  }

  .payment-tabs {
    grid-template-columns: 1fr;
  }

  .benefit-box {
    grid-template-columns: 1fr;
  }

  .benefit-box .button,
  .benefit-box > p,
  .demo-tools,
  .span-two {
    grid-column: 1;
  }

  .checkout-submit,
  .success-copy .button {
    width: 100%;
  }

  .return-aside,
  .teacher-aside,
  .profile-aside,
  .alternatives-aside,
  .checkout-summary,
  .success-copy,
  .success-details {
    padding: 32px 20px;
  }
}

@media (max-width: 430px) {
  :root {
    --frame-gutter: 8px;
  }

  .page-frame {
    width: calc(100% - 16px);
  }

  .brand img {
    width: 126px;
  }

  .cohort-card dl {
    grid-template-columns: 1fr;
  }

  .cohort-card dl > div {
    border-right: 0;
    border-bottom: var(--line);
  }

  .cohort-card dl > div:last-child {
    border-bottom: 0;
  }

  .combined-total {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .combined-total small {
    grid-column: 1;
    text-align: center;
  }

  .checkout-item {
    grid-template-columns: 14px 1fr;
  }

  .checkout-item > strong {
    grid-column: 2;
  }
}

@media (min-width: 961px) {
  body[data-screen="01-landing"] .global-journey {
    --journey-label-width: 120px;
    grid-template-columns: var(--journey-label-width) 1fr;
  }
  body[data-screen="01-landing"] .global-journey ol {
    grid-template-columns: repeat(2, minmax(0, calc((100% - var(--journey-label-width)) / 4))) repeat(3, minmax(0, 1fr));
  }
  body[data-screen="01-landing"] .site-header {
    grid-template-columns: 32% 18% 1fr;
  }
}
@media (min-width: 961px) and (max-width: 1180px) {
  body[data-screen="01-landing"] .global-journey { --journey-label-width: 98px; }
}

.eligibility-note {
  margin-top: 24px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.landing-cohorts .course-chip { display: none; }
.landing-cohorts .cohort-card-title h3 {
  display: inline-block;
  padding: 6px 8px;
  background: var(--accent);
}
.landing-cohorts .cohort-card-title small,
.landing-cohorts .cohort-card dl dt,
.landing-cohorts .cohort-card dl small {
  font-size: 0.75rem;
  line-height: 1.35;
}
.landing-cohorts .cohort-card dl dd {
  font-size: 1.15rem;
  line-height: 1.2;
}

@media (max-width: 960px) {
  .landing-intro { min-height: 0; }
  .landing-intro .experience-meta { order: 0; }
}

@media (max-width: 700px) {
  .landing-intro .experience-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 128px;
    border-top: 0;
    border-bottom: var(--line);
  }
  .landing-intro .experience-meta div,
  .landing-intro .experience-meta div + div {
    padding: 18px 10px;
    border-bottom: 0;
    border-right: var(--line);
  }
  .landing-intro .experience-meta div:last-child { border-right: 0; }
  .landing-intro .experience-meta dt { font-size: 0.75rem; }
  .landing-intro .experience-meta dd { font-size: 0.9rem; }
  .landing-copy { padding-block: 32px; }
  .landing-cohorts .cohort-card-title { padding: 18px 20px; }
  .landing-cohorts .cohort-card dl {
    grid-template-columns: 1fr 1fr;
  }
  .landing-cohorts .cohort-card dl > div {
    padding: 14px 20px;
    border-bottom: var(--line);
    border-right: 0;
  }
  .landing-cohorts .cohort-card dl > div:first-child { border-right: var(--line); }
  .landing-cohorts .cohort-card dl > div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  .landing-cohorts .cohort-card dl > div:last-child dd { font-size: 1.5rem; }
  .landing-cohorts .cohort-action { margin-top: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .schedule-picker > .time-group,
  [data-program-content] > section,
  [data-payment-result]:not([hidden]),
  .contract-dialog[open] {
    animation: state-reveal 180ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .choice-row,
  .time-option,
  .payment-tabs label {
    transition: background-color 140ms ease-out;
  }

  .button-line,
  .cohort-action span {
    transition: transform 160ms ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .button:not(:disabled):hover .button-line,
    .cohort-action:hover span {
      transform: translateX(4px);
    }
  }
}

/* Restore the original cura left-to-right colored button fill. */
.button-dark, .cohort-action, .base-course-card a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 180ms ease;
}
.button-dark::before, .cohort-action::before, .base-course-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--cura);
  transform: translateX(-102%);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cohort-action::before { background: var(--accent, var(--cura)); }
@media (hover: hover) and (pointer: fine) {
  .button-dark:not(:disabled):not([aria-disabled="true"]):hover,
  .cohort-action:hover,
  .base-course-card a:hover { color: var(--ink); }
  .button-dark:not(:disabled):not([aria-disabled="true"]):hover::before,
  .cohort-action:hover::before,
  .base-course-card a:hover::before { transform: translateX(0); }
}
.button-dark:disabled::before,
.button-dark[aria-disabled="true"]::before { display: none; }
.landing-footer { display: contents; }
@media (min-width: 961px) {
  .landing-grid {
    min-height: calc(100dvh - 159px);
    grid-template-rows: repeat(4, minmax(170px, 1fr));
  }
  .landing-intro, .cohort-column {
    display: grid;
    grid-row: 1 / 5;
    grid-template-rows: subgrid;
  }
  .landing-intro { grid-column: 1; }
  .cohort-column { grid-column: 2; }
  .landing-photo { grid-row: 1; height: auto; min-height: 0; position: relative; }
  .landing-photo img { position: absolute; inset: 0; }
  .landing-copy { grid-row: 2 / 4; order: 0; padding-block: 24px; }
  .landing-copy h1 { font-size: clamp(2.7rem, 3.7vw, 3.6rem); }
  .landing-copy .lead { margin-top: 18px; font-size: 1rem; }
  .landing-copy .eligibility-note { margin-top: 18px; font-size: 0.875rem; }
  .landing-copy .landing-actions { margin-top: 20px; }
  .landing-copy .button { min-height: 46px; }
  .landing-footer .experience-meta { min-height: 120px; }
  .landing-footer .experience-meta div { padding: 18px 20px; }
  .landing-footer .experience-meta dd { font-size: 1rem; }
  .landing-footer .landing-more { min-height: 48px; }
  .landing-cohorts .cohort-card-title { padding: 14px 20px; }
  .landing-cohorts .cohort-card dl > div { padding-block: 14px; }
  .landing-cohorts .cohort-action { min-height: 44px; margin-block: 10px; }
  .landing-footer {
    display: grid;
    grid-row: 4;
    grid-template-rows: minmax(120px, 1fr) 48px;
  }
  .landing-cohorts {
    grid-row: 1 / 5;
    grid-template-rows: subgrid;
  }
}

/* Shared six-column structure: landing splits at 3/6; internal pages at 4/6. */
@media (min-width: 961px) {
  body[data-screen] .global-journey {
    grid-template-columns: minmax(0, 1fr) minmax(0, 5fr);
  }
  body[data-screen] .global-journey ol {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  body:not([data-screen="01-landing"]) .site-header {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .flow-grid, .checkout-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

/* A/B/C retain independent selection controls and course-color markers. */
.choice-row {
  grid-template-columns: minmax(0, 1fr) 18px;
  grid-template-rows: auto 1fr;
  row-gap: 24px;
}
.choice-row .choice-index { grid-column: 1; grid-row: 1; }
.choice-row > i { grid-column: 2; grid-row: 1; }
.choice-row > span:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
.choice-row strong {
  position: relative;
  padding-left: 20px;
  line-height: 1.25;
}
.choice-row strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 11px;
  height: 11px;
  border: var(--line);
  background: var(--cura);
}
.choice-method strong::before { background: var(--method); }
.choice-both strong::before {
  background: linear-gradient(to right, var(--method) 50%, var(--cura) 50%);
}
.choice-row small { padding-left: 20px; }
.choice-both .combo-label {
  display: grid;
  grid-template-columns: minmax(0, max-content) auto minmax(0, max-content);
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-inline: 20px;
  text-align: center;
}
.choice-both .combo-label::before { top: calc(50% - 5.5px); }
.combo-label > span:first-child,
.combo-label > span:last-child {
  min-width: 0;
}
.choice-both small { padding-left: 0; margin-top: 10px; }
@media (max-width: 700px) {
  .choice-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-method { border-right: var(--line); }
  .choice-both { grid-column: 1 / -1; }
}

/* The faculty surface stays cura green regardless of the chosen product. */
[data-program-panel],
[data-program-panel] .program-header,
[data-program-content] .teacher-course,
[data-program-content] .teacher-course.method {
  background: var(--cura);
}
[data-program-panel] .program-header h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
}

@keyframes state-reveal {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .program-content.is-dual { grid-template-columns: 1fr; }
  .program-content.is-dual > :first-child { border-right: 0; }
}

/* Compact final steps, using the same ruled grid as selection and contract. */
.checkout-main {
  padding: 32px var(--content-pad);
}
.checkout-main h1,
.success-copy h1 {
  max-width: 20ch;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.checkout-main h1 { margin-top: 8px; }
.checkout-main .demo-notice {
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--cura-soft);
}
.checkout-form { gap: 20px; margin-top: 20px; }
.payment-tabs { gap: 0; }
.payment-tabs label { min-height: 62px; padding: 10px 14px; }
.payment-tabs label + label { border-left: 0; }
.buyer-fields, .card-fields {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 12px 20px;
}
.buyer-fields > legend, .card-fields > legend {
  width: 100%;
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: var(--line);
  font-size: 0.875rem;
  font-weight: 500;
}
.checkout-form .field { gap: 4px; }
.checkout-form .field input,
.checkout-form .field select { min-height: 44px; padding: 8px 0; }
.checkout-form .field > span { font-size: 0.75rem; }
.checkout-form .benefit-box { padding: 12px 16px; gap: 6px 12px; }
.checkout-form .benefit-box .button { min-height: 44px; }
.checkout-form .demo-tools { padding-top: 4px; }
.checkout-submit { width: 100%; min-height: 48px; }
.checkout-summary { padding: 32px 24px; }
.checkout-summary h2 { font-size: clamp(1.65rem, 2.2vw, 2.25rem); }
.summary-edit { display: inline-flex; align-items: center; min-height: 44px; }
.checkout-summary [data-checkout-items] { margin-top: 16px; }
.checkout-item { padding: 16px 0; gap: 10px; }
.checkout-summary .totals { margin-top: 24px; padding-top: 0; }
.totals .grand-total dd { font-size: 1.8rem; }
.payment-terms { font-size: 0.95rem; font-weight: 500; text-align: right; line-height: 1.4; }
.summary-foot { margin-top: 20px; padding-top: 16px; border-top: var(--line); }
.checkout-inline-summary { padding: 16px; }
.checkout-inline-summary .payment-terms { margin-top: 4px; }
.contract-help { margin: 12px 0; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.payment-result { margin-top: 24px; padding: 24px; }
.payment-result h2 { max-width: 20ch; font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.success-symbol { width: 54px; height: 54px; margin-bottom: 24px; }
.success-symbol span { width: 36px; height: 36px; }
.success-copy, .success-details { padding-block: 32px; }
.success-copy .lead { margin-top: 16px; }
.success-copy .button { margin-top: 24px; }
.success-details > p:last-child { margin-top: 24px; }
@media (min-width: 961px) {
  .success-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .buyer-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .buyer-fields .field:first-of-type, .buyer-fields .field:nth-of-type(3) { grid-column: span 2; }
  .buyer-fields .field:nth-of-type(5) { grid-column: span 2; }
  .card-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-fields .field:nth-of-type(2), .card-fields .field:nth-of-type(3) { grid-column: auto; }
  .card-fields .field:first-of-type { grid-column: span 2; }
  .card-fields .field:nth-of-type(4), .card-fields .field:last-of-type { grid-column: span 2; }
}
@media (max-width: 960px) {
  .success-grid { min-height: 0; }
  .success-copy, .success-details { min-height: 0; }
}
@media (max-width: 700px) {
  .checkout-main { padding-block: 24px; }
  .checkout-form .payment-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buyer-fields, .card-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .card-fields .field.span-two { grid-column: 1 / -1; }
  .buyer-fields .field:first-of-type, .buyer-fields .field:nth-of-type(3) { grid-column: 1 / -1; }
  .buyer-fields .field:nth-of-type(2) { grid-column: 1; grid-row: 3; }
  .buyer-fields .field:nth-of-type(4) { grid-column: 2; grid-row: 3; }
}
@media (prefers-reduced-motion: no-preference) {
  .card-fields:not([hidden]) { animation: state-reveal 160ms ease-out; }
  .success-screen.is-active .success-symbol span:last-child { animation: cura-complete 260ms cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes cura-complete {
  from { transform: translate(-8px, -8px); }
  to { transform: translate(0, 0); }
}
/* Checkout follows personal data → payment method → review. */
.checkout-form .payment-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkout-form .buyer-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-form .buyer-fields > .field { grid-column: auto; grid-row: auto; }
.checkout-form .buyer-fields > .span-two { grid-column: 1 / -1; }
.method-guidance { margin-top: -8px; font-size: 0.875rem; line-height: 1.45; max-width: 65ch; }
.holder-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 0.875rem; cursor: pointer; }
.holder-toggle input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--ink); }
.holder-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; padding-top: 12px; border-top: var(--line); }
.checkout-form .field { align-self: start; align-content: start; }
.phone-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; min-width: 0; }
.phone-field select { text-overflow: ellipsis; }
.checkout-form .phone-field > .field { grid-column: auto; grid-row: auto; }
.checkout-form .card-fields > .holder-toggle,
.checkout-form .card-fields > .holder-fields,
.holder-fields > .span-two { grid-column: 1 / -1; }
.international-note { padding: 12px 16px; border: var(--line); background: var(--cura-soft); font-size: 0.875rem; line-height: 1.45; }
.payment-tabs label.is-unavailable { opacity: 0.45; cursor: not-allowed; }
.checkout-form .card-fields > .field { grid-column: span 2; grid-row: auto; }
.checkout-form .card-fields > .field:has([name="expiry"]),
.checkout-form .card-fields > .field:has([name="ccv"]) { grid-column: span 1; }
.checkout-form .card-fields > .field:has([name="cardOrigin"]) { grid-column: 1 / -1; }
.checkout-form .demo-tools > .field { margin-top: 12px; }
[data-field-error] { color: var(--ink); font-size: 0.8rem; line-height: 1.4; padding-left: 8px; border-left: 2px solid var(--method); }
.field:has([aria-invalid="true"]) { background: var(--method-soft); }
.payment-facts { margin-block: 20px; border-top: var(--line); }
.payment-facts > div { display: flex; justify-content: space-between; gap: 20px; padding-block: 12px; border-bottom: var(--line); }
.payment-facts dt { font-size: 0.875rem; }
.payment-facts dd { text-align: right; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.payment-result .result-actions .button { margin-top: 0; }
.payment-result .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.payment-result [data-result-feedback] { font-size: 0.875rem; }
.payment-result .support-note { padding-top: 20px; border-top: var(--line); }
[data-boleto-dialog] p, [data-boleto-preview] { margin-block: 20px; }
@media (max-width: 960px) {
  .checkout-form .card-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .checkout-form .buyer-fields > .field { grid-column: 1 / -1; }
  .checkout-form .phone-field { grid-template-columns: 1fr; }
  .checkout-form .payment-tabs label { padding: 10px; }
  .checkout-form .payment-tabs label span { font-size: 1rem; }
  .result-actions .button { width: 100%; }
  .holder-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Miro 28/09: the landing introduces the journey; stages start at selection. */
body[data-screen="01-landing"] .global-journey { display: none; }
.journey-current-label { display: none; }
.global-journey ol.journey-five { --journey-count: 5; }
.experience-meta div { align-items: center; text-align: center; }
.cohort-column { position: relative; }
.open-cohorts-title { display: none; }
.landing-cohorts { padding-top: 0; }
.landing-cohorts .cohort-card { grid-template-columns: minmax(210px, .9fr) minmax(0, 1.8fr); }
.landing-cohorts .cohort-card dl { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 1.25fr); }
.landing-cohorts .cohort-card dl > div:first-child dd { font-size: clamp(1.1rem, 1.65vw, 1.5rem); }
.cohort-card-title .cohort-code { display: block; margin-top: 2px; font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.05; }
.cohort-card-title .cohort-day { display: block; margin-top: 3px; font-size: .95rem; }
.landing-cohorts .cohort-card-title h3 { margin-bottom: 14px; }
.selection-list.is-combined .selection-summary dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.selection-list.is-combined .selection-summary dl > div:nth-child(2) { border-right: 0; }
.selection-list.is-combined .selection-summary dl > .investment-cell { grid-column: 1 / -1; border-top: var(--line); }
.cohort-card .investment-cell dd strong { display: block; font-size: clamp(.95rem, 1.15vw, 1.1rem); line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cohort-card .investment-cell dd small { color: var(--ink); font-size: .8rem; }
.cohort-schedule-mobile { display: none; }

@media (max-width: 700px) {
  .landing-cohorts .cohort-card { grid-template-columns: minmax(0, 1fr); }
  .landing-cohorts { padding-top: 0; }
  .landing-cohorts .cohort-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .global-journey { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; overflow: hidden; padding: 14px 16px 12px; }
  .journey-label { display: none; }
  .global-journey ol { display: grid; grid-column: 1; grid-template-columns: repeat(var(--journey-count, 4), minmax(0, 1fr)); width: 100%; padding: 0; }
  .global-journey li { display: flex; justify-content: center; align-items: flex-start; min-height: 16px; padding: 0; }
  .global-journey li i { margin: 0; }
  .global-journey li:not(:last-child)::after { top: 5px; left: calc(50% + 6px); width: calc(100% - 12px); height: 1px; }
  .global-journey li span { display: none; }
  .journey-current-label { display: block; grid-column: 1; margin: 8px 0 0; font-size: .85rem; font-weight: 600; text-align: center; }
  .cohort-card .investment-cell dd strong, .selection-summary .investment-cell dd strong { white-space: normal; }
}

/* Three equal masthead zones; only the landing labels its middle zone. */
.selection-emphasis { font-weight: 600; }
body[data-screen] .site-header { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-screen="01-landing"] .site-header { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
body:not([data-screen="01-landing"]) .site-header { grid-template-columns: minmax(0, 1fr); }
body:not([data-screen="01-landing"]) .header-field,
body:not([data-screen="01-landing"]) .product-label { display: none; }
.header-field { display: flex; justify-content: center; border-left: var(--line); font-size: .84rem; }
.landing-more-mobile { display: none; }

/* One joined portrait strip; captions alone receive the dividing rule. */
[data-program-content] { border-bottom: var(--line); }
[data-program-content] .teacher-course,
[data-program-content] .teacher-course.method { padding: 0; background: var(--cura); border-right: 0; }
[data-program-content] .teacher-course h3 { display: none; }
.program-aside.both [data-program-content] > :first-child { border-right: 0; }
.teacher-profile { min-width: 0; margin: 0; }
.teacher-portrait { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); }
.teacher-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(100%); transition: filter 240ms ease-out, transform 420ms cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .teacher-portrait:hover img { filter: grayscale(0%); transform: scale(1.025); } }
.teacher-profile figcaption { display: flex; flex-direction: column; justify-content: flex-start; min-height: 8rem; padding: 12px 10px; background: var(--paper); }
[data-program-content].is-dual .teacher-course:first-child figcaption { border-right: var(--line); }
[data-program-content].is-dual .teacher-course { display: grid; }
[data-program-content].is-dual .teacher-profile { display: grid; grid-template-rows: auto 1fr; height: 100%; }
[data-program-content].is-dual .teacher-profile figcaption { min-height: 0; padding-block: 9px; }
[data-program-content]:not(.is-dual) .teacher-profile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-program-content]:not(.is-dual) .teacher-profile figcaption { justify-content: center; border-left: var(--line); }
.teacher-profile figcaption strong, .teacher-profile figcaption small { display: block; overflow-wrap: anywhere; }
.teacher-profile figcaption small { margin-top: 5px; font-size: .75rem; line-height: 1.3; }
[data-program-panel] { grid-template-rows: auto auto auto minmax(0, 1fr); }
[data-program-panel]::after { content: ""; background: var(--cura); }
.teacher-blurb { margin: 0; padding: 18px 24px; border-bottom: var(--line); background: var(--cura); font-size: .9rem; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) { .teacher-portrait img { transition: none; } }

/* The two programs share 18 row positions; Método leaves the last nine empty. */
.program-aside [data-contract-program].is-dual { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; align-items: stretch; }
.program-aside [data-contract-program].is-dual > .program-course { display: grid; grid-row: auto; grid-template-rows: 4.5rem auto auto; min-width: 0; }
.program-aside [data-contract-program].is-dual h3 { align-self: start; justify-self: start; margin-bottom: 0; }
.program-aside [data-contract-program].is-dual ol { display: grid; grid-row: auto; grid-template-rows: repeat(18, 44px); margin-top: 0; }
.program-aside [data-contract-program].is-dual > .program-course > small { grid-row: auto; align-self: end; margin-top: 18px; }
.program-course li { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: center; padding: 6px 0; }
.program-course li .program-point { display: none; }
.program-course li span { color: var(--ink); font-size: .86rem; }
@media (max-width: 700px) {
  .program-aside [data-contract-program].is-dual > .program-course { grid-template-rows: 4.5rem auto auto; padding-inline: 14px; }
  .program-aside [data-contract-program].is-dual ol { grid-template-rows: repeat(18, 62px); }
  .program-course li span { font-size: .77rem; line-height: 1.25; overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
  body[data-screen] .site-header { grid-template-columns: 1fr 1fr; }
  body[data-screen="01-landing"] .site-header { grid-template-columns: 1fr 1fr; }
  .brand img { width: min(100%, 132px); }
  .header-field { display: none; }
  .product-label { text-align: center; }
  .open-cohorts-title { display: block; margin: 0; padding: 12px 20px; border-bottom: var(--line); font-size: 1rem; }
  .landing-more-desktop { display: none; }
  .landing-more-mobile { display: flex; width: 100%; min-height: 54px; }
  .landing-cohorts .cohort-card-title { padding-block: 14px; }
  .landing-cohorts .cohort-card-title h3 { margin-bottom: 7px; font-size: 1.2rem; }
  .cohort-card-title .cohort-day { display: none; }
  .cohort-schedule-desktop { display: none; }
  .cohort-schedule-mobile { display: inline; }
  .landing-cohorts .cohort-card dl > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: var(--line); }
  .landing-cohorts .cohort-card dl > div:nth-child(2) { border-right: var(--line); }
  .landing-cohorts .cohort-card dl > div:last-child { grid-column: auto; border-bottom: 0; }
  .landing-cohorts .cohort-card dl > div:first-child dd { font-size: clamp(1.15rem, 5vw, 1.45rem); }
  .landing-cohorts .investment-cell dd strong { font-size: clamp(.86rem, 3.1vw, 1rem); overflow-wrap: anywhere; }
  .program-aside.both [data-program-content].is-dual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-program-content] .teacher-course { padding: 0; }
}
