@font-face {
  font-family: "Open Sans";
  src: url("assets/OpenSans-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}

@font-face {
  font-family: "Open Sans";
  src: url("assets/OpenSans-Semibold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: optional;
}

@font-face {
  font-family: "Open Sans";
  src: url("assets/OpenSans-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: optional;
}

@font-face {
  font-family: "Open Sans";
  src: url("assets/OpenSans-ExtraBold.woff") format("woff");
  font-style: normal;
  font-weight: 800;
  font-display: optional;
}

:root {
  --ink: #242424;
  --muted: #646464;
  --line: #d9d9d9;
  --surface: #f7f7f7;
  --surface-blue: #f3f5fb;
  --blue: #1f2a5c;
  --blue-hover: #172049;
  --orange: #d67a07;
  --danger: #a13c27;
  --success: #24633d;
  --shadow: 0 10px 32px rgba(31, 42, 92, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; }

.shell { width: min(960px, calc(100% - 32px)); margin: 0 auto; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: white;
  background: var(--blue);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  border-bottom: 4px solid var(--orange);
  background: var(--blue);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

.brand { width: min(360px, 58vw); height: auto; }

.project-id { color: rgba(255, 255, 255, .78); text-align: right; font-size: .84rem; line-height: 1.25; }
.project-id span, .project-id strong { display: block; }
.project-id strong { color: white; }

.hero { padding: 46px 0 28px; }
.eyebrow { margin: 0 0 4px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.lead { max-width: 720px; margin: 14px 0 22px; color: #424242; font-size: 1.12rem; }

.preview-notice {
  margin: 0 0 22px;
  padding: 11px 14px;
  border: 1px solid #d8c38e;
  border-left: 4px solid var(--orange);
  background: #fff9e9;
  color: #584819;
  font-size: .9rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div { padding: 14px 18px; border-right: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts span, .facts strong { display: block; }
.facts span { margin-bottom: 2px; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }

.adult-notice {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--orange);
  background: var(--surface);
  font-weight: 650;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 18px;
}

.step {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: white;
  text-align: left;
}

.step span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: white;
  background: #999;
  font-weight: 800;
}

.step em { font-style: normal; font-size: .82rem; font-weight: 650; }
.step.is-active { border-color: var(--blue); color: var(--blue); background: var(--surface-blue); }
.step.is-complete { color: var(--blue); }
.step.is-active span, .step.is-complete span { background: var(--blue); }
.step:not(:disabled) { cursor: pointer; }

form {
  margin-bottom: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-step { padding: 34px clamp(20px, 5vw, 52px) 38px; }

.section-heading { margin-bottom: 28px; }
.section-heading > span { color: var(--orange); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.section-heading h2 { margin: 3px 0 4px; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading b, label b, .field-label b { color: var(--danger); }

fieldset { margin: 0 0 30px; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 18px; padding: 0 0 8px; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 1.15rem; font-weight: 800; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { margin-bottom: 20px; }
.field-grid .field { margin-bottom: 0; }
.field.full { grid-column: 1 / -1; }

label, .field-label { display: block; margin-bottom: 6px; font-weight: 700; }
label span { color: var(--muted); font-size: .78rem; font-weight: 500; }
small { display: block; margin-top: 5px; color: var(--muted); font-size: .79rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  color: var(--ink);
  background: white;
}

textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid rgba(31, 42, 92, .19); outline-offset: 1px; border-color: var(--blue); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); background: #fff9f8; }

.choice-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.choice-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid label, .check-card, .consent-card label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-weight: 520;
  cursor: pointer;
}

input[type="checkbox"], input[type="radio"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.identity-check { margin-top: 8px; background: var(--surface-blue); }

.process-note { margin-top: 20px; padding: 14px 16px; border-left: 4px solid var(--orange); background: var(--surface); }

.consent-card { margin-bottom: 14px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 4px; background: #fafafa; }
.consent-card h3 { margin: 0 0 6px; color: var(--blue); font-size: 1.02rem; }
.consent-card p { margin: 0 0 8px; }
.consent-card label { margin-top: 12px; padding: 10px 0 0; border-width: 1px 0 0; border-radius: 0; background: transparent; font-weight: 750; }

.review { margin: 28px 0 4px; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--blue); background: var(--surface-blue); }
.review h3 { margin: 0 0 12px; }
.review dl { display: grid; grid-template-columns: minmax(140px, .7fr) 1.6fr; margin: 0; }
.review dt, .review dd { margin: 0; padding: 6px 0; border-bottom: 1px solid rgba(31, 42, 92, .12); }
.review dt { color: var(--muted); font-size: .82rem; font-weight: 650; }
.review dd { font-weight: 650; }
.review p { margin: 12px 0 0; font-size: .86rem; }

.security-check { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.security-check h3 { margin: 0 0 4px; color: var(--blue); }
.security-check p { margin: 0 0 14px; color: var(--muted); }

.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.actions.end { justify-content: flex-end; }
.button { min-width: 150px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--blue); border-radius: 3px; font-weight: 750; cursor: pointer; }
.button.primary { color: white; background: var(--blue); }
.button.primary:hover { background: var(--blue-hover); }
.button.secondary { color: var(--blue); background: white; }

.form-status { margin-top: 20px; padding: 12px 14px; border-left: 4px solid var(--danger); background: #fff4f1; color: #702515; }
.success { margin: 0 auto 60px; padding: 44px 28px; border: 1px solid #b8d6c3; border-radius: 6px; background: #f4fbf6; text-align: center; }
.success > span { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: white; background: var(--success); font-size: 1.7rem; font-weight: 800; }
.success h2 { margin: 14px 0 6px; }
.success p { margin: 0; }

.site-footer { padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: .82rem; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 20px; }
.site-footer p { margin: 0; }
.footer-parties { display: grid; gap: 3px; }
.site-footer a { color: var(--blue); }

.honeypot { position: absolute !important; left: -9999px !important; }
[hidden] { display: none !important; }

@media (max-width: 700px) {
  .header-inner { min-height: 74px; }
  .project-id { display: none; }
  .brand { width: min(290px, 78vw); }
  .hero { padding-top: 32px; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div:first-child { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .steps { gap: 5px; }
  .step { justify-content: center; min-height: 42px; padding: 6px; }
  .step em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .field-grid, .choice-grid.compact { grid-template-columns: 1fr; }
  .form-step { padding-inline: 18px; }
  .actions { flex-direction: column-reverse; }
  .actions.end { align-items: stretch; }
  .button { width: 100%; }
  .review dl { grid-template-columns: 1fr; }
  .review dt { padding-bottom: 0; border-bottom: 0; }
  .review dd { padding-top: 1px; }
  .site-footer .shell { flex-direction: column; }
}
