:root {
  color-scheme: dark;
  --bg: #080b10;
  --panel: #101722;
  --panel-2: #151f2d;
  --ink: #f4f7fb;
  --muted: #a6b2c1;
  --soft: #d5deea;
  --line: #273447;
  --blue: #4da3ff;
  --blue-2: #7cc4ff;
  --teal: #40d2b0;
  --amber: #f2b84b;
  --danger: #ff8b8b;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(77, 163, 255, 0.08), transparent 34%),
    linear-gradient(300deg, rgba(64, 210, 176, 0.06), transparent 42%);
  z-index: -1;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.7rem 1rem;
  background: var(--blue);
  color: #031321;
  border-radius: 6px;
  z-index: 20;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 11, 16, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f68c6, #17263a);
  border: 1px solid rgba(124, 196, 255, 0.5);
  color: var(--ink);
  font-weight: 800;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border-radius: 7px;
  background: var(--blue);
  color: #041423;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(124, 196, 255, 0.45);
  outline-offset: 2px;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 2.4rem;
  align-items: center;
}

.hero > *,
.section-head > *,
.split > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

p,
li {
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.14rem;
}

.lead {
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  color: var(--soft);
  max-width: 42rem;
  width: 100%;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-visual {
  position: relative;
  margin: 0;
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(124, 196, 255, 0.24);
  background: #0d1420;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 16, 0.12), rgba(8, 11, 16, 0.28));
}

.stats-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.stat {
  border: 1px solid var(--line);
  background: rgba(16, 23, 34, 0.78);
  border-radius: 8px;
  padding: 1rem;
  min-height: 96px;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--ink);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 4.4rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p,
.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: rgba(16, 23, 34, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
}

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

.card-link {
  display: inline-flex;
  margin-top: 0.4rem;
  color: var(--blue-2);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover,
.card-link:focus-visible {
  text-decoration: underline;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag {
  border: 1px solid rgba(124, 196, 255, 0.22);
  background: rgba(77, 163, 255, 0.08);
  color: var(--soft);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.82rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: steps;
}

.step {
  position: relative;
}

.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  color: #041423;
  background: var(--teal);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

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

.feature-list li {
  padding-left: 1.7rem;
  position: relative;
  color: var(--soft);
}

.feature-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  position: absolute;
  left: 0;
  top: 0.55rem;
  border-radius: 2px;
  background: var(--blue);
}

.callout {
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.13), rgba(64, 210, 176, 0.08));
  border: 1px solid rgba(124, 196, 255, 0.24);
  border-radius: 8px;
  padding: 2rem;
}

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 4.2rem 1rem;
}

.legal h1 {
  max-width: none;
  font-size: clamp(2.1rem, 6vw, 4rem);
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal p,
.legal li {
  color: var(--soft);
}

.legal a {
  color: var(--blue-2);
}

.service-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1rem 2rem;
}

.service-hero h1 {
  max-width: 14ch;
}

.service-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1rem;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a {
    min-height: 42px;
  }

  .hero,
  .section-head,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.2rem;
    width: 100%;
    max-width: 100%;
  }

  .hero > div {
    width: 100%;
    max-width: calc(100vw - 2rem);
  }

  .hero-visual,
  .hero-visual img {
    min-height: 270px;
  }

  .stats-strip,
  .grid.three,
  .grid.two,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 3.2rem 1rem;
  }

  .callout {
    padding: 1.25rem;
  }
}
