:root {
  --purple: #8E3BBD;
  --purple-dark: #5E1788;
  --gold: #FFC700;
  --bg: #fafafa;
  --text: #333;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --text: #eee;
    --purple: #b86ee6;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 2rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

.icon {
  width: 128px;
  height: 128px;
  border-radius: 24px;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tagline {
  color: #888;
  margin-bottom: 1.5rem;
}

.app-store {
  display: inline-block;
  background: var(--purple);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.app-store:hover {
  background: var(--purple-dark);
}

section {
  margin: 2rem 0;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--purple);
}

.screenshot {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

ul,
ol {
  margin-left: 1.5rem;
}

li {
  margin: 0.5rem 0;
}

code {
  background: rgb(142 59 189 / 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.example {
  background: rgb(142 59 189 / 0.1);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.5rem;
  margin: 1rem 0;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: #888;
  font-size: 0.875rem;
}

footer a {
  color: var(--purple);
}
