:root {
  --bg: #0b0b10;
  --bg-elev: #14141c;
  --bg-elev-2: #1a1a24;
  --border: #262633;
  --text: #f4f4f8;
  --text-dim: #b9b5d8;
  --text-mute: #918cae;
  --accent: #8b7bff;
  --accent-strong: #5f51f0;
  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.hero-badge:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--bg-elev-2);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}
.icon { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -0.18em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-dim); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.accent { color: var(--accent); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--text-mute);
  margin: 0 0 0.8em;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 16, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--text); }
.brand-mark { font-size: 1.3rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a { color: var(--text-dim); font-size: 0.95rem; }
.nav-links > a:hover { color: var(--text); text-decoration: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #1b1730 0%, transparent 60%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  transition: border-color 0.15s, color 0.15s;
}
.hero-badge:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 60ch; font-size: 1.12rem; }
.hero .lead strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 8px 0 22px; }
.chips {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0 0 40px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.chips li .icon { width: 1em; height: 1em; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.shots figure { margin: 0; }
.shots img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.shots figcaption { text-align: center; font-size: 0.85rem; color: var(--text-mute); margin-top: 8px; }

/* Sections */
.problem, .features, .how, .privacy, .faq { padding: 72px 0; border-top: 1px solid var(--border); }
.features h2, .how h2 { text-align: center; margin-bottom: 40px; }

.feature-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps li {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.how-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.privacy p { font-size: 1.08rem; }
.privacy strong { color: var(--text); }

/* FAQ accordion (native <details>) */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 18px;
}
.accordion summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.accordion details[open] summary::after { content: "\2212"; }
.accordion details p { padding-bottom: 14px; margin: 0; }

/* Trust band */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}
.trust-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trust-grid li { display: flex; gap: 12px; align-items: flex-start; }
.t-icon { font-size: 1.5rem; line-height: 1.2; flex-shrink: 0; }
.trust-grid strong { display: block; color: var(--text); font-size: 0.98rem; margin-bottom: 2px; }
.trust-grid span { color: var(--text-mute); font-size: 0.88rem; }

/* Languages */
.languages { padding: 72px 0; border-top: 1px solid var(--border); text-align: center; }
.lang-chips {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.lang-chips li {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* Get involved */
.involve { padding: 72px 0; border-top: 1px solid var(--border); }
.involve h2 { text-align: center; max-width: 18ch; margin: 0 auto 8px; }
.involve-lead { text-align: center; max-width: 60ch; margin: 0 auto 32px; }
.involve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.involve-grid .card p:last-child { margin-bottom: 0; }
.muted { color: var(--text-mute); font-size: 0.9rem; margin: 10px 0 0; }
.muted a { color: var(--text-mute); }
.muted a:hover { color: var(--text-dim); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.footer-brand { font-weight: 600; color: var(--text); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-dim); font-size: 0.92rem; }
.copyright { color: var(--text-mute); font-size: 0.85rem; margin: 0; }

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-links.open {
    max-height: 420px;
    visibility: visible;
    transition: max-height 0.25s ease, visibility 0s linear 0s;
  }
  .nav-links > a,
  .nav-links .btn { border-radius: 0; padding: 14px 24px; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin: 0; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .involve-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transform: none !important; transition: none !important; }
}
