:root {
  color-scheme: light;
  --ink: #1b2940;
  --muted: #78859a;
  --blue: #4268e8;
  --line: #e7ebf2;
  --page: #f5f7fb;
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 18% 28%, rgba(226, 234, 255, .72), transparent 34rem),
    var(--page);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.topbar, .footer {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.brand-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--blue);
  border-radius: 12px;
  background: #e9efff;
}

.brand-icon svg { width: 30px; height: 30px; }
.brand-accent { color: var(--blue); }

.top-link {
  color: #536078;
  font-size: 13px;
  font-weight: 700;
}

.top-link span { margin-left: 5px; color: var(--blue); }

.layout {
  width: min(1010px, calc(100% - 64px));
  min-height: calc(100vh - 172px);
  margin: 0 auto;
  padding: 48px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(42px, 8vw, 104px);
}

.intro { padding-bottom: 5px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55b890;
  box-shadow: 0 0 0 4px rgba(85, 184, 144, .12);
}

h1 {
  margin: 0 0 19px;
  font-size: clamp(44px, 5vw, 61px);
  font-weight: 800;
  letter-spacing: -3.4px;
  line-height: 1.08;
}

h1 span { color: var(--blue); }

.lead {
  max-width: 390px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.note-card {
  max-width: 390px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(226, 231, 242, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
}

.note-icon {
  flex: 0 0 37px;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: var(--blue);
  border-radius: 11px;
  background: #edf2ff;
}

.note-icon svg { width: 21px; height: 21px; }
.note-card strong { display: block; margin: 2px 0 5px; font-size: 12px; }
.note-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.privacy {
  max-width: 390px;
  display: flex;
  gap: 9px;
  margin: 20px 0 0;
  color: #8792a5;
  font-size: 11px;
  line-height: 1.65;
}

.privacy span { color: #91a6ec; }

.form-card {
  padding: clamp(27px, 4vw, 42px);
  border: 1px solid rgba(229, 233, 241, .95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(41, 58, 95, .09), 0 3px 12px rgba(41, 58, 95, .035);
}

.card-heading { margin-bottom: 27px; }

.card-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.15px;
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.3;
}

.required-note { margin: 0; color: #8993a5; font-size: 11px; }
.required-note span, label span { color: var(--blue); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { min-width: 0; margin-bottom: 18px; }

label {
  display: block;
  margin-bottom: 8px;
  color: #3a465c;
  font-size: 11px;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

input, select { height: 45px; padding: 0 13px; }
textarea { display: block; min-height: 116px; padding: 12px 13px; line-height: 1.55; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a7afbd; }

input:focus, textarea:focus, select:focus {
  border-color: #8da6f7;
  box-shadow: 0 0 0 3px rgba(66, 105, 232, .11);
}

.select-box { position: relative; }
.select-box select { appearance: none; padding-right: 36px; }
.select-box > span { position: absolute; top: 10px; right: 14px; color: #7d889a; pointer-events: none; }

.helper { margin: 7px 0 0; color: #929bad; font-size: 10px; line-height: 1.55; }
.character-count { margin: 7px 0 0; color: #78859a; font-size: 11px; text-align: right; }

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

button:hover { transform: translateY(-1px); background: #3156d3; box-shadow: 0 7px 18px rgba(66, 105, 232, .22); }
button:focus-visible { outline: 3px solid rgba(66, 105, 232, .34); outline-offset: 3px; }
button svg { width: 17px; height: 17px; }
.feedback { margin: 0; font-size: 12px; line-height: 1.55; }
.feedback:not(:empty) { margin-top: 12px; }
.feedback.is-pending { color: #52617a; }
.feedback.is-error { padding: 11px 13px; border: 1px solid #f1c7c7; border-radius: 9px; background: #fff5f5; color: #a63e3e; }
.feedback.is-success { padding: 13px 15px; border: 1px solid #b8dfc9; border-radius: 10px; background: #effaf3; color: #246b46; font-size: 14px; font-weight: 600; }
.send-note { margin: 10px 0 0; color: #9aa3b2; font-size: 10px; line-height: 1.55; text-align: center; }

.footer {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(224, 229, 239, .8);
  color: #919bad;
  font-size: 10px;
}

.footer a { color: #68748a; font-weight: 700; }

@media (max-width: 760px) {
  .topbar, .footer { width: min(100% - 40px, 540px); }
  .topbar { height: 76px; }
  .layout {
    width: min(100% - 40px, 540px);
    min-height: auto;
    padding: 36px 0 52px;
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .lead { margin-bottom: 24px; }
  h1 { font-size: clamp(43px, 10vw, 56px); }
  .note-card { max-width: none; }
  .privacy { margin-top: 15px; }
  .form-card { padding: 28px 23px; }
  .footer { min-height: 76px; flex-wrap: wrap; padding: 14px 0; }
  .footer-tagline { display: none; }
}

@media (max-width: 420px) {
  .topbar, .footer, .layout { width: calc(100% - 32px); }
  .top-link { font-size: 11px; }
  .brand { font-size: 13px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
