:root {
  color-scheme: light;
  --bg: #fafafa;
  --bg-alt: #f0f0f0;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #2563eb;
  --accent-dark: #1e40af;
  --accent-soft: #dbeafe;
  --card: #ffffff;
  --stroke: rgba(26, 26, 26, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.btn.primary {
  background: var(--accent);
  color: white;
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.btn.outline:hover {
  background: var(--accent);
  color: white;
}

.btn.ghost {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
}

.btn.ghost:hover {
  background: rgba(37, 99, 235, 0.12);
}

.header {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: transparent;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span:first-child {
  top: 14px;
}

.nav-toggle span:last-child {
  top: 23px;
}

.hero {
  padding: 5rem 0 6rem;
}

.hero-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: var(--text);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-highlights > div {
  display: flex;
  flex-direction: column;
}

.hero-highlights strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-highlights span {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.card-copy {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-metrics {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
}

.card-metrics > div {
  display: flex;
  flex-direction: column;
}

.card-metrics span {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.card-metrics strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stack {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stack > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stack strong {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.stack p {
  color: var(--muted);
  font-size: 0.9rem;
}

.trusted {
  padding: 3rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.trusted > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.trusted p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
}

.trusted-logos {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trusted-logos span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.7;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-copy {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.methodology,
.services,
.cases,
.team,
.pricing,
.contact {
  padding: 5rem 0;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.methodology-grid article {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.methodology-grid h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.methodology-grid p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.methodology-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.methodology-grid li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.methodology-grid li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.service-list > div h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.service-list > div p {
  color: var(--muted);
  line-height: 1.6;
}

.services-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.metric-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.metric-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stroke);
}

.metric:last-child {
  border-bottom: none;
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.metric strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.timeline {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.timeline h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.timeline ol {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline li {
  counter-increment: step;
  padding-left: 2.5rem;
  position: relative;
  color: var(--muted);
  line-height: 1.6;
}

.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.cases-grid article {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cases-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.case-thumb.alt {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.cases-grid article {
  padding: 1.5rem;
}

.cases-grid h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.cases-grid > article > p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.case-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.case-metrics span {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-grid article {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  margin: 0 auto 1.5rem;
}

.team-avatar.alt {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.team-grid h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.team-bio {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.price-desc {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-card li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-details strong {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-details p {
  color: var(--muted);
  font-size: 1rem;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--stroke);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--stroke);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer .logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.footer p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
}

.footer > div > div > a {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.footer > div > div > a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--stroke);
  text-align: center;
}

.footer-bottom span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--stroke);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .methodology,
  .services,
  .cases,
  .team,
  .pricing,
  .contact {
    padding: 3rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
