:root {
  --navy: #062239;
  --teal: #088395;
  --aqua: #37B7C3;
  --ink: #17364A;
  --muted: #667985;
  --line: #D8E4E8;
  --mist: #F1F7F8;
  --white: #FFFFFF;
  --danger: #B42318;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header,
.page-shell,
footer {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #EDF2F4;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 132px; height: auto; display: block; }

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9AABB4;
  font-size: .72rem;
  font-weight: 600;
}

.lang-option {
  border: 0;
  padding: 6px 2px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-option.is-active { color: var(--teal); }
.lang-option:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 3px; }

.page-shell {
  padding-block: 36px 44px;
  display: grid;
  gap: 36px;
}

.intro { max-width: 540px; }

.eyebrow,
.step {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 520px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.05rem, 8vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.lede {
  max-width: 525px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
}

.capability-list {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.capability-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 500;
}

.capability-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--teal);
  background: var(--mist);
}

.capability-icon svg,
.timezone-badge svg,
.submit-button svg,
.success-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-icon svg { width: 17px; height: 17px; }

.form-card {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(6, 34, 57, .055);
}

.form-heading {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E8EFF1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.form-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.form-heading .step { margin-bottom: 5px; }

.timezone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 500;
}

.timezone-badge svg { width: 14px; height: 14px; color: var(--teal); }

.field-grid { display: grid; gap: 15px; }
.field { margin-bottom: 15px; }

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: .73rem;
  font-weight: 600;
}

.field label b { color: var(--teal); font-weight: 600; }
.field label em { color: #8DA0AB; font-size: .62rem; font-style: normal; font-weight: 400; }

input,
select,
textarea {
  width: 100%;
  border: 1px solid #CCD9DE;
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input,
select { height: 44px; padding: 0 12px; font-size: .8rem; }
textarea { min-height: 92px; padding: 11px 12px; font-size: .8rem; line-height: 1.55; resize: vertical; }
input::placeholder, textarea::placeholder { color: #99AAB3; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 131, 149, .08);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }

.field-error { display: block; min-height: 0; margin-top: 5px; color: var(--danger); font-size: .64rem; }
.field-error:empty { display: none; }

.helper {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .63rem;
  line-height: 1.55;
}

.helper strong { color: var(--navy); font-weight: 500; }

.privacy-note {
  margin: 2px 0 16px;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.55;
}

.submit-button {
  width: 100%;
  min-height: 48px;
  padding: 12px 17px;
  border: 0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  background: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}

.submit-button svg { width: 17px; height: 17px; }
.submit-button:hover { background: #0A5160; }
.submit-button:focus-visible { outline: 3px solid rgba(55, 183, 195, .35); outline-offset: 3px; }
.submit-button:disabled { opacity: .64; cursor: wait; }

.form-status { min-height: 18px; margin-top: 9px; color: var(--danger); font-size: .69rem; text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.success-panel { padding: 48px 10px; text-align: center; }
.success-icon { width: 48px; height: 48px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--teal); }
.success-icon svg { width: 42px; height: 42px; }
.success-panel h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.4rem; }
.success-panel > p { max-width: 420px; margin: 0 auto; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.success-panel .reference-line { margin-top: 18px; color: var(--navy); font-size: .72rem; }

footer {
  padding: 20px 0 28px;
  border-top: 1px solid #EDF2F4;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #8496A0;
  font-size: .6rem;
}

footer p { margin: 0; }

@media (min-width: 680px) {
  .field-grid { grid-template-columns: 1fr 1fr; gap: 0 15px; }
  .form-card { padding: 30px; }
}

@media (min-width: 960px) {
  .site-header { min-height: 92px; }
  .page-shell {
    min-height: calc(100vh - 151px);
    padding-block: 54px 64px;
    grid-template-columns: minmax(0, .82fr) minmax(500px, 1fr);
    align-items: start;
    gap: 82px;
  }
  .intro { padding-top: 34px; }
  .form-card { padding: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
