/* ============================================================================
   Resolute Investment Group — Investor Portal
   Shared stylesheet for every page.
   Colour system:
     navy    #0b2545   primary brand
     blue    #13315c   secondary
     accent  #c9a35d   gold
     light   #f5f5f0   warm off-white
   ========================================================================= */

:root {
  --rig-navy:      #0b2545;
  --rig-blue:      #13315c;
  --rig-blue-2:    #1e4a82;
  --rig-accent:    #c9a35d;
  --rig-accent-dk: #a8853f;
  --rig-light:     #f5f5f0;
  --rig-bg:        #f7f8fa;
  --rig-text:      #1a1a1a;
  --rig-muted:     #6b7280;
  --rig-border:    #e5e7eb;
  --rig-card:      #ffffff;
  --rig-success:   #2f7d4f;
  --rig-danger:    #b14545;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--rig-text);
  background: var(--rig-bg);
  font-size: 14px;
}
a { color: var(--rig-blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Top bar ============================================================ */
.topbar {
  background: var(--rig-navy);
  color: #fff;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--rig-accent);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar .brand { font-size: 18px; font-weight: 600; letter-spacing: 0.4px; }
.topbar .brand .accent { color: var(--rig-accent); }
.topbar .brand .sub { font-size: 12px; color: rgba(255,255,255,0.65); margin-left: 8px; font-weight: 400; }
.topbar .user { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.topbar .user .name { color: #fff; font-weight: 500; }
.topbar .user .email { color: rgba(255,255,255,0.65); font-size: 12px; }
.topbar .user .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--rig-accent); color: var(--rig-navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.topbar .logout {
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px; border-radius: 4px;
  font-size: 12px; cursor: pointer;
  background: transparent;
  transition: all 0.15s;
}
.topbar .logout:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }

/* ===== Layout ============================================================== */
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 60px);
}

.sidenav {
  background: #fff;
  border-right: 1px solid var(--rig-border);
  padding: 22px 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
.nav-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rig-muted);
  font-weight: 600;
  padding: 14px 22px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  padding: 9px 22px;
  font-size: 13.5px;
  color: var(--rig-text);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.12s;
  text-decoration: none;
}
.nav-item:hover { background: #f3f6fb; text-decoration: none; }
.nav-item.active {
  background: #f3f6fb;
  border-left-color: var(--rig-accent);
  color: var(--rig-navy);
  font-weight: 600;
}
.nav-item .ico { width: 16px; height: 16px; margin-right: 10px; flex-shrink: 0; }
.nav-item .tag {
  margin-left: auto;
  font-size: 10px;
  background: var(--rig-accent);
  color: var(--rig-navy);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}

main { padding: 32px 40px 60px; max-width: 1400px; }

/* ===== Common headers ===================================================== */
.greeting { margin-bottom: 6px; }
.greeting h1 {
  margin: 0;
  font-size: 26px;
  color: var(--rig-navy);
  font-weight: 600;
  letter-spacing: -0.3px;
}
.greeting .date {
  color: var(--rig-muted);
  font-size: 13px;
  margin-top: 4px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 32px 0 14px;
}
.section-header h2 {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rig-navy);
  font-weight: 600;
}
.section-header .meta { font-size: 12px; color: var(--rig-muted); }
.section-header .meta a { color: var(--rig-blue-2); font-weight: 500; }

.breadcrumb {
  font-size: 12px;
  color: var(--rig-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.breadcrumb a { color: var(--rig-muted); }
.breadcrumb a:hover { color: var(--rig-blue-2); }
.breadcrumb .sep { margin: 0 8px; }

/* ===== Stat cards (dashboard summary) ===================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--rig-card);
  border: 1px solid var(--rig-border);
  border-radius: 8px;
  padding: 18px 20px;
  border-top: 3px solid var(--rig-accent);
}
.stat-card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--rig-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.stat-card .value {
  font-size: 26px;
  font-weight: 600;
  color: var(--rig-navy);
  letter-spacing: -0.5px;
}
.stat-card .sub {
  font-size: 12px;
  color: var(--rig-muted);
  margin-top: 6px;
}
.stat-card .delta {
  font-size: 12px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
.delta.up { color: var(--rig-success); }
.delta.down { color: var(--rig-danger); }

/* ===== Fund cards (welcome page) =========================================== */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fund-card {
  background: var(--rig-card);
  border: 1px solid var(--rig-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.fund-card:hover {
  box-shadow: 0 6px 24px rgba(11, 37, 69, 0.10);
  transform: translateY(-2px);
  text-decoration: none;
}
.fund-card .fc-header {
  background: linear-gradient(135deg, var(--rig-navy) 0%, var(--rig-blue) 100%);
  color: #fff;
  padding: 18px 20px;
  position: relative;
}
.fund-card .fc-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--rig-accent);
}
.fund-card .fc-name { font-size: 16px; font-weight: 600; letter-spacing: 0.2px; }
.fund-card .fc-strategy {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}
.fund-card .fc-status {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 10px;
  background: var(--rig-accent);
  color: var(--rig-navy);
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.fund-card .fc-body {
  padding: 16px 20px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  flex: 1;
}
.fund-card .fc-metric .l {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--rig-muted);
  font-weight: 600;
}
.fund-card .fc-metric .v {
  font-size: 17px;
  color: var(--rig-navy);
  font-weight: 600;
  margin-top: 3px;
}
.fund-card .fc-metric .v .unit {
  font-size: 11px;
  color: var(--rig-muted);
  font-weight: 400;
  margin-left: 2px;
}
.fund-card .fc-footer {
  border-top: 1px solid var(--rig-border);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafbfc;
}
.fund-card .fc-footer .updated { font-size: 11px; color: var(--rig-muted); }
.fund-card .fc-footer .view {
  font-size: 12px;
  color: var(--rig-blue-2);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.fund-card .fc-footer .view::after { content: " ›"; font-size: 14px; }

/* ===== Fund hero (detail pages) ============================================ */
.fund-hero {
  background: linear-gradient(135deg, var(--rig-navy) 0%, var(--rig-blue) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 28px 32px;
  position: relative;
  border-top: 4px solid var(--rig-accent);
  margin-bottom: 24px;
}
.fund-hero .badge {
  display: inline-block;
  font-size: 10px;
  background: var(--rig-accent);
  color: var(--rig-navy);
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.fund-hero h1 {
  margin: 0 0 4px 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.fund-hero .tagline { color: rgba(255,255,255,0.75); font-size: 13px; }
.fund-hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.fund-hero .hs {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 20px;
}
.fund-hero .hs:last-child { border-right: none; }
.fund-hero .hs .l {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}
.fund-hero .hs .v {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: -0.3px;
}
.fund-hero .hs .v .unit {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-left: 2px;
}
.fund-hero .hs .sub { font-size: 11px; color: var(--rig-accent); margin-top: 4px; }

/* ===== Panels ============================================================== */
.panel {
  background: var(--rig-card);
  border: 1px solid var(--rig-border);
  border-radius: 8px;
  overflow: hidden;
}
.panel-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rig-border);
  background: #fafbfc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--rig-navy);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-header .more { font-size: 12px; color: var(--rig-blue-2); font-weight: 500; text-transform: none; letter-spacing: 0; }
.panel-body { padding: 20px 22px; }
.panel-body p { margin: 0 0 12px 0; line-height: 1.65; color: #2a2a2a; }
.panel-body p:last-child { margin-bottom: 0; }
.pull-quote {
  border-left: 3px solid var(--rig-accent);
  padding: 4px 14px;
  margin: 14px 0;
  color: var(--rig-blue);
  font-size: 14px;
  font-style: italic;
  background: #fafbfc;
  border-radius: 0 4px 4px 0;
}

/* ===== Common multi-col helpers =========================================== */
.grid-2    { display: grid; grid-template-columns: 2fr 1fr;     gap: 18px; }
.grid-2-eq { display: grid; grid-template-columns: 1fr 1fr;     gap: 18px; }
.grid-3    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lower-grid{ display: grid; grid-template-columns: 2fr 1fr;     gap: 18px; }

/* ===== Trend table ======================================================== */
.trend-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.trend-table th {
  text-align: right;
  padding: 8px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--rig-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--rig-border);
}
.trend-table th:first-child { text-align: left; }
.trend-table td {
  padding: 12px;
  border-bottom: 1px solid var(--rig-border);
  text-align: right;
  color: var(--rig-text);
}
.trend-table td:first-child { text-align: left; font-weight: 600; color: var(--rig-navy); }
.trend-table tr:last-child td { border-bottom: none; }
.trend-table .highlight { color: var(--rig-accent-dk); font-weight: 600; }

/* ===== Bar chart ========================================================== */
.barchart { padding: 12px 4px 4px; }
.bar-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
}
.bar-row .lbl { color: var(--rig-muted); }
.bar-row .val { text-align: right; font-weight: 600; color: var(--rig-navy); }
.bar-track {
  background: #eef0f4;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  background: linear-gradient(90deg, var(--rig-blue) 0%, var(--rig-blue-2) 100%);
  height: 100%;
  border-right: 3px solid var(--rig-accent);
  transition: width 0.4s ease;
}

/* ===== Property cards ===================================================== */
.prop-card {
  background: var(--rig-card);
  border: 1px solid var(--rig-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.prop-card .ph-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rig-border);
  background: #fafbfc;
}
.prop-card .ph-name { font-size: 15px; font-weight: 600; color: var(--rig-navy); }
.prop-card .ph-loc { font-size: 12px; color: var(--rig-muted); margin-top: 2px; }
.prop-card .ph-tag {
  float: right;
  font-size: 10px;
  background: var(--rig-light);
  color: var(--rig-navy);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 2px;
}
.prop-card .ph-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rig-border);
}
.prop-card .pm { padding: 12px 20px; border-right: 1px solid var(--rig-border); }
.prop-card .pm:last-child { border-right: none; }
.prop-card .pm .l {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--rig-muted);
  font-weight: 600;
}
.prop-card .pm .v { font-size: 16px; font-weight: 600; color: var(--rig-navy); margin-top: 3px; }
.prop-card .pm .v .unit { font-size: 11px; color: var(--rig-muted); font-weight: 400; margin-left: 2px; }
.prop-card .ph-body {
  padding: 14px 20px;
  font-size: 13px;
  line-height: 1.55;
  color: #333;
  flex: 1;
}
.prop-card .ph-body p { margin: 0; }

/* ===== Property summary table (Fund III etc.) ============================= */
.ptable { width: 100%; border-collapse: collapse; font-size: 13px; }
.ptable th {
  text-align: left;
  padding: 10px 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--rig-muted);
  font-weight: 600;
  background: #fafbfc;
  border-bottom: 1px solid var(--rig-border);
}
.ptable th.r { text-align: right; }
.ptable td { padding: 14px; border-bottom: 1px solid var(--rig-border); color: var(--rig-text); }
.ptable td.r { text-align: right; font-variant-numeric: tabular-nums; }
.ptable td.r.hl { color: var(--rig-accent-dk); font-weight: 600; }
.ptable tr:last-child td { border-bottom: none; }
.ptable tr:hover td { background: #fafbfc; }
.ptable .pn { font-weight: 600; color: var(--rig-navy); }
.ptable .ploc { font-size: 11px; color: var(--rig-muted); margin-top: 2px; }

/* ===== Update list (latest activity) ======================================= */
.update-list { padding: 4px 0; }
.update-item {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rig-border);
  display: flex;
  gap: 14px;
}
.update-item:last-child { border-bottom: none; }
.update-item .bullet {
  width: 8px; height: 8px;
  background: var(--rig-accent);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.update-item .ui-body { flex: 1; }
.update-item .ui-title { font-weight: 600; color: var(--rig-navy); font-size: 13.5px; }
.update-item .ui-meta {
  font-size: 11px;
  color: var(--rig-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.update-item .ui-text { font-size: 13px; color: #444; margin-top: 6px; line-height: 1.5; }

/* ===== Event card (material events) ======================================= */
.event-card {
  background: var(--rig-card);
  border: 1px solid var(--rig-border);
  border-left: 4px solid var(--rig-accent);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 14px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.event-card .ec-stamp {
  font-size: 11px;
  color: var(--rig-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  width: 110px;
  padding-top: 2px;
}
.event-card .ec-body { flex: 1; }
.event-card .ec-title { font-weight: 600; color: var(--rig-navy); font-size: 14px; }
.event-card .ec-text { font-size: 13px; line-height: 1.55; color: #333; margin-top: 6px; }

/* ===== Document list ====================================================== */
.doc-list { padding: 4px 0; }
.doc-item {
  padding: 12px 20px;
  border-bottom: 1px solid var(--rig-border);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.doc-item:hover { background: #f3f6fb; text-decoration: none; }
.doc-item:last-child { border-bottom: none; }
.doc-icon {
  width: 32px; height: 32px;
  background: var(--rig-light);
  border: 1px solid var(--rig-border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: var(--rig-navy);
  flex-shrink: 0;
}
.doc-info { flex: 1; min-width: 0; }
.doc-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-meta { font-size: 11px; color: var(--rig-muted); margin-top: 2px; }

/* ===== Map CTA banner (welcome page) ====================================== */
.map-preview {
  background: linear-gradient(135deg, var(--rig-navy) 0%, var(--rig-blue) 100%);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px solid var(--rig-accent);
  margin-top: 24px;
  text-decoration: none;
}
.map-preview:hover { text-decoration: none; }
.map-preview .mp-text h3 { margin: 0 0 6px 0; font-size: 18px; font-weight: 600; color: #fff; }
.map-preview .mp-text p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  max-width: 540px;
  line-height: 1.5;
}
.map-preview .mp-stats { display: flex; gap: 28px; margin-top: 14px; }
.map-preview .mp-stat .l {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.map-preview .mp-stat .v { font-size: 20px; font-weight: 600; color: var(--rig-accent); }
.map-preview .cta {
  background: var(--rig-accent);
  color: var(--rig-navy);
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.15s;
}
.map-preview .cta:hover { background: #d6b06a; }

/* ===== Disclaimer footer (fund pages) ===================================== */
.disclaimer {
  margin-top: 28px;
  padding: 18px 22px;
  background: #fafbfc;
  border: 1px solid var(--rig-border);
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--rig-muted);
}
.disclaimer strong { color: var(--rig-navy); }

/* ===== Skeleton (loading) ================================================= */
.skel {
  background: linear-gradient(90deg, #eef0f4 0%, #f5f6f8 50%, #eef0f4 100%);
  background-size: 200% 100%;
  animation: skel 1.2s linear infinite;
  border-radius: 4px;
  color: transparent;
  user-select: none;
}
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== Auth (signin) ====================================================== */
.auth-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--rig-bg) 0%, #eef1f6 100%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--rig-border);
  border-top: 4px solid var(--rig-accent);
  border-radius: 10px;
  padding: 36px 36px 28px;
  box-shadow: 0 12px 40px rgba(11, 37, 69, 0.08);
}
.auth-card h1 {
  margin: 0 0 4px 0;
  font-size: 22px;
  color: var(--rig-navy);
  font-weight: 600;
  letter-spacing: -0.2px;
}
.auth-card .sub { margin: 0 0 22px 0; color: var(--rig-muted); font-size: 13px; }
.auth-error {
  display: none;
  background: #fdecec;
  border: 1px solid #f3b8b8;
  color: #8a2929;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.auth-error.show { display: block; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--rig-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--rig-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}
.field input:focus {
  outline: none;
  border-color: var(--rig-accent);
  box-shadow: 0 0 0 3px rgba(201, 163, 93, 0.15);
}
.btn {
  display: inline-block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.btn-accent {
  background: var(--rig-navy);
  color: #fff;
  width: 100%;
}
.btn-accent:hover { background: var(--rig-blue); }
.btn-accent:disabled { background: var(--rig-muted); cursor: not-allowed; }
.form-foot { margin-top: 18px; }
.form-foot .note { margin: 14px 0 0 0; font-size: 12px; color: var(--rig-muted); text-align: center; }

.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}
.auth-brand .logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--rig-navy);
  letter-spacing: 0.4px;
}
.auth-brand .logo .accent { color: var(--rig-accent); }
.auth-brand .tagline {
  font-size: 12px;
  color: var(--rig-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

/* ===== Responsive ========================================================= */
@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .fund-grid { grid-template-columns: 1fr; }
  .lower-grid, .grid-2, .grid-2-eq, .grid-3 { grid-template-columns: 1fr; }
  .fund-hero .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fund-hero .hs { border-right: none; }
}
@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .sidenav { display: none; }
  main { padding: 22px 18px 40px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .map-preview { flex-direction: column; align-items: flex-start; gap: 18px; }
  .fund-hero { padding: 22px; }
  .fund-hero .hero-stats { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 28px 22px 22px; }
}
