:root {
  --paper: #f7f9fc;
  --ink: #1a1d29;
  --muted: #5b6272;
  --accent: #0c2290;
  --accent-dark: #081a6b;
  --tint: #d9e3f1;
  --card: #ffffff;
  --line: #dde4ef;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

main a {
  color: var(--accent);
}

main a:hover {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 3px solid #0c229055;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 10px 0;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  height: 32px;
  width: auto;
}

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

.header-contact {
  /* padding + negative margin enlarge the tap target without moving layout */
  padding: 0.7rem 0.75rem;
  margin: -0.7rem -0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.header-contact:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.lead-text {
  max-width: 42rem;
  margin: 1.25rem auto 2rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.btn-accent {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* Services */
.service-card.service-featured {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 2.25rem 2rem;
  border-left: 4px solid var(--accent);
}

.service-featured .icon-badge {
  flex-shrink: 0;
  margin-bottom: 0;
}

.service-featured-body > p:not(.service-kicker) {
  max-width: 46rem;
  color: var(--muted);
}

.service-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-featured h2 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.services-label {
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card.service-featured {
    flex-direction: column;
    gap: 1rem;
  }
}

.service-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(12, 34, 144, 0.05);
}

.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--tint);
  color: var(--accent);
}

.service-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Contact */
.contact {
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.contact h2 {
  font-weight: 750;
  letter-spacing: -0.01em;
}

.contact p {
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  padding: 0.6rem 0.5rem;
  margin: -0.6rem -0.5rem;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--ink);
}
