:root {
  --navy: #061a33;
  --blue: #0a315d;
  --gold: #c79a3b;
  --gold-light: #f2d892;
  --ink: #10213d;
  --muted: #64748b;
  --line: #dce4ef;
  --error: #a83f3f;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--navy);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
button, input { font: inherit; }
.acceptance-shell { width: min(760px, 100%); margin: 0 auto; padding: 28px 16px 36px; }
.acceptance-brand { display: flex; align-items: center; gap: 12px; color: white; margin-bottom: 24px; }
.acceptance-brand img { width: 48px; height: 48px; object-fit: contain; }
.acceptance-brand span, .acceptance-brand small { display: block; }
.acceptance-brand span { color: var(--gold-light); font-family: Georgia, serif; font-size: 21px; }
.acceptance-brand small { margin-top: 3px; color: #cbd5e1; }
.acceptance-panel { min-height: 520px; padding: clamp(24px, 6vw, 52px); background: white; border-top: 4px solid var(--gold); }
.eyebrow { margin: 0 0 10px; color: #8a661f; font-size: 13px; font-weight: 800; text-transform: uppercase; }
h1 { margin: 0; color: var(--blue); font-family: Georgia, serif; font-size: clamp(32px, 7vw, 50px); line-height: 1.03; }
.intro { margin: 16px 0 26px; color: var(--muted); line-height: 1.6; }
.contract-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 28px; border-top: 1px solid var(--line); }
.contract-summary div { min-width: 0; padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: 12px; text-transform: uppercase; }
dd { margin: 5px 0 0; font-weight: 700; overflow-wrap: anywhere; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 700; }
input[type="text"], input[type="password"], input:not([type]) { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); border: 1px solid #b8c5d6; border-radius: 4px; }
input:focus { outline: 3px solid rgba(199,154,59,.2); border-color: var(--gold); }
.portal-access { display: grid; gap: 13px; margin: 2px 0; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: #f8fafc; }
.portal-access legend { padding: 0 7px; color: var(--blue); font-weight: 800; }
.portal-access p, .portal-access small { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.check { grid-template-columns: 20px 1fr; align-items: start; font-weight: 500; line-height: 1.45; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.evidence-note { margin: 0; padding: 12px; color: #52637a; background: #f5f8fc; font-size: 13px; line-height: 1.5; }
button, .support-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border: 0; border-radius: 4px; background: var(--gold); color: var(--navy); font-weight: 800; cursor: pointer; text-decoration: none; }
button:disabled { cursor: wait; opacity: .65; }
.reject-button { margin-top: 2px; background: transparent; color: #8f2d2d; border: 1px solid rgba(143,45,45,.45); }
.form-message { min-height: 20px; margin: 0; color: var(--error); }
.acceptance-state { min-height: 410px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 15px; }
.acceptance-state p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.55; }
.spinner { width: 38px; height: 38px; border: 3px solid #d9e2ee; border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.success-mark { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #eaf6ef; color: #166534; font-weight: 900; }
footer { padding: 20px 0 0; color: #aebed1; font-size: 12px; text-align: center; }
[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) {
  .acceptance-shell { padding: 16px 0 0; }
  .acceptance-brand { padding: 0 16px; }
  .acceptance-panel { min-height: calc(100vh - 105px); }
  .contract-summary { grid-template-columns: 1fr; }
  footer { padding: 16px; }
}
