/* ============================================================
   OverAssessedRE — Design System
   Tokens, typography, and core components extracted from the
   marketing site (index.html). Keep platform pages visually
   consistent with overassessedre.com.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Source+Serif+4:ital,opsz,wght@0,8..60,500;0,8..60,600;1,8..60,500&display=swap');

:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #0c1320;
  --ink-2: #3b465c;
  --ink-3: #6b7689;
  --line: #e8e4db;
  --line-2: #d8d2c4;
  --accent: #0a6b42;
  --accent-2: #0e8a55;
  --accent-soft: #e3f1ea;
  --accent-ring: #c2e0d0;
  --red: #b02a1a;
  --red-soft: #f6e4df;
  --amber: #8a6500;
  --amber-soft: #f6efd4;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --container: 1180px;
  --serif: 'Source Serif 4', 'Iowan Old Style', 'Charter', Georgia, serif;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'ss01';
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============ TYPOGRAPHY ============ */
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: 'zero'; }
.serif { font-family: var(--serif); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 600;
}
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }

p { color: var(--ink-2); }

em { font-style: italic; color: var(--accent); font-weight: 500; }

/* ============ LAYOUT ============ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: all .18s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap; letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--ink); color: #fbfaf7;
  box-shadow: 0 1px 2px rgba(12,19,32,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:hover { background: #1a2338; transform: translateY(-1px); box-shadow: 0 6px 18px -4px rgba(12,19,32,0.28); }
.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(10,107,66,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 22px -6px rgba(10,107,66,0.4); }
.btn-ghost {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink-3); }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(2px); }
