:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #f97316;
  --accent-dark: #c2410c;
  --hero-from: #0f172a;
  --hero-to: #1e3a5f;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 6%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #111827;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: #1f2937;
    --accent: #fb923c;
    --accent-dark: #fdba74;
    --hero-from: #020617;
    --hero-to: #0f2744;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(15 23 42 / 92%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.brand:hover { color: #fff; }
.brand-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}
.site-header nav { display: flex; gap: 4px; }
.site-header nav a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 15px;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: #fff;
  background: rgb(255 255 255 / 10%);
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgb(249 115 22 / 25%), transparent 45%),
    linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: #f1f5f9;
  padding: 88px 0 96px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 14px;
  border: 1px solid rgb(249 115 22 / 50%);
  border-radius: 999px;
  color: #fdba74;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
}
.hero .lead {
  max-width: 640px;
  margin: 0 auto 36px;
  color: #cbd5e1;
  font-size: 1.15rem;
}

/* Store buttons */
.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 10px 22px;
  background: #000;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(0 0 0 / 30%);
}
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn span {
  display: flex;
  flex-direction: column;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: left;
}
.store-btn small {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: -48px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 2rem; line-height: 1; }
.card h2 { margin: 16px 0 8px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

/* Screenshots */
.screenshots { padding-top: 72px; text-align: center; }
.screenshots h2 { font-size: 1.8rem; margin: 0 0 8px; }
.section-lead { max-width: 560px; margin: 0 auto 28px; color: var(--muted); }
.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
}
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Audience */
.audience { padding: 72px 20px 24px; max-width: 760px; }
.audience h2 { font-size: 1.8rem; text-align: center; margin: 0 0 28px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding: 16px 20px 16px 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* CTA */
.cta { padding: 56px 0 88px; text-align: center; }
.cta .wrap {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: #f1f5f9;
  border-radius: 24px;
  padding: 48px 24px;
  max-width: 1000px;
}
.cta h2 { margin: 0 0 8px; font-size: 1.8rem; }
.cta p { margin: 0 0 28px; color: #cbd5e1; }

/* Content pages */
.page { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin: 0 0 12px; }
.page h2 { margin-top: 40px; font-size: 1.4rem; }
.page .lead { color: var(--muted); font-size: 1.15rem; }
.contact-card {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}
.contact-card p { margin: 4px 0; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.footer-inner p { margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .nav { justify-content: center; padding: 10px 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 64px 0 80px; }
  .store-btn { width: 100%; justify-content: center; }
  .footer-inner { justify-content: center; text-align: center; }
}
