/* ==========================================================================
   Kapla V Capital — shared stylesheet
   Palette: navy #0A1E33, gold #D9A441 (accent) / #9C6B12 (deep), graphite #2B3542
   ========================================================================== */

:root {
  --navy: #0A1E33;
  --navy-soft: #132C4A;
  --gold: #D9A441;
  --gold-light: #F0BA5B;
  --gold-deep: #9C6B12;
  --graphite: #2B3542;
  --muted: #5B6570;
  --muted-2: #8A96A3;
  --border: #E2E6EB;
  --fill: #F8F9FB;
  --fill-2: #F2F4F7;
  --white: #FFFFFF;
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; color: var(--navy); }
p { margin: 0; }
button { font-family: var(--font-body); cursor: pointer; }

.wrap { max-width: 1312px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 64px; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); }
.brand-name .v { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--graphite); padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a.active { font-weight: 700; color: var(--navy); border-bottom-color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right .apply-link { font-size: 14px; font-weight: 600; color: var(--navy); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle svg { display: block; }
.site-nav { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  padding: 15px 28px; border: none; text-decoration: none; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%); color: var(--navy); box-shadow: 0 10px 24px rgba(156,107,18,0.28); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(10,30,51,0.18); font-weight: 600; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); font-weight: 600; padding: 13.5px 26.5px; }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.55); font-weight: 600; padding: 13.5px 26.5px; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid #DCE1E7; font-weight: 600; padding: 12.5px 22px; font-size: 13.5px; }
.btn-sm { padding: 11px 20px; font-size: 13px; box-shadow: none; }

/* ---------- Tags / pills ---------- */
.tag {
  background: var(--fill-2); color: var(--navy); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500; display: inline-block;
}
.pill-soon { background: var(--fill-2); color: #6B7684; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; }

/* ---------- Sections / cards ---------- */
.section { padding: 88px 64px; }
.section-tight { padding: 64px 64px 88px; }
.eyebrow { font-size: 13px; letter-spacing: 0.1em; font-weight: 700; color: var(--gold-deep); margin-bottom: 10px; }
.eyebrow-light { color: var(--gold); }
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.section-lead { font-size: 14.5px; color: var(--muted); max-width: 640px; margin-bottom: 36px; line-height: 1.6; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 32px rgba(10,30,51,0.08); }
.card-title { font-family: var(--font-display); font-size: 16px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.card-desc { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.card-rule { width: 34px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 14px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }

.section-dark { background: var(--navy); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: #AEBBC8; }
.card-dark { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 26px; }
.card-dark .card-title { color: var(--white); }
.card-dark .card-desc { color: #9FAEBC; }

.section-fill { background: var(--fill); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
}
.hero-copy { padding: 96px 64px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { font-size: 52px; line-height: 1.1; margin-bottom: 22px; }
.hero-copy p.lead { font-size: 17.5px; line-height: 1.6; color: var(--muted); margin-bottom: 32px; max-width: 460px; }
.hero-visual {
  position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 55%, var(--navy) 100%);
  min-height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-badge { position: absolute; border-radius: 12px; padding: 10px 16px; }
.hero-tagline { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.fade-up { animation: fadeUp .7s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Footer ---------- */
.site-footer {
  padding: 44px 64px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.site-footer img { height: 60px; width: auto; }
.site-footer .disclaimer { font-size: 12px; color: var(--muted-2); max-width: 480px; line-height: 1.5; }

/* ---------- Floating Monica widget ---------- */
.monica-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 40;
  display: flex; align-items: center; gap: 12px; background: var(--navy);
  border-radius: 999px; padding: 10px 20px 10px 10px; box-shadow: 0 14px 30px rgba(10,30,51,0.28);
  text-decoration: none; max-width: calc(100vw - 56px);
}
.monica-widget:hover { color: var(--white); }
.monica-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
}
.monica-widget span.msg { font-size: 13px; color: var(--white); font-weight: 500; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .site-nav { padding: 18px 24px; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); box-shadow: 0 16px 24px rgba(10,30,51,0.08);
    padding: 8px 24px 16px; z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--fill-2); }
  .nav-links a.active { border-bottom-color: var(--fill-2); }
  .nav-toggle { display: inline-flex; }
  .nav-right .apply-link { display: none; }
  .hero, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 24px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-visual { min-height: 320px; padding: 24px; }
  .section, .section-tight { padding: 56px 24px; }
  .site-footer { padding: 32px 24px; }
  .monica-widget span.msg { display: none; }
  .app-header { flex-direction: column; align-items: flex-start !important; gap: 14px; padding: 18px 24px !important; }
  .app-header > div[style*="display:flex"] { width: 100%; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .brand-name { font-size: 16px; }
  .hero-copy h1 { font-size: 30px; }
}
