/* Decision Worx — shared site styles
   Palette, type and mark match the approved brand system
   (see the Brand Guide in the vault: DF2020/Decision Worx Brand/). */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ink: #0A111C;
  --amber: #DDA959;
  --amber-deep: #C9832A;
  --amber-label: #C89652;
  --paper: #F2F4F7;
  --offwhite: #EDF0F5;
  --slate: #5B6A85;
  --slate-light: #9AA6B8;
  --hairline: #202B42;
  --cta-ink: #1A1305;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--offwhite);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: #F0C77E; }

.mono { font-family: 'IBM Plex Mono', monospace; }

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

/* ---------- Nav ---------- */
.site-nav {
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  background: rgba(10, 17, 28, 0.94);
  backdrop-filter: blur(6px);
  z-index: 20;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup img { width: 30px; height: 30px; display: block; }
.brand-lockup .word { font-weight: 700; font-size: 16px; letter-spacing: 0.01em; color: var(--offwhite); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: var(--slate-light);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--offwhite); }
.nav-cta {
  background: var(--amber);
  color: var(--cta-ink) !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
}
.nav-cta:hover { background: #E3B36B; color: var(--cta-ink) !important; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--hairline);
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 20px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--offwhite);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  max-width: 850px;
}
.hero .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate-light);
  max-width: 640px;
  margin: 0 0 36px;
}
.button-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--amber); color: var(--cta-ink) !important; }
.btn-primary:hover { background: #E3B36B; color: var(--cta-ink) !important; }
.btn-secondary { border-color: var(--hairline); color: var(--offwhite) !important; }
.btn-secondary:hover { border-color: var(--slate); }

/* ---------- Section ---------- */
.section { padding: 80px 0; border-bottom: 1px solid var(--hairline); }
.section:last-of-type { border-bottom: none; }
.section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--offwhite);
  margin: 0 0 20px;
  max-width: 700px;
  letter-spacing: -0.005em;
}
.section .section-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-light);
  max-width: 680px;
  margin: 0 0 8px;
}
.section p { font-size: 16px; line-height: 1.7; color: var(--slate-light); max-width: 680px; }

/* ---------- Stat callout ---------- */
.stat-block { padding: 72px 0; border-bottom: 1px solid var(--hairline); }
.stat-number {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 88px;
  line-height: 1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  display: block;
  margin: 0 0 16px;
}
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-label);
  display: block;
  margin: 0 0 14px;
}
.stat-context { font-size: 16px; color: var(--slate-light); max-width: 560px; margin: 0; }

/* ---------- Grid / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.card {
  border: 1px solid var(--hairline);
  padding: 32px 28px;
  border-radius: 6px;
}
.card .card-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: block;
  margin: 0 0 14px;
}
.card h3 { font-size: 19px; color: var(--offwhite); margin: 0 0 10px; }
.card p { font-size: 15px; color: var(--slate-light); margin: 0; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 32px;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hairline);
  color: var(--amber);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.team-card h3 { font-size: 20px; color: var(--offwhite); margin: 0 0 4px; }
.team-card .role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--amber);
  margin: 0 0 16px;
  display: block;
}
.team-card p { font-size: 15px; line-height: 1.6; color: var(--slate-light); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0; }
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-lockup { display: flex; align-items: center; gap: 12px; }
.footer-lockup img { width: 22px; height: 22px; }
.footer-lockup .word { font-weight: 700; font-size: 14px; color: var(--offwhite); }
.footer-lockup .by { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--slate); margin-left: 6px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--slate-light); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero h1 { font-size: 38px; }
  .stat-number { font-size: 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .section h2 { font-size: 26px; }
}

@media (max-width: 640px) {
  .site-nav .wrap { height: auto; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; gap: 14px; }
  .nav-links { gap: 16px; flex-wrap: wrap; width: 100%; }
  .nav-links a { font-size: 14px; }
  .nav-cta { padding: 8px 16px; }
}
