*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fafafa;
  --fg: #111111;
  --muted: #6b6b6b;
  --border: #e8e8e8;
  --max: 640px;
  --space: clamp(1.25rem, 4vw, 2rem);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ——— Header ——— */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: var(--space);
  padding-top: calc(var(--space) * 1.25);
}

.logo {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--fg);
}

/* ——— Main ——— */
main {
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space);
}

.hero {
  padding: clamp(4rem, 14vh, 7rem) 0 clamp(3rem, 10vh, 5rem);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 28em;
  line-height: 1.55;
}

/* ——— Sections ——— */
.section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.section p {
  color: var(--fg);
  max-width: 36em;
}

/* ——— List ——— */
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

.list-label {
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.list-desc {
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 420px) {
  .list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ——— CTA ——— */
.cta p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--fg);
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}

.button:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ——— Footer ——— */
.footer {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: var(--space);
  padding-bottom: calc(var(--space) * 1.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  font-size: 0.8125rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer span:first-child {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer-muted {
  color: var(--muted);
}

/* ——— Selection ——— */
::selection {
  background: var(--fg);
  color: var(--bg);
}
