*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--aurora-deep);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
.display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: var(--lh-display);
}

h1 {
  font-size: var(--fs-1);
}

h2 {
  font-size: var(--fs-2);
}

h3 {
  font-size: var(--fs-3);
  font-family: var(--font-sans);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

::selection {
  background: var(--aurora-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--aurora);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--w), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.wrap-wide {
  width: min(var(--w-wide), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--niche);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.muted {
  color: var(--mute);
}

.section {
  padding: var(--s-7) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}

.section-head p {
  max-width: 28rem;
  color: var(--mute);
}

.main {
  flex: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
