:root {
  --navy: #0B1F2E;
  --slate: #3B4A58;
  --cloud: #E8EEF2;
  --ice: #D4E5EE;
  --gold: #C6A769;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

/* Header nav links hover */
header nav a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Mobile header responsiveness */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  header nav {
    margin-top: 0.75rem;
  }
  header nav a {
    display: block;
    margin-bottom: 0.5rem;
  }
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: white;
  z-index: 999;
  border-bottom: 1px solid #e2e2e2;
  transition: box-shadow 0.25s ease;
}

/* Add subtle shadow on scroll */
.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Header inner layout */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Logo */
.logo-img {
  height: 48px;
  width: auto;
  margin-right: 0.75rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.header-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* Header nav */
.header-nav a {
  margin-right: 1.5rem;
  color: var(--slate);
  text-decoration: none;
  font-size: 0.95rem;
}

.header-nav a:last-child {
  margin-right: 0;
}

.header-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--slate);
  background-color: var(--cloud);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  margin-top: 0;
}

h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fff;
  margin-top: 0;
}

section {
  padding: 5rem 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* HERO */
.hero {
  background: linear-gradient(180deg, var(--navy), #102b3f);
  color: #fff;
  padding: 6rem 0 7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.1;
}

.hero p {
  color: #e6eef4;
  font-size: 1.125rem;
  max-width: 42rem;
}

.cta-group {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

/* METRICS */
.metrics {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.metric {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 0.75rem;
}

.metric:last-child { border-bottom: none; }

/* PROBLEM */
.problem {
  background: #fff;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.card {
  background: var(--cloud);
  border-radius: 12px;
  padding: 2rem;
}

/* CAPABILITIES */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.cap-list li {
  margin-bottom: 0.75rem;
}

/* USE CASES */
.use-cases {
  background: #fff;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* TRUST */
.trust {
  background: var(--navy);
  color: #e6eef4;
}

.trust h2 {
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* FINAL CTA */
.final-cta {
  background: linear-gradient(180deg, #102b3f, var(--navy));
  color: #fff;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid,
  .problem-grid,
  .capabilities-grid,
  .use-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}