:root {
  --bg: #0e0f12;
  --text: #e9eaed;
  --muted: #9aa0a8;
  --line: #24262c;
  --card: #16181d;
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #4a4d55;
  transition: text-decoration-color .15s ease;
}

a:hover {
  text-decoration-color: var(--accent);
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.nav {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

main {
  flex: 1;
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  max-width: 760px;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
}

h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

p {
  margin: 0 0 16px;
  max-width: 720px;
}

.lede {
  font-size: 20px;
  color: var(--muted);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.card p:last-child {
  margin-bottom: 0;
}

.section {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.section p:last-child {
  margin-bottom: 0;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

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

.footer-inner a:hover {
  color: var(--text);
}

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  main {
    padding: 44px 0;
  }
}
