:root {
  color-scheme: light dark;

  --bg: #f7f7fb;
  --surface: #ffffff;
  --text: #222222;
  --muted: #5f6368;
  --heading: #101114;
  --link: #0066cc;
  --border: #e5e7eb;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111216;
    --surface: #1a1c22;
    --text: #e8e8ea;
    --muted: #b9bdc6;
    --heading: #ffffff;
    --link: #7ab7ff;
    --border: #2f333d;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  }
}

* {
  box-sizing: border-box;
}

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

.page {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 48px 0;
}

.narrow {
  width: min(100% - 32px, 760px);
}

.hero {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.lead {
  max-width: 680px;
  font-size: 1.15rem;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}

h1,
h2 {
  color: var(--heading);
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h2 {
  margin-top: 0;
}

a {
  color: var(--link);
  font-weight: 600;
}

ol,
ul {
  padding-left: 1.4rem;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .screenshots {
    grid-template-columns: 1fr;
  }
}
