html,
body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto !important;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}

.application-world {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  padding: clamp(18px, 4vw, 46px);
  color: var(--ink);
  background: #020817;
  overflow: visible;
}

.application-bg,
.application-world picture,
.application-shade {
  position: fixed;
  inset: 0;
}

.application-world picture {
  z-index: -5;
}

.application-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.application-shade {
  z-index: -4;
  background:
    radial-gradient(circle at 20% 58%, rgba(63, 170, 255, 0.12), transparent 30%),
    radial-gradient(circle at 82% 62%, rgba(168, 65, 255, 0.1), transparent 28%),
    linear-gradient(180deg, transparent 0 48%, rgba(2, 8, 23, 0.2) 58%, rgba(4, 15, 38, 0.78) 68%, rgba(2, 8, 23, 0.97) 100%);
}

.application-header,
.application-form,
.success-panel {
  width: min(940px, 100%);
  margin-inline: auto;
}

.application-header {
  padding: clamp(390px, 54vw, 570px) 0 22px;
  text-align: center;
}

.application-header[hidden],
.application-form[hidden] {
  display: none !important;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(255, 249, 234, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.overline {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.application-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 6.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(247, 201, 118, 0.26);
}

.application-header > p:last-child {
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(255, 249, 234, 0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.application-form {
  display: grid;
  gap: 18px;
  padding-bottom: 54px;
}

.form-section {
  border: 1px solid rgba(255, 242, 208, 0.22);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 242, 208, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 249, 234, 0.1), rgba(6, 18, 42, 0.78));
  box-shadow: 0 22px 70px rgba(2, 8, 23, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.form-section[hidden] {
  display: none !important;
}

.intro-section {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(28px, 6vw, 58px);
}

.intro-section h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.02;
}

.intro-section p:not(.overline) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 249, 234, 0.78);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.bridge-gate-section {
  display: grid;
  gap: 22px;
}

.bridge-gate-head {
  display: grid;
  gap: 14px;
  max-width: 790px;
}

.bridge-gate-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.03;
}

.bridge-gate-head p {
  margin: 0;
  color: rgba(255, 249, 234, 0.78);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.75;
}

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

.threshold-link-card {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 154px;
  padding: 22px;
  border: 1px solid rgba(255, 198, 91, 0.34);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 230, 172, 0.18), transparent 42%),
    radial-gradient(circle at 86% 78%, rgba(81, 129, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(9, 22, 62, 0.72), rgba(2, 8, 23, 0.66));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 46px rgba(0, 0, 0, 0.24);
}

.threshold-link-card::after {
  content: "→";
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 198, 91, 0.34);
  border-radius: 50%;
  color: #ffe2a2;
  background: rgba(255, 242, 208, 0.08);
}

.threshold-link-card span,
.threshold-link-card small {
  color: rgba(255, 198, 91, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.threshold-link-card strong {
  max-width: 75%;
  color: #fff4d1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.05;
}

.threshold-checks {
  display: grid;
  gap: 10px;
}

.application-header[hidden] + .application-form[hidden] + .success-panel {
  margin-top: clamp(80px, 18vh, 150px);
}

.section-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.section-heading > span {
  flex: 0 0 auto;
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 201, 118, 0.66);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 7px 0 0;
  color: rgba(255, 249, 234, 0.66);
  line-height: 1.55;
}

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

.application-form label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.application-form label:first-child {
  margin-top: 0;
}

.application-form label > span {
  color: rgba(255, 249, 234, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.application-form input,
.application-form textarea,
.application-form select {
  width: 100%;
  border: 1px solid rgba(247, 201, 118, 0.58);
  border-radius: 18px;
  outline: none;
  padding: 14px 16px;
  background: rgba(5, 42, 61, 0.56);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.application-form input,
.application-form select {
  min-height: 48px;
}

.application-form textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.55;
}

.application-form input::placeholder,
.application-form textarea::placeholder {
  color: rgba(255, 249, 234, 0.46);
}

.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus {
  border-color: rgba(255, 226, 150, 0.95);
  box-shadow: 0 0 0 3px rgba(247, 201, 118, 0.12), 0 0 24px rgba(247, 201, 118, 0.2);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.choice-grid label,
.consent-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 242, 208, 0.18);
  border-radius: 16px;
  background: rgba(255, 249, 234, 0.07);
}

.choice-grid input,
.consent-line input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

.choice-grid span,
.consent-line span {
  color: rgba(255, 249, 234, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.form-note {
  margin: 12px 0 18px;
  color: rgba(255, 249, 234, 0.68);
  line-height: 1.6;
}

.step-actions {
  position: sticky;
  bottom: 14px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr minmax(150px, auto);
  gap: 10px;
  align-items: center;
  margin-top: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 242, 208, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 242, 208, 0.15), transparent 42%),
    linear-gradient(145deg, rgba(6, 42, 61, 0.72), rgba(3, 25, 39, 0.84));
  box-shadow: 0 18px 54px rgba(0, 18, 30, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.application-form.is-intro-step .step-actions {
  grid-template-columns: minmax(180px, 280px);
  justify-content: center;
}

.application-form.is-intro-step .primary-step {
  grid-column: 1;
}

.step-progress {
  grid-column: 2;
  color: rgba(255, 249, 234, 0.74);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.secondary-step {
  grid-column: 1;
}

.primary-step,
.submit-application {
  grid-column: 3;
}

.step-button,
.submit-application {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255, 242, 208, 0.66);
  border-radius: 999px;
  color: #fffdf3;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(100deg, rgba(255, 184, 111, 0.9), rgba(247, 201, 118, 0.84) 28%, rgba(104, 233, 225, 0.58) 72%, rgba(11, 105, 133, 0.72));
  box-shadow: 0 18px 48px rgba(1, 37, 54, 0.42), 0 0 34px rgba(247, 201, 118, 0.26);
}

.step-button[hidden],
.submit-application[hidden] {
  display: none !important;
}

.secondary-step {
  border-color: rgba(255, 242, 208, 0.24);
  color: rgba(255, 249, 234, 0.78);
  background: rgba(255, 249, 234, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.submit-application[disabled] {
  cursor: wait;
  filter: saturate(0.8);
  opacity: 0.72;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: rgba(255, 249, 234, 0.8);
  font-weight: 800;
  text-align: center;
}

.form-message.is-error {
  color: #ffd0bd;
}

.success-panel {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 60px;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid rgba(255, 242, 208, 0.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 242, 208, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 249, 234, 0.12), rgba(6, 18, 42, 0.82));
  box-shadow: 0 24px 80px rgba(2, 8, 23, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.success-panel[hidden] {
  display: none;
}

.success-orb {
  width: 82px;
  aspect-ratio: 1;
  margin-bottom: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, var(--gold) 22% 38%, rgba(104, 233, 225, 0.42) 58%, transparent 64%);
  box-shadow: 0 0 34px rgba(255, 249, 234, 0.9), 0 0 72px rgba(247, 201, 118, 0.42);
}

.success-panel h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
}

.success-panel > p:not(.overline) {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 249, 234, 0.8);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.success-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 24px;
  border: 1px solid rgba(247, 201, 118, 0.62);
  border-radius: 999px;
  color: var(--cream);
  font-weight: 800;
}

@media (max-width: 720px) {
  .application-world {
    padding: 0 14px 30px;
  }

  .application-bg {
    object-position: center top;
  }

  .application-shade {
    background:
      linear-gradient(180deg, transparent 0 51%, rgba(2, 8, 23, 0.2) 57%, rgba(4, 15, 38, 0.8) 66%, rgba(2, 8, 23, 0.98) 100%);
  }

  .application-header {
    padding-top: 66svh;
  }

  .application-header h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .form-grid,
  .choice-grid,
  .threshold-links {
    grid-template-columns: 1fr;
  }

  .form-section {
    border-radius: 24px;
  }

  .step-actions {
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
  }

  .step-progress {
    grid-column: 1 / -1;
    order: -1;
  }

  .secondary-step,
  .primary-step {
    grid-column: auto;
  }

  .submit-application {
    grid-column: 1 / -1;
  }
}

/* Royal blue and gold color grade */
.application-world {
  color: var(--ink);
}

.application-shade {
  background:
    radial-gradient(circle at 18% 58%, rgba(79, 109, 255, 0.12), transparent 30%),
    radial-gradient(circle at 82% 62%, rgba(138, 78, 255, 0.11), transparent 28%),
    linear-gradient(180deg, transparent 0 48%, rgba(2, 8, 23, 0.22) 58%, rgba(4, 15, 48, 0.82) 68%, rgba(2, 8, 23, 0.98) 100%);
}

.application-world p,
.application-world span,
.application-world label,
.application-world input,
.application-world textarea,
.application-world select,
.application-world small {
  color: rgba(255, 220, 153, 0.82);
}

.application-world h1,
.application-world h2,
.application-world h3,
.application-world strong {
  color: #ffe9b8;
  text-shadow: 0 0 22px rgba(255, 198, 91, 0.18);
}

.form-section,
.success-panel,
.choice-card,
.step-actions {
  border-color: rgba(255, 198, 91, 0.32);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 198, 91, 0.12), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(79, 109, 255, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(255, 226, 163, 0.07), rgba(4, 13, 39, 0.8));
}

/* Miracle polish */
.application-world {
  background:
    radial-gradient(circle at 18% 18%, rgba(79, 109, 255, 0.14), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(159, 79, 255, 0.12), transparent 32%),
    #030716;
}

.application-world h1,
.application-world h2,
.application-world h3 {
  color: #ffedc3;
  text-shadow: 0 0 22px rgba(255, 199, 95, 0.2), 0 2px 18px rgba(0, 0, 0, 0.36);
}

.form-section,
.success-panel,
.choice-card,
.step-actions {
  border-color: rgba(255, 199, 95, 0.4);
  box-shadow:
    0 26px 76px rgba(0, 0, 0, 0.42),
    0 0 44px rgba(255, 199, 95, 0.08),
    inset 0 1px 0 rgba(255, 244, 212, 0.18);
}

.primary-step,
.submit-application {
  color: #fff2cb;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 244, 212, 0.28), transparent 30%),
    linear-gradient(100deg, rgba(255, 199, 95, 0.82), rgba(35, 53, 155, 0.82));
}

/* Final wonder layer */
.application-form {
  gap: 22px;
}

.form-section,
.success-panel {
  position: relative;
  overflow: hidden;
}

.form-section::before,
.success-panel::before,
.step-actions::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 246, 216, 0.34), transparent 22%),
    linear-gradient(315deg, rgba(255, 199, 95, 0.22), transparent 26%);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
}

.form-section::after,
.success-panel::after {
  content: "";
  position: absolute;
  inset: auto 10% -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 199, 95, 0.72), transparent);
  box-shadow: 0 0 18px rgba(255, 199, 95, 0.32);
}

.section-heading > span {
  background:
    radial-gradient(circle, rgba(255, 246, 216, 0.18), rgba(255, 199, 95, 0.12) 42%, rgba(12, 24, 72, 0.72));
  box-shadow:
    0 0 22px rgba(255, 199, 95, 0.18),
    inset 0 0 18px rgba(255, 199, 95, 0.08);
}

.section-heading h2,
.intro-section h2 {
  color: #ffefc8;
  text-shadow: 0 0 18px rgba(255, 199, 95, 0.18), 0 2px 18px rgba(0, 0, 0, 0.34);
}

.application-form label > span,
.overline,
.step-progress {
  color: #ffc75f;
  text-shadow: 0 0 12px rgba(255, 199, 95, 0.18);
}

.application-form input,
.application-form textarea,
.application-form select {
  border-color: rgba(255, 199, 95, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 232, 184, 0.06), rgba(7, 15, 48, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 212, 0.14),
    inset 0 -1px 0 rgba(255, 199, 95, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus {
  border-color: rgba(255, 224, 156, 0.96);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 199, 95, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(255, 232, 184, 0.08), rgba(9, 19, 64, 0.82));
  box-shadow:
    0 0 0 3px rgba(255, 199, 95, 0.13),
    0 0 28px rgba(255, 199, 95, 0.2),
    inset 0 1px 0 rgba(255, 244, 212, 0.18);
}

.choice-grid label,
.consent-line {
  border-color: rgba(255, 199, 95, 0.26);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 199, 95, 0.09), transparent 36%),
    rgba(8, 18, 54, 0.46);
}

.choice-grid label:has(input:checked),
.consent-line:has(input:checked) {
  border-color: rgba(255, 199, 95, 0.72);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 199, 95, 0.16), transparent 36%),
    rgba(19, 29, 82, 0.58);
  box-shadow: 0 0 24px rgba(255, 199, 95, 0.12);
}

.step-actions {
  overflow: hidden;
  border-color: rgba(255, 199, 95, 0.44);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 232, 184, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(13, 25, 82, 0.86), rgba(3, 7, 22, 0.92));
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(255, 199, 95, 0.1),
    inset 0 1px 0 rgba(255, 244, 212, 0.16);
}

.step-button,
.submit-application,
.success-panel a {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 224, 156, 0.68);
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 244, 212, 0.28), transparent 30%),
    linear-gradient(100deg, rgba(255, 199, 95, 0.84), rgba(35, 53, 155, 0.82) 62%, rgba(15, 24, 82, 0.94));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.3),
    0 0 32px rgba(255, 199, 95, 0.18),
    inset 0 1px 0 rgba(255, 244, 212, 0.3);
}

.step-button::after,
.submit-application::after,
.success-panel a::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0 18%, rgba(255, 255, 255, 0.2) 38%, transparent 56%);
  opacity: 0.42;
}

/* Noble action buttons */
.step-button,
.submit-application,
.success-panel a {
  isolation: isolate;
  color: #fff6dc;
  border-color: rgba(255, 221, 143, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 248, 222, 0.18), transparent 44%),
    radial-gradient(circle at 50% -25%, rgba(255, 230, 168, 0.58), transparent 36%),
    linear-gradient(112deg, #ffe3a1 0%, #c78a2e 16%, #10205f 52%, #071238 100%);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.4),
    0 0 34px rgba(255, 199, 95, 0.24),
    inset 0 1px 0 rgba(255, 252, 236, 0.48),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

.step-button::after,
.submit-application::after,
.success-panel a::after {
  background:
    linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.34) 36%, transparent 52%),
    radial-gradient(circle at 82% 12%, rgba(255, 220, 139, 0.28), transparent 28%);
  opacity: 0.7;
}

.step-button:hover,
.submit-application:hover,
.success-panel a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 238, 188, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 252, 235, 0.22), transparent 46%),
    radial-gradient(circle at 50% -25%, rgba(255, 235, 181, 0.66), transparent 38%),
    linear-gradient(112deg, #fff0bd 0%, #d69a3c 16%, #182d78 54%, #08143e 100%);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.46),
    0 0 46px rgba(255, 205, 102, 0.34),
    inset 0 1px 0 rgba(255, 252, 236, 0.56);
}

/* Application background readability and mobile stability polish */
.application-bg {
  filter: saturate(0.96) brightness(0.82) contrast(1.04);
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.application-shade {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 221, 143, 0.06), transparent 30%),
    linear-gradient(180deg,
      rgba(1, 4, 12, 0.02) 0%,
      rgba(1, 4, 12, 0.08) 38%,
      rgba(1, 5, 17, 0.34) 52%,
      rgba(3, 12, 35, 0.72) 66%,
      rgba(1, 4, 13, 0.94) 100%);
}

.application-header {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.72);
}

.application-form {
  margin-top: clamp(42px, 5vw, 74px);
}

@media (max-width: 720px) {
  html,
  body {
    min-height: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  .application-world {
    min-height: 100dvh;
    padding: 0 12px max(30px, env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  .application-bg,
  .application-world picture,
  .application-shade {
    position: absolute;
    min-height: 100dvh;
  }

  .application-bg {
    height: min(920px, 118dvh);
    object-fit: cover;
    object-position: center -10px;
    filter: saturate(0.96) brightness(0.78) contrast(1.04);
    transform: none;
  }

  .application-shade {
    background:
      radial-gradient(circle at 50% 10%, rgba(255, 221, 143, 0.05), transparent 26%),
      linear-gradient(180deg,
        rgba(1, 4, 12, 0.02) 0%,
        rgba(1, 4, 12, 0.08) 34%,
        rgba(1, 5, 17, 0.42) 50%,
        rgba(3, 12, 35, 0.76) 64%,
        rgba(1, 4, 13, 0.94) 100%);
  }

  .application-header {
    padding-top: clamp(405px, 69svh, 620px);
    padding-bottom: 14px;
  }

  .application-form {
    gap: 16px;
    margin-top: 28px;
    padding-bottom: 88px;
  }

  .application-form input,
  .application-form textarea,
  .application-form select {
    min-height: 50px;
    font-size: 16px;
    border-radius: 16px;
  }

  .threshold-link-card {
    min-height: 132px;
    padding: 18px;
  }

  .threshold-link-card strong {
    max-width: 72%;
  }

  .step-actions {
    position: sticky;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 10px;
    border-radius: 22px;
  }
}
