:root {
  --text: #18201e;
  --muted: #66736f;
  --emerald: #1e5f52;
  --emerald-soft: #edf5f2;
  --line: rgba(30, 95, 82, 0.12);
  --page: #fbfcfb;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(28, 59, 52, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(
      circle at 50% 5%,
      rgba(61, 153, 134, 0.08),
      transparent 34rem
    ),
    var(--page);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.apply-page {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
}

.apply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.apply-brand {
  color: var(--emerald);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.apply-login-link {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.apply-login-link:hover {
  color: var(--emerald);
}

.apply-hero {
  max-width: 740px;
  margin: 74px auto 82px;
  text-align: center;
}

.apply-eyebrow {
  margin: 0 0 12px;
  color: var(--emerald);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.apply-hero h1,
.apply-section-heading h2,
.apply-success h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.apply-hero h1 {
  font-size: clamp(42px, 7vw, 70px);
  line-height: 0.98;
}

.apply-lead {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.apply-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 92px;
}

.apply-how article {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(28, 59, 52, 0.04);
}

.apply-how article > span {
  color: var(--emerald);
  font-size: 11px;
  font-weight: 850;
}

.apply-how h2 {
  margin: 18px 0 8px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.apply-how p,
.apply-section-heading p,
.apply-reward-note,
.apply-success p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.apply-how p {
  margin: 0;
}

.apply-rewards {
  margin: 0 auto 96px;
}

.apply-section-heading {
  max-width: 610px;
  margin-bottom: 28px;
}

.apply-section-heading h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.apply-section-heading > p:last-child {
  margin: 12px 0 0;
}

.apply-reward-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.apply-reward-grid div {
  padding: 25px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.apply-reward-grid div:last-child {
  border-right: 0;
}

.apply-reward-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.apply-reward-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--emerald);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.apply-reward-note {
  margin: 14px 2px 0;
  font-size: 11px;
}

.apply-form-section {
  max-width: 700px;
  margin: 0 auto 110px;
}

.apply-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.apply-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 780;
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 32, 30, 0.12);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.apply-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}

.apply-form input:focus,
.apply-form textarea:focus {
  border-color: rgba(30, 95, 82, 0.40);
  box-shadow: 0 0 0 4px rgba(30, 95, 82, 0.07);
}

.apply-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.apply-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.apply-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--emerald);
}

.apply-submit {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--emerald);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(30, 95, 82, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.apply-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(30, 95, 82, 0.22);
}

.apply-submit:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.apply-message {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.apply-message.error {
  color: #a33b3b;
}

.apply-success {
  padding: 42px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(233, 244, 240, 0.85),
      rgba(255, 255, 255, 0.96)
    );
  box-shadow: var(--shadow);
  text-align: center;
}

.apply-success-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--emerald);
  font-weight: 900;
}

.apply-success h2 {
  font-size: 30px;
}

.apply-success p:not(.apply-eyebrow) {
  max-width: 500px;
  margin: 14px auto 22px;
}

.apply-success a {
  color: var(--emerald);
  font-size: 12px;
  font-weight: 800;
}

.apply-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 32px, 980px);
  min-height: 90px;
  margin: 0 auto;
  border-top: 1px solid rgba(30, 95, 82, 0.08);
  color: var(--muted);
  font-size: 11px;
}

.apply-footer p {
  margin: 0;
}

.apply-footer a {
  text-decoration: none;
}

.apply-footer nav {
  display: flex;
  gap: 18px;
}

.apply-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .apply-hero {
    margin-top: 48px;
    margin-bottom: 56px;
  }

  .apply-how {
    grid-template-columns: 1fr;
    margin-bottom: 72px;
  }

  .apply-reward-grid {
    grid-template-columns: 1fr;
  }

  .apply-reward-grid div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .apply-reward-grid div:last-child {
    border-bottom: 0;
  }

  .apply-reward-grid strong {
    margin: 0;
    font-size: 20px;
  }

  .apply-two-column {
    grid-template-columns: 1fr;
  }

  .apply-form {
    padding: 22px;
    border-radius: 24px;
  }

  .apply-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .apply-submit {
    transition: none;
  }
}
