:root {
  --ink: #0a0a0a;
  --muted: #52525b;
  --faint: #a1a1aa;
  --line: #ececef;
  --teal: #0d9488;
  --teal-strong: #0f766e;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header .wrap {
  display: flex;
  align-items: center;
  height: 4rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark img {
  width: 1.5rem;
  height: 1.5rem;
}

.wordmark sup {
  margin-left: 1px;
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--muted);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(13 148 136 / 0.12), transparent 70%);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.25rem 6rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  color: var(--muted);
  font-size: 0.8125rem;
}

.badge::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--teal);
}

h1 {
  max-width: 48rem;
  margin: 1.75rem 0 0;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--teal-strong);
}

.lede {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  text-wrap: balance;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.25rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  background: #262626;
}

.note {
  margin: 1.25rem 0 0;
  color: var(--faint);
  font-size: 0.8125rem;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.8125rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

footer nav {
  display: flex;
  gap: 1.25rem;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
}

/* Privacy and terms */
.doc {
  max-width: 42rem;
  padding: 4rem 1.25rem 5rem;
  text-align: left;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.doc .updated {
  margin: 0.75rem 0 2.5rem;
  color: var(--faint);
  font-size: 0.875rem;
}

.doc h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.doc p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

main.doc-main {
  align-items: flex-start;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
