:root {
  --bg: #05070f;
  --surface: #0f1424;
  --surface-2: #131a2d;
  --text: #eef2ff;
  --muted: #b9c2df;
  --accent: #6ea8fe;
  --accent-2: #8c8dff;
  --border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 10% 0%, #1a2443 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.brand {
  color: var(--text) !important;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand span {
  color: var(--accent);
}

.hero {
  padding-bottom: 2.5rem;
}

.hero-content {
  padding: 4rem 0 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  max-width: 16ch;
}

.lead {
  color: var(--muted);
  max-width: 66ch;
}

.hero-actions {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.78rem 1.15rem;
  border-radius: 0.65rem;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  color: #041128;
  background: linear-gradient(135deg, var(--accent), #8af1ff);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--border);
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.quick-stats li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  min-width: 9rem;
}

.quick-stats strong {
  display: block;
  font-size: 1.2rem;
}

.quick-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 800px;
}

.section-heading p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card,
.capability,
.service,
.cta-box,
.case-study-note,
.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-card p:not(.date-label),
.capability p,
.service p,
.case-study-note p,
.timeline-content p:not(.date-label) {
  color: var(--muted);
}

.date-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

.credibility-line,
.case-study-note {
  margin: 0 0 1.25rem;
}

.credibility-line {
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-weight: 700;
  max-width: 820px;
  padding: 0.2rem 0 0.2rem 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: auto 0 0;
  padding: 1rem 0 0;
}

.tag-list li {
  background: rgba(110, 168, 254, 0.12);
  border: 1px solid rgba(110, 168, 254, 0.24);
  border-radius: 999px;
  color: #d8e6ff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.62rem;
}

.case-study-note {
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.1), rgba(140, 141, 255, 0.07));
  margin-top: 1rem;
}

.case-study-note h3,
.case-study-note p {
  margin-bottom: 0;
}

.timeline-heading {
  margin-bottom: 2rem;
}

.timeline {
  display: grid;
  gap: 1.1rem;
  margin-left: 0.55rem;
  max-width: 920px;
  position: relative;
}

.timeline::before {
  background: linear-gradient(180deg, rgba(110, 168, 254, 0.75), rgba(255, 255, 255, 0.08));
  content: '';
  height: calc(100% - 1.2rem);
  left: 0;
  position: absolute;
  top: 0.6rem;
  width: 1px;
}

.timeline-item {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1rem 1fr;
  position: relative;
}

.timeline-marker {
  background: var(--accent);
  border: 3px solid var(--surface-2);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(110, 168, 254, 0.12);
  height: 0.75rem;
  margin-left: -0.32rem;
  margin-top: 1.25rem;
  width: 0.75rem;
  z-index: 1;
}

.timeline-content {
  background: rgba(15, 20, 36, 0.82);
}

.capability-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cta {
  padding-top: 4rem;
}

.cta-box {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p,
.footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0;
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .nav ul {
    flex-wrap: wrap;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .timeline {
    margin-left: 0.35rem;
  }

  .timeline-item {
    gap: 0.8rem;
    grid-template-columns: 0.9rem 1fr;
  }

  .timeline-content {
    padding: 1rem;
  }
}
