:root {
  color-scheme: dark light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #09090b;
  color: #fafafa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #09090b;
  color: #fafafa;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  padding: 24px;
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  margin-left: -6px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand:hover,
.nav a:hover {
  opacity: 0.72;
}

.brand img {
  display: block;
  width: 24px;
  height: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #a1a1aa;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.hero {
  max-width: 900px;
  padding-bottom: 96px;
}

.kicker {
  margin: 0 0 18px;
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  max-width: 860px;
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 680px;
  margin: 0 0 36px;
  color: #d4d4d8;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.button.primary {
  background: #fafafa;
  color: #09090b;
}

.button.secondary {
  border: 1px solid #3f3f46;
  color: #fafafa;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  border-top: 1px solid #27272a;
  padding: 56px 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section p,
.section li {
  color: #d4d4d8;
  font-size: 17px;
  line-height: 1.7;
}

.section p:first-child {
  margin-top: 0;
}

.list {
  margin: 0;
  padding-left: 20px;
}

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

.mode {
  min-height: 150px;
  padding: 20px;
  border: 1px solid #27272a;
  border-radius: 12px;
  background: #18181b;
}

.mode strong {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.mode span {
  color: #a1a1aa;
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #27272a;
  padding: 28px 0;
  color: #71717a;
  font-size: 14px;
}

@media (max-width: 760px) {
  .page {
    padding: 18px;
  }

  .header {
    align-items: flex-start;
    padding-bottom: 72px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .hero {
    padding-bottom: 72px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 44px 0;
  }

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

@media (prefers-color-scheme: light) {
  :root,
  body {
    background: #f9fafb;
    color: #111827;
  }

  .nav,
  .kicker,
  .footer {
    color: #6b7280;
  }

  .lead,
  .section p,
  .section li {
    color: #374151;
  }

  .button.primary {
    background: #111827;
    color: #fff;
  }

  .button.secondary,
  .section,
  .footer,
  .mode {
    border-color: #e5e7eb;
  }

  .mode {
    background: #fff;
  }

  .mode span {
    color: #6b7280;
  }
}
