:root {
  color-scheme: dark;
  --background: #050706;
  --surface: rgba(16, 29, 25, 0.82);
  --surface-border: rgba(190, 240, 225, 0.14);
  --text: #f4f7f6;
  --muted: #b9c4c0;
  --mint: #8ff2d0;
  --emerald: #12a985;
  --content-width: 1180px;
  --page-gutter: clamp(18px, 5vw, 48px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(70rem 45rem at 85% -15%, rgba(18, 169, 133, 0.16), transparent 65%),
    radial-gradient(48rem 38rem at -15% 55%, rgba(11, 90, 82, 0.22), transparent 68%),
    var(--background);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}

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

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

.skip-link {
  position: absolute;
  z-index: 10;
  top: -5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--text);
  color: var(--background);
}

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

.site-header,
main,
.site-footer {
  width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.site-header {
  padding-top: max(18px, env(safe-area-inset-top));
}

.navigation {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(250, 250, 248, 0.92);
  color: #242a28;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.brand {
  display: inline-flex;
  width: 72px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.brand__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navigation__links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(8px, 2vw, 24px);
}

.navigation__links a,
.social-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
}

.navigation__links a {
  border-radius: 999px;
  font-size: 15px;
  transition: background-color 180ms ease;
}

.navigation__links a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.hero {
  display: grid;
  min-height: min(780px, calc(100svh - 100px));
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(30px, 6vw, 82px);
  padding-block: clamp(72px, 12vh, 140px);
}

.hero__copy {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 {
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  background: linear-gradient(180deg, #fff 22%, #cad5d1 74%, rgba(143, 242, 208, 0.88));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__description,
.section-heading > p:last-child,
.service-card p,
.approach > p:not(.eyebrow),
.contact > p {
  color: var(--muted);
}

.hero__description {
  max-width: 52ch;
  justify-self: end;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  padding: 14px 24px;
  border: 1px solid rgba(143, 242, 208, 0.32);
  border-radius: 999px;
  background: linear-gradient(155deg, rgba(18, 169, 133, 0.32), rgba(11, 90, 82, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 40px -24px rgba(18, 169, 133, 0.76);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 242, 208, 0.55);
}

.content-section,
.contact {
  scroll-margin-top: 28px;
}

.content-section {
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--surface-border);
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(100% 110% at 0% 0%, rgba(18, 169, 133, 0.1), transparent 56%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 32px 72px -44px rgba(0, 0, 0, 0.9);
}

.section-heading {
  max-width: 800px;
}

.section-heading h2,
.approach h2,
.contact h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.section-heading > p:last-child,
.approach > p:not(.eyebrow),
.contact > p {
  max-width: 70ch;
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 19px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(32px, 5vw, 58px);
}

.service-card {
  min-width: 0;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid rgba(190, 240, 225, 0.13);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(18, 44, 38, 0.72), rgba(5, 14, 12, 0.8));
}

.service-card__number {
  display: block;
  margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(143, 242, 208, 0.9), rgba(18, 169, 133, 0.42));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
}

.approach {
  margin-top: 24px;
}

.contact {
  max-width: 760px;
  margin: clamp(64px, 9vw, 104px) auto;
  text-align: center;
}

.contact > p {
  margin-inline: auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 24px max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(18, 169, 133, 0.2);
  color: var(--muted);
  font-size: 15px;
}

.site-footer__name {
  color: var(--text);
  font-weight: 500;
}

.social-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.social-links a:hover {
  color: var(--mint);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-block: 84px 64px;
  }

  .hero__description {
    justify-self: start;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .navigation {
    min-height: 60px;
    gap: 8px;
    padding-left: 10px;
  }

  .brand {
    width: 54px;
    height: 40px;
  }

  .navigation__links {
    gap: 0;
  }

  .navigation__links a {
    padding-inline: 9px;
    font-size: 14px;
  }

  .hero {
    padding-top: 72px;
  }

  .content-section {
    padding: 26px 20px;
  }

  .service-card {
    padding: 24px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
  }

  .social-links {
    width: 100%;
    gap: 4px 8px;
  }

  .social-links a {
    padding-inline: 8px;
  }
}

@media (max-width: 360px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 32px);
  }

  .navigation__links a {
    padding-inline: 7px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
