:root {
  --blue: #007bff;
  --blue-deep: #0056b3;
  --blue-soft: #e8f2ff;
  --charcoal: #1a1a1a;
  --ink: #2d2d2d;
  --muted: #5c6370;
  --line: #e4e8ef;
  --surface: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
  --radius: 2px;
  --header-h: 72px;
  --max: 1120px;
  --font: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.75rem;
}

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

.wordmark {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.wordmark span {
  color: var(--blue);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

h1,
h2,
h3 {
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.accent-text {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.btn.ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: var(--charcoal);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: auto;
}

.brand .wordmark {
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 0.95rem;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 123, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(0, 123, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
}

.hero-logo {
  width: min(280px, 70vw);
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 10px 18px rgba(26, 26, 26, 0.08));
}

.lede {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head p:last-child {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.services {
  padding: 5rem 0;
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem 1.6rem;
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--blue);
  background: var(--blue-soft);
}

.service-card svg {
  width: 28px;
  height: 28px;
}

.service-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.about {
  padding: 5rem 0;
  background: var(--charcoal);
  color: #d7dbe2;
}

.about h2,
.about .eyebrow {
  color: var(--white);
}

.about .eyebrow {
  color: #7ec2ff;
}

.about-copy {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
}

.about-copy p {
  margin: 0;
  font-size: 1.05rem;
}

.pillars {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pillars li {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pillars strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.contact {
  padding: 5rem 0 5.5rem;
  background: var(--surface);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.contact-form .btn {
  width: 100%;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #c0392b;
}

.field-error {
  margin: 0;
  color: #c0392b;
  font-size: 0.85rem;
}

.form-status {
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 500;
}

.site-footer {
  background: var(--charcoal);
  color: #c9ced8;
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}

.footer-brand .wordmark {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-tagline {
  margin: 0.4rem 0 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.footer-tagline span {
  color: var(--blue);
}

.social {
  display: flex;
  gap: 0.75rem;
}

.social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.social a:hover,
.social a:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}

.social svg {
  width: 18px;
  height: 18px;
}

.copyright {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.25rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.2rem;
  }

  .nav-cta {
    text-align: center;
  }

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

  .hero {
    padding: 3rem 0 3.5rem;
  }
}
