/* ============================================================
   BET Digital / BET Consulting — shared design system
   Ported from CardOps' visual identity: navy + electric blue,
   Montserrat display / Inter body / JetBrains Mono labels.
   ============================================================ */

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

:root {
  --navy: #0D1B2A;
  --navy-2: #0E2236;
  --navy-line: rgba(255, 255, 255, 0.08);

  --blue: #1D5EFF;
  --blue-mid: #1750E8;
  --blue-hi: #5A8CFF;
  --blue-tint: rgba(29, 94, 255, 0.10);
  --blue-border: rgba(29, 94, 255, 0.25);

  --surface: #F4F5F7;
  --paper: #FFFFFF;
  --ink: #0D1B2A;
  --ink-soft: #4A5568;
  --muted: #6B7787;
  --muted-on-dark: #90A0B4;
  --line: #E6E9EE;

  --display: 'Montserrat', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --max-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-line);
  padding: 16px 0;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  line-height: 1;
}
.nav-mark .badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.nav-mark .logo-icon {
  display: block;
  height: 22px;
  width: auto;
}
.nav-mark .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.nav-mark .word em {
  font-style: normal;
  color: var(--blue-hi);
}
.nav-mark .divider {
  width: 1px;
  height: 28px;
  background: var(--navy-line);
  flex-shrink: 0;
}
.nav-mark .tag {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  padding: 10px 20px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--blue-mid); }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 92px;
  background: var(--paper);
}
.hero.band-dark {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero.band-dark::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 94, 255, 0.18), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
.band-dark .hero-eyebrow { color: var(--blue-hi); }

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.band-dark .hero h1 em { color: var(--blue-hi); }

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 36px;
  line-height: 1.6;
}
.band-dark .hero-sub { color: var(--muted-on-dark); }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.96rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 11px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(29, 94, 255, 0.32);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--blue-mid); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}
.band-dark .btn-ghost { border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--blue); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-divider { border: none; border-top: 1px solid var(--line); margin: 0; }

.section-head {
  max-width: 58ch;
  margin-bottom: 52px;
}
.section-head .kicker {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}
.band-dark .section-head .kicker { color: var(--blue-hi); }
.section-head h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 0;
}
.band-dark .section-head p { color: var(--muted-on-dark); }

/* ---------- Feature grid (icon tile cards) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 36px;
}
.feature-card { display: flex; flex-direction: column; }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.band-dark .feature-icon svg { stroke: var(--blue-hi); }
.feature-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Feature rows (services page, sequential detail) ---------- */
.feature-list { display: flex; flex-direction: column; }
.feature-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row .feature-icon { margin-bottom: 0; }
.feature-row h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.22rem;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature-row p {
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.65;
}

/* ---------- Ventures / pillars (benefit rows) ---------- */
.pillars, .ventures {
  display: flex;
  flex-direction: column;
}
.pillar, .venture {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child, .venture:last-child { border-bottom: 1px solid var(--line); }
.pillar .feature-icon, .venture .feature-icon {
  margin-bottom: 0;
  background: var(--blue-tint);
  border: 1px solid var(--blue-border);
}
.pillar h3, .venture h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.pillar p, .venture p {
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 58ch;
}
.venture a {
  text-decoration: none;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid var(--blue-border);
  padding-bottom: 2px;
}
.venture a:hover, .venture a:focus-visible { color: var(--blue-mid); border-color: var(--blue); }

.band-dark .pillar, .band-dark .venture { border-color: var(--navy-line); }
.band-dark .pillar h3, .band-dark .venture h3 { color: #fff; }
.band-dark .pillar p, .band-dark .venture p { color: var(--muted-on-dark); }
.band-dark .venture a { color: var(--blue-hi); }
.band-dark .venture a:hover, .band-dark .venture a:focus-visible { color: #fff; border-color: #fff; }

/* ---------- Integrations strip ---------- */
.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.integration-chip {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.band-dark .integration-chip {
  border-color: var(--navy-line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Dark band ---------- */
.band-dark {
  background: var(--navy);
  color: #fff;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: left;
  padding: 88px 0;
  background: var(--surface);
}
.cta-band h2 {
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  max-width: 24ch;
  margin: 0 0 30px;
  letter-spacing: -0.02em;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
  padding: 52px 0 28px;
  border-top: 1px solid var(--navy-line);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
}
footer .wrap:first-child { padding-top: 0; }
footer a { text-decoration: none; transition: color 0.15s ease; }
footer a:hover, footer a:focus-visible { color: #fff; }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 14px; }
  .pillar, .venture { grid-template-columns: 1fr; gap: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .btn-ghost { margin-left: 0; }
}
