:root {
  color-scheme: light;
  --ink: #292738;
  --muted: #514d63;
  --accent: #554377;
  --base: #fbf8fa;
  font: 16px/1.6 "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--base);
  color: var(--ink);
}

.home {
  background:
    radial-gradient(ellipse at 12% 9%, #ede7fb 0, transparent 62%),
    radial-gradient(ellipse at 90% 92%, #f9e7e2 0, transparent 60%),
    var(--base);
}

.wrap {
  width: min(1120px, calc(100% - clamp(2.5rem, 12vw, 9rem)));
  margin-inline: auto;
}

a { color: var(--accent); text-underline-offset: .24em; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip {
  position: absolute;
  transform: translateY(-200%);
  padding: .6rem 1rem;
  background: white;
}

.skip:focus { transform: none; }

header .wrap { padding-block: clamp(1.25rem, 4vw, 2.5rem); }

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: -.025em;
  text-decoration: none;
}

main { flex: 1; }

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 3rem 4rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 8.5vw, 7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.hero p {
  margin: .85rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.25vw, 1.5rem);
  font-weight: 500;
}

footer .wrap {
  padding-block: .9rem 1.1rem;
  border-top: 1px solid #55437724;
}

footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }

.legal {
  width: min(720px, 100%);
  padding-block: clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem);
}

.legal h1 { margin: 0 0 1.25rem; font-size: clamp(2rem, 6vw, 3.75rem); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.legal h2 { margin: 1.6rem 0 .4rem; font-size: 1.25rem; line-height: 1.25; }
.legal p, .legal address { margin: .45rem 0 1rem; }
.legal address { font-style: normal; }
.legal a { overflow-wrap: anywhere; }
