.apply-page a:not(.btn) {
  text-underline-offset: .2em;
}

.apply-hero {
  padding-block: clamp(42px, 6vw, 76px);
}

.apply-hero-layout,
.apply-body-layout {
  display: grid;
  gap: clamp(28px, 5vw, 68px);
}

.apply-hero-layout {
  grid-template-columns: minmax(0, 1.75fr) minmax(17rem, 1fr);
  align-items: center;
}

.apply-hero .section-title {
  font-size: clamp(2.95rem, 6.2vw, 5.8rem);
  overflow-wrap: anywhere;
}

.apply-hero .body-large {
  max-width: 60ch;
  margin: 24px 0 14px;
  line-height: 1.5;
}

.apply-intro {
  margin: 0;
  line-height: 1.5;
}

.apply-hero .hero-actions {
  align-items: center;
  column-gap: 22px;
  margin-top: 28px;
}

.apply-text-link {
  font-weight: 650;
}

.apply-tuition {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border-top: 3px solid #9b742e;
}

.apply-tuition h2 {
  margin: 0;
}

.apply-price {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.3vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.045em;
  margin: 14px 0;
}

.apply-price span {
  font: 650 1rem var(--sans);
  letter-spacing: normal;
  white-space: nowrap;
}

.apply-tuition p:not(.apply-price),
.apply-form-panel p,
.apply-next p,
.apply-steps li {
  line-height: 1.55;
}

.apply-tuition p:not(.apply-price) {
  margin: 0 0 14px;
  color: var(--muted);
}

.apply-section {
  padding-block: clamp(40px, 6vw, 76px);
}

.apply-body-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 1fr);
  align-items: start;
}

.apply-form-panel {
  background: #f9f6ee;
  border: 1px solid #c7c1b3;
  padding: clamp(19px, 4vw, 40px);
}

.apply-form-panel h2,
.apply-next h2 {
  font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.12 var(--serif);
  letter-spacing: -.022em;
  margin: 0 0 12px;
}

#application-intro {
  margin: 0 0 24px;
}

.apply-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.apply-field {
  min-width: 0;
  margin-bottom: 18px;
}

.apply-field label {
  display: block;
  font-weight: 680;
  margin-bottom: 7px;
}

.apply-field input,
.apply-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  color: var(--ink);
  background: #fffcf5;
  border: 1px solid #777d74;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
}

.apply-field textarea {
  resize: vertical;
}

.apply-field textarea:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--ink);
}

.apply-hint {
  color: #555d53;
  font-size: .92rem;
  margin: 0 0 9px;
}

.apply-age {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 650;
  cursor: pointer;
}

.apply-age input {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--ink);
}

.apply-privacy {
  margin: 9px 0 16px;
}

#application-submit {
  font: inherit;
  font-weight: 700;
  min-height: 46px;
}

#application-submit:disabled {
  cursor: wait;
  opacity: .7;
}

#application-status {
  margin: 9px 0 0;
}

#application-status:empty {
  display: none;
}

.apply-error {
  border-left: 3px solid #9d4639;
  background: #f7e8e0;
  color: #552d26;
  padding: 12px 16px;
  margin: 0 0 16px;
}

.apply-error p,
.apply-confirmation p {
  margin: 0 0 8px;
}

.apply-confirmation {
  padding: 17px 20px;
  background: #e6ebe1;
  border-left: 3px solid #50634a;
}

.apply-confirmation h3,
.apply-next h3 {
  margin: 0 0 8px;
}

.apply-next {
  padding-top: 24px;
  border-top: 1px solid #aeb3ae;
}

.apply-steps {
  padding-left: 1.3em;
  margin: 0;
}

.apply-steps li {
  padding-left: .25em;
  margin: 0 0 16px;
}

.apply-question {
  padding-top: 22px;
  margin-top: 24px;
  border-top: 1px solid #c7c1b3;
}

.apply-question p {
  margin: 0 0 10px;
}

@media (max-width: 800px) {
  .apply-hero-layout,
  .apply-body-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .apply-tuition,
  .apply-next {
    max-width: 43rem;
  }
}

@media (max-width: 530px) {
  .apply-contact-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .apply-hero .hero-actions {
    row-gap: 14px;
  }
}
