:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080b10;
  color: #f7f8fa;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background: #060910;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.tech-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -20%, rgba(95, 137, 255, 0.18), transparent 38%),
    linear-gradient(145deg, #05070c 0%, #080d17 48%, #05080f 100%);
}

.tech-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.75;
  will-change: transform;
}

.tech-orb::before,
.tech-orb::after {
  position: absolute;
  border: 1px solid rgba(146, 183, 255, 0.18);
  border-radius: inherit;
  content: "";
}

.tech-orb::before {
  inset: -12%;
}

.tech-orb::after {
  inset: -28%;
  border-color: rgba(117, 244, 220, 0.09);
}

.tech-orb-primary {
  top: 8%;
  right: -10rem;
  width: min(42vw, 42rem);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 38% 36%, rgba(191, 215, 255, 0.38), transparent 3%),
    radial-gradient(circle at 50% 50%, rgba(65, 116, 255, 0.18), transparent 58%),
    conic-gradient(from 210deg, transparent, rgba(112, 164, 255, 0.18), transparent 38%);
  box-shadow: inset 0 0 8rem rgba(102, 151, 255, 0.08), 0 0 8rem rgba(58, 108, 255, 0.1);
  animation: orb-float 16s ease-in-out infinite alternate;
}

.tech-orb-secondary {
  bottom: 5%;
  left: -12rem;
  width: min(35vw, 32rem);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(75, 220, 203, 0.13), transparent 65%);
  box-shadow: 0 0 7rem rgba(75, 220, 203, 0.08);
  animation: orb-float 20s ease-in-out -7s infinite alternate-reverse;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: 0 2rem;
  border-bottom: 1px solid transparent;
  background: rgba(8, 11, 16, 0);
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(1rem);
}

.site-logo {
  color: #83adff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
}

.nav-link {
  position: relative;
  padding: 0.7rem 0;
  color: #9299a6;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: #83adff;
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #f7f8fa;
}

.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(110, 168, 255, 0.17), transparent 31rem),
    linear-gradient(to bottom, rgba(6, 9, 16, 0.12), rgba(6, 9, 16, 0.5));
}

.brand {
  margin: 0 0 clamp(2.5rem, 8vh, 6rem);
  color: #83adff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(2.6rem, 7.5vw, 7rem);
  font-weight: 700;
  gap: 0.16em;
  line-height: 1.06;
  letter-spacing: -0.04em;
  word-spacing: 0.08em;
  text-wrap: balance;
}

h2,
h3,
p {
  text-wrap: pretty;
}

.statement {
  color: #f7f8fa;
}

.word-window {
  position: relative;
  display: block;
  min-width: min(100%, 11.5em);
  min-height: 1.08em;
  overflow: hidden;
}

.word {
  display: block;
  color: #83adff;
}

.word.is-leaving {
  animation: word-out 360ms cubic-bezier(0.4, 0, 1, 1) both;
}

.word.is-entering {
  animation: word-in 460ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.resolution {
  margin: clamp(2rem, 5vh, 3.5rem) 0 0;
  color: #9299a6;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  letter-spacing: -0.02em;
}

.resolution strong {
  color: #f7f8fa;
  font-weight: 600;
}

.content-section {
  position: relative;
  padding: clamp(6rem, 11vw, 10rem) 2rem;
  scroll-margin-top: 4.75rem;
}

.section-shell {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.section-intro {
  max-width: 48rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #83adff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content-section h2 {
  margin: 0;
  color: #f7f8fa;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-intro > p:last-child,
.contact-copy > p:not(.eyebrow):not(.contact-detail) {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: #9299a6;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.solutions {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 100% 20%, rgba(110, 168, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, rgba(10, 15, 24, 0.92), rgba(8, 13, 21, 0.78));
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.solution-card {
  min-height: 24rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(126, 168, 255, 0.085), rgba(255, 255, 255, 0.014));
  backdrop-filter: blur(1.2rem);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.12);
  transition: border-color 250ms ease, transform 250ms ease, background-color 250ms ease;
}

.solution-card:hover {
  border-color: rgba(131, 173, 255, 0.35);
  background-color: rgba(131, 173, 255, 0.035);
  transform: translateY(-0.35rem);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid rgba(131, 173, 255, 0.2);
  border-radius: 1rem;
  color: #83adff;
  background: rgba(131, 173, 255, 0.07);
}

.card-icon svg {
  width: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.solution-card h3 {
  margin: 0;
  color: #f7f8fa;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.solution-card p {
  margin: 1rem 0 0;
  color: #9299a6;
  line-height: 1.65;
}

.infrastructure {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 15% 45%, rgba(110, 168, 255, 0.15), transparent 30rem),
    linear-gradient(180deg, rgba(6, 9, 16, 0.68), rgba(6, 10, 17, 0.88));
}

.infrastructure-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(24rem, 1.1fr);
  align-items: center;
  gap: clamp(4rem, 10vw, 10rem);
}

.infrastructure-copy > p:not(.eyebrow) {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  color: #9299a6;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.25rem;
  color: #f7f8fa;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration-color: rgba(131, 173, 255, 0.55);
  text-underline-offset: 0.35em;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  gap: 0.8rem;
  color: #83adff;
}

.infrastructure-stack {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(131, 173, 255, 0.16);
  border-radius: 1.5rem;
  background: rgba(12, 17, 25, 0.82);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.25);
}

.infrastructure-stack::before {
  position: absolute;
  z-index: -1;
  inset: 12% -8%;
  border-radius: 50%;
  background: rgba(110, 168, 255, 0.08);
  content: "";
  filter: blur(3rem);
}

.infrastructure-layer {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: linear-gradient(115deg, rgba(131, 173, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.infrastructure-layer h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.025em;
}

.infrastructure-layer p {
  margin: 0.55rem 0 0;
  color: #9299a6;
  line-height: 1.55;
}

.about {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 9, 16, 0.74);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(18rem, 1.25fr);
  align-items: start;
  gap: clamp(3rem, 9vw, 9rem);
}

.about-copy {
  margin: 0;
  color: #c1c6cf;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.contact {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 15% 85%, rgba(110, 168, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, rgba(9, 14, 23, 0.86), rgba(6, 9, 16, 0.94));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(22rem, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.contact-detail {
  margin: 3rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #9299a6;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-detail a {
  color: #c1c6cf;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration-color: rgba(131, 173, 255, 0.45);
  text-underline-offset: 0.3em;
  text-transform: none;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: #83adff;
  text-decoration-color: currentColor;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.025);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-row-wide {
  grid-column: 1 / -1;
}

.form-row label {
  color: #c1c6cf;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  outline: none;
  color: #f7f8fa;
  background: rgba(8, 11, 16, 0.65);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row input {
  min-height: 3.2rem;
  padding: 0 0.9rem;
}

.form-row textarea {
  min-height: 9rem;
  padding: 0.9rem;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #83adff;
  box-shadow: 0 0 0 3px rgba(131, 173, 255, 0.1);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.form-actions button {
  flex: 0 0 auto;
  min-height: 3.1rem;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 999px;
  color: #080b10;
  background: #83adff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.form-actions button:hover {
  background: #a1c1ff;
  transform: translateY(-2px);
}

.form-actions p {
  margin: 0;
  color: #747b87;
  font-size: 0.78rem;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #747b87;
  background: rgba(6, 9, 16, 0.94);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #9299a6;
  text-decoration-color: rgba(131, 173, 255, 0.35);
  text-underline-offset: 0.25em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #83adff;
  text-decoration-color: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .brand,
  h1,
  .resolution {
    animation: arrive 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  h1 {
    animation-delay: 80ms;
  }

  .resolution {
    animation-delay: 160ms;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(1.25rem);
      filter: blur(0.35rem);
    }
  }

  @keyframes word-out {
    to {
      opacity: 0;
      transform: translateY(-70%);
      filter: blur(0.2rem);
    }
  }

  @keyframes word-in {
    from {
      opacity: 0;
      transform: translateY(70%);
      filter: blur(0.2rem);
    }
  }

  @keyframes orb-float {
    to {
      transform: translate3d(-2.5rem, 2rem, 0) scale(1.06) rotate(8deg);
    }
  }

}

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

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

@media (max-width: 52rem) {
  .solutions-grid,
  .infrastructure-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 19rem;
  }

  .about-layout,
  .infrastructure-layout,
  .contact-layout {
    gap: 2.5rem;
  }
}

@media (max-width: 36rem) {
  .tech-orb-primary {
    top: 12%;
    right: -13rem;
    width: 28rem;
  }

  .site-header {
    min-height: 4.25rem;
    padding: 0 1.25rem;
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-content: center;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    color: #f7f8fa;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 1.25rem;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(0.22rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-0.22rem) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 11, 16, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-link {
    padding: 0.85rem 0;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    padding: 1.5rem;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4.5rem);
  }

  .word-window {
    min-width: 100%;
  }

  .content-section {
    padding: 5.5rem 1.25rem;
  }

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

  .solution-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .card-icon {
    margin-bottom: 3rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-column: 1;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem 1.25rem;
  }
}
