/* ──────────────────────────────────────────────────────────
   InvestorDealVault — design system (warm minimal × refined blue)
   ────────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --paper: #f4f1ea;          /* warm off-white page bg */
  --paper-2: #ebe6da;        /* slightly darker warm tone */
  --surface: #ffffff;
  --surface-warm: #fbf9f4;

  /* Ink */
  --ink: #0e1622;            /* near-black, slight cool */
  --ink-2: #1f2a3a;
  --ink-muted: #5a6473;
  --ink-soft: #8a93a1;
  --line: rgba(14, 22, 34, 0.09);
  --line-strong: rgba(14, 22, 34, 0.18);

  /* Brand */
  --brand: #1e3a8a;          /* deep navy — primary */
  --brand-2: #2c7be5;        /* their accent blue */
  --brand-sky: #0ea5e9;
  --brand-tint: #eaf1fb;     /* soft blue wash */
  --brand-ink: #0c1f4a;

  /* Functional */
  --equity: #146a3f;
  --equity-tint: #e6f2eb;
  --warn: #b45309;
  --warn-tint: #fdf0e0;
  --sold: #9f1239;
  --sold-tint: #fce9ee;

  /* Radii / shadow */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-1: 0 1px 2px rgba(14,22,34,0.04), 0 1px 1px rgba(14,22,34,0.03);
  --shadow-2: 0 4px 14px -4px rgba(14,22,34,0.10), 0 2px 4px -2px rgba(14,22,34,0.05);
  --shadow-3: 0 12px 32px -10px rgba(14,22,34,0.18), 0 4px 10px -4px rgba(14,22,34,0.08);

  /* Type */
  --font-sans: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --num-feat: "tnum" 1, "lnum" 1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { background: var(--paper); }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.num { font-feature-settings: var(--num-feat); font-variant-numeric: tabular-nums lining-nums; }

/* ─── Header ─── */
.site-header {
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 90;
}
.site-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand-mark .mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--brand-2) 0%, var(--brand) 70%);
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(44,123,229,0.35);
  flex-shrink: 0;
}
.brand-mark .mark svg { width: 22px; height: 22px; }
.brand-mark .word {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-mark .word b { font-weight: 700; }
.brand-mark .word i {
  font-style: normal;
  color: var(--brand-2);
  font-weight: 500;
  margin-left: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: rgba(255,255,255,0.78);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.15s ease;
}
.site-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.site-nav .cta {
  margin-left: 8px;
  background: var(--brand-2);
  color: #fff;
  padding: 9px 16px;
  font-weight: 600;
}
.site-nav .cta:hover { background: #1f6ed3; color: #fff; }

/* ─── Footer ─── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 56px 40px 40px;
  margin-top: 40px;
}
.site-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 14.5px; color: rgba(255,255,255,0.65); }
.site-footer a:hover { color: #fff; }
.site-footer .colophon {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.site-footer .tagline {
  margin-top: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  max-width: 360px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-brand {
  background: var(--brand-2);
  color: #fff;
}
.btn-brand:hover { background: var(--brand); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ─── Status badge ─── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(20, 106, 63, 0.18);
}
.status-available { background: var(--equity-tint); color: var(--equity); }
.status-pending   { background: var(--warn-tint);   color: var(--warn); }
.status-pending::before { box-shadow: 0 0 0 3px rgba(180,83,9,0.18); }
.status-sold      { background: var(--sold-tint);   color: var(--sold); }
.status-sold::before { box-shadow: 0 0 0 3px rgba(159,18,57,0.18); }

/* ─── Section helpers ─── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.h-display {
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--ink);
}
.h-section {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.muted { color: var(--ink-muted); }

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.card-pad { padding: 28px; }

/* Hairline divider that respects warm tone */
.rule {
  border: 0;
  height: 1px;
  background: var(--line);
}

/* Make header logo responsive */
@media (max-width: 760px) {
  .site-header-inner { padding: 12px 18px; flex-wrap: wrap; gap: 12px; }
  .site-nav { gap: 0; flex-wrap: wrap; }
  .site-nav a { padding: 6px 10px; font-size: 13.5px; }
  .site-nav .cta { margin-left: 4px; padding: 8px 14px; font-size: 13.5px; }
  .brand-mark .word { font-size: 16px; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
