:root {
  --navy: #102b46;
  --navy-2: #173a5d;
  --orange: #d96f1c;
  --orange-dark: #b95712;
  --orange-soft: #fff2e7;
  --ink: #17202a;
  --muted: #65717d;
  --line: #d8dee5;
  --soft: #f4f6f8;
  --white: #ffffff;
  --danger: #a73a31;
  --danger-soft: #fff0ee;
  --success: #276346;
  --success-soft: #eaf7f0;
  --shadow: 0 16px 42px rgba(16, 43, 70, .10);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #edf1f5; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0, #ffffff 120px, #edf1f5 120px, #edf1f5 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, select { font: inherit; }
button { cursor: pointer; }

.beta-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}

.beta-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.beta-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  letter-spacing: -.04em;
}
.beta-brand-copy { display: grid; gap: 2px; }
.beta-brand-copy strong { color: var(--navy); font-size: 18px; }
.beta-brand-copy small {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.beta-badge {
  border-radius: 999px;
  background: var(--orange-soft);
  color: #8d410c;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 850;
}

.beta-main {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 72px;
}
.beta-hero { margin: 0 auto 28px; text-align: center; }
.beta-eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
}
.beta-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 50px);
  letter-spacing: -.04em;
}
.beta-hero > p:last-child {
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.beta-card {
  padding: clamp(28px, 3.5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.beta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
  row-gap: 22px;
}
.beta-field { display: grid; gap: 8px; }
.beta-field > span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}
.beta-field input,
.beta-field select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 13px 15px;
  font-size: 16px;
}
.beta-field input:focus,
.beta-field select:focus {
  outline: 3px solid rgba(217,111,28,.16);
  border-color: var(--orange);
}
.beta-field .is-invalid,
.beta-acknowledgment.is-invalid {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.beta-acknowledgment {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  color: #344054;
  font-size: 15px;
  line-height: 1.5;
}
.beta-acknowledgment input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}

.beta-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}
.beta-form-note { margin: 0; color: var(--muted); font-size: 14px; }
.beta-primary,
.beta-secondary {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  padding: 12px 21px;
  font-size: 15px;
  font-weight: 850;
}
.beta-primary { background: var(--orange); color: white; }
.beta-primary:hover { background: var(--orange-dark); }
.beta-secondary { background: var(--navy); color: white; }
.beta-error {
  margin: 14px 0 0;
  border-radius: 10px;
  background: var(--danger-soft);
  color: var(--danger);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
}

.beta-confirmation { text-align: center; }
.beta-confirmation-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 32px;
  font-weight: 900;
}
.beta-confirmation h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -.025em;
}
.beta-confirmation > p:not(.beta-eyebrow):not(.beta-preview-note) {
  max-width: 680px;
  margin: 12px auto 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.beta-preview-note {
  max-width: 720px;
  margin: 0 auto 22px;
  border: 1px dashed #d5a678;
  border-radius: 11px;
  background: var(--orange-soft);
  color: #70401f;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.beta-footer {
  padding: 0 16px 30px;
  color: #7a8696;
  font-size: 12px;
  text-align: center;
}
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .beta-main {
    width: min(100% - 28px, 1100px);
    padding: 44px 0 60px;
  }
  .beta-card { padding: 26px; }
  .beta-grid {
    column-gap: 20px;
    row-gap: 18px;
  }
}

@media (max-width: 680px) {
  body { background: #edf1f5; }
  .beta-topbar { min-height: 68px; padding: 10px 14px; }
  .beta-brand-mark { width: 42px; height: 42px; }
  .beta-brand-copy strong { font-size: 16px; }
  .beta-badge { display: none; }
  .beta-main { width: min(100% - 24px, 1100px); padding: 34px 0 48px; }
  .beta-hero { text-align: left; margin-bottom: 22px; }
  .beta-eyebrow { font-size: 12px; }
  .beta-hero h1 { font-size: clamp(30px, 9vw, 38px); }
  .beta-hero > p:last-child { margin-left: 0; font-size: 16px; }
  .beta-grid { grid-template-columns: 1fr; gap: 16px; }
  .beta-card { padding: 20px 16px; border-radius: 15px; }
  .beta-field input,
  .beta-field select { min-height: 52px; }
  .beta-acknowledgment { margin-top: 20px; padding: 14px; font-size: 14px; }
  .beta-form-footer { align-items: stretch; flex-direction: column; margin-top: 20px; }
  .beta-primary, .beta-secondary { width: 100%; min-height: 52px; }
}
