:root {
  color-scheme: light;
  --ink: #2a3038;
  --blue: #0077ff;
  --blue-soft: #61b8ff;
  --cyan: #8cecff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9) 0 24%, rgba(255, 255, 255, 0.55) 45%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 52%, #ffffff 100%);
}

.landing::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 119, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: 0 0;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.46), transparent 69%);
  animation: gridDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.aurora {
  position: absolute;
  inset: -16% -12%;
  z-index: 0;
  overflow: hidden;
  filter: blur(34px) saturate(1.32);
  opacity: 0;
  display: none;
  pointer-events: none;
}

.motion-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  filter: blur(18px) saturate(1.1);
  transform: translateZ(0);
  pointer-events: none;
}

.aurora-line {
  position: absolute;
  left: 50%;
  width: 118vw;
  height: 34vh;
  border-radius: 999px;
  transform-origin: center;
  mix-blend-mode: multiply;
  animation: auroraDrift 7s ease-in-out infinite alternate;
}

.line-a {
  top: 24%;
  background: linear-gradient(90deg, transparent 4%, rgba(0, 112, 255, 0.36) 29%, rgba(48, 188, 255, 0.4) 52%, transparent 87%);
  --angle: -10deg;
  --angle-end: 7deg;
  --shift-a: -34px;
  --shift-b: 26px;
  transform: translate3d(calc(-50% + var(--shift-a)), -10px, 0) rotate(var(--angle)) scale(1);
}

.line-b {
  top: 38%;
  height: 29vh;
  background: linear-gradient(90deg, transparent 8%, rgba(58, 165, 255, 0.36) 34%, rgba(0, 80, 255, 0.3) 59%, transparent 88%);
  --angle: 8deg;
  --angle-end: -6deg;
  --shift-a: 30px;
  --shift-b: -28px;
  transform: translate3d(calc(-50% + var(--shift-a)), 12px, 0) rotate(var(--angle)) scale(1);
  animation-delay: -6s;
}

.line-c {
  top: 52%;
  height: 22vh;
  background: linear-gradient(90deg, transparent 8%, rgba(154, 231, 255, 0.36) 33%, rgba(0, 119, 255, 0.24) 64%, transparent 90%);
  --angle: -3deg;
  --angle-end: 4deg;
  --shift-a: -18px;
  --shift-b: 36px;
  transform: translate3d(calc(-50% + var(--shift-a)), 6px, 0) rotate(var(--angle)) scale(1);
  animation-delay: -11s;
}

.glass-card {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(84vw, 760px);
  min-height: clamp(158px, 19vw, 220px);
  place-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22));
  box-shadow:
    0 30px 100px rgba(0, 83, 180, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(0, 119, 255, 0.08);
  backdrop-filter: blur(26px) saturate(1.18);
}

.brand-logo {
  display: block;
  width: min(100%, 476px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 22px 54px rgba(0, 74, 171, 0.12));
  transform: translate(10px, 6px);
}

.contact-link {
  position: absolute;
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(82, 91, 104, 0.58);
  font: 400 12px/1.4 Arial, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: rgba(42, 48, 56, 0.82);
}

.contact-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.wordmark-path {
  fill: rgba(34, 39, 47, 0.94);
}

.logo-three {
  fill: none;
  stroke: rgba(34, 39, 47, 0.94);
  stroke-width: 10;
  stroke-linecap: square;
  stroke-linejoin: round;
}

.software-line-path {
  fill: rgba(82, 91, 104, 0.84);
}

.dot-top {
  fill: #ffffff;
  stroke: #0f58c8;
  stroke-width: 1.1;
}

.dot-mid {
  fill: #62b8ff;
}

.dot-low {
  fill: #0f58c8;
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(calc(-50% + var(--shift-a)), -12px, 0) rotate(var(--angle)) scale(1);
  }

  100% {
    transform: translate3d(calc(-50% + var(--shift-b)), 16px, 0) rotate(var(--angle-end)) scale(1.055);
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0;
    transform: translate3d(-8px, -6px, 0);
  }

  100% {
    background-position: 34px 28px;
    transform: translate3d(8px, 7px, 0);
  }
}

@media (max-width: 680px) {
  .aurora {
    inset: -10% -42%;
    filter: blur(28px) saturate(1.2);
    opacity: 0;
  }

  .motion-field {
    inset: 0;
    width: 100%;
    height: 100%;
    filter: blur(20px) saturate(1.08);
    transform: translateZ(0);
  }

  .glass-card {
    width: calc(100vw - 28px);
    min-height: 148px;
    border-radius: 24px;
    padding: 28px 20px;
  }

  .brand-logo {
    width: min(100%, 332px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 7s !important;
    animation-iteration-count: infinite !important;
  }
}
