/* ============================================================
   RISE CAPITAL — Shared Design System
   Midnight navy + electric mint · fintech premium
   ============================================================ */

:root {
  --midnight: #0A1628;
  --midnight-2: #0F1F36;
  --card: #142847;
  --border: #1F3458;
  --mint: #00E0A4;
  --mint-dim: #00B384;
  --mint-glow: rgba(0,224,164,0.35);
  --gold: #C9A961;
  --white: #FFFFFF;
  --paper: #F7F9FC;
  --ink: #B8C5DA;
  --ink-dim: #6B7C9A;
  --slate: #44567A;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--white);
  background: var(--midnight);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.display { font-family: 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.025em; line-height: 1.04; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.accent-text { color: var(--mint); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: var(--mint);
}

/* ===== NAV ===== */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,22,40,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--white);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-dim) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter Tight', sans-serif; font-weight: 800;
  font-size: 14px; color: var(--midnight);
  box-shadow: 0 0 18px var(--mint-glow);
}
.brand-tag {
  color: var(--ink-dim); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding-left: 14px; margin-left: 4px;
  border-left: 1px solid var(--border);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: color 0.14s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); color: var(--midnight);
  padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  transition: all 0.14s ease;
  box-shadow: 0 0 0 1px rgba(0,224,164,0.4), 0 8px 24px -8px var(--mint-glow);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--mint), 0 12px 32px -8px var(--mint-glow); }
@media (max-width: 900px) {
  .brand-tag, .nav-links { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 12px;
  font-weight: 700; font-size: 15px;
  cursor: pointer; border: none;
  transition: all 0.14s ease;
}
.btn-primary {
  background: var(--mint); color: var(--midnight);
  box-shadow: 0 0 0 1px var(--mint-dim) inset, 0 12px 32px -10px var(--mint-glow);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--mint); color: var(--mint); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== HERO ===== */
.hero {
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 30% at 82% 15%, rgba(0,224,164,0.16), transparent 60%),
    radial-gradient(35% 25% at 12% 85%, rgba(201,169,97,0.10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,224,164,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,224,164,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.hero .eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 10px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.98; letter-spacing: -0.03em;
  margin-bottom: 26px;
  font-weight: 800;
}
.hero h1 span { display: block; }
.hero .sub {
  font-size: clamp(17px, 1.35vw, 21px);
  color: var(--ink);
  max-width: 700px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  color: var(--ink-dim); font-size: 12px;
  margin-top: 36px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
}
.trust-strip .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  color: var(--ink);
}
.trust-strip .pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 8px var(--mint);
}

/* ===== SECTIONS ===== */
section { padding: 110px 0; position: relative; }
section.alt { background: var(--midnight-2); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  font-weight: 800;
}
.section-head p {
  color: var(--ink); font-size: 18px; line-height: 1.65;
}

/* ===== CARDS ===== */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  border-color: var(--mint);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px var(--mint-glow);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(0,224,164,0.10);
  border: 1px solid rgba(0,224,164,0.30);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--mint); font-family: 'Inter Tight', sans-serif; font-weight: 700;
}
.card h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px; font-weight: 700; line-height: 1.3;
  margin-bottom: 10px;
}
.card p { color: var(--ink); font-size: 15px; line-height: 1.6; }

/* ===== STATS ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.01);
}
.stat { padding: 32px 22px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 8px; font-weight: 800;
  color: var(--white);
}
.stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--ink-dim); font-weight: 600;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ===== FOOTER ===== */
footer.site-footer {
  background: var(--midnight-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
  font-size: 14px;
  color: var(--ink-dim);
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.foot-grid h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--ink-dim); transition: color 0.14s ease; }
.foot-grid a:hover { color: var(--mint); }
.foot-brand-block .brand { color: var(--white); margin-bottom: 16px; }
.foot-brand-block p { color: var(--ink-dim); line-height: 1.55; max-width: 360px; }

/* Disclosure block — sitewide compliance footer */
.disclosure {
  background: rgba(0,0,0,0.20);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 32px;
  font-size: 12px; line-height: 1.6;
  color: var(--ink-dim);
}
.disclosure strong { color: var(--ink); font-weight: 600; }
.disclosure p { margin-bottom: 8px; }
.disclosure p:last-child { margin-bottom: 0; }

.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--ink-dim);
}

.foot-socials { display: flex; gap: 10px; margin-top: 20px; }
.foot-socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--ink);
  transition: all 0.14s ease;
}
.foot-socials a:hover {
  border-color: var(--mint);
  color: var(--mint);
  box-shadow: 0 0 14px var(--mint-glow);
}
.foot-socials svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ===== UTIL ===== */
.callout {
  background: rgba(0,224,164,0.06);
  border: 1px solid rgba(0,224,164,0.25);
  border-radius: 12px; padding: 28px 30px;
  margin-top: 24px;
}
.callout p { color: var(--ink); }

.lead {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3; color: var(--white);
  font-weight: 700; letter-spacing: -0.015em;
  margin-bottom: 20px;
}
