:root {
  --ink: #0b1734;
  --paper: #f6f5ef;
  --blue: #2c59ff;
  --lime: #c8f05b;
  --line: rgba(11, 23, 52, 0.15);
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Geist", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.legal-header {
  border-bottom: 1px solid var(--line);
}

.legal-shell {
  width: min(840px, calc(100vw - 48px));
  margin-inline: auto;
}

.legal-header .legal-shell {
  display: flex;
  align-items: center;
  min-height: 82px;
}

.legal-logo {
  display: block;
  width: 156px;
  height: 58px;
  object-fit: contain;
}

.legal-main {
  padding: 82px 0 110px;
}

.legal-main h1 {
  max-width: 780px;
  margin: 0 0 48px;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.legal-main h2 {
  margin: 42px 0 12px;
  font-size: 1.4rem;
}

.legal-main p,
.legal-main li {
  color: #34405b;
  font-size: 1.02rem;
  line-height: 1.75;
}

.email-reveal {
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.legal-footer {
  padding: 38px 0;
  color: white;
  background: var(--ink);
}

.legal-footer .legal-shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--lime);
}

@media (max-width: 640px) {
  .legal-main {
    padding-top: 56px;
  }

  .legal-footer .legal-shell {
    flex-direction: column;
  }
}
