:root {
  --noir: #100E0C;
  --bg-surface: #1A1611;
  --bg-elevated: #221C15;
  --border-subtle: #2A241D;
  --border-strong: #4A4236;
  --text-primary: #ECE6D8;
  --text-secondary: #8C857A;
  --text-tertiary: #6A655B;
  --brass: #E8192C;
  --brass-light: #FF4D5C;
  --on-brass: #FFFFFF;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--noir);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

header.site-header {
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: rgba(16, 14, 12, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}

header.site-header .wrap {
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

nav.site-nav {
  display: flex;
  gap: 24px;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

nav.site-nav a:hover { color: var(--text-primary); }

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 88px 0 64px;
}

.hero .icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  margin-bottom: 28px;
  box-shadow: 0 12px 40px rgba(232, 25, 44, 0.25);
}

.hero h1 {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero p.tagline {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brass);
  color: var(--on-brass);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 12px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.appstore-badge:hover { background: var(--brass-light); transform: translateY(-1px); }

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
}

.secondary-btn:hover { border-color: var(--text-secondary); }

/* ── Features grid ───────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0 96px;
}

@media (max-width: 700px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
}

.feature-card .emoji {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 700;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── Content pages (support / privacy / terms) ──────────────────────── */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 0 96px;
}

.page h1 {
  font-size: 30px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.page .updated {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-bottom: 40px;
}

.page section {
  margin-bottom: 32px;
}

.page h2 {
  font-size: 17px;
  margin: 0 0 12px;
  font-weight: 700;
}

.page p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 12px;
}

.page ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.page li {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 6px;
}

.page strong { color: var(--text-primary); }

.page a.inline-link {
  color: var(--brass-light);
  text-decoration: underline;
}

/* ── Support page specifics ──────────────────────────────────────────── */
.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-card .contact-text h2 { margin-bottom: 4px; }
.contact-card .contact-text p { margin: 0; }

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 15px;
  margin: 0 0 8px;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
  margin-top: 40px;
}

footer.site-footer .wrap {
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site-footer .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

footer.site-footer a {
  text-decoration: none;
  color: var(--text-tertiary);
  font-size: 13px;
}

footer.site-footer a:hover { color: var(--text-secondary); }

footer.site-footer .copyright {
  color: var(--text-tertiary);
  font-size: 13px;
}
