*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #0b1220;
  background: #f1f5f9;
  -webkit-font-smoothing: antialiased;
}

:root {
  --navy: #071b3d;
  --navy-2: #0a2350;
  --teal: #7fe7dc;
  --bg-right: #f1f5f9;
  --border: #e5e7eb;
  --muted: #6b7280;
  --text: #0b1220;
  --danger: #dc2626;
}

a { color: inherit; }
h1, h2, p { margin: 0; }

.page {
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .page { grid-template-columns: 1fr 1fr; }
}

/* LEFT */
.left {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .left { padding: 32px 48px; }
}
.left-inner { max-width: 36rem; }

.top-row { display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 1024px) {
  .top-row { display: block; }
  .top-row.row-logo-top { display: flex; align-items: center; gap: 1rem; justify-content: flex-start; }
  .top-row.row-logo-top .badge { margin-top: 0; }
}

.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark {
  position: relative; width: 32px; height: 32px; border-radius: 999px;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
}
.logo-inner { position: absolute; inset: 4px; border-radius: 999px; background: var(--navy); }
.logo-dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 999px; background: var(--teal); }
.logo-text { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px; padding: 4px 12px 4px 4px;
}
@media (min-width: 1024px) { .badge { margin-top: 24px; } }
.badge-star {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px; background: var(--teal); color: var(--navy);
  font-size: 12px; font-weight: 700;
}
.badge-eyebrow { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); line-height: 1.1; }
.badge-title { font-size: 12px; font-weight: 600; line-height: 1.2; }

.headline {
  margin-top: 12px;
  font-size: 22px; line-height: 1.15; font-weight: 700;
}
@media (min-width: 1024px) {
  .headline { margin-top: 24px; font-size: 36px; }
}
.accent { color: var(--teal); }

.lede { display: none; }
@media (min-width: 1024px) {
  .lede { display: block; margin-top: 12px; color: rgba(255,255,255,0.7); max-width: 28rem; }
}

.features-mobile {
  margin-top: 12px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (min-width: 1024px) { .features-mobile { display: none; } }
.feat-m { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; line-height: 1.15; }
.feat-icon-sm {
  width: 24px; height: 24px; border-radius: 999px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center;
  color: var(--teal); flex-shrink: 0;
}
.feat-icon-sm svg { width: 12px; height: 12px; }

.features { display: none; }
@media (min-width: 1024px) {
  .features { display: block; margin-top: 24px; }
  .features .feat + .feat { margin-top: 12px; }
}
.feat { display: flex; align-items: flex-start; gap: 16px; }
.feat-icon {
  margin-top: 4px; width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0;
}
.feat-icon svg { width: 20px; height: 20px; }
.feat-title { font-weight: 600; color: #fff; }
.feat-text { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,0.6); }

.copyright { display: none; }
@media (min-width: 1024px) {
  .copyright { display: block; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.4); }
}

/* RIGHT */
.right {
  background: var(--bg-right);
  padding: 8px 16px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .right { padding: 32px 48px; }
}
.form-wrap { max-width: 32rem; margin: 0 auto; height: 100%; display: flex; flex-direction: column; }

.form-head { text-align: center; flex-shrink: 0; }
.form-head h2 { font-size: 18px; font-weight: 700; line-height: 1.2; }
.form-head p { display: none; }
@media (min-width: 1024px) {
  .form-head h2 { font-size: 30px; }
  .form-head p { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
}

.form { margin-top: 6px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
@media (min-width: 1024px) { .form { margin-top: 20px; gap: 12px; } }

.fields { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 1024px) { .fields { gap: 12px; } }

.field label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--text); }
@media (min-width: 1024px) { .field label { margin-bottom: 6px; } }
.req { color: var(--danger); }

.field input {
  width: 100%; height: 32px; border-radius: 999px; border: 1px solid var(--border); background: #fff;
  padding: 0 12px; font-size: 14px; color: var(--text); outline: none;
  font-family: inherit;
}
@media (min-width: 1024px) { .field input { height: 40px; padding: 0 16px; } }
.field input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,27,61,0.1); }

.err { min-height: 0; margin: 2px 0 0; font-size: 12px; color: var(--danger); }
.err:empty { display: none; }

.terms { display: flex; align-items: flex-start; gap: 8px; padding-top: 2px; }
@media (min-width: 1024px) { .terms { gap: 12px; padding-top: 4px; } }
.terms input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; margin-top: 2px; cursor: pointer; position: relative; flex-shrink: 0;
}
.terms input[type="checkbox"]:checked { background: var(--navy); border-color: var(--navy); }
.terms input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.terms label { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (min-width: 1024px) { .terms label { font-size: 14px; } }
.terms a { color: var(--text); text-decoration: underline; }

.submit-wrap { margin-top: auto; padding-top: 4px; display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 1024px) { .submit-wrap { padding-top: 8px; gap: 8px; } }

#submit-btn {
  width: 100%; height: 32px; border-radius: 999px; background: var(--navy); color: #fff;
  border: none; cursor: pointer; font-weight: 500; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit;
}
#submit-btn:hover { background: var(--navy-2); }
#submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
#submit-btn svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { #submit-btn { height: 40px; } }

.form-err { text-align: center; }
.secure { display: none; }
@media (min-width: 1024px) {
  .secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); }
  .secure svg { width: 14px; height: 14px; }
}

.success {
  margin-top: 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; text-align: center;
}
.success-title { font-weight: 600; color: var(--text); }
.success-text { margin-top: 4px; font-size: 14px; color: var(--muted); }