:root {
  color-scheme: light;
  --background: #f5f5f3;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #171716;
  --muted: #686864;
  --line: rgba(23, 23, 22, 0.11);
  --accent: #272724;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 36rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.shell {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

main {
  padding: 72px 0 96px;
}

.hero {
  max-width: 710px;
  padding: 44px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(20px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card,
.document {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(23, 23, 22, 0.05);
  backdrop-filter: blur(24px);
}

.card {
  padding: 26px;
}

.card p,
.document p,
.document li {
  color: var(--muted);
}

.document {
  padding: clamp(24px, 6vw, 56px);
}

.document section + section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.document ul {
  padding-left: 1.2rem;
}

.document li + li {
  margin-top: 8px;
}

.updated {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 880px);
  }

  header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 32px;
  }

  .hero {
    padding-top: 24px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
