* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #040508;
  --bg-raised: #0b0e15;
  --fg: #e8eaed;
  --muted: #9aa0a6;
  --accent: #5eead4;
  --border: #1f2430;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 2.75rem;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .nav-brand img { height: 2.25rem; }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--accent); }

/* ---------- Layout ---------- */

main { flex: 1; width: 100%; }

.section {
  max-width: 64rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section + .section { border-top: 1px solid var(--border); }

.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin-bottom: 1.5rem;
}

.section p { color: var(--muted); max-width: 44rem; }

.section p + p { margin-top: 1rem; }

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.logo {
  width: min(28rem, 88vw);
  height: auto;
  margin-bottom: 1.25rem;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 2.25rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Product cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.card p { color: var(--muted); font-size: 0.95rem; }

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}

/* ---------- Values / how we work ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.values h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.values p { font-size: 0.92rem; }

/* ---------- FAQ ---------- */

.faq details {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--bg-raised);
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq details[open] summary::after { content: "\2212"; }

.faq details p { margin-top: 0.6rem; }

/* ---------- Prose pages (privacy, terms, support) ---------- */

.prose {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.prose h1 { font-size: clamp(1.6rem, 4vw, 2rem); margin-bottom: 0.5rem; }

.prose .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 2rem; }

.prose h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }

.prose p, .prose li { color: var(--muted); }

.prose ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }

.prose a { color: var(--accent); }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--accent); }

@media (max-width: 480px) {
  .nav-links { gap: 1rem; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; }
}
