:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --fg-muted: #555;
  --accent: #d65a31;
  --accent-soft: #fdece5;
  --border: #ececec;
  --max: 880px;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --fg: #f5f5f7;
    --fg-muted: #a8a8ad;
    --accent: #ff7a4a;
    --accent-soft: #2a1812;
    --border: #1f1f23;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

nav {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .brand {
  font-weight: 600;
  color: var(--fg);
  font-size: 18px;
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

nav ul a { color: var(--fg-muted); }
nav ul a:hover { color: var(--accent); }

.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero .icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 24px;
  /* Replace with an actual <img src="icon.png"> in production. */
}

h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.tagline {
  font-size: 20px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.cta a {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  background: var(--fg);
  color: var(--bg);
}
.cta a.secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.cta a:hover { text-decoration: none; opacity: 0.9; }

section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

h2 {
  font-size: 28px;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
}

.pitch {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 760px) {
  .pitch { grid-template-columns: 1fr 1fr; }
}

.screenshot {
  aspect-ratio: 9 / 19.5;
  background: var(--accent-soft);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Screenshot gallery */

.gallery-section h2 { text-align: center; }

.gallery-lead {
  color: var(--fg-muted);
  text-align: center;
  max-width: 560px;
  margin: -8px auto 40px;
}

.gallery {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--fg-muted);
}

.privacy-banner {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.privacy-banner h2 { margin-bottom: 8px; }
.privacy-banner p { color: var(--fg-muted); margin: 0; }

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--fg-muted);
}
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--fg-muted); margin: 12px 0 0; }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--fg-muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer a { color: var(--fg-muted); }
footer a:hover { color: var(--accent); }

/* Article (privacy / support pages) */

.article {
  padding: 40px 0 80px;
}
.article h1 { font-size: 32px; margin-bottom: 8px; }
.article .meta {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.article h2 { font-size: 22px; margin-top: 40px; }
.article h3 { font-size: 17px; margin-top: 24px; }
.article ul { padding-left: 22px; }
.article table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 15px;
}
.article th, .article td {
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.article code {
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
