@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #101010;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #fff;
  color: var(--ink);
}

body {
  min-height: 100svh;
  margin: 0;
  padding: clamp(18px, 2.2vw, 34px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.38;
  -webkit-font-smoothing: antialiased;
}

p, h1 { margin: 0; }
a { color: inherit; }

header a.name { text-decoration: none; }

header {
  display: flex;
  gap: clamp(36px, 7vw, 110px);
  width: fit-content;
}

.name { font-weight: 600; }

main {
  width: min(700px, 70vw);
  margin-left: clamp(0px, 24vw, 390px);
  align-self: center;
  padding-block: clamp(100px, 17vh, 190px);
}

.statement h1 {
  font-size: clamp(30px, 3.25vw, 52px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: min(310px, 100%);
  margin-top: clamp(110px, 16vh, 180px);
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact a {
  justify-self: start;
  padding-bottom: 2px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact a:hover,
.contact a:focus-visible { text-decoration: none; }
.contact a:focus-visible { outline: 1px solid; outline-offset: 5px; }

footer {
  font-size: 10px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.legal-page main {
  width: min(520px, 70vw);
}

.legal h1 {
  font-size: clamp(30px, 3.25vw, 52px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.legal-text {
  display: grid;
  gap: 30px;
  margin-top: clamp(70px, 10vh, 110px);
}

.legal-text a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  main {
    width: 100%;
    margin-left: 0;
    align-self: start;
    padding-block: 130px 90px;
  }

  .legal-page main { width: 100%; }

  .statement h1 { font-size: clamp(29px, 8.5vw, 42px); }
  .facts { gap: 30px; margin-top: 110px; }
}
