:root {
  --accent: #2E7DFF;
  --accent-dark: #1E5FD6;
  --ink: #1A2238;
  --bg: #FFFFFF;
  --surface: #F5F8FC;
  --muted: #5B6478;
  --border: #E4EAF2;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(26, 34, 56, 0.12);
  --shadow-sm: 0 4px 16px rgba(26, 34, 56, 0.08);
  --maxw: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--surface { background: var(--surface); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.lead { font-size: 1.2rem; color: var(--muted); }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  cursor: pointer; transition: transform .08s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--store { flex-direction: column; align-items: flex-start; padding: 10px 20px; }
.btn--store small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.btn:disabled { opacity: .75; cursor: default; }
.btn:disabled:hover { transform: none; box-shadow: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.nav__brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a { color: var(--ink); font-weight: 500; }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.badges { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: .95rem; }
.badges span { display: inline-flex; align-items: center; gap: 6px; }

/* Device frame */
.device-frame {
  background: #0e1220; border-radius: 36px; padding: 12px;
  box-shadow: var(--shadow); max-width: 300px; margin: 0 auto;
}
.device-frame img { border-radius: 26px; width: 100%; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.4rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.gallery button { border: 0; background: none; padding: 0; cursor: zoom-in; }

/* Privacy band */
.checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* Prose (support/privacy) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.footer { background: var(--ink); color: #cdd4e4; padding: 48px 0; }
.footer a { color: #fff; }
.footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,14,26,.9); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 12px; }

/* Responsive */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
  .nav__links { position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--border); display: none; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 24px; width: 100%; border-top: 1px solid var(--border); }
  .nav__toggle { display: block; }
}
@media (max-width: 520px) {
  .grid, .checks { grid-template-columns: 1fr; }
}

/* Donation */
.donate { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.donate__btc { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.donate__btc img { width: 116px; height: 116px; border-radius: 8px; background: #fff; padding: 4px; }
.donate__btc strong { display: block; margin-bottom: 4px; }
.donate__btc code { display: block; font-size: .82rem; word-break: break-all; max-width: 240px; margin: 0 0 10px; color: var(--ink); }

@media (max-width: 520px) {
  .donate__btc { flex-direction: column; align-items: flex-start; }
}
