:root {
  --bg: #ffffff;
  --surface: #f4f4f5;
  --text: #18181b;
  --muted: #52525b;
  --border: #e4e4e7;
  --accent: #dc2626;
  --on-accent: #ffffff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18181b;
    --surface: #27272a;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --border: #3f3f46;
    --accent: #f87171;
    --on-accent: #18181b;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 16px;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 960px;
  margin: 0 auto;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

nav a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

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

.hero {
  padding: 56px 0 32px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 7vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 20px;
}

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 650;
  text-decoration: none;
}

.button[aria-disabled='true'] {
  opacity: 0.6;
  pointer-events: none;
}

.note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.shot {
  display: block;
  width: 100%;
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.feature {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.feature h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 48px;
}

.doc h1 {
  margin: 16px 0 4px;
  font-size: 34px;
  line-height: 1.15;
}

.doc h2 {
  margin: 32px 0 8px;
  font-size: 20px;
}

.doc .meta {
  margin: 0 0 24px;
  color: var(--muted);
}

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

footer.site p {
  margin: 4px 0;
}
