:root {
  --text: #1c1917;
  --muted: #78716c;
  --accent: #1c1917;
  --bg: #fafaf9;
  --border: #e7e5e4;
  --container: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.brand img { border-radius: 6px; }

nav {
  display: flex;
  gap: 20px;
}

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

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

main { padding: 48px 0 64px; }

section + section { margin-top: 48px; }

h1 {
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 600;
}

h2 {
  font-size: 24px;
  margin: 0 0 16px;
  font-weight: 600;
  scroll-margin-top: 72px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}

p, ul, ol { margin: 0 0 16px; }

ul, ol { padding-left: 22px; }

li { margin-bottom: 6px; }

.muted {
  color: var(--muted);
  font-size: 14px;
}

.tagline {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
}

.tagline em { font-style: italic; color: var(--text); }

.store-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
}

.store-badge:hover { opacity: 0.9; }

a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 540px) {
  nav { gap: 14px; }
  nav a { font-size: 13px; }
  h1 { font-size: 32px; }
}
