:root {
  --bg: #fafaf7;
  --bg-card: #ffffff;
  --fg: #1a1a1a;
  --fg-muted: #5e5e5e;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --border: #e5e5e0;
  --max-width: 720px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 32px;
}

.brand-link:hover {
  text-decoration: none;
  opacity: 0.7;
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.hero {
  text-align: center;
  margin-bottom: 64px;
}

.logo {
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
  /* No CSS border-radius or box-shadow: the icon ships its own rounded shape
     and any rectangular shadow/clip on the <img> would trace the image's
     transparent corner margins, creating a visible halo. */
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.25rem;
  color: var(--fg-muted);
  margin: 0 auto 40px;
  max-width: 32em;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 10px;
  transition: background 0.15s;
}

.button:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.meta {
  margin: 16px 0 0;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.meta.cta-hint {
  font-size: 1.1rem;
  margin-top: 20px;
}

.screenshot {
  margin: 0 0 64px;
}

.screenshot img {
  width: 100%;
  height: auto;
  /* macOS window screenshots ship with their own drop shadow inside transparent
     margins, so we don't add a CSS border or box-shadow — they would trace a
     rectangle around the whole image including the shadow halo. */
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.feature h2 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 1rem;
}

.prose {
  max-width: 640px;
  margin: 0 auto 64px;
}

.prose h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
  font-weight: 600;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 32px 0 12px;
  font-weight: 600;
}

.prose p, .prose li {
  color: var(--fg);
}

.prose ol, .prose ul {
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose code, .prose kbd {
  background: var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.prose kbd {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.guide-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px 0 8px;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.95rem;
}

footer p {
  margin: 0 0 8px;
}

.fineprint {
  font-size: 0.85rem;
  margin-top: 12px;
}

@media (max-width: 540px) {
  main {
    padding: 32px 20px 64px;
  }
  h1 {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1.1rem;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --bg-card: #242424;
    --fg: #f0f0f0;
    --fg-muted: #a0a0a0;
    --accent: #60a5fa;
    --accent-dark: #3b82f6;
    --border: #333;
  }
  .button {
    color: #0a0a0a;
  }
}
