/* ============================================================
   Altamonte — Request access page (Ledger)
   Page-specific styles; loads after styles.css
   ============================================================ */

/* ---- page hero ---- */
.phero { padding-bottom: clamp(32px, 4vw, 52px); }
.phero__title {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  font-weight: 650; line-height: 1; letter-spacing: -0.034em;
  max-width: 14ch;
}
.phero__title mark {
  background: none; color: var(--green);
  background-image: linear-gradient(var(--mint-2), var(--mint-2));
  background-size: 100% 0.14em; background-position: 0 94%; background-repeat: no-repeat;
}
.phero__lead { margin: clamp(20px, 2.6vw, 32px) 0 0; max-width: 52ch; }

/* ---- layout ---- */
.ra { border-top: 1px solid var(--line); }
.ra__grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.ra__aside { padding-top: 18px; border-top: 1.5px solid var(--ink); }
.ra__kicker { color: var(--green); margin-bottom: 14px; }
.ra__h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 650; line-height: 1.08; letter-spacing: -0.028em; margin-bottom: 18px; }
.ra__aside .body { color: var(--ink-2); }

/* ---- steps ---- */
.ra-steps { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.ra-steps li {
  display: grid; grid-template-columns: 52px 1fr; gap: 0 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-2);
}
.ra-steps__n { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--green); padding-top: 3px; }
.ra-steps h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.ra-steps p { margin: 0; font-size: 16px; color: var(--ink-2); }

/* ---- discretion note ---- */
.ra-note {
  margin-top: 28px;
  border-left: 3px solid var(--green); background: var(--mint);
  border-radius: 0 10px 10px 0; padding: 18px 20px;
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
}
.ra-note b {
  display: block; margin-bottom: 6px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--green);
}

/* ---- form card ---- */
.fcard {
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow: 0 1px 2px rgba(11,15,20,.04), 0 24px 60px -32px rgba(11,15,20,.25);
}
.fcard__head { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1.5px solid var(--ink); }
.fcard__head h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 650; letter-spacing: -0.025em; margin-bottom: 6px; }
.fcard__head p { margin: 0; font-size: 15.5px; color: var(--mute); }

.fm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fm__full { grid-column: 1 / -1; }
.fm fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fm label, .fm legend {
  display: block; margin-bottom: 8px; padding: 0;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.fm__opt { font-weight: 400; color: var(--mute); }
.fm input:not([type="radio"]), .fm select, .fm textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-2); border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fm textarea { min-height: 128px; resize: vertical; }
.fm select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232E3440' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.fm input::placeholder, .fm textarea::placeholder { color: #8A92A0; }
.fm input:not([type="radio"]):hover, .fm select:hover, .fm textarea:hover { border-color: #A9B0BC; }
.fm input:not([type="radio"]):focus, .fm select:focus, .fm textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent);
}

/* validation */
.fm__err { display: none; margin: 6px 0 0; font-size: 14px; font-weight: 500; color: #B42318; }
.fm .is-invalid { border-color: #B42318 !important; }
.fm .is-invalid:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .15) !important; }
.fm .is-invalid + .fm__err { display: block; }

/* segmented firm-type control */
.fm-seg {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  padding: 4px; background: var(--grey); border: 1px solid var(--line); border-radius: 14px;
}
.fm-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fm .fm-seg label {
  margin: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 8px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; line-height: 1.2; color: var(--mute);
  cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.fm .fm-seg label:hover { color: var(--ink); }
.fm-seg input:checked + label {
  background: #fff; color: var(--green);
  box-shadow: 0 1px 2px rgba(11,15,20,.08), 0 0 0 1px var(--line-2);
}
.fm-seg input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }

/* submit row */
.fm__submit {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--line);
}
.fm__fine { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.55; color: var(--mute); }
.fm__submit .btn { min-width: 160px; }
.btn { cursor: pointer; }

.ra__direct { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--mute); }
.ra__direct a { color: var(--green); font-weight: 600; border-bottom: 2px solid var(--mint-2); padding-bottom: 1px; }
.ra__direct a:hover { border-color: var(--green); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .ra__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fm { grid-template-columns: 1fr; gap: 18px; }
  .fm__submit .btn { width: 100%; }
  .ra-steps li { grid-template-columns: 40px 1fr; }
}
