:root {
  --bg-dark: #0b0e12;
  --bg-gradient: radial-gradient(circle at center, #0f2533 0%, #07090b 70%);
  --bg-light: #f6f7f8;
  --text-dark: #111111;
  --text-muted: #6a6a6a;
  --text-light: #f2f5f8;
  --text-light-muted: #b8c1cc;
  --pill: #eaeaea;
  --line: #d0d0d0;
  --line-dark: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

.container {
  width: min(1160px, calc(100vw - 48px));
  margin: 0 auto;
}

.site-nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(15, 21, 28, 0.92) 0%, rgba(8, 11, 15, 0.92) 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.nav-item {
  text-decoration: none;
  color: var(--text-light-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  transition: 0.2s ease;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.active {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 168px 0 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(54rem 28rem at 20% 20%, rgba(79, 160, 214, 0.15), transparent 60%),
    radial-gradient(46rem 20rem at 80% 0%, rgba(53, 104, 145, 0.2), transparent 60%),
    var(--bg-gradient);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: #98adbf;
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 auto;
  max-width: 740px;
  font-size: 20px;
  color: var(--text-light-muted);
}

.hero-actions,
.contact-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn,
.outline-btn {
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-btn {
  color: var(--text-light);
  border: 1px solid #a9b6c5;
  background: transparent;
}

.outline-btn {
  color: inherit;
  border: 1px solid var(--line);
}

.hero-btn:hover,
.outline-btn:hover,
.hero-btn:focus-visible,
.outline-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.logo-row-section {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: #0d1116;
}

.logo-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #8f9cab;
}

.logo-row span {
  opacity: 0.55;
}

.section {
  padding: 120px 0;
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-dark {
  background: var(--bg-dark);
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.feature-grid,
.work-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.work-card {
  grid-column: span 4;
  border-radius: 16px;
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card {
  background: #efefef;
}

.work-card {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}

.feature-card:hover,
.work-card:hover {
  transform: translateY(-4px);
}

.feature-card:hover {
  box-shadow: 0 14px 28px rgba(33, 42, 52, 0.12);
}

.work-card:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(205, 223, 238, 0.34);
}

.feature-card h3,
.work-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.feature-card p,
.work-card p,
.contact-block p,
.stats {
  margin: 12px 0 0;
  font-size: 18px;
  color: var(--text-muted);
}

.section-dark .work-card p {
  color: var(--text-light-muted);
}

.stats {
  margin-top: 28px;
  font-weight: 500;
  color: #525b66;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.approach-intro {
  grid-column: span 5;
}

.lead-copy {
  margin: 18px 0 0;
  font-size: 18px;
  color: var(--text-light-muted);
}

.approach-cards {
  grid-column: span 7;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.approach-card {
  grid-column: span 4;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms ease, border-color 220ms ease;
}

.approach-card:hover {
  transform: translateY(-4px);
  border-color: rgba(208, 223, 236, 0.36);
}

.step {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb4c7;
}

.tag-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  background: var(--pill);
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 13px;
  color: #111;
}

.section-dark .tag-row span {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-light);
}

.section-dark .outline-btn {
  margin-top: 28px;
  border-color: #b7c3cf;
  color: var(--text-light);
}

.contact-block {
  max-width: 880px;
}

.hero-btn.dark {
  color: var(--text-dark);
  border-color: #6a6a6a;
}

.outline-btn.dark {
  color: var(--text-dark);
}

.footer {
  border-top: 1px solid var(--line-dark);
  background: #07090b;
  padding: 28px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  color: #95a1af;
  font-size: 14px;
}

.reveal-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .feature-card,
  .work-card {
    grid-column: span 6;
  }

  .approach-intro,
  .approach-cards {
    grid-column: 1 / -1;
  }

  .approach-card {
    grid-column: span 6;
  }

  .logo-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100vw - 32px);
  }

  .nav-shell {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 210px;
  }

  .feature-card,
  .work-card,
  .approach-card {
    grid-column: 1 / -1;
  }

  .section {
    padding: 96px 0;
  }

  .footer-row {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal-target {
    opacity: 1;
    transform: none;
  }
}
