*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--air);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.metric-pixel { position: absolute; left: -9999px; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(10, 102, 216, .45);
  outline-offset: 2px;
}

:root { --container: min(1240px, calc(100% - 48px)); }

.site-header,
.site-footer,
.page-shell,
.container {
  width: var(--container);
  margin-inline: auto;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
p { text-wrap: pretty; }

.eyebrow,
.step-label {
  margin: 0 0 14px;
  color: var(--supply-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-muted);
  font-size: 19px;
  line-height: 1.55;
}

/* Header */

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 60px;
  margin-top: 12px;
  padding: 0 8px 0 24px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--glass-highlight), var(--glass-shade);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

.logo {
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--supply); }

.site-header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.site-header nav a {
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  transition: color .15s;
}
.site-header nav a:hover { color: var(--ink); }
.site-header nav a[aria-current="page"] { color: var(--supply-ink); }

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--supply);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 20px -10px rgba(10, 102, 216, .7);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, transform .15s var(--ease), box-shadow .15s;
}
.button:hover { background: var(--supply-hover); transform: translateY(-1px); }
.button:active { background: var(--supply-ink); transform: translateY(0); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 15px; }

.button-light {
  color: var(--supply-ink);
  background: #fff;
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .5);
}
.button-light:hover { color: var(--ink); background: var(--air); }
.button-light:active { background: var(--air-deep); }

.text-link {
  color: var(--supply-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(8, 74, 156, .3);
  transition: text-decoration-color .15s;
}
.text-link:hover { text-decoration-color: currentColor; }

/* Closing band */

.final-cta {
  padding: 112px max(24px, calc((100% - 1240px) / 2));
  color: #fff;
  background: var(--night);
}
.final-cta .eyebrow { color: #8cc2ff; }
.final-cta h2 { max-width: 16ch; margin-bottom: 18px; }
.final-cta > p:not(.eyebrow) { max-width: 52ch; margin: 0 0 32px; color: #b8c8d8; font-size: 19px; }

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 40px 0 48px;
}
.site-footer p { margin: 0 auto 0 0; color: var(--ink-muted); font-size: 15px; }
.site-footer > a:not(.logo) {
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
}
.site-footer > a:not(.logo):hover { color: var(--ink); }

@media (max-width: 720px) {
  :root { --container: calc(100% - 28px); }
  body { font-size: 16px; }
  .site-header { gap: 12px; min-height: 56px; padding-left: 18px; }
  .site-header nav { display: none; }
  .site-header .button { margin-left: auto; }
  .lead { font-size: 17px; }
  .final-cta { padding-block: 72px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer p { margin: 0 0 8px; }
}
