:root {
  --bg: #111113;
  --panel: #1a1a1c;
  --panel-2: #1a1a1c;
  --text: #f0f0f0;
  --muted: #a0a0a8;
  --brand: #7c5cff;
  --brand-2: #2dd4bf;
  --border: #2a2a2e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}
.container { width: min(1200px, 92%); margin: 0 auto; }
.topbar { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--border); z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; gap: 1rem; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; display: flex; gap: .4rem; align-items: center; font-size: 15px; }
.nav { display: flex; gap: 1.2rem; }
.nav a, .footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav a:hover, .footer a:hover { color: var(--text); }
.btn {
  background: var(--brand);
  color: white;
  text-decoration: none;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  border: 1px solid var(--brand);
  font-size: 14px;
  transition: opacity 150ms ease;
}
.btn:hover { opacity: 0.85; }
.btn-sm { padding: .45rem .75rem; font-size: 13px; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); opacity: 1; }
.hero { padding: 4rem 0 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 .8rem; font-weight: 700; }
.lead { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 1rem; }
.cta-row { display: flex; gap: .6rem; margin: 1.2rem 0 0; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.hero-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.hero-card img { width: 100%; display: block; }
.section { padding: 3rem 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 1.2rem; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.card {
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.card h3 { margin: .2rem 0 .4rem; font-size: 15px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.step span {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
}
.step h3 { margin: .6rem 0 .3rem; font-size: 15px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.step code { background: var(--bg); padding: .1rem .35rem; border-radius: 4px; font-size: .85em; border: 1px solid var(--border); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.gallery img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); display: block; }
.cta-panel {
  padding: 1.5rem;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.cta-panel p { color: var(--muted); font-size: 15px; }
.footer { border-top: 1px solid var(--border); padding: 1rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer div { display: flex; gap: 1rem; }

.faq { display: grid; gap: .6rem; }
details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
}
summary { cursor: pointer; font-weight: 600; font-size: 15px; }
details p { color: var(--muted); margin: .5rem 0 .15rem; line-height: 1.55; font-size: 14px; }

/* Trust section */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.trust-item { text-align: center; }
.trust-icon { font-size: 1.5rem; display: block; margin-bottom: .35rem; }
.trust-item h3 { margin: 0 0 .25rem; font-size: 14px; font-weight: 600; }
.trust-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 900px) {
  .hero-grid, .cards, .steps, .gallery { grid-template-columns: 1fr 1fr; }
  .steps.steps-4 { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .nav { display: none; }
  .topbar-inner { gap: .5rem; }
}

/* Legal / policy pages */
.legal-content { max-width: 720px; }
.legal-content h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.25rem; }
.legal-content .lead { color: var(--muted); font-size: 14px; margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
.legal-content p { color: var(--muted); line-height: 1.65; margin: 0 0 1rem; font-size: 14px; }
.legal-content ul { color: var(--muted); line-height: 1.65; margin: 0 0 1rem; padding-left: 1.25rem; font-size: 14px; }
.legal-content li { margin-bottom: 0.3rem; }
.legal-content a { color: var(--brand-2); }
.legal-content .back-link { margin-top: 2rem; }

@media (max-width: 620px) {
  .hero-grid, .cards, .steps, .steps.steps-4, .gallery { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner { flex-wrap: wrap; }
  .btn-sm { width: 100%; text-align: center; }
  .hero { padding-top: 2rem; }
}
