:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --icon-bg: #000000;
  --icon-fg: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #f5f5f7;
    --muted: #98989d;
    --line: #2c2c2e;
    --icon-bg: #1c1c1e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 20px 96px;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

header a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 16px; }

.icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: var(--icon-bg);
  flex-shrink: 0;
}

.app-name { font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }

h1 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0 0 8px;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 48px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }

.lead { font-size: 18px; font-weight: 300; }

.hero-number {
  font-size: 72px;
  font-weight: 200;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 24px 0 8px;
  font-variant-numeric: tabular-nums;
}
.hero-number small { font-size: 24px; font-weight: 300; margin-left: 6px; }
.hero-caption { color: var(--muted); margin: 0 0 32px; }

p, li { margin: 0 0 12px; }
ul { padding-left: 1.3em; }

dt { font-weight: 600; margin-top: 20px; }
dd { margin: 4px 0 0; color: var(--muted); }

a { color: inherit; text-underline-offset: 3px; }

footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
footer a { color: inherit; }
