:root {
  --green: #00c880;
  --green-700: #009963;
  --green-800: #08734f;
  --green-950: #073b2b;
  --ink: #111827;
  --muted: #667085;
  --line: #dfe7f0;
  --line-soft: #e8edf3;
  --wash: #f6f9fc;
  --soft-green: #e9fff5;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(20, 32, 51, 0.10);
}

.apply-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 74px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 86% 12%, rgba(0, 200, 128, 0.13), transparent 30%),
    linear-gradient(180deg, #f7fffb 0%, #fff 72%);
}

.apply-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -280px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: rgba(0, 200, 128, 0.08);
  pointer-events: none;
}

.apply-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.62fr);
  gap: 72px;
  align-items: center;
}

.apply-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.05;
  font-weight: 950;
}

.apply-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 720;
}

.apply-note {
  display: inline-flex;
  margin-top: 26px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 200, 128, 0.18);
  border-radius: 999px;
  background: rgba(233, 255, 245, 0.72);
  color: var(--green-800);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

.apply-hero-card {
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.apply-hero-card h2 {
  margin: 0 0 18px;
  color: var(--green-800);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 950;
}

.apply-quick-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apply-quick-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: center;
  color: #2f3b4f;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 850;
}

.apply-quick-list span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--soft-green);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 950;
}

.apply-section {
  padding: 82px 0;
  background: #fff;
}

.apply-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.apply-sidebar {
  position: sticky;
  top: 104px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 200, 128, 0.10), transparent 34%),
    #fff;
  box-shadow: 0 16px 38px rgba(20, 32, 51, 0.06);
}

.apply-sidebar strong {
  display: block;
  margin: 2px 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.apply-sidebar a {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  color: #3c485c;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.apply-sidebar a:hover {
  background: var(--soft-green);
  color: var(--green-800);
}

.apply-sidebar span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f2f6f9;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 950;
}

.apply-form {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.form-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20, 32, 51, 0.06);
}

.form-card-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 200, 128, 0.08), transparent 32%),
    #fbfdfc;
}

.form-card-head h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.22;
  font-weight: 950;
}

.form-card-head p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 680;
}

.required-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 28px 30px;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.field.wide {
  grid-column: 1 / -1;
}

.field label {
  color: #283449;
  font-size: 13px;
  font-weight: 900;
}

.field small {
  color: #7a8598;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.control,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.field textarea {
  min-height: 104px;
  padding-top: 13px;
  resize: vertical;
  line-height: 1.6;
}

.control::placeholder,
.field textarea::placeholder {
  color: #a0a8b7;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.choice.active {
  border-color: rgba(0, 200, 128, 0.28);
  background: var(--soft-green);
  color: var(--green-800);
}

.choice i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.phone-field {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
}

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

.upload-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed rgba(0, 153, 99, 0.36);
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfffd, #fff);
  color: var(--green-800);
  text-align: center;
}

.upload-card b,
.upload-card span {
  display: block;
}

.upload-card b {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 950;
}

.upload-card span {
  color: #7a8598;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px 28px;
  border-top: 1px solid var(--line-soft);
  background: #fbfdfc;
}

.submit-note {
  margin-right: auto;
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 680;
}

.guide-card-body {
  display: grid;
  gap: 20px;
  padding: 26px 28px 30px;
}

.guide-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-points.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-points li {
  position: relative;
  min-width: 0;
  padding: 13px 15px 13px 38px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 760;
}

.guide-points li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(0, 200, 128, 0.10);
}

.guide-callout {
  display: grid;
  gap: 6px;
  padding: 17px 18px;
  border: 1px solid rgba(0, 200, 128, 0.20);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 200, 128, 0.12), transparent 36%),
    var(--soft-green);
}

.guide-callout.soft {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 200, 128, 0.08), transparent 36%),
    #fbfffd;
}

.guide-callout b,
.guide-meta b,
.guide-result b {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}

.guide-callout span,
.guide-meta span,
.guide-result p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
  font-weight: 680;
}

.guide-path {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfffd, #fff);
}

.guide-path span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-800);
  font-size: 14px;
  font-weight: 950;
}

.guide-path i {
  width: 28px;
  height: 1px;
  background: rgba(0, 153, 99, 0.34);
}

.guide-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.guide-meta-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-meta {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 200, 128, 0.08), transparent 34%),
    #fff;
}

.guide-result {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-950), var(--green-700));
  color: #fff;
}

.guide-result > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 25px;
}

.guide-result > span svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-result b,
.guide-result p {
  color: #fff;
}

.guide-result p {
  opacity: 0.78;
}

.guide-actions {
  margin: 0 -28px -30px;
}

.guide-prep-section .notice-band {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .apply-hero-grid,
  .apply-shell {
    grid-template-columns: 1fr;
  }

  .apply-sidebar {
    position: static;
  }

  .apply-sidebar nav {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    max-width: 100%;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
  }

  .apply-sidebar a {
    flex: 0 0 clamp(176px, 68vw, 232px);
    scroll-snap-align: start;
  }

  .guide-meta-grid,
  .guide-meta-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .apply-hero {
    padding: 50px 0 48px;
  }

  .apply-hero h1 {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.12;
  }

  .apply-lead {
    font-size: 16px;
    line-height: 1.68;
    margin-top: 16px;
  }

  .apply-note {
    margin-top: 18px;
  }

  .apply-hero-card {
    padding: 22px;
  }

  .apply-section {
    padding: 50px 0;
  }

  .apply-shell {
    gap: 18px;
  }

  .apply-sidebar {
    padding: 14px;
    border-radius: 16px;
  }

  .apply-sidebar strong {
    margin-bottom: 10px;
  }

  .apply-sidebar nav {
    gap: 8px;
    padding-bottom: 6px;
  }

  .apply-sidebar a {
    flex-basis: clamp(150px, 58vw, 204px);
    min-height: 48px;
    padding: 8px;
  }

  .apply-sidebar span {
    width: 28px;
    height: 28px;
  }

  .apply-form {
    gap: 14px;
  }

  .form-card {
    border-radius: 18px;
  }

  .form-card-head,
  .form-grid,
  .guide-card-body,
  .form-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-card-head {
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .form-card-head h2 {
    font-size: 22px;
  }

  .form-card-head p {
    font-size: 13px;
    line-height: 1.55;
  }

  .form-grid {
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .form-card-head,
  .form-grid,
  .form-grid.three,
  .upload-grid,
  .phone-field,
  .guide-points.two-col,
  .guide-meta-grid,
  .guide-meta-grid.compact {
    grid-template-columns: 1fr;
  }

  .guide-actions {
    margin: 0 -18px -30px;
  }

  .choice {
    min-height: 44px;
  }

  .upload-card {
    min-height: 96px;
    padding: 14px;
  }

  .form-actions {
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .form-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .guide-card-body {
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .guide-points {
    gap: 9px;
  }

  .guide-points li {
    padding: 11px 12px 11px 34px;
    font-size: 13px;
    line-height: 1.5;
  }

  .guide-points li::before {
    left: 15px;
    top: 19px;
  }

  .guide-callout,
  .guide-meta,
  .guide-result {
    padding: 14px;
    border-radius: 14px;
  }

  .guide-meta {
    min-height: 0;
  }

  .guide-path {
    align-items: stretch;
    gap: 8px;
    padding: 12px;
  }

  .guide-path span {
    justify-content: center;
    width: 100%;
    min-height: 36px;
  }

  .guide-path i {
    width: 1px;
    height: 18px;
    margin: 0 auto;
  }

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