:root {
  color-scheme: light;
  --ink: #141c2c;
  --body: #2d3547;
  --blue: #325ff0;
  --blue-dark: #224ddd;
  --soft-blue: #b9cdff;
  --cream: #faf9f6;
  --pale: #edf2ff;
  --rule: #d6dce8;
  --muted: #687187;
  --error: #a22b34;
  --success: #17663b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #2853c6; }
a:hover { color: var(--blue-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.masthead {
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #3059cc;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { margin-bottom: 10px; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; }
h2 { margin-bottom: 20px; font-size: clamp(1.65rem, 3.5vw, 2.25rem); line-height: 1.15; }
h3 { margin-bottom: 10px; font-size: 1.18rem; line-height: 1.3; }

.subtle {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.55;
}

.intro {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--body);
  font-size: 1.08rem;
  line-height: 1.6;
}

.required-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.required-mark {
  color: var(--error);
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card {
  margin-top: 18px;
  padding: clamp(23px, 4vw, 38px);
  background: white;
  border: 1px solid var(--rule);
}

.card + .card { margin-top: 18px; }

.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.summary-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--body);
  font-size: 1.03rem;
  line-height: 1.5;
}

.price-note {
  margin-top: 22px;
  margin-bottom: 0;
  padding: 16px 18px;
  color: var(--body);
  background: var(--pale);
  border-left: 4px solid var(--blue);
  line-height: 1.5;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { margin-top: 18px; }
.field:first-child { margin-top: 0; }

label.label {
  display: block;
  margin-bottom: 7px;
  font-weight: 750;
  line-height: 1.35;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid #aeb7c7;
  border-radius: 0;
  font: inherit;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.declaration {
  padding: 21px;
  background: var(--pale);
  border-left: 4px solid var(--blue);
}

.declaration p {
  margin-bottom: 13px;
  color: var(--body);
  font-size: .98rem;
  line-height: 1.58;
}

.declaration p:last-child { margin-bottom: 0; }

.legal-links {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.legal-links a { font-weight: 700; }

.check-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin-top: 18px;
  color: var(--body);
  font-size: .96rem;
  line-height: 1.55;
}

.check-row input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--blue);
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 14px 24px;
  color: white;
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  transition: background .15s ease, transform .15s ease;
}

.button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }

.status {
  display: none;
  margin: 16px 0 0;
  padding: 13px 15px;
  font-size: .95rem;
  line-height: 1.5;
}

.status.error { display: block; color: var(--error); background: #fff1f2; border: 1px solid #efc5ca; }
.status.success { display: block; color: var(--success); background: #edf8f1; border: 1px solid #b9dfc7; }

.completion-card {
  max-width: 680px;
  margin: 72px auto 0;
  padding: clamp(34px, 7vw, 64px);
  text-align: center;
  background: white;
  border: 1px solid var(--rule);
  box-shadow: 0 24px 70px rgba(20, 28, 44, .08);
}

.completion-card:focus { outline: none; }

.completion-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 26px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.completion-card h1 { margin-bottom: 18px; }

.completion-card p {
  max-width: 510px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
}

.completion-card .completion-lead {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 750;
}

.completion-card .completion-close {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
}

.document {
  background: white;
  border: 1px solid var(--rule);
  padding: clamp(26px, 5vw, 48px);
}

.document h2 {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 1.55rem;
}

.document h3 { margin-top: 24px; }

.document p,
.document li {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.64;
}

.document li + li { margin-top: 7px; }
.document ul, .document ol { padding-left: 24px; }
.document .notice { padding: 17px 19px; background: var(--pale); border-left: 4px solid var(--blue); }
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 750;
  text-decoration: none;
}

.page-footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 820px); padding-top: 34px; }
  .field-grid { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .completion-card { margin-top: 28px; padding: 34px 22px; }
  .document { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
