:root {
  --bg: #070b14;
  --bg-alt: #0c1220;
  --card: #121826;
  --card-hover: #161f33;
  --text: #e8edf5;
  --muted: #94a3b8;
  --accent: #c2a878;
  --accent2: #7c3aed;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --gold-glow: rgba(194, 168, 120, 0.25);
  --border: rgba(148, 163, 184, 0.18);
  --callout-info: rgba(59, 130, 246, 0.12);
  --callout-warn: rgba(245, 158, 11, 0.12);
  --callout-danger: rgba(239, 68, 68, 0.12);
  --radius: 16px;
  --wrap: 820px;
  --wrap-wide: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

body.home {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(194, 168, 120, 0.08), transparent),
    var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

body.home .wrap { max-width: var(--wrap-wide); }

/* ── Header ── */
header, .site-header {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .wrap, .site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover { text-decoration: none; opacity: 0.9; }

.logo-mark {
  color: var(--accent);
  font-size: 1.1rem;
}

nav, .site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.84rem;
}

nav a, .site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover, .site-nav a:hover { color: var(--text); text-decoration: none; }
nav a.active, .site-nav a.active { color: var(--accent); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Main layout ── */
main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

body.home main {
  max-width: none;
  padding: 0;
}

/* ── Hero (homepage) ── */
body.home .hero {
  position: relative;
  text-align: center;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

body.home .hero h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent2), #5b21b6);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover { box-shadow: 0 6px 32px var(--accent-glow); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(18, 24, 38, 0.6);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-trust li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

/* Legacy hero (policy pages fallback) */
.hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.hero .tagline { color: var(--accent); font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.hero p { color: var(--muted); max-width: 540px; margin: 0 auto 1.5rem; }

/* ── Sections ── */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(12, 18, 32, 0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.section-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Glow cards ── */
.glow-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.glow-card:hover {
  border-color: rgba(194, 168, 120, 0.35);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(194, 168, 120, 0.08);
  transform: translateY(-2px);
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}

.feature-card {
  padding: 1.5rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.about-copy p { color: #cbd5e1; margin-bottom: 0.85rem; }

.about-list {
  list-style: none;
  margin-top: 1.25rem;
}

.about-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.about-panel {
  padding: 1.75rem;
}

.about-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.product-list {
  list-style: none;
}

.product-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.product-list li:last-child { border-bottom: none; }

.product-list strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.product-list span {
  font-size: 0.84rem;
  color: var(--muted);
}

.about-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── Phone mockups ── */
.mockup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-end;
}

.phone-mockup {
  text-align: center;
  padding: 1.25rem 1rem 1rem;
  flex: 0 1 220px;
}

.phone-mockup.featured {
  transform: scale(1.06);
}

.phone-mockup.featured:hover { transform: scale(1.06) translateY(-2px); }

.phone-frame {
  background: #1a2235;
  border: 2px solid rgba(148, 163, 184, 0.25);
  border-radius: 28px;
  padding: 10px 8px 12px;
  margin: 0 auto 0.85rem;
  width: 180px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: #0a0e17;
  border-radius: 6px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: linear-gradient(180deg, #0f1525 0%, #121826 100%);
  border-radius: 20px;
  padding: 14px 12px;
  min-height: 260px;
  text-align: left;
}

.mock-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.mock-chart {
  width: 100%;
  aspect-ratio: 1;
  max-width: 120px;
  margin: 0 auto 12px;
  border: 1px solid rgba(194, 168, 120, 0.3);
  border-radius: 50%;
  background:
  radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
  conic-gradient(from 0deg, rgba(194, 168, 120, 0.15) 0deg 90deg, transparent 90deg 180deg, rgba(124, 58, 237, 0.15) 180deg 270deg, transparent 270deg);
}

.mock-line {
  height: 6px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 4px;
  margin-bottom: 8px;
}

.mock-line.short { width: 65%; }

.mock-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.mock-bars span {
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 4px;
  opacity: 0.7;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.mock-grid span {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.phone-mockup figcaption {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Trust / payments ── */
.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.trust-copy h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.trust-copy p { color: #cbd5e1; margin: 0; }

.trust-badges { padding: 1.5rem; }

.badge-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
}

.badge-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* ── Cards (shared) ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.policy-cards { margin: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}

.card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }

.card a.btn, .card a.btn-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.card a.btn-link:hover { text-decoration: underline; }

/* ── Policy pages ── */
.doc-header { margin-bottom: 1.5rem; }
.doc-header h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.35rem; }
.doc-header .sub { color: var(--muted); font-size: 0.95rem; }
.doc-header .updated {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
}

.callout {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
}
.callout.info { background: var(--callout-info); border-color: rgba(59, 130, 246, 0.25); }
.callout.warn { background: var(--callout-warn); border-color: rgba(245, 158, 11, 0.3); }
.callout.danger { background: var(--callout-danger); border-color: rgba(239, 68, 68, 0.3); }

section:not(.section) { margin-top: 1.75rem; }
section:not(.section) h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text);
}

p { margin-bottom: 0.75rem; color: #cbd5e1; }
ul:not(.hero-trust):not(.about-list):not(.product-list):not(.contact-list):not(.site-footer ul) {
  margin: 0 0 0.75rem 1.1rem;
  color: #cbd5e1;
}
li { margin-bottom: 0.45rem; }

/* ── Contact ── */
.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 2rem;
}

body.home .contact-box {
  margin-top: 0;
  padding: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.contact-grid h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-list {
  list-style: none;
  margin: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin: 0;
}

/* ── Footer ── */
footer, .site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.84rem;
  background: rgba(7, 11, 20, 0.95);
}

footer .links { margin-bottom: 0.5rem; text-align: center; }
footer .links a { margin: 0 0.5rem; color: var(--muted); }

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  margin-top: 0.65rem;
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a { color: var(--muted); font-size: 0.84rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.footer-legal { color: var(--muted); opacity: 0.85; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid,
  .trust-grid,
  .contact-grid,
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup.featured { transform: none; }
  .phone-mockup.featured:hover { transform: translateY(-2px); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 11, 20, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }

  .site-nav.open { display: flex; }

  .site-header { position: relative; }
  .site-header .wrap { position: relative; flex-wrap: wrap; }

  body.home .hero { padding: 3rem 0 2.5rem; }

  .section { padding: 2.75rem 0; }

  .feature-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow-card:hover, .btn:hover { transform: none; }
}
