:root {
  color-scheme: dark;
  --bg: #050709;
  --panel: #0b1014;
  --panel-strong: #10171d;
  --line: rgba(220, 242, 248, 0.16);
  --line-strong: rgba(220, 242, 248, 0.28);
  --text: #f4f8f9;
  --muted: #9fafb5;
  --soft: #c7d3d7;
  --cyan: #0097f1;
  --teal: #0069e5;
  --gold: #d7b66d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 9, 0.68);
  border-bottom: 1px solid rgba(220, 242, 248, 0.08);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto auto;
  left: 0;
  min-height: 76px;
  padding: 0 42px;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 9, 0.9);
  border-color: var(--line);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  width: fit-content;
}

.brand-logo {
  height: 42px;
  object-fit: contain;
  width: 56px;
}

.brand-wordmark {
  height: 24px;
  max-width: 174px;
  object-fit: contain;
  width: auto;
}

.text-brand {
  color: var(--text);
  font-weight: inherit;
  white-space: nowrap;
}

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

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 28px;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--soft);
  font-size: 0.92rem;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--text);
}

.header-cta,
.secondary-button,
.primary-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta,
.secondary-button {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.primary-button {
  background: var(--cyan);
  border: 1px solid var(--cyan);
  color: #031113;
}

.header-cta:hover,
.secondary-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.header-cta:hover,
.secondary-button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  min-height: 76svh;
  overflow: hidden;
  padding: 124px 42px 46px;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.98) 0%, rgba(5, 7, 9, 0.82) 35%, rgba(5, 7, 9, 0.24) 72%),
    linear-gradient(180deg, rgba(5, 7, 9, 0.15), rgba(5, 7, 9, 0.78));
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 6.8vw, 5.9rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 22px;
  max-width: 930px;
}

.hero-copy {
  color: var(--soft);
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  line-height: 1.6;
  max-width: 630px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.hero-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
}

.hero-metrics div {
  background: rgba(8, 14, 17, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.hero-metrics dt {
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.hero-metrics dd {
  color: var(--soft);
  font-size: 0.94rem;
  line-height: 1.45;
  margin: 0;
}

.trust-strip {
  align-items: center;
  border-block: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  padding: 20px 42px;
}

.trust-strip span {
  font-size: 0.83rem;
  font-weight: 780;
  text-transform: uppercase;
}

.section,
.split-section,
.contact-section {
  padding: 108px 42px;
}

.section-heading,
.split-section,
.contact-section,
.site-footer {
  margin-inline: auto;
  max-width: 1180px;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading.compact {
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 850px;
}

.section-heading p:not(.eyebrow),
.contact-section p,
.split-section p,
.outcome-grid p,
.service-card p {
  color: var(--muted);
  line-height: 1.68;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
}

.service-grid,
.outcome-grid {
  display: grid;
  gap: 16px;
  margin-inline: auto;
  max-width: 1180px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card,
.timeline article,
.outcome-grid div,
.contact-form {
  background: linear-gradient(180deg, rgba(17, 25, 31, 0.92), rgba(8, 13, 17, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 290px;
  padding: 26px;
}

.icon-shell {
  align-items: center;
  border: 1px solid rgba(0, 151, 241, 0.28);
  border-radius: 8px;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 30px;
  width: 44px;
}

.icon-shell svg {
  fill: none;
  height: 23px;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 23px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.split-section {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: 0.78fr 1fr;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 24px;
}

.timeline span {
  color: var(--gold);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.accent-section {
  background:
    linear-gradient(180deg, rgba(6, 14, 16, 0.78), rgba(5, 7, 9, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(0, 151, 241, 0.18), transparent 38%);
  border-block: 1px solid var(--line);
}

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

.outcome-grid div {
  padding: 24px;
}

.outcome-grid strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.contact-section {
  align-items: start;
  display: grid;
  gap: 60px;
  grid-template-columns: 0.9fr 1fr;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 740;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
}

select {
  appearance: none;
}

textarea {
  min-height: 150px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 151, 241, 0.72);
  box-shadow: 0 0 0 4px rgba(0, 151, 241, 0.12);
}

.contact-form .primary-button {
  cursor: pointer;
  font: inherit;
  width: fit-content;
}

.contact-form .primary-button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.honeypot {
  height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  transform: translateX(-100vw);
  width: 0;
}

.form-status {
  color: var(--soft);
  line-height: 1.5;
  margin: 0;
  min-height: 1.5em;
}

.form-status.is-success {
  color: var(--cyan);
}

.form-status.is-error {
  color: #ffb0b0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 32px 42px 44px;
}

.site-footer .brand-logo {
  height: 48px;
  width: 64px;
}

.site-footer .brand-wordmark {
  height: 27px;
}

.site-footer p {
  margin: 0;
}

.site-footer a:not(.brand) {
  color: var(--cyan);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 24px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    height: 42px;
    justify-content: center;
    width: 42px;
  }

  .menu-button span {
    background: var(--text);
    display: block;
    height: 2px;
    width: 18px;
  }

  .mobile-nav {
    background: rgba(5, 7, 9, 0.96);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 4px;
    left: 0;
    opacity: 0;
    padding: 90px 24px 22px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-16px);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 15;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .hero {
    min-height: 78svh;
    padding: 112px 24px 40px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 9, 0.98) 0%, rgba(5, 7, 9, 0.76) 60%, rgba(5, 7, 9, 0.38) 100%),
      linear-gradient(180deg, rgba(5, 7, 9, 0.18), rgba(5, 7, 9, 0.86));
  }

  .hero-metrics,
  .service-grid,
  .outcome-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section,
  .contact-section {
    padding: 82px 24px;
  }

  .service-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 24px;
  }
}

@media (max-width: 620px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-metrics div,
  .service-card,
  .timeline article,
  .outcome-grid div,
  .contact-form {
    padding: 20px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }
}
