:root {
  --bg: #9ad1ed;
  --navy: #10153f;
  --ink: #14183f;
  --muted: #5e6078;
  --label: #6a6c80;
  --header: #d0eaf6;
  --line: #e5e5ee;
  --error: #c62828;
  --btn: #06103e;
  --brand-blue: #007bc6;
  --footer-ink: #1a204e;
  --card: 720px;
  --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --logo: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: var(--brand-blue);
  border-bottom: 3px solid #90d4f5;
  flex: none;
}

.site-header-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-family: var(--logo);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand span {
  font-style: normal;
  text-transform: none;
}

.logout {
  appearance: none;
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 4px;
  font: 600 14px/1 var(--font);
  padding: 8px 14px;
  cursor: pointer;
}

.logout:hover {
  background: rgba(255, 255, 255, 0.12);
}

.logout:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.progress-wrap {
  width: min(var(--card), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 16px;
}

.stepper {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 26px;
  padding: 0;
  width: min(560px, 100%);
  position: relative;
}

.stepper::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 6px;
  height: 3px;
  background: #1a2744;
  border-radius: 2px;
}

.stepper li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.step-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a2744;
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #1a2744;
  box-sizing: border-box;
}

.stepper li.is-complete .step-dot {
  width: 16px;
  height: 16px;
  background: #0c1440 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
  border-color: #0c1440;
  box-shadow: 0 0 0 3px rgba(12, 20, 64, 0.08);
}

.stepper li.is-current:not(.is-complete) .step-dot {
  width: 16px;
  height: 16px;
  background: #fff;
  border-width: 2px;
  display: grid;
  place-items: center;
}

.stepper li.is-current:not(.is-complete) .step-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0c1440;
}

.wrap {
  width: min(var(--card), calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 48px;
  flex: 1 0 auto;
}

.site-footer {
  background: #fff;
  flex: none;
  margin-top: auto;
}

.site-footer-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
}

.footer-links a {
  color: var(--footer-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.social {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.social:hover { opacity: 0.85; }

.copy {
  margin: 0;
  color: var(--footer-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-head {
  margin: 0;
  background: var(--header);
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 14px 22px 15px;
  line-height: 1.3;
}

.card-body {
  background: #fff;
  padding: 18px 22px 20px;
}

.lead {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.callout {
  border: 1px solid #e3e3ea;
  border-left: 4px solid var(--error);
  padding: 12px 14px 13px;
  margin: 2px 0 18px;
  background: #fff;
}

.callout-ok {
  border-left-color: #2e7d32;
}

.callout-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1c1e3a;
}

.callout-sub {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: #5c5e72;
}

.checks {
  border-top: 1px solid var(--line);
}

.check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.check-text {
  color: #6a6c82;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.4;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  border: 1.5px solid #c8c8c8;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.check input:checked {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.7 9 10 3.2' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.check input:focus-visible {
  outline: 2px solid #0e77b6;
  outline-offset: 2px;
}

.error-text {
  display: none;
  margin: 8px 0 0;
  color: var(--error);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.error-text.show,
.field.is-invalid .error-text { display: block; }

#statements-error { margin-top: 10px; }

.field { margin-top: 4px; }

.control { position: relative; }

.control input {
  width: 100%;
  height: 48px;
  border: 1px solid #c5c5d0;
  border-radius: 2px;
  background: #fff;
  padding: 10px 40px 8px 12px;
  font: 400 16px/1.3 var(--font);
  color: var(--ink);
  outline: none;
}

.control label {
  position: absolute;
  top: -8px;
  left: 10px;
  padding: 0 4px;
  background: #fff;
  color: #6d6f84;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1;
}

.field.is-invalid .control input {
  border-color: var(--error);
}

.control input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.field.is-invalid .control input:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.warn {
  display: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.field.is-invalid .warn { display: block; }

.plain-set {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.plain-set legend {
  padding: 0;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.choices {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding-bottom: 4px;
}

.choice {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  background: #fff;
  border: 1px solid rgba(16, 21, 63, 0.18);
  border-radius: 4px;
  box-sizing: border-box;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.choice .radio {
  width: 18px;
  height: 18px;
  border: 1.5px solid #c2c2cc;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
}

.choice input:checked + .radio {
  border-color: var(--brand-blue);
  background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.choice:has(input:checked) {
  background: #e5f3fb;
  border-color: rgba(10, 111, 173, 0.55);
  font-weight: 700;
}

.choice input:focus-visible + .radio {
  outline: 2px solid #0e77b6;
  outline-offset: 2px;
}

.radio {
  width: 18px;
  height: 18px;
  border: 2px solid #bdbdbd;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
}

.work-option .radio {
  border-color: #c2c2cc;
}

.work-option input:checked + .radio {
  border-color: var(--brand-blue);
  background: #fff;
}

.work-option input:checked + .radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-blue);
}

#prefer-error { margin: 10px 0 2px; }

.ni-label {
  margin: 0 0 10px;
  color: var(--label);
  font-size: 14px;
  font-weight: 600;
}

.ni-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ni-box {
  width: 56px;
  height: 48px;
  border: 1px solid rgba(16, 21, 63, 0.22);
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font: 700 18px/1 var(--font);
  text-align: center;
  letter-spacing: 0.12em;
  padding: 0;
  box-sizing: border-box;
}

.ni-box-sm {
  width: 42px;
}

.ni-box:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(0, 123, 198, 0.18);
}

.field.is-invalid .ni-box {
  border-color: var(--error);
}

.prefer-hint {
  margin: 0 0 14px;
  color: #3a3c54;
  font-size: 14.5px;
  line-height: 1.45;
}

.prefer-options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.prefer-option {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  min-width: 180px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--navy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  background: #fff;
  border: 1px solid rgba(16, 21, 63, 0.18);
  border-radius: 4px;
  box-sizing: border-box;
}

.prefer-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.prefer-option .radio {
  width: 20px;
  height: 20px;
  border: 1.5px solid #c2c2cc;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
}

.prefer-option input:checked + .radio {
  border-color: var(--brand-blue);
  background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.prefer-option:has(input:checked) {
  background: #e5f3fb;
  border-color: rgba(10, 111, 173, 0.55);
  font-weight: 700;
}

.prefer-option input:focus-visible + .radio {
  outline: 2px solid #0e77b6;
  outline-offset: 2px;
}

.rule {
  border: 0;
  border-top: 1px solid #e4e4ec;
  margin: 14px 0 14px;
}

.help-q {
  margin: 0 0 4px;
  color: #2a2c48;
  font-size: 14.5px;
}

.text-link,
.inline-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: 700 14.5px/1.3 var(--font);
  color: #16183a;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.inline-link {
  display: inline;
  font-weight: 400;
  font-size: inherit;
  color: inherit;
}

.mot-link {
  display: inline-block;
  margin-top: 16px;
}

body.sheet-open {
  overflow: hidden;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet[hidden] {
  display: none;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(10, 28, 72, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
  cursor: pointer;
}

.sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 28px rgba(8, 20, 60, 0.18);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: min(78vh, 520px);
  display: flex;
  flex-direction: column;
}

.sheet.is-open .sheet-backdrop {
  opacity: 1;
}

.sheet.is-open .sheet-panel {
  transform: translateY(0);
}

.sheet-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 52px 12px;
  border-bottom: 1px solid #cfe7f5;
  flex: none;
}

.sheet-title {
  margin: 0;
  color: #10153f;
  font: 700 22px/1.2 var(--font);
  text-align: center;
}

.sheet-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
}

.sheet-close:hover {
  background: rgba(74, 163, 216, 0.12);
}

.sheet-close:focus-visible {
  outline: 2px solid #4aa3d8;
  outline-offset: 2px;
}

.sheet-body {
  padding: 22px 28px 36px;
  overflow: auto;
  color: #10153f;
  font-size: 16px;
  line-height: 1.5;
}

.sheet-body p {
  margin: 0 0 10px;
}

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

.legal {
  margin: 0;
  color: #1a3058;
  font-size: 14px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.form-footer .legal {
  flex: 1;
  text-align: left;
}

.field-hint {
  margin: 8px 0 0;
  color: #6a6c80;
  font-size: 13px;
  line-height: 1.4;
}

.field.is-invalid .field-hint {
  display: none;
}

.help-inline {
  margin: 14px 0 0;
  color: #2a2c48;
  font-size: 14.5px;
}

.help-inline .text-link {
  color: #006eb7;
  font-weight: 600;
}

.notice {
  margin: 10px auto 0;
  max-width: 520px;
  text-align: center;
  color: #1a3058;
  font-size: 13.5px;
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.next {
  appearance: none;
  border: 0;
  background: var(--btn);
  color: #fff;
  font: 600 15px/1 var(--font);
  padding: 12px 16px 12px 18px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.next:hover { background: #0c1a56; }

.next.is-muted,
.next.is-muted:hover {
  background: #8a95a8;
  cursor: pointer;
}

.next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.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;
}

.plain-field {
  margin-bottom: 14px;
}

.plain-field input,
.experience-field textarea {
  width: 100%;
  border: 1px solid #c8c8d2;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.35 var(--font);
  outline: none;
}

.plain-field input {
  height: 48px;
  padding: 0 14px;
}

.plain-field input::placeholder,
.experience-field textarea::placeholder {
  color: #8a8b9a;
}

.plain-field input:focus,
.experience-field textarea:focus,
.address-select-wrap select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.plain-field.is-invalid input,
.address-select-wrap.is-invalid select {
  border-color: var(--error);
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ececf1;
  padding: 12px 14px;
  margin: 16px 0 22px;
  color: #3a3c54;
  font-size: 14px;
  line-height: 1.4;
}

.info-box p { margin: 0; }

.info-icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid #5c5e72;
  color: #5c5e72;
  font: 700 11px/15px var(--font);
  text-align: center;
  text-transform: lowercase;
}

.subhead {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.address-select-wrap {
  margin: 14px 0;
}

.address-select-wrap select {
  width: 100%;
  height: 48px;
  border: 1px solid #c8c8d2;
  border-radius: 2px;
  background: #ececf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'%3E%3Cpath d='M6 3 9.2 7.2H2.8zM6 17 2.8 12.8h6.4z' fill='%235c5e72'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
  color: #3a3c54;
  font: 400 15px/1.3 var(--font);
  padding: 0 36px 0 14px;
  appearance: none;
  -webkit-appearance: none;
}

.address-select-wrap select:disabled,
.country-wrap select:disabled {
  color: #6a6c80;
  background-color: #ececf1;
  cursor: not-allowed;
}

.address-details .field {
  margin-top: 14px;
}

.address-manual-link {
  display: inline-block;
  margin: 14px 0 4px;
  color: #006eb7;
  font-weight: 600;
}

.plain-field-short {
  max-width: 220px;
}

.plain-field-short.field {
  margin-bottom: 0;
}

.experience-field textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.char-count {
  margin: 8px 0 0;
  color: #6a6c80;
  font-size: 13px;
}

.intro-body .lead {
  margin-bottom: 12px;
}

.intro-copy {
  margin: 0 0 12px;
  color: #3a3c54;
  font-size: 15px;
  line-height: 1.5;
}

.intro-copy:last-child {
  margin-bottom: 0;
}

a.next {
  text-decoration: none;
}

.avail-block {
  margin-bottom: 32px;
}

.avail-block .plain-set legend,
.avail-block .subhead {
  margin-bottom: 10px;
}

.work-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.work-option {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
  max-width: 160px;
}

.work-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.days-hint {
  margin: 0 0 14px;
  color: #5c5e72;
  font-size: 14px;
}

.day-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.day-pill {
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
}

.day-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.day-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 6px;
  border: 1px solid rgba(16, 21, 63, 0.16);
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font: 600 14px/1 var(--font);
  box-sizing: border-box;
}

.day-pill input:checked + span {
  background: #e5f3fb;
  border-color: rgba(10, 111, 173, 0.7);
  color: var(--navy);
}

.day-pill input:focus-visible + span {
  outline: 2px solid #0e77b6;
  outline-offset: 2px;
}

.travel-copy {
  margin: 0 0 30px;
  color: #3a3c54;
  font-size: 15px;
  line-height: 1.45;
}

.slider-wrap {
  position: relative;
  padding-top: 36px;
  margin: 0 10px 18px;
}

.slider-tip {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  background: var(--btn);
  color: #fff;
  font: 700 12px/1 var(--font);
  padding: 7px 10px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.slider-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--btn);
  border-bottom-width: 0;
}

.slider-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  background: transparent;
  outline: none;
  margin: 0;
  cursor: pointer;
}

.slider-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #c5c5d0 0 var(--fill, 32%),
    #7ebfe6 var(--fill, 32%) 100%
  );
}

.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand-blue);
  box-shadow: none;
  cursor: pointer;
}

.slider-wrap input[type="range"]::-moz-range-track {
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: #7ebfe6;
}

.slider-wrap input[type="range"]::-moz-range-progress {
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: #c5c5d0;
}

.slider-wrap input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand-blue);
  box-shadow: none;
  cursor: pointer;
}

.comments-field {
  margin-top: 8px;
}

.comments-field .char-count {
  margin-top: 6px;
}

.success-page {
  background: var(--brand-blue);
  min-height: 100vh;
}

.success-header {
  background: transparent;
  border-bottom: 0;
}

.success-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 64px;
}

.success-panel {
  width: min(520px, 100%);
  color: #fff;
}

.success-icon {
  margin-bottom: 28px;
  line-height: 0;
}

.success-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.success-panel p {
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.success-continue {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 48px;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  text-decoration: none;
  font: 700 16px/1 var(--font);
  box-sizing: border-box;
}

.success-continue:hover {
  background: #0c1a56;
}

.success-continue svg {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.download-wrap {
  padding-top: 28px;
}

.download-body {
  padding-top: 22px;
  padding-bottom: 28px;
}

.download-lead {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  min-height: 52px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
}

.store-btn:hover {
  background: #000;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.store-btn strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.feature-check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@media (max-width: 760px) {
  .step-name { font-size: 11px; }
  .card-head { font-size: 18px; padding: 12px 16px; }
  .card-body { padding: 16px; }
  .choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .choice {
    white-space: normal;
  }
  .stepper::before { left: 8%; right: 8%; }
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-links { gap: 12px 18px; }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .form-footer .legal { text-align: center; }
  .form-footer .next { align-self: flex-end; }
}

@media (max-width: 520px) {
  .step-name { font-size: 9px; letter-spacing: -0.02em; }
  .choices { grid-template-columns: 1fr; }
  .brand { font-size: 24px; }
  .site-header-inner { width: calc(100% - 28px); }
  .site-footer-inner { width: calc(100% - 28px); }
}

.login-page {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  background: #fff;
}

.login-rail {
  width: min(180px, 18vw);
  flex: none;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
}

.login-brand {
  color: #fff;
  font-family: var(--logo);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.login-brand span {
  font-style: normal;
}

.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.login-form {
  width: min(420px, 100%);
}

.login-form h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.login-sub {
  margin: 0 0 28px;
  color: #6a6c80;
  font-size: 15px;
  line-height: 1.45;
}

.login-field {
  margin-bottom: 18px;
}

.login-field input {
  width: 100%;
  height: 48px;
  border: 1px solid #c8c8d2;
  border-radius: 2px;
  padding: 0 14px;
  font: 400 16px/1.3 var(--font);
  color: var(--ink);
  background: #fff;
  outline: none;
}

.login-field input::placeholder {
  color: #9a9aaa;
}

.login-field input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.login-field input[readonly] {
  background: #f4f4f8;
  color: #5c5e72;
}

.login-count {
  margin: 8px 0 0;
  color: #8a8b9a;
  font-size: 12px;
}

.captcha-box {
  margin: 8px 0 22px;
}

.captcha-box.is-google {
  max-width: 304px;
  min-height: 78px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.captcha-box .g-recaptcha {
  transform-origin: left top;
}

.login-continue {
  appearance: none;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--brand-blue);
  color: #fff;
  font: 700 16px/1 var(--font);
  cursor: pointer;
}

.login-continue.is-muted,
.login-continue:disabled {
  background: #8f95a8;
  cursor: not-allowed;
}

.login-continue:not(:disabled):hover {
  background: #0065a5;
}

.login-error {
  margin: 0 0 12px;
  color: var(--error);
  font-size: 14px;
}

.login-note {
  margin: 0 0 12px;
  color: #1a3058;
  font-size: 14px;
  line-height: 1.4;
}

.login-back {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
}

.login-back a {
  color: var(--brand-blue);
}

.password-main {
  position: relative;
}

.password-back {
  position: absolute;
  top: 28px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4aa3d8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  z-index: 1;
}

.password-back:hover {
  text-decoration: underline;
}

.password-form {
  width: min(460px, 100%);
}

.password-form h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}

.password-hint {
  margin: 0 0 28px;
  color: #5c5e72;
  font-size: 14px;
  line-height: 1.45;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.password-toggle.is-open svg path,
.password-toggle.is-open svg circle {
  stroke: var(--brand-blue);
}

.password-resend {
  margin: 16px 0 0;
  text-align: center;
}

.password-resend .text-link {
  color: #4aa3d8;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
}

.password-resend .text-link:hover {
  text-decoration: underline;
}

.signup-form {
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 12px 4px 24px;
}

.signup-form h1 {
  margin: 0 0 22px;
  font-size: 30px;
  letter-spacing: -0.02em;
  text-transform: none;
}

.signup-select {
  width: 100%;
  height: 48px;
  border: 1px solid #c8c8d2;
  border-radius: 2px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'%3E%3Cpath d='M6 3 9.2 7.2H2.8zM6 17 2.8 12.8h6.4z' fill='%235c5e72'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
  color: var(--ink);
  font: 400 16px/1.3 var(--font);
  padding: 0 36px 0 14px;
  appearance: none;
  -webkit-appearance: none;
}

.signup-note {
  margin: 6px 0 0;
  color: #5c5e72;
  font-size: 13px;
  line-height: 1.4;
}

.password-rules {
  margin: 4px 0 20px;
}

.password-rules-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.password-rules ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-rules li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5c5e72;
  font-size: 14px;
}

.rule-dot {
  width: 16px;
  height: 16px;
  border: 1.5px solid #c2c2cc;
  border-radius: 50%;
  flex: none;
  box-sizing: border-box;
}

.password-rules li.is-valid {
  color: #1b7a3a;
}

.password-rules li.is-valid .rule-dot {
  border-color: #1b7a3a;
  background: #1b7a3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px;
  background: #ececf1;
  cursor: pointer;
}

.consent-box input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.consent-check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid #9a9aaa;
  border-radius: 2px;
  background: #fff;
  box-sizing: border-box;
}

.consent-box input:checked + .consent-check {
  border-color: var(--brand-blue);
  background: var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.consent-text {
  color: #3a3c54;
  font-size: 13.5px;
  line-height: 1.45;
}

.consent-text a {
  color: #006eb7;
  font-weight: 700;
}

.legal-page {
  background: #f3f3f5;
  color: #10153f;
}

.legal-header {
  background: #fff;
  border-bottom: 1px solid #e6e8ef;
  flex: none;
}

.legal-header-inner {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
}

.legal-brand {
  color: var(--brand-blue);
  text-decoration: none;
  font-family: var(--logo);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.legal-brand span {
  font-style: normal;
}

.legal-wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 64px;
  flex: 1;
}

.legal-doc {
  background: #fff;
  padding: 36px 40px 48px;
  box-shadow: 0 1px 0 rgba(16, 21, 63, 0.04);
}

.legal-doc h1 {
  margin: 0 0 10px;
  color: #10153f;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.legal-doc-title {
  margin: 0 0 22px;
  color: #10153f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-strong {
  margin: 0 0 12px;
  color: #10153f;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}

.legal-doc h3 {
  margin: 28px 0 10px;
  color: #10153f;
  font-size: 18px;
  font-weight: 700;
}

.legal-doc p {
  margin: 0 0 12px;
  color: #1a1d3a;
  font-size: 15px;
  line-height: 1.55;
}

.legal-doc a {
  color: #10153f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc ul {
  margin: 0 0 12px;
  padding-left: 22px;
  color: #1a1d3a;
  font-size: 15px;
  line-height: 1.55;
}

.legal-doc li {
  margin-bottom: 8px;
}

.legal-doc li:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .legal-doc {
    padding: 24px 18px 36px;
  }

  .legal-doc h1 {
    font-size: 26px;
  }
}

.welcome-page {
  background: var(--brand-blue);
  min-height: 100vh;
}

.welcome-header {
  flex: none;
  background: transparent;
}

.welcome-header-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.welcome-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 64px;
}

.welcome-panel {
  width: min(520px, 100%);
  text-align: center;
  color: #fff;
}

.welcome-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.welcome-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.welcome-panel p {
  margin: 0 auto 34px;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
}

.welcome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(360px, 100%);
  min-height: 52px;
  padding: 14px 28px;
  background: var(--btn);
  color: #fff;
  text-decoration: none;
  font: 700 17px/1.2 var(--font);
  border-radius: 2px;
}

.welcome-cta:hover {
  background: #020a2a;
}

.welcome-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .login-page {
    flex-direction: column;
  }

  .login-rail {
    width: 100%;
    min-height: 64px;
    justify-content: flex-start;
    padding-left: 20px;
  }

  .login-brand {
    font-size: 26px;
  }

  .login-form h1 {
    font-size: 28px;
  }

  .welcome-panel h1 {
    font-size: 34px;
  }

  .welcome-panel p {
    font-size: 16px;
  }
}
