:root {
  color-scheme: dark;
  --bg: #070813;
  --bg-deep: #04050c;
  --surface: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7f8ff;
  --muted: #a7adca;
  --blue: #3da9fc;
  --violet: #7c5cff;
  --purple: #b149f5;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 14%, rgba(83, 74, 195, 0.12), transparent 32%),
    linear-gradient(160deg, #090a1b 0%, var(--bg) 52%, #04050c 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-header {
  width: min(calc(100% - 48px), var(--max-width));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  color: #c7cbe0;
  font-size: 14px;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 180ms ease;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a.is-active {
  color: #fff;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  flex: 1;
  display: flex;
}

.hero,
.about-hero {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 670px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero-content,
.about-content {
  width: min(690px, 62%);
  padding: 92px 0 104px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 28px;
  color: #858dac;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.hero h1,
.about-hero h1 {
  margin: 0;
  font-size: clamp(62px, 9vw, 126px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 650;
  background: linear-gradient(112deg, #fff 5%, #dce5ff 42%, #b6a9ff 77%, #76c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-heading {
  margin: 28px 0 0;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 430;
}

.gradient-line {
  width: 74px;
  height: 2px;
  margin: 38px 0 32px;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--purple));
  box-shadow: 0 0 20px rgba(89, 112, 255, 0.55);
}

.hero-copy,
.about-statement p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.018em;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
  z-index: -2;
}

.ambient-one {
  width: 450px;
  height: 450px;
  left: -250px;
  top: 20%;
  background: radial-gradient(circle, rgba(69, 97, 255, 0.18), transparent 69%);
}

.ambient-two {
  width: 530px;
  height: 530px;
  right: -180px;
  top: 2%;
  background: radial-gradient(circle, rgba(128, 70, 239, 0.22), transparent 69%);
}

.ambient-about {
  width: 560px;
  height: 560px;
  right: -210px;
  bottom: -230px;
  background: radial-gradient(circle, rgba(41, 149, 255, 0.18), transparent 68%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000 38%, #000 100%);
}

.visual-orbit {
  width: min(42vw, 490px);
  aspect-ratio: 1;
  position: absolute;
  right: -3%;
  top: 47%;
  transform: translateY(-50%);
  z-index: 1;
}

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

.orbit {
  border: 1px solid rgba(150, 163, 235, 0.16);
}

.orbit-one {
  inset: 7%;
  box-shadow: inset 24px 8px 65px rgba(66, 110, 255, 0.06);
}

.orbit-two {
  inset: 21%;
  border-color: rgba(127, 91, 255, 0.25);
  box-shadow: 0 0 60px rgba(96, 66, 226, 0.15);
}

.orbit-three {
  inset: 35%;
  border-color: rgba(100, 190, 255, 0.36);
}

.core {
  inset: 42%;
  background: radial-gradient(circle at 35% 30%, #dce9ff 0%, #8077ff 21%, #3e2f8d 57%, rgba(16, 18, 55, 0.3) 72%);
  box-shadow:
    0 0 30px rgba(91, 95, 255, 0.85),
    0 0 110px rgba(74, 104, 255, 0.42);
}

.visual-orbit::before,
.visual-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(99, 202, 255, 0.72);
  border-right-color: rgba(128, 92, 255, 0.32);
  transform: rotate(-24deg);
}

.visual-orbit::before {
  inset: 13%;
}

.visual-orbit::after {
  inset: 29%;
  transform: rotate(58deg);
}

.scroll-hint {
  position: absolute;
  right: 0;
  bottom: 34px;
  color: #686f8d;
  font-size: 10px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.scroll-hint span {
  display: inline-block;
  width: 1px;
  height: 55px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, var(--violet), transparent);
}

.about-content {
  width: min(800px, 72%);
}

.about-hero h1 {
  font-size: clamp(54px, 7.2vw, 98px);
}

.about-statement {
  padding: 32px 0 0 36px;
  border-left: 1px solid rgba(124, 92, 255, 0.42);
}

.about-statement p.lead {
  margin-bottom: 24px;
  color: #f0f2ff;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.7;
}

.about-symbol {
  width: 300px;
  height: 300px;
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.75;
}

.about-symbol span {
  position: absolute;
  border: 1px solid rgba(130, 137, 235, 0.22);
}

.about-symbol span:nth-child(1) {
  inset: 0;
}

.about-symbol span:nth-child(2) {
  inset: 54px;
  border-color: rgba(124, 92, 255, 0.42);
}

.about-symbol span:nth-child(3) {
  inset: 108px;
  background: radial-gradient(circle at 30% 30%, rgba(121, 197, 255, 0.86), rgba(92, 69, 221, 0.32));
  border-color: rgba(115, 184, 255, 0.6);
  box-shadow: 0 0 80px rgba(85, 72, 231, 0.38);
}

.site-footer {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #707793;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.site-footer p {
  margin: 0;
}

.footer-company {
  color: #9299b5;
}

.footer-details {
  display: grid;
  justify-items: end;
  gap: 7px;
  text-align: right;
}

@media (max-width: 860px) {
  .hero,
  .about-hero {
    min-height: 650px;
  }

  .hero-content,
  .about-content {
    width: 100%;
    padding: 80px 0 100px;
  }

  .visual-orbit {
    width: 440px;
    right: -230px;
    opacity: 0.55;
  }

  .about-symbol {
    right: -185px;
    opacity: 0.4;
  }
}

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

  .site-header {
    height: 76px;
  }

  .brand {
    font-size: 18px;
  }

  .hero,
  .about-hero {
    min-height: 620px;
  }

  .hero-content,
  .about-content {
    padding: 64px 0 78px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(58px, 20vw, 84px);
  }

  .hero-heading {
    margin-top: 22px;
    font-size: 26px;
  }

  .gradient-line {
    margin: 30px 0 26px;
  }

  .hero-copy,
  .about-statement p {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-copy br,
  .about-statement p br {
    display: none;
  }

  .visual-orbit {
    width: 340px;
    right: -210px;
    top: 32%;
  }

  .scroll-hint {
    display: none;
  }

  .about-hero h1 {
    font-size: 52px;
  }

  .about-statement {
    padding: 24px 0 0 20px;
  }

  .about-statement p.lead {
    font-size: 19px;
  }

  .site-footer {
    min-height: 154px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-details {
    justify-items: start;
    gap: 7px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .core {
    animation: pulse 5s ease-in-out infinite;
  }

  .visual-orbit::before {
    animation: orbit 24s linear infinite;
  }

  .visual-orbit::after {
    animation: orbit-reverse 17s linear infinite;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(0.94); opacity: 0.88; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes orbit {
  to { transform: rotate(336deg); }
}

@keyframes orbit-reverse {
  to { transform: rotate(-302deg); }
}
