/* ============================================================
   Apply page — form
   ============================================================ */
.apply-page { background: var(--brand-tint-2); }

.apply-wrap { padding: 120px 0 80px; min-height: 100vh; }
.apply-grid { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 56px; align-items: start; }

/* Aside */
.apply-aside .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); }
.apply-aside h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -.015em; color: var(--ink); margin-top: 18px; }
.apply-aside .lede { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.apply-aside .lede strong { color: var(--ink); font-weight: 700; }

.apply-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.apply-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; }
.apply-points .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); margin-top: 7px; flex: none; box-shadow: 0 0 0 4px rgba(27,80,229,.14); }
.apply-points strong { color: var(--ink); font-weight: 700; }

.apply-trust { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.at-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; text-align: center; box-shadow: var(--shadow-sm); }
.at-num { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--brand-strong); letter-spacing: -.01em; }
.at-lbl { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

/* Card */
.apply-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); }

/* Fields */
#apply-form { display: flex; flex-direction: column; gap: 18px; position: relative; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field > span em { color: var(--brand); font-style: normal; }

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
  box-sizing: border-box;
}
.field textarea { resize: vertical; min-height: 96px; font-family: var(--sans); }
.field input::placeholder,
.field textarea::placeholder { color: #a1adc9; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #c6d2ee; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(27,80,229,.14); }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' stroke='%231438b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-foot { margin-top: 12px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
#submit-btn { padding: 16px 26px; }
.form-note { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin: 0; }
.form-note strong { color: var(--ink); font-weight: 600; }

.form-msg { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-family: var(--sans); font-size: 14px; }
.form-msg.error { background: #fff1f1; border: 1px solid #ffd0d0; color: #b91c1c; }

/* Success state */
[hidden] { display: none !important; }
.success-state { text-align: center; padding: 26px 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.success-state h2 { font-family: var(--serif); font-size: 34px; color: var(--ink); margin: 4px 0 0; }
.success-state p { font-size: 16px; color: var(--ink-soft); max-width: 420px; margin: 0; line-height: 1.55; }
.success-state .btn { margin-top: 14px; }

@media (max-width: 920px) {
  .apply-wrap { padding: 100px 0 60px; }
  .apply-grid { grid-template-columns: 1fr; gap: 36px; }
  .apply-card { padding: 28px; }
  .row.two { grid-template-columns: 1fr; }
}
