:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17233b;
  background: #eff4fa;
  --navy: #134b82;
  --muted: #435573;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main {
  width: min(calc(100% - 2rem), 38rem);
  margin: clamp(1.25rem, 6vw, 4rem) auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-bottom: 1rem;
}
a { color: var(--navy); text-underline-offset: .2em; }
article {
  border: 1px solid #d7e0ed;
  border-top: .35rem solid var(--navy);
  border-radius: 1rem;
  padding: clamp(1.15rem, 5vw, 2rem);
  background: #fff;
  box-shadow: 0 .75rem 2rem #25365812;
}
h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}
p { margin: .55rem 0 1.15rem; }
form, .feature-field { display: grid; grid-template-columns: minmax(0, 1fr); }
form { gap: 1.1rem; }
.feature-field { gap: .25rem; }
label { font-weight: 700; }
small { color: var(--muted); }
input, textarea, button { font: inherit; }
input, textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #8394ab;
  border-radius: .5rem;
  padding: .65rem .75rem;
  color: inherit;
  background: #fff;
}
textarea { min-height: 9rem; resize: vertical; }
button {
  justify-self: start;
  min-height: 44px;
  border: 0;
  border-radius: .5rem;
  padding: .62rem 1rem;
  color: #fff;
  background: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #103b66; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.status { padding: .7rem 1rem; border-radius: .5rem; background: #dcfce7; }
.error { background: #ffe4e6; color: #831843; }
[hidden] { display: none !important; }
