/* Shared styles for secondary pages (features, download, faq, about, terms, contact).
   index.html and privacy.html have their own inlined styles; this file matches
   their look so the secondary pages stay visually consistent without forcing a
   refactor of the originals. */
:root {
  --bg: #08090a;
  --surface: rgba(18,20,16,0.72);
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);
  --text: #f5f5f0;
  --muted: #8a8a80;
  --muted-2: #52524a;
  --accent: #b6f36b;
  --accent-soft: rgba(182,243,107,0.12);
  --accent-ring: rgba(182,243,107,0.45);
  --font-ui: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 22px;
  --radius-pill: 999px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* Ambient */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient__blob { position: absolute; border-radius: 50%; filter: blur(200px); background: var(--accent); }
.ambient__blob--a { width: 700px; height: 700px; top: -250px; left: -150px; opacity: 0.10; }
.ambient__blob--b { width: 500px; height: 500px; bottom: -180px; right: -120px; opacity: 0.07; }
.ambient__grain {
  position: absolute; inset: 0; opacity: 0.03; mix-blend-mode: overlay;
  background-image: radial-gradient(1px 1px at 30% 40%, #fff 40%, transparent 41%), radial-gradient(1px 1px at 70% 70%, #fff 40%, transparent 41%);
  background-size: 3px 3px, 5px 5px;
}

/* Nav */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  padding: 20px 0; border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px); background: rgba(8,9,10,0.7);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.nav__logo img { display: block; width: 32px; height: 32px; }
.nav__wordmark { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.nav__brand a { color: inherit; text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 14px; color: var(--muted); font-weight: 500; transition: color 150ms; text-decoration: none; }
.nav__link:hover { color: var(--text); text-decoration: none; }
.nav__link--active { color: var(--accent); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-pill);
  background: var(--accent); color: #0a0b07 !important;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: box-shadow 160ms, transform 160ms;
}
.nav__cta:hover { box-shadow: 0 0 0 4px var(--accent-ring); transform: translateY(-1px); text-decoration: none; }
@media (max-width: 900px) { .nav__links { display: none; } .nav__inner { padding: 0 24px; } }

/* Page shell */
.page { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 48px 120px; }
@media (max-width: 768px) { .page { padding: 0 24px 80px; } }

.page-header { padding: 80px 0 56px; border-bottom: 1px solid var(--border); margin-bottom: 64px; }
.page-header__eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
}
.page-header__title {
  font-size: clamp(40px, 5vw, 68px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 20px;
  text-wrap: balance;
}
.page-header__title em { font-style: normal; color: var(--accent); }
.page-header__sub {
  font-size: 18px; color: var(--muted); max-width: 700px; line-height: 1.6;
  margin: 0; text-wrap: pretty;
}
.page-header__meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-2);
  letter-spacing: 0.08em; margin-top: 24px;
}
.page-header__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* Sections */
.section-block { margin-bottom: 64px; scroll-margin-top: 100px; }
.section-block:last-child { margin-bottom: 0; }
.section-block__num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--muted-2); margin-bottom: 14px;
}
.section-block__title {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 20px; line-height: 1.15;
}
.section-block p {
  font-size: 16px; line-height: 1.75; color: rgba(245,245,240,0.85);
  margin: 0 0 18px;
}
.section-block ul, .section-block ol {
  font-size: 16px; line-height: 1.75; color: rgba(245,245,240,0.85);
  padding-left: 22px; margin: 0 0 18px;
}
.section-block li { margin-bottom: 6px; }
.section-block strong { color: var(--text); font-weight: 600; }
.section-block a { color: var(--accent); }

.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 15px; line-height: 1.65; color: var(--text);
}
.callout .mono { font-size: 12px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }

/* Card grids */
.card-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 16px;
}
@media (max-width: 768px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px;
  transition: border-color 200ms;
}
.card:hover { border-color: rgba(182,243,107,0.18); }
.card__label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--muted-2); margin-bottom: 12px; text-transform: uppercase;
}
.card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; }
.card__body { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }
.card--wide { grid-column: span 2; }
@media (max-width: 768px) { .card--wide { grid-column: span 1; } }

/* Steps */
.steps {
  display: flex; flex-direction: column; gap: 0; margin-top: 16px;
  border-left: 1px solid var(--border); padding-left: 28px; position: relative;
}
.step-item { position: relative; padding-bottom: 36px; }
.step-item:last-child { padding-bottom: 0; }
.step-item::before {
  content: ''; position: absolute; left: -34px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(8,9,10,1), 0 0 0 5px var(--border);
}
.step-item__num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 8px;
}
.step-item__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.step-item__body { font-size: 15px; color: rgba(245,245,240,0.78); line-height: 1.65; margin: 0; }

/* FAQ */
details.faq {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px;
  background: rgba(255,255,255,0.015);
  transition: border-color 200ms;
}
details.faq[open] { border-color: rgba(182,243,107,0.25); }
details.faq summary {
  font-size: 16px; font-weight: 500; color: var(--text);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+'; font-family: var(--font-mono); color: var(--accent);
  font-size: 18px; transition: transform 200ms;
}
details.faq[open] summary::after { content: '−'; }
details.faq[open] summary { margin-bottom: 12px; }
details.faq p {
  font-size: 15px; line-height: 1.7; color: rgba(245,245,240,0.78);
  margin: 0 0 10px;
}
details.faq p:last-child { margin: 0; }

/* Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--accent-soft); border: 1px solid rgba(182,243,107,0.18);
  color: var(--accent);
}
.tag--neutral { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--muted); }

/* Contact card */
.contact-card {
  margin-top: 16px; padding: 24px 28px;
  border: 1px solid var(--border); border-radius: 18px;
  background: rgba(255,255,255,0.02);
  display: flex; flex-direction: column; gap: 8px;
}
.contact-card__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted-2); text-transform: uppercase; }
.contact-card__email { font-size: 18px; font-weight: 500; color: var(--accent); word-break: break-all; }
.contact-card__note { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px;
  background: var(--accent); color: #0a0b07; text-decoration: none;
  font-size: 15px; font-weight: 600;
  transition: transform 160ms, box-shadow 160ms;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px var(--accent-ring); text-decoration: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px;
  background: transparent; color: var(--text); text-decoration: none;
  border: 1px solid var(--border-strong);
  font-size: 15px; font-weight: 500;
  transition: background 150ms;
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); text-decoration: none; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Footer */
footer.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border); padding: 48px 0;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.footer__logo img { display: block; width: 26px; height: 26px; }
.footer__wordmark { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.footer__brand a { color: inherit; text-decoration: none; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__link { font-size: 13px; color: var(--muted); transition: color 150ms; text-decoration: none; }
.footer__link:hover { color: var(--text); text-decoration: none; }
.footer__copy { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
@media (max-width: 768px) { .footer__inner { padding: 0 24px; flex-direction: column; align-items: flex-start; } }
