/* Money Brain — public landing. Self-contained, no external assets. */
:root {
  --bg: #0a0e14;
  --bg-alt: #0d121b;
  --panel: #111825;
  --panel-2: #131b2a;
  --border: #1e2a3d;
  --border-soft: #18222f;
  --text: #e8edf5;
  --text-soft: #a7b3c6;
  --text-dim: #7c8aa0;
  --accent: #5e7cff;
  --accent-2: #57e6c8;
  --accent-soft: rgba(94, 124, 255, 0.14);
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #05070c;
  padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: 0.2px; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { font-size: 1.02rem; }
.nav-links { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--text-soft); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; color: var(--text) !important;
}
.nav-cta:hover { border-color: var(--accent); background: var(--accent-soft); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: 0.2s; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #6a86ff, #5470f0); color: #060913; box-shadow: 0 10px 24px -12px rgba(94,124,255,0.8); }
.btn-primary:hover { background: linear-gradient(180deg, #7c95ff, #6079ff); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.email { word-break: break-word; }

/* Hero */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 620px; z-index: 0;
  background:
    radial-gradient(680px 320px at 22% 8%, rgba(94,124,255,0.16), transparent 60%),
    radial-gradient(560px 300px at 82% 0%, rgba(87,230,200,0.10), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; max-width: 880px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft);
  background: var(--panel);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(87,230,200,0.14); }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.04; margin: 0 0 14px; letter-spacing: -0.02em; font-weight: 700; }
.tagline { font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--text); font-weight: 600; margin: 0 0 22px; }
.lede { font-size: 1.08rem; color: var(--text-soft); max-width: 720px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.pipeline {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0;
}
.pipeline li {
  font-size: 0.82rem; color: var(--text-soft); background: var(--panel);
  border: 1px solid var(--border-soft); padding: 8px 13px; border-radius: 8px;
  position: relative;
}
.pipeline li:not(:last-child)::after {
  content: "→"; color: var(--text-dim); margin-left: 12px; position: absolute; right: -16px; top: 8px;
}
@media (max-width: 620px) { .pipeline li::after { display: none !important; } }

/* Sections */
.section { padding: 84px 0; border-top: 1px solid var(--border-soft); }
.section-alt { background: var(--bg-alt); }
.eyebrow { color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 12px; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; margin: 0 0 22px; letter-spacing: -0.015em; }
h3 { font-size: 1.12rem; margin: 0 0 8px; }
.minor { font-size: 0.98rem; color: var(--text); margin: 26px 0 12px; }
.section-lede { color: var(--text-soft); font-size: 1.05rem; max-width: 760px; margin: 0 0 22px; }
.section-lede.small { font-size: 0.98rem; }
.fineprint { color: var(--text-dim); font-size: 0.86rem; max-width: 560px; margin: 14px 0 0; }
.meta-line { color: var(--text-soft); margin-top: 18px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Grids & cards */
.grid { display: grid; gap: 18px; }
.grid-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 34px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); transition: transform 0.18s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: #2a3a55; }
.card-num { font-size: 0.8rem; font-weight: 700; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 12px; }
.card p { color: var(--text-soft); margin: 0; font-size: 0.96rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.grid-two { grid-template-columns: 1fr 1fr; margin: 8px 0 20px; }

.ticks { list-style: none; padding: 0; margin: 10px 0 0; }
.ticks li { position: relative; padding: 8px 0 8px 28px; color: var(--text-soft); border-bottom: 1px solid var(--border-soft); font-size: 0.97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px;
  border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg);
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 6px; }
.chip {
  font-size: 0.85rem; color: var(--text); background: var(--panel);
  border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px;
}
.chip-geo { color: var(--text-soft); }

.callout {
  margin-top: 26px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid #2b3c63;
}
.callout p { margin: 0; color: var(--text); font-size: 1rem; }

/* Flow */
.flow { list-style: none; counter-reset: step; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.flow li { flex: 1 1 160px; }
.flow li span {
  display: block; background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 16px; text-align: center; font-weight: 600; color: var(--text); position: relative;
}
.flow li { counter-increment: step; }
.flow li span::before {
  content: counter(step); position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #05070c;
  font-size: 0.75rem; line-height: 22px; font-weight: 700;
}

/* Principles */
.grid-principles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 30px; }
.principle {
  background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 18px 20px; color: var(--text); font-weight: 500; font-size: 0.98rem;
}

/* Status */
.grid-status { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 26px; }
.status-col { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.status-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; font-weight: 700; }
.status-tag.done { background: rgba(87,230,200,0.14); color: var(--accent-2); }
.status-tag.now { background: rgba(94,124,255,0.16); color: var(--accent); }
.status-tag.next { background: rgba(167,179,198,0.12); color: var(--text-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 54px 0 30px; margin-top: 20px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-brand { margin-bottom: 12px; }
.footer-tag { color: var(--text-soft); margin: 0 0 6px; font-size: 0.95rem; }
.footer-meta { color: var(--text-dim); font-size: 0.86rem; margin: 0; }
.footer-links { display: flex; gap: 22px; align-items: flex-start; }
.footer-links a { color: var(--text-soft); font-size: 0.92rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border-soft);
  color: var(--text-dim); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-soft); }

/* Responsive */
@media (max-width: 860px) {
  .split, .grid-two { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease; align-items: stretch;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links li { border-top: 1px solid var(--border-soft); }
  .nav-links a { display: block; padding: 15px 24px; }
  .nav-cta { border: 0; border-radius: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 68px 0 56px; }
}
