:root {
  --page-bg: #030509;
  --panel-bg: rgba(6, 11, 18, 0.72);
  --panel-bg-strong: rgba(9, 15, 24, 0.86);
  --line: rgba(147, 198, 232, 0.12);
  --line-strong: rgba(147, 198, 232, 0.22);
  --text: #eef6ff;
  --muted: #91a0b5;
  --muted-dark: #5c697d;
  --blue: #12b9f3;
  --blue-soft: rgba(18, 185, 243, 0.22);
  --amber: #ffb12e;
  --amber-soft: rgba(255, 177, 46, 0.22);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.56);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(circle at 2% 42%, rgba(255, 157, 30, 0.28), transparent 22rem),
    radial-gradient(circle at 96% 44%, rgba(18, 185, 243, 0.22), transparent 25rem),
    radial-gradient(circle at 50% 30%, rgba(84, 169, 219, 0.08), transparent 29rem),
    linear-gradient(145deg, #020407 0%, #05090f 48%, #020407 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(18, 185, 243, 0.42) 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(255, 177, 46, 0.36) 0 1px, transparent 1.35px);
  background-size: 92px 92px, 126px 126px;
  background-position: 14px 22px, 44px 68px;
  mask-image: radial-gradient(circle at 50% 46%, black, transparent 72%);
}

body::after {
  opacity: 0.3;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, transparent 90%);
}

img,
svg {
  display: block;
}

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1920px);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 18px clamp(18px, 2.4vw, 34px) 0;
  isolation: isolate;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 4px clamp(14px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(7, 12, 20, 0.86), rgba(4, 8, 13, 0.66));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(86px, 7.5vw, 108px);
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 15px rgba(18, 185, 243, 0.26));
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4.2vw, 72px);
  color: rgba(226, 235, 249, 0.74);
  font-size: clamp(0.9rem, 1vw, 1.04rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links a {
  position: relative;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(18, 185, 243, 0.34);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.hero {
  position: relative;
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  min-height: auto;
  padding: clamp(28px, 4.2vw, 54px) 0 clamp(18px, 2.8vw, 34px);
}

.hero-content {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(920px, 100%);
  text-align: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f7f9ff;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  background:
    linear-gradient(var(--panel-bg-strong), var(--panel-bg-strong)) padding-box,
    linear-gradient(110deg, var(--blue), rgba(255, 255, 255, 0.26) 52%, var(--amber)) border-box;
  box-shadow: 0 0 30px rgba(18, 185, 243, 0.13), 0 0 32px rgba(255, 177, 46, 0.11);
}

.status-pill svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 177, 46, 0.36));
}

.logo-wrap {
  position: relative;
  width: min(520px, 82vw);
  margin-top: 0;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 20px rgba(18, 185, 243, 0.14))
    drop-shadow(0 0 22px rgba(255, 177, 46, 0.1));
}


.logo-glow {
  position: absolute;
  inset: 20% 10% 5%;
  z-index: 1;
  background: radial-gradient(circle, rgba(18, 185, 243, 0.16), transparent 60%);
  filter: blur(34px);
  transform: translateY(20px);
}

.micro-copy {
  display: none;
  position: absolute;
  top: clamp(130px, 18vw, 214px);
  right: clamp(0px, 5vw, 28px);
  z-index: 0;
  margin: 0;
  color: rgba(78, 91, 109, 0.26);
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.28;
  text-align: left;
  text-transform: uppercase;
  pointer-events: none;
}

h1 {
  margin: clamp(6px, 1vw, 12px) 0 0;
  max-width: 920px;
  color: #f7fbff;
  font-size: clamp(2.35rem, 4.8vw, 4.65rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
}

h1 span {
  background: linear-gradient(92deg, var(--blue) 0%, #b6d7df 46%, var(--amber) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro {
  width: min(720px, 92vw);
  margin: 14px 0 0;
  color: rgba(212, 223, 238, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: min(260px, 86vw);
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 18px;
  background: rgba(3, 8, 14, 0.7);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 20px 48px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-blue {
  color: var(--blue);
  box-shadow: 0 0 0 1px rgba(18, 185, 243, 0.1), 0 20px 60px rgba(18, 185, 243, 0.06);
}

.button-blue:hover {
  background: rgba(18, 185, 243, 0.09);
  box-shadow: 0 0 0 1px rgba(18, 185, 243, 0.16), 0 22px 66px rgba(18, 185, 243, 0.14);
}

.button-amber {
  color: var(--amber);
  box-shadow: 0 0 0 1px rgba(255, 177, 46, 0.1), 0 20px 60px rgba(255, 177, 46, 0.06);
}

.button-amber:hover {
  background: rgba(255, 177, 46, 0.09);
  box-shadow: 0 0 0 1px rgba(255, 177, 46, 0.16), 0 22px 66px rgba(255, 177, 46, 0.14);
}

.side-mark {
  position: absolute;
  inset-block: 0;
  width: min(22vw, 340px);
  pointer-events: none;
  opacity: 0.85;
}

.side-mark-left {
  left: 0;
}

.side-mark-right {
  right: 0;
}

.side-mark span:not(.code-mark) {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid currentColor;
  color: rgba(255, 177, 46, 0.35);
  transform: rotate(5deg);
}

.side-mark-left span:nth-child(1) { left: 6%; top: 17%; width: 7px; height: 7px; }
.side-mark-left span:nth-child(2) { left: 18%; top: 27%; background: rgba(255, 177, 46, 0.13); border: 0; }
.side-mark-left span:nth-child(3) { left: 12%; bottom: 30%; background: rgba(18, 185, 243, 0.14); border: 0; }
.side-mark-left span:nth-child(4) { left: 36%; bottom: 15%; color: rgba(18, 185, 243, 0.38); }
.side-mark-left span:nth-child(5) { left: 68%; top: 52%; width: 8px; height: 8px; }
.side-mark-left span:nth-child(6) { left: 58%; top: 21%; background: rgba(255, 177, 46, 0.12); border: 0; }

.side-mark-right span:not(.code-mark) {
  color: rgba(18, 185, 243, 0.36);
}

.side-mark-right span:nth-child(2) { right: 12%; top: 18%; background: rgba(18, 185, 243, 0.2); border: 0; width: 15px; height: 15px; }
.side-mark-right span:nth-child(3) { right: 24%; top: 57%; width: 8px; height: 8px; }
.side-mark-right span:nth-child(4) { right: 9%; bottom: 24%; background: rgba(18, 185, 243, 0.15); border: 0; }
.side-mark-right span:nth-child(5) { right: 46%; bottom: 36%; color: rgba(255, 177, 46, 0.33); }

.code-mark {
  position: absolute;
  top: 34%;
  right: 24%;
  color: rgba(18, 185, 243, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.35rem, 2.2vw, 2.35rem);
  font-weight: 700;
  transform: rotate(-2deg);
  text-shadow: 0 0 30px rgba(18, 185, 243, 0.3);
}

.background-orbits {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orbit {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.2;
}

.orbit-left {
  color: rgba(255, 177, 46, 0.48);
}

.orbit-right {
  color: rgba(18, 185, 243, 0.4);
}

.orbit-one {
  left: -220px;
  top: 21%;
  width: 470px;
  height: 470px;
}

.orbit-two {
  left: -170px;
  top: 37%;
  width: 620px;
  height: 210px;
  transform: rotate(19deg);
}

.orbit-three {
  right: -235px;
  top: 17%;
  width: 535px;
  height: 535px;
}

.orbit-four {
  right: -92px;
  top: 35%;
  width: 430px;
  height: 185px;
  transform: rotate(-32deg);
}

.mini-panels {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1040px, 100%);
  margin: 0 auto 18px;
  padding-top: 0;
}

.mini-panels article {
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 10, 17, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.026), 0 18px 46px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.mini-panels strong {
  display: block;
  margin-bottom: 7px;
  color: #f4f8ff;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.mini-panels span {
  color: rgba(198, 210, 228, 0.62);
  font-size: 0.95rem;
  line-height: 1.42;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 58px;
  border-top: 1px solid var(--line);
  color: rgba(202, 214, 232, 0.62);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 700;
}

.footer-brand svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 177, 46, 0.25));
}

.footer-brand b {
  color: var(--blue);
  font-weight: 700;
}

.footer-brand em {
  color: var(--amber);
  font-style: normal;
  font-weight: 700;
}

.footer-divider {
  width: 1px;
  height: 20px;
  background: rgba(226, 235, 249, 0.18);
}

.site-footer p {
  margin: 0;
}

@supports (height: 100dvh) {
  .site-shell {
    min-height: 100dvh;
  }
}

@media (min-width: 881px) and (max-height: 1100px) {
  .site-shell {
    padding-top: 16px;
    padding-bottom: 0;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 22px;
  }

  .logo-wrap {
    width: min(485px, 78vw);
  }

  h1 {
    font-size: clamp(2.25rem, 4.4vw, 4.2rem);
  }

  .intro {
    width: min(660px, 90vw);
  }
}

@media (max-width: 880px) {
  .site-shell {
    padding: 14px 14px 0;
  }

  .site-header {
    min-height: auto;
    padding: 10px 16px;
  }

  .brand {
    width: 96px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.9rem;
  }

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

  .micro-copy,
  .side-mark,
  .background-orbits {
    display: none;
  }

  .status-pill {
    min-height: 54px;
    padding-inline: 24px;
  }

  .hero-actions {
    gap: 16px;
  }

  .button {
    width: min(390px, 92vw);
  }

  .mini-panels {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 22px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
    border-radius: 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .logo-wrap {
    margin-top: 22px;
    width: min(480px, 94vw);
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
  }

  .intro {
    font-size: 1.1rem;
  }

  .footer-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .status-pill,
  .logo-wrap,
  h1,
  .intro,
  .hero-actions,
  .mini-panels {
    animation: rise-in 720ms cubic-bezier(.2,.8,.2,1) both;
  }

  .logo-wrap { animation-delay: 80ms; }
  h1 { animation-delay: 140ms; }
  .intro { animation-delay: 200ms; }
  .hero-actions { animation-delay: 260ms; }
  .mini-panels { animation-delay: 320ms; }

  .orbit-one,
  .orbit-three {
    animation: slow-spin 44s linear infinite;
  }

  .orbit-two,
  .orbit-four {
    animation: drift 18s ease-in-out infinite alternate;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  from {
    translate: 0 0;
  }

  to {
    translate: 0 -16px;
  }
}
