:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #0b1b42;
  --muted: #425474;
  --line: #ccdaee;
  --brand: #0c4fd9;
  --brand-hover: #093ba3;
  --accent: #ffcb3d;
  --accent-deep: #f5b300;
  --hero-bg: #071637;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255, 203, 61, 0.18), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(12, 79, 217, 0.14), transparent 36%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 0.75rem;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-logo {
  height: 2.25rem;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.nav-cta.btn {
  padding: 0.55rem 0.9rem;
  color: #fdfefe;
  box-shadow: none;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
  color: #fdfefe;
}

.mobile-nav {
  margin-left: auto;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(12, 79, 217, 0.25);
  border-radius: 0.6rem;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  background: var(--surface);
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav[open] nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 15rem;
  display: grid;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid #c8d8ef;
  border-radius: 0.8rem;
  padding: 0.55rem;
  box-shadow: 0 14px 28px rgba(10, 37, 84, 0.14);
}

.mobile-nav nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  border-radius: 0.55rem;
  padding: 0.5rem 0.6rem;
}

.mobile-nav nav a:hover,
.mobile-nav nav a:focus-visible {
  background: #eef3fb;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #eef3fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero.section {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

.hero h1 {
  margin: 0.65rem 0 1.1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  max-width: 17ch;
}

.hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 203, 61, 0.18), rgba(12, 79, 217, 0.08)),
    var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 203, 61, 0.36), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(12, 79, 217, 0.24), transparent 32%);
  z-index: -1;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 62ch;
}

.hero-metrics {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.hero-metrics li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(12, 79, 217, 0.2);
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0.6rem;
}

.hero-metrics strong {
  color: var(--brand);
  font-size: 0.95rem;
  min-width: 7rem;
}

.hero-metrics span {
  color: var(--text);
  font-size: 0.95rem;
}

.lead-small {
  margin: 0 0 1rem;
  color: var(--muted);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cta-group .btn {
  width: 100%;
  text-align: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 0.7rem;
  font-weight: 700;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #256ff8);
  color: #fdfefe;
  box-shadow: 0 8px 16px rgba(12, 79, 217, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--brand-hover), #1c5fdd);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(12, 79, 217, 0.25);
}

.btn-secondary {
  border-color: rgba(12, 79, 217, 0.25);
  background: var(--surface);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--brand);
  transform: translateY(-1px);
}

h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  position: relative;
  padding-left: 0.8rem;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(var(--brand), var(--accent));
}

h3 {
  margin-top: 0;
  font-size: 1.12rem;
}

.bullet-grid,
.card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.bullet-grid {
  display: grid;
  gap: 0.6rem;
  max-width: 74ch;
}

.social-proof-list {
  list-style: none;
  padding-left: 0;
  max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.social-proof-list li {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d3e0f2;
  border-left: 4px solid rgba(255, 203, 61, 0.9);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
}

.why-section .container,
.work-section .container {
  background: var(--surface);
  border: 1px solid #c8d8ef;
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: 0 12px 28px rgba(10, 37, 84, 0.06);
}

.why-section .bullet-grid,
.work-section .bullet-grid {
  list-style: none;
  padding-left: 0;
  max-width: none;
}

.why-section .bullet-grid li,
.work-section .bullet-grid li {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.96));
  border: 1px solid #d3e0f2;
  border-left: 4px solid rgba(12, 79, 217, 0.75);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
}

.engagement-models {
  margin-top: 1.2rem;
}

.engagement-title {
  margin: 0 0 0.55rem;
  font-weight: 700;
  color: var(--text);
}

.model-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.model-list li {
  border: 1px solid rgba(12, 79, 217, 0.25);
  background: rgba(255, 203, 61, 0.14);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #113579;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
}

.card {
  grid-column: span 12;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.95));
  border: 1px solid #c8d8ef;
  border-radius: 0.95rem;
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(10, 37, 84, 0.06);
}

.services-grid .card {
  border-top: 3px solid rgba(255, 203, 61, 0.7);
}

.card:hover {
  border-color: #9eb7de;
  box-shadow: 0 14px 30px rgba(10, 37, 84, 0.1);
}

.site-footer {
  background:
    linear-gradient(120deg, #071637, #0d2f7a),
    var(--hero-bg);
  color: #dce8ff;
  padding: 2.5rem 0;
}

.site-footer a {
  color: #ffe493;
}

.site-footer .brand-logo {
  filter: brightness(1.05);
  height: 2rem;
}

address {
  font-style: normal;
}

@media (min-width: 760px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .why-section .container,
  .work-section .container {
    padding: 1.7rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics li {
    display: block;
  }

  .hero-metrics strong,
  .hero-metrics span {
    display: block;
  }

  .hero-metrics strong {
    margin-bottom: 0.2rem;
  }

  .card {
    grid-column: span 6;
  }

  .bullet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.2rem;
  }

  .cta-group .btn {
    width: auto;
  }
}

@media (min-width: 1040px) {
  .section {
    padding: 5rem 0;
  }

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

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

  .hero.section {
    padding-top: 5.6rem;
    padding-bottom: 5rem;
  }

  .why-section .container,
  .work-section .container {
    padding: 2rem;
  }

  .work-section .bullet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-section .bullet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-alt .bullet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-alt .social-proof-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
