/* ========================
   VERITY — Crypto Legal Ops
   ======================== */

:root {
  --bg: #0C0B0F;
  --bg-warm: #F5F0E8;
  --bg-card: #141318;
  --fg: #EDE9E3;
  --fg-muted: #8A8780;
  --accent: #00BFA6;
  --accent-dim: rgba(0, 191, 166, 0.12);
  --amber: #C8973C;
  --amber-dim: rgba(200, 151, 60, 0.15);
  --border: rgba(237, 233, 227, 0.08);
  --border-mid: rgba(237, 233, 227, 0.15);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVIGATION ─────────────────────────────── */
.site-nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  padding: 80px 40px 100px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 191, 166, 0.3);
  padding: 5px 10px;
  border-radius: 2px;
}

/* ─── LEGAL DECK (hero visual) ───────────────── */
.legal-deck {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.deck-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}
.deck-card--largest { border-left: 3px solid var(--accent); }
.deck-card--mid { border-left: 3px solid var(--amber); }
.deck-card--small { border-left: 3px solid rgba(237, 233, 227, 0.2); }
.deck-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.deck-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.deck-row:last-child { border-bottom: none; }
.deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
  flex-shrink: 0;
}
.deck-dot--green { background: var(--accent); }
.deck-dot--amber { background: var(--amber); }
.deck-status {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
}
.pulse-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  padding: 5px 0;
  color: var(--fg-muted);
  line-height: 1.4;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(237, 233, 227, 0.2);
  flex-shrink: 0;
  margin-top: 4px;
}
.pulse-dot--live {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.2);
}
.clients-count {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}
.clients-meta {
  font-size: 12px;
  color: var(--amber);
  margin-top: 4px;
}

/* ─── MANIFESTO ──────────────────────────────── */
.manifesto {
  padding: 100px 40px;
  background: var(--bg);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}
.manifesto-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.manifesto-statement {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.manifesto-statement--accent {
  color: var(--fg);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 32px);
}

/* ─── COMPLIANCE KANBAN ──────────────────────── */
.kanban-section {
  padding: 100px 40px;
  background: #0F0E12;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.kanban-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 60px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.kanban-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.kanban-col {
  background: #0F0E12;
  padding: 0;
}
.kanban-col-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.kanban-col-header--intake { border-left: 3px solid #7C6AF7; }
.kanban-col-header--mica { border-left: 3px solid var(--accent); }
.kanban-col-header--rwa { border-left: 3px solid var(--amber); }
.kanban-col-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.kanban-items {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.kanban-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.kanban-item:last-child { border-bottom: none; }
.kanban-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 5px;
}
.kanban-item-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ─── PROTOCOL ───────────────────────────────── */
.protocol {
  padding: 100px 40px;
  background: var(--bg);
}
.protocol-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.protocol-header {
  margin-bottom: 70px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.protocol-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.protocol-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.protocol-step:last-child { border-bottom: none; }
.protocol-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  padding-top: 4px;
}
.protocol-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.protocol-content p {
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.65;
}

/* ─── JURISDICTION ───────────────────────────── */
.jurisdiction {
  padding: 100px 40px;
  background: #0F0E12;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.jurisdiction-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.jurisdiction-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 24px 0 28px;
}
.jurisdiction-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 48px;
}
.jurisdiction-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spec-item {}
.spec-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.spec-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.spec-note {
  font-size: 12px;
  color: var(--fg-muted);
}
.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.map-card-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.map-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.map-item:last-child { border-bottom: none; }
.map-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.map-dot--clear { background: var(--accent); }
.map-dot--review { background: var(--amber); }
.map-country {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.map-status {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* ─── CLOSING STATEMENT ───────────────────────── */
.closing-section {
  padding: 100px 40px 120px;
  background: var(--bg);
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing-bar {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 48px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-meta {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { padding: 16px 20px; }
  .hero { padding: 60px 20px 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { order: -1; }
  .manifesto { padding: 60px 20px; }
  .kanban-section { padding: 60px 20px; }
  .kanban-grid { grid-template-columns: 1fr; }
  .protocol { padding: 60px 20px; }
  .protocol-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .jurisdiction { padding: 60px 20px; }
  .jurisdiction-inner { grid-template-columns: 1fr; gap: 48px; }
  .jurisdiction-specs { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .closing-section { padding: 60px 20px 80px; }
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
}
