:root {
  --navy: #0b2d62;
  --blue: #125de6;
  --teal: #22b7c9;
  --text: #15345d;
  --muted: #61728f;
  --line: #d9e5f3;
  --panel: #f6f9fd;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 34%, rgba(18,93,230,.10), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.brand img {
  display: block;
  width: min(238px, 56vw);
  height: auto;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
}

main { overflow: hidden; }
.hero {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 490px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  align-items: center;
  gap: 32px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10vw -9vh 38%;
  height: 180px;
  background: linear-gradient(90deg, rgba(18,93,230,0), rgba(18,93,230,.10), rgba(34,183,201,.06));
  border-radius: 50%;
  filter: blur(20px);
  transform: rotate(-7deg);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
}

h1 {
  margin: 22px 0 18px;
  color: var(--navy);
  font-size: clamp(3rem, 5.6vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.05em;
}
h1 span { color: var(--blue); }

.hero-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.48;
}

.primary-button,
.updates button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.primary-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
}

.hero-mark {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}
.hero-mark::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border: 30px solid rgba(18,93,230,.05);
  border-radius: 30%;
  transform: rotate(30deg);
}
.hero-mark img {
  width: min(310px, 72%);
  opacity: .16;
  filter: saturate(.85);
}

.updates {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 22px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(440px, 1.28fr);
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(246,249,253,.9);
  backdrop-filter: blur(10px);
}
.updates-kicker {
  margin: 0 0 3px;
  color: var(--blue);
  font-weight: 800;
  font-size: .85rem;
}
.updates h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}
.updates form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}
.form-fields {
  display: flex;
  gap: .65rem;
  width: 100%;
}
.updates input[type="email"] {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid #cddbeb;
  border-radius: 10px;
  background: white;
  color: var(--text);
  font: inherit;
}
.updates button {
  min-height: 46px;
  padding: 0 20px;
  font: inherit;
  white-space: nowrap;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: .1rem;
  color: #52657f;
  font-size: .76rem;
  line-height: 1.3;
  cursor: pointer;
}
.consent-row input {
  margin-top: .12rem;
  flex: 0 0 auto;
}
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}
.form-status.success { color: #157347; }
.form-status.error { color: #b42318; }

footer {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: .88rem;
}

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

#updates-form button:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 820px) {
  .site-header { min-height: 76px; }
  .site-header nav { display: none; }
  .hero {
    min-height: auto;
    padding: 38px 0 34px;
    grid-template-columns: 1fr;
  }
  .hero-copy { text-align: center; }
  .hero-mark { order: -1; min-height: 170px; }
  .hero-mark img { width: 170px; }
  .hero-mark::before { width: 200px; border-width: 20px; }
  h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .updates {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 14px;
    text-align: center;
  }
  .consent-row { text-align: left; }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .updates,
  footer { width: min(100% - 28px, 1100px); }
  .brand img { width: 205px; }
  .hero { padding-top: 22px; }
  .hero-mark { min-height: 140px; }
  .hero-mark img { width: 142px; }
  .hero-mark::before { width: 164px; border-width: 16px; }
  .eyebrow { padding: 7px 14px; }
  h1 { margin-top: 18px; }
  .form-fields { flex-direction: column; }
  .updates button { width: 100%; }
  footer { text-align: center; flex-wrap: wrap; }
}
