:root {
  --bg: #0f0f10;
  --text: #f2f2f2;
  --muted: #b5b5b5;
  --border: #242426;
  --max: 1000px;
}

* {
  box-sizing: border-box;
}

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

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

a:hover {
  text-decoration: underline;
}

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

.header {
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.nav nav a {
  margin-left: 1.2rem;
  color: var(--muted);
}

.brand {
  font-weight: 600;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-text {
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  background: #1a1a1c;
}

.section {
  padding: 3rem 0;
}

.narrow {
  max-width: 600px;
}

h2 {
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

/* Responsive grid */
@media (min-width: 700px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.features-grid h3 {
  margin-bottom: 0.5rem;
}

.features-grid p {
  color: var(--muted);
  margin: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--muted);
  gap: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.screens-grid img {
  width: 100%;
  max-width: 300px;   /* limits large desktop size */
  margin: 0 auto;
  border-radius: 16px; /* optional – nice app-store feel */
}