:root {
  --accent-from: #ff8a3d;
  --accent-to: #e8385d;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --border: #d2d2d7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --bg: #1d1d1f;
    --bg-subtle: #2c2c2e;
    --border: #424245;
  }
}

* {
  box-sizing: border-box;
}

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

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}

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

a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 16px 0 8px;
}

h2 {
  font-size: 22px;
  margin: 48px 0 12px;
}

p {
  margin: 12px 0;
}

.subtle {
  color: var(--text-secondary);
}

.footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

/* App icon */
.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22%;
}

/* Primary download button */
.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent-from), var(--accent-to));
  color: #fff;
  font-weight: 600;
  font-size: 17px;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.button-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.button-secondary {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--bg-subtle);
  filter: none;
}

/* App cards on the index page */
.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
}

.app-card:hover {
  text-decoration: none;
  background: var(--bg-subtle);
}

.app-card img {
  width: 56px;
  height: 56px;
  border-radius: 22%;
}

.app-card .name {
  font-weight: 600;
  font-size: 19px;
}

.app-card .tagline {
  color: var(--text-secondary);
  font-size: 15px;
}

.screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

ul {
  padding-left: 22px;
}

li {
  margin: 6px 0;
}
