/* ============================================================
   Apply Form — styles for the lead-capture page
   Built on tokens from colors_and_type.css
   ============================================================ */

/* ---------- Apply hero (dark, compact) ---------- */
.vt-apply-hero {
  background: var(--ink-900);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 160px 0 96px;
  text-align: center;
}
.vt-apply-hero__bg {
  position: absolute; inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.vt-apply-hero__bg canvas {
  width: 100%; height: 100%;
  display: block; position: absolute; inset: 0;
}
.vt-apply-hero__inner {
  position: relative; z-index: 2;
  max-width: 680px; margin: 0 auto; padding: 0 32px;
}
.vt-apply-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 16px 0 24px;
}
.vt-apply-hero h1 em { font-style: italic; color: var(--signal-500); }
.vt-apply-hero p {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-300);
  max-width: 52ch; margin: 0 auto;
}

/* ---------- Form section (paper bg) ---------- */
.vt-apply-section {
  padding: 96px 0 120px;
  border-top: 1px solid var(--line);
}
.vt-apply-form {
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Field group ---------- */
.vt-field {
  margin-bottom: 32px;
}
.vt-field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 10px;
}
.vt-field__label .req {
  color: var(--signal-500);
  margin-left: 2px;
}

/* ---------- Inputs, selects, textareas ---------- */
.vt-input,
.vt-select,
.vt-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-900);
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-2);
  padding: 14px 16px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.vt-input::placeholder,
.vt-textarea::placeholder {
  color: var(--ink-300);
}
.vt-input:focus,
.vt-select:focus,
.vt-textarea:focus {
  border-color: var(--signal-500);
  box-shadow: 0 0 0 3px rgba(217, 84, 26, 0.12);
}

.vt-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23858B9A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.vt-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

/* ---------- Submit button ---------- */
.vt-apply-submit {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.vt-apply-submit .vt-btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 16px 24px;
}
.vt-apply-submit .vt-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Success state ---------- */
.vt-apply-success {
  text-align: center;
  padding: 64px 0;
}
.vt-apply-success h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 20px;
}
.vt-apply-success p {
  font-size: 17px;
  color: var(--ink-500);
  line-height: 1.55;
  max-width: 48ch;
  margin: 0 auto 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .vt-apply-hero { padding: 120px 0 72px; }
  .vt-apply-section { padding: 64px 0 96px; }
  .vt-apply-form { padding: 0 32px; }
}
