:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #fbfbfc;
  --surface-hover: #ededf2;
  --border: #dcdde5;
  --border-subtle: #ededf2;
  --text: #1a1c21;
  --text-secondary: #3b3c45;
  --muted: #555761;
  --accent: #3072db;
  --accent-hover: #2558b8;
  --button: #1f7cff;
  --button-hover: #3072db;
  --button-text: #ffffff;
  --focus: #90c2fc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #22242b;
    --surface: #2a2b33;
    --surface-hover: #3b3c45;
    --border: #3b3c45;
    --border-subtle: #2a2b33;
    --text: #fbfbfc;
    --text-secondary: #c4c6d1;
    --muted: #9b9ca8;
    --accent: #6eabfa;
    --accent-hover: #90c2fc;
    --button: #1f7cff;
    --button-hover: #3072db;
    --button-text: #ffffff;
    --focus: #2558b8;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

a:focus-visible,
.button:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 0 clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.brand {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a,
footer a {
  color: var(--text-secondary);
  font-weight: 400;
  text-decoration: none;
}

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

nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

main,
footer {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

main {
  min-height: calc(100vh - 137px);
}

.hero {
  max-width: 760px;
  padding: 96px 0 112px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: inherit;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h2 {
  margin: 40px 0 16px;
  font-size: 28px;
  line-height: 36px;
}

h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 28px;
}

.lede {
  max-width: 660px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 26px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.button:hover {
  border-color: var(--border);
  background: var(--surface-hover);
  color: var(--text);
}

.button-primary {
  border-color: transparent;
  background: var(--button);
  color: var(--button-text);
}

.button-primary:hover {
  border-color: transparent;
  background: var(--button-hover);
  color: var(--button-text);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 32px;
  border-top: 1px solid var(--border-subtle);
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 76px;
  }

  nav {
    gap: 16px;
    font-size: 13px;
  }

  main,
  footer {
    width: min(100% - 40px, 1120px);
  }

  main {
    min-height: calc(100vh - 149px);
  }

  .hero {
    padding: 64px 0 80px;
  }

  h1 {
    font-size: 36px;
    line-height: 44px;
  }

  footer {
    gap: 16px;
  }

}
