* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html { scroll-behavior: smooth; }
body { background-color: #ffffff; }
.display-title {
  font-family: 'Fraunces', 'Inter', serif;
  font-optical-sizing: auto;
}
.money-grad {
  background: linear-gradient(101deg, #1e3a8a 0%, #2563eb 33%, #1684b8 62%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.soft-shadow {
  box-shadow:
    0 32px 80px -18px rgba(15, 23, 42, 0.18),
    0 14px 34px -14px rgba(37, 99, 235, 0.10),
    0 1px 2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.glass-frame {
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226,232,240,0.95);
}
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, #dbe3ef 18%, #d4deea 82%, transparent);
}
.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp .82s cubic-bezier(.22,1,.36,1) forwards;
}
.fade-up.d1 { animation-delay: .08s; }
.fade-up.d2 { animation-delay: .18s; }
.fade-up.d3 { animation-delay: .28s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Ambient background used on every page */
.ambient { position: fixed; inset: 0; z-index: -10; overflow: hidden; pointer-events: none; }
.ambient .blue { position:absolute; top:-6rem; right:-7rem; width:520px; height:420px; border-radius:9999px; filter:blur(130px); background: radial-gradient(ellipse at center, rgba(59,130,246,0.15) 0%, rgba(37,99,235,0.08) 45%, transparent 72%); }
.ambient .green { position:absolute; bottom:-8rem; left:-7rem; width:500px; height:410px; border-radius:9999px; filter:blur(130px); background: radial-gradient(ellipse at center, rgba(16,185,129,0.11) 0%, rgba(5,150,105,0.06) 45%, transparent 72%); }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226,232,240,0.9);
}
.nav-link {
  position: relative;
  color: #475569;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  padding-bottom: 4px;
  transition: color .15s ease;
}
.nav-link:hover { color: #0f172a; }
.nav-link.active { color: #0f172a; }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2563eb, #059669);
}
.site-logo {
  height: 36px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .site-logo { height: 40px; }
}

/* Footer */
.site-footer { position: relative; z-index: 10; }
.footer-link { color:#64748b; }
.footer-link:hover { color:#0f172a; }

/* Blog cards */
.blog-card {
  background:#fff;
  border:1px solid #e7ecf3;
  border-radius: 18px;
  overflow: hidden;
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease, border-color .18s ease;
  display:flex; flex-direction:column;
}
.blog-card:hover { transform: translateY(-4px); border-color:#c7d7f5; }
.blog-card .thumb {
  aspect-ratio: 16/10;
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.source-chip {
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 9999px;
  background: rgba(255,255,255,0.92); color:#0f172a;
  position:absolute; top:12px; left:12px;
  border: 1px solid rgba(15,23,42,0.08);
}

/* Page hero (non-home pages) */
.page-hero { padding: 64px 0 40px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #2563eb;
}

/* FAQ accordion */
.faq-item { border-bottom: 1px solid #e7ecf3; }
.faq-q {
  width:100%; text-align:left; display:flex; align-items:center; justify-content:space-between;
  padding: 20px 4px; font-size: 15.5px; font-weight: 600; color:#0f172a; letter-spacing:-0.01em;
  background:none; border:none; cursor:pointer;
}
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .28s ease;
  color:#64748b; font-size: 14.5px; line-height: 1.65; padding: 0 4px;
}
.faq-item.open .faq-a { padding-bottom: 18px; }
.faq-chevron { transition: transform .22s ease; flex-shrink:0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* Ensure nav behaves correctly */
.site-nav nav {
  display: none;
}

@media (min-width: 768px) {
  .site-nav nav {
    display: flex;
  }
}

/* Mobile menu links: visually match the desktop .nav-link so About,
   FAQs and Join Beta all read as the same kind of nav item on mobile.
   No boxed CTA — Join Beta is identical to About / FAQs. */
.mobile-nav-link {
  display: block;
  padding: 10px 0;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #475569;
  transition: color .15s ease;
}
.mobile-nav-link:hover { color: #0f172a; }
.mobile-nav-link.active { color: #0f172a; }
.mobile-nav-link.active::after {
  content: '';
  display: block;
  height: 2px;
  border-radius: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, #2563eb, #059669);
}
