:root {
  --navy: #062d27;
  --purple: #00c896;
  --purple-dark: #009f78;
  --green: #00c896;
  --gold: #eeca53;
  --ink: #0b2118;
  --muted: #5d6f68;
  --line: #d8e4df;
  --surface: #ffffff;
  --canvas: #f4f8f6;
  --danger: #bd2c3b;
  --danger-bg: #fff2f3;
  --focus: rgba(0, 200, 150, .2);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-width: 320px; min-height: 100vh; min-height: 100dvh; }
button, input { font: inherit; }
button { touch-action: manipulation; }

.page-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(320px, 44%) 1fr; }
.brand-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(32px, 5vw, 72px); color: #fff; background: linear-gradient(145deg, #062d27 0%, #0b2118 62%, #123c32 100%); }
.brand-panel::before, .brand-panel::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.brand-panel::before { width: 420px; height: 420px; right: -220px; top: -120px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.brand-panel::after { width: 240px; height: 240px; left: -100px; bottom: -110px; background: rgba(238,202,83,.1); }
.brand-content, .brand-footer { position: relative; z-index: 1; }
.brand { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.brand img { display: block; width: 147px; height: 42px; object-fit: contain; }
.brand-copy { max-width: 570px; margin-top: clamp(90px, 16vh, 180px); }
.eyebrow, .step-label { margin: 0 0 13px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.brand-copy h1 { max-width: 520px; margin: 0; font-size: clamp(38px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -.045em; }
.brand-copy > p:last-child { max-width: 530px; margin: 25px 0 0; color: rgba(255,255,255,.76); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; }
.benefits { display: grid; gap: 15px; margin: 38px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.9); font-size: 14px; }
.benefits li { display: flex; align-items: center; gap: 11px; }
.benefits span { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; color: #062d27; background: var(--gold); font-size: 12px; font-weight: 900; }
.brand-footer { margin: 64px 0 0; color: rgba(255,255,255,.45); font-size: 12px; }

.form-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: clamp(30px, 6vw, 84px); background: radial-gradient(circle at 85% 10%, rgba(0,200,150,.09), transparent 28%), var(--canvas); }
.form-card { width: min(100%, 520px); padding: clamp(28px, 4vw, 46px); border: 1px solid rgba(216,228,223,.9); border-radius: 24px; background: rgba(255,255,255,.97); box-shadow: 0 24px 70px rgba(6,45,39,.1); }
.form-header { margin-bottom: 29px; }
.form-header .step-label, .success-view .step-label { color: var(--purple); }
.form-header h2, .success-view h2 { margin: 0; color: var(--ink); font-size: clamp(27px, 3vw, 34px); line-height: 1.16; letter-spacing: -.035em; }
.form-header > p:last-child, .success-view > p:not(.step-label) { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.field { margin-bottom: 20px; }
.field label { display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.field input { display: block; width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--ink); background: #fff; font-size: 16px; transition: border-color .18s, box-shadow .18s; }
.field input::placeholder { color: #9aa3b6; }
.field input:hover { border-color: #b9c1d1; }
.field input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px var(--focus); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(189,44,59,.13); }
.field-hint, .field-error { min-height: 18px; margin: 6px 2px 0; font-size: 12px; line-height: 1.45; }
.field-hint { color: var(--muted); }
.field-error { color: var(--danger); }
.field-hint + .field-error:empty { display: none; }
.alert { margin: 0 0 22px; padding: 13px 15px; border: 1px solid #f1c8cd; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.alert-error { color: #8e1f2b; background: var(--danger-bg); }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.submit-button, .secondary-button { width: 100%; min-height: 54px; border-radius: 11px; font-weight: 750; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 5px; border: 0; color: #062d27; background: linear-gradient(135deg, var(--green), #49d8a8); box-shadow: 0 12px 26px rgba(0,159,120,.22); }
.submit-button:hover:not(:disabled) { background: linear-gradient(135deg, #00b989, #33ca99); transform: translateY(-1px); }
.submit-button:focus-visible, .secondary-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.submit-button:disabled { cursor: wait; opacity: .72; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.submit-button.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.privacy-note { margin: 15px 8px 0; color: #7c8598; font-size: 11px; line-height: 1.55; text-align: center; }
.success-view { padding: 20px 0 10px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 26px; border-radius: 50%; color: #062d27; background: linear-gradient(145deg, var(--green), #49d8a8); box-shadow: 0 13px 28px rgba(0,159,120,.22); font-size: 31px; font-weight: 800; }
.secondary-button { margin-top: 29px; border: 1px solid #acdacf; color: #08765e; background: #effbf7; }
.secondary-button:hover { background: #e2f7f0; }
.mobile-footer { margin: 24px 0 0; color: #9299aa; font-size: 11px; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .page-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: auto; padding: 28px clamp(22px, 6vw, 58px) 38px; }
  .brand-copy { margin-top: 48px; }
  .brand-copy h1 { max-width: 650px; font-size: clamp(34px, 7vw, 50px); }
  .brand-copy > p:last-child { max-width: 650px; }
  .benefits, .brand-footer { display: none; }
  .form-panel { padding: 42px 22px 34px; }
}

@media (max-width: 480px) {
  .brand-panel { padding: 23px 20px 30px; }
  .brand img { width: 126px; height: auto; }
  .brand-copy { margin-top: 36px; }
  .brand-copy h1 { font-size: 32px; }
  .brand-copy > p:last-child { margin-top: 17px; font-size: 15px; line-height: 1.55; }
  .form-panel { justify-content: flex-start; padding: 22px 14px calc(24px + env(safe-area-inset-bottom)); }
  .form-card { padding: 27px 20px; border-radius: 18px; }
  .form-header { margin-bottom: 24px; }
  .field { margin-bottom: 17px; }
}
