:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #f6f8fa;
  --text: #1f2328;
  --muted: #59636e;
  --line: #d0d7de;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
}

a {
  color: #0969da;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  align-items: center;
  gap: 40px;
  padding: 56px 0 48px;
}

.hero h1,
.content h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.content p {
  margin: 0 0 16px;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--text);
  color: #ffffff;
  font-weight: 600;
}

.button.secondary {
  background: #ffffff;
  color: var(--text);
}

.button:hover {
  text-decoration: none;
}

.screenshot {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
}

.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.section h2,
.content h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: 0;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.content {
  max-width: 760px;
  padding: 48px 0;
}

.content ul {
  padding-left: 22px;
}

.content li {
  margin: 8px 0;
}

.note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
  color: var(--muted);
}

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

.site-footer .page {
  padding: 24px 0;
}

@media (max-width: 760px) {
  .header-inner,
  .nav,
  .actions {
    align-items: flex-start;
  }

  .header-inner,
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
  }

  .hero {
    padding: 36px 0;
  }
}
