:root {
  --background: #070b14;
  --surface: #0d1322;
  --surface-raised: #111a2e;
  --foreground: #f5f7fb;
  --muted: #a7b0c3;
  --muted-strong: #c6cddd;
  --line: rgba(169, 184, 216, 0.17);
  --line-strong: rgba(169, 184, 216, 0.3);
  --accent: #6f8cff;
  --accent-bright: #8da2ff;
  --cyan: #55d6d0;
  --focus: #9ee8ff;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--background);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
}

::selection {
  background: rgba(111, 140, 255, 0.38);
  color: #ffffff;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 48%, rgba(40, 82, 184, 0.14), transparent 29rem),
    linear-gradient(135deg, #080c16 0%, #070b14 48%, #090f1d 100%);
}

.ambient,
.technical-grid,
.page-texture {
  position: absolute;
  pointer-events: none;
}

.ambient {
  z-index: -3;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.2;
}

.ambient-one {
  right: -18rem;
  top: -14rem;
  background: #2755ff;
}

.ambient-two {
  right: 17%;
  bottom: -29rem;
  width: 34rem;
  height: 34rem;
  background: #1ab6c4;
}

.technical-grid {
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(145, 164, 205, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 164, 205, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 72% 46%, black, transparent 58%);
}

.page-texture {
  z-index: -1;
  inset: 0;
  opacity: 0.14;
  background-image:
    repeating-radial-gradient(circle at 18% 32%, transparent 0, transparent 2px, rgba(255, 255, 255, 0.025) 3px),
    linear-gradient(115deg, transparent 0 49.8%, rgba(255, 255, 255, 0.035) 50%, transparent 50.2%);
  background-size: 5px 5px, 100% 100%;
}

.site-header,
.hero,
.site-footer {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name {
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.status-pill {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 16, 29, 0.64);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(85, 214, 208, 0.1), 0 0 16px rgba(85, 214, 208, 0.75);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(85, 214, 208, 0.55);
  border-radius: inherit;
  animation: status-pulse 2.4s ease-out 3;
}

.hero {
  display: grid;
  min-height: calc(100dvh - 194px);
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
  align-items: center;
  gap: clamp(56px, 8vw, 132px);
  padding-block: 72px 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: copy-enter 440ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  color: var(--accent-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  box-shadow: 0 0 10px rgba(111, 140, 255, 0.7);
}

h1 {
  max-width: 780px;
  margin: 0;
  color: #f8faff;
  font-size: clamp(4rem, 6.35vw, 7rem);
  font-weight: 580;
  letter-spacing: -0.066em;
  line-height: 0.93;
  text-wrap: balance;
}

h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(100deg, #d8dfff 12%, var(--accent-bright) 56%, var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  max-width: 610px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-width: 154px;
  min-height: 54px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
  touch-action: manipulation;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #071023;
  box-shadow: 0 14px 42px rgba(69, 96, 214, 0.26);
}

.button-primary:hover {
  border-color: #9cadff;
  background: #8da2ff;
  box-shadow: 0 18px 50px rgba(69, 96, 214, 0.36);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
}

.button-secondary:hover {
  border-color: rgba(164, 180, 219, 0.5);
  background: rgba(255, 255, 255, 0.065);
  color: #ffffff;
}

.button-arrow {
  font-size: 1.15rem;
  font-weight: 500;
}

.copy-symbol {
  color: var(--accent-bright);
  font-size: 1.2rem;
  font-weight: 400;
}

.brand:focus-visible,
.button:focus-visible,
.contact-line a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  color: #77829a;
  font-size: 0.8rem;
}

.contact-line span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-line a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: var(--muted-strong);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
  transition: color 180ms ease;
}

.contact-line a:hover {
  color: #ffffff;
}

.visual-panel {
  position: relative;
  width: 100%;
  max-width: 510px;
  justify-self: end;
  animation: visual-enter 460ms 50ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.visual-kicker {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 0 4px;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.visual-kicker span {
  color: #77829a;
}

.visual-kicker strong {
  color: var(--muted-strong);
  font-weight: 650;
}

.orbital-stage {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 45%, rgba(80, 111, 232, 0.13), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 40px 90px rgba(0, 0, 0, 0.3);
}

.orbital-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(147, 167, 210, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 167, 210, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black 15%, transparent 75%);
}

.orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-outer {
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(125, 153, 232, 0.24);
  transform: rotate(14deg);
}

.orbit-middle {
  width: 61%;
  aspect-ratio: 1;
  border: 1px dashed rgba(111, 140, 255, 0.42);
  transform: rotate(-22deg);
}

.orbit-inner {
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(125, 153, 232, 0.18);
}

.orbit-node {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--background);
}

.orbit-node-large {
  top: 10%;
  right: 8%;
  width: 22px;
  height: 22px;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 22px rgba(85, 214, 208, 0.24);
}

.orbit-node-small {
  bottom: 12%;
  left: 8%;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent-bright);
  box-shadow: 0 0 18px rgba(111, 140, 255, 0.38);
}

.crosshair {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(137, 160, 220, 0.3), transparent);
}

.crosshair-horizontal {
  width: 88%;
  height: 1px;
}

.crosshair-vertical {
  width: 1px;
  height: 88%;
  background: linear-gradient(transparent, rgba(137, 160, 220, 0.3), transparent);
}

.center-mark {
  position: relative;
  z-index: 2;
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(7, 11, 20, 0.75);
  box-shadow:
    0 0 0 12px rgba(111, 140, 255, 0.035),
    0 24px 60px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.center-mark span {
  margin-top: 22px;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 620;
  letter-spacing: -0.06em;
}

.center-mark small {
  align-self: start;
  margin-top: -18px;
  color: #7f8aa2;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-label {
  position: absolute;
  z-index: 2;
  color: #8190aa;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-label-top {
  top: 28px;
  left: 30px;
}

.visual-label-bottom {
  right: 30px;
  bottom: 28px;
}

.site-footer {
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #6f7a90;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-rule {
  width: 32px;
  height: 1px;
  background: var(--line-strong);
}

@keyframes copy-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visual-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes status-pulse {
  0% {
    opacity: 0.75;
    transform: scale(0.65);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 40px, 760px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 72px;
    padding-block: 76px 88px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    max-width: 730px;
  }

  .visual-panel {
    width: min(100%, 560px);
    max-width: none;
    justify-self: center;
  }

  .technical-grid {
    mask-image: radial-gradient(circle at 50% 67%, black, transparent 60%);
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 32px, 100%);
  }

  .site-header {
    min-height: 88px;
  }

  .brand-name {
    display: none;
  }

  .status-pill {
    padding-inline: 13px;
    font-size: 0.7rem;
  }

  .hero {
    min-height: auto;
    gap: 60px;
    padding-block: 64px 72px;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 0.67rem;
    letter-spacing: 0.13em;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 4.55rem);
    letter-spacing: -0.062em;
    line-height: 0.95;
  }

  .intro {
    margin-top: 28px;
    font-size: 1rem;
    line-height: 1.68;
  }

  .actions {
    margin-top: 34px;
  }

  .button {
    min-width: 0;
    flex: 1 1 150px;
  }

  .contact-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    margin-top: 24px;
  }

  .orbital-stage {
    border-radius: 24px;
  }

  .center-mark {
    width: 112px;
    height: 112px;
  }

  .center-mark span {
    font-size: 1.65rem;
  }

  .visual-label-top {
    top: 22px;
    left: 22px;
  }

  .visual-label-bottom {
    right: 22px;
    bottom: 22px;
  }

  .site-footer {
    min-height: 82px;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.6rem;
  }

  .footer-rule {
    flex: 1;
  }
}

@media (max-width: 390px) {
  .status-pill {
    gap: 8px;
    padding-inline: 11px;
  }

  .visual-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .visual-label-bottom {
    display: none;
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .site-header {
    min-height: 82px;
  }

  .hero {
    min-height: auto;
    padding-block: 48px 56px;
  }

  .visual-panel {
    max-width: 430px;
  }

  h1 {
    font-size: clamp(3.75rem, 6vw, 5.4rem);
  }
}

@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;
  }
}
