.apply2-page {
  --apply2-bg: #f3f4ef;
  --apply2-ink: #151515;
  --apply2-muted: #686862;
  --apply2-rule: rgba(21, 21, 21, 0.18);
  --apply2-soft-rule: rgba(21, 21, 21, 0.08);
  min-height: 100vh;
  background: var(--apply2-bg);
  color: var(--apply2-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.apply2-page *,
.apply2-page *::before,
.apply2-page *::after {
  box-sizing: border-box;
}

.apply2-page a {
  color: inherit;
}

.apply2-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 72px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--apply2-soft-rule);
  background: rgba(243, 244, 239, 0.97);
}

.apply2-brand img {
  width: 112px;
  height: auto;
  display: block;
}

.apply2-nav-link,
.apply2-section-label,
.apply2-number {
  color: var(--apply2-muted);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.apply2-nav-link {
  text-decoration: none;
}

.apply2-main {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 140px 64px 104px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(56px, 8vw, 132px);
}

.apply2-intro {
  min-width: 0;
}

.apply2-intro-sticky {
  position: sticky;
  top: 112px;
}

.apply2-intro h1,
.apply2-panel-head h2,
.apply2-success h1 {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
}

.apply2-intro h1 {
  margin-top: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 0.98;
}

.apply2-intro p:not(.apply2-section-label),
.apply2-panel-head h2,
.apply2-success p {
  font-family: Georgia, "Times New Roman", serif;
}

.apply2-intro p:not(.apply2-section-label) {
  margin: 28px 0 0;
  color: var(--apply2-muted);
  font-size: 18px;
  line-height: 1.45;
}

.apply2-status {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--apply2-muted);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.apply2-status span {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #39b96f;
  box-shadow: 0 0 0 5px rgba(57, 185, 111, 0.12);
}

.apply2-panel {
  min-width: 0;
}

.apply2-panel-head {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--apply2-rule);
}

.apply2-panel-head h2 {
  max-width: 680px;
  margin-top: 24px;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.98;
}

.apply2-form {
  display: grid;
  border-top: 1px solid var(--apply2-soft-rule);
}

.apply2-field {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--apply2-soft-rule);
}

.apply2-field-body {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.apply2-field label,
.apply2-field-head label {
  color: var(--apply2-ink);
  font-size: 15px;
  line-height: 1.3;
}

.apply2-field-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.apply2-count {
  color: var(--apply2-muted);
  font-size: 12px;
}

.apply2-count.is-over {
  color: #ef4444;
}

.apply2-input,
.apply2-textarea {
  width: 100%;
  border: 1px solid var(--apply2-soft-rule);
  border-radius: 0;
  background: transparent;
  color: var(--apply2-ink);
  font: inherit;
  font-size: 17px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.apply2-input {
  min-height: 52px;
  padding: 0 14px;
}

.apply2-textarea {
  min-height: 148px;
  padding: 14px;
  resize: vertical;
}

.apply2-input:focus,
.apply2-textarea:focus {
  border-color: rgba(21, 21, 21, 0.36);
  background: rgba(255, 255, 255, 0.32);
}

.apply2-input::placeholder,
.apply2-textarea::placeholder {
  color: rgba(104, 104, 98, 0.62);
}

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

.apply2-choice {
  min-height: 48px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--apply2-soft-rule);
  color: var(--apply2-muted);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.apply2-choice:hover,
.apply2-choice:has(input:checked) {
  border-color: rgba(21, 21, 21, 0.32);
  color: var(--apply2-ink);
  background: rgba(255, 255, 255, 0.3);
}

.apply2-choice input {
  width: 15px;
  height: 15px;
  accent-color: var(--apply2-ink);
}

.apply2-other-input {
  display: none;
}

.apply2-other-input.is-visible {
  display: block;
}

.apply2-error {
  display: none;
  margin: 20px 0 0;
  color: #ef4444;
  font-size: 13px;
}

.apply2-error.is-visible {
  display: block;
}

.apply2-submit,
.apply2-success a {
  min-height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: var(--apply2-ink);
  color: #fff !important;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 180ms ease, font-size 180ms ease;
}

.apply2-submit {
  width: min(100%, 320px);
  margin-top: 32px;
}

.apply2-submit:not(:disabled):hover,
.apply2-success a:hover {
  font-size: 12.8px;
}

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

.apply2-success {
  min-height: 100vh;
  padding: 96px 24px;
  display: grid;
  place-items: center;
  background: var(--apply2-bg);
  color: var(--apply2-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.apply2-success-card {
  width: min(100%, 680px);
  display: grid;
  gap: 28px;
  text-align: left;
}

.apply2-success h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.96;
}

.apply2-success p {
  margin: 0;
  color: var(--apply2-muted);
  font-size: 18px;
  line-height: 1.45;
}

.apply2-success a {
  width: min(100%, 280px);
}

@media (max-width: 900px) {
  .apply2-nav {
    height: 64px;
    padding: 0 24px;
  }

  .apply2-main {
    padding: 104px 24px 80px;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .apply2-intro-sticky {
    position: relative;
    top: auto;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--apply2-rule);
  }

  .apply2-intro h1 {
    font-size: 44px;
  }
}

@media (max-width: 640px) {
  .apply2-nav-link {
    font-size: 10px;
  }

  .apply2-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .apply2-panel-head h2 {
    font-size: 36px;
  }

  .apply2-field {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
  }

  .apply2-choice-grid {
    grid-template-columns: 1fr;
  }

  .apply2-submit {
    width: 100%;
  }
}
