:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #1d1d1f;
  --secondary: #6e6e73;
  --link: #06c;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 3rem 2rem;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.006em;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--link);
  color: #fff;
}

.home-main {
  width: 100%;
  max-width: 680px;
  margin: 22vh auto 10vh;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.home-title {
  margin: 2rem 0 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.home-lead {
  max-width: 38rem;
  margin: 2.5rem 0 0;
  font-size: 24px;
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.home-copy {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.58;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  font-size: 15px;
}

.home-links .primary {
  color: var(--ink);
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.home-links .primary:hover {
  text-decoration-style: solid;
}

@media (max-width: 600px) {
  body {
    padding: 3rem 1.25rem 4rem;
  }

  .home-main {
    margin-top: 16vh;
  }

  h1 {
    font-size: 44px;
  }

  .home-title {
    font-size: 19px;
  }

  .home-lead {
    font-size: 21px;
  }
}

@media print {
  body {
    min-height: auto;
    padding: 0;
  }

  .home-main {
    margin: 4rem 0 0;
  }

  a {
    color: #000;
  }
}
