:root {
  color-scheme: dark;
  font: 100%/1.6 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #090f20;
  color: #edf4ff;
}

* { box-sizing: border-box; }
body { width: min(100% - 2.5rem, 64rem); margin: auto; }
header, nav, footer { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2rem); }
header, footer { justify-content: space-between; padding: 1.3rem 0; }
header, section { border-bottom: 1px solid #29354d; }
a { color: #80dfff; text-underline-offset: .25em; }
a:hover { color: white; }
a:focus-visible { outline: 2px solid #80dfff; outline-offset: 4px; }
header a, footer a { color: inherit; text-decoration: none; }
header a:hover, footer a:hover { text-decoration: underline; }
.brand { font-size: 1.6rem; font-weight: 750; letter-spacing: -.045em; }
section { padding: clamp(2rem, 5vw, 4rem) 0; scroll-margin-top: 1rem; }
.hero { display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; gap: 1rem; }
.hero img { width: 100%; height: auto; background: radial-gradient(ellipse, #16365a, transparent 70%); }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.75rem, 6vw, 5.2rem); letter-spacing: -.065em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.04em; }
h3 { color: #9be9ff; font-size: 1.25rem; }
p { max-width: 70ch; margin: 1rem 0 0; color: #bdcce2; }
.hero p { font-size: 1.2rem; max-width: 42ch; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
form { display: grid; gap: .5rem; margin-top: 1.5rem; }
input, textarea, button { padding: .65rem .85rem; border: 1px solid #52647f; border-radius: .4rem; font: inherit; }
input, textarea { width: 100%; margin-bottom: .5rem; background: #101a2d; color: inherit; }
textarea { resize: vertical; }
button { justify-self: start; background: #80dfff; color: #090f20; cursor: pointer; }
code { color: #edf4ff; }
@media (max-width: 40rem) {
  .hero, .columns { grid-template-columns: 1fr; }
  .hero img { grid-row: 1; width: 7rem; }
}

.legal { max-width: 72ch; margin: 0 auto; padding-top: clamp(2rem, 6vw, 4rem); }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.legal h2 { font-size: 1.5rem; }
.legal section { padding: 2rem 0; }
nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
