:root {
  color-scheme: dark;
  --bg: #080b10;
  --surface: rgba(17, 23, 32, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --muted: #9aa7b8;
  --text: #f4f7fb;
  --cyan: #51e6d3;
  --blue: #6899ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 55%, var(--bg) 98%);
  content: "";
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.13;
  pointer-events: none;
}

.ambient-one {
  top: -20rem;
  right: -10rem;
  background: var(--blue);
}

.ambient-two {
  bottom: -24rem;
  left: -14rem;
  background: var(--cyan);
}

.site-header,
main,
footer {
  width: min(calc(100% - 48px), var(--max));
  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;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  gap: 3px;
  align-items: end;
  height: 17px;
}

.brand-mark span {
  display: block;
  border-radius: 2px;
  background: var(--cyan);
}

.brand-mark span:nth-child(1) {
  height: 7px;
}

.brand-mark span:nth-child(2) {
  height: 12px;
}

.brand-mark span:nth-child(3) {
  height: 17px;
}

.status {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(81, 230, 211, 0.09), 0 0 18px var(--cyan);
}

.hero {
  display: grid;
  min-height: 630px;
  padding: 110px 0 90px;
  align-content: center;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(3.25rem, 8.6vw, 7.6rem);
  font-weight: 650;
  letter-spacing: -0.066em;
  line-height: 0.91;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(110deg, #ffffff 0%, #8caaff 45%, #51e6d3 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  max-width: 650px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.signal {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 58px;
}

.signal p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.signal strong {
  color: var(--text);
  font-weight: 640;
}

.signal-line {
  display: flex;
  gap: 4px;
  align-items: center;
  width: 54px;
  height: 20px;
}

.signal-line span {
  width: 3px;
  border-radius: 8px;
  background: var(--cyan);
  animation: signal 1.4s ease-in-out infinite;
}

.signal-line span:nth-child(1) {
  height: 6px;
}

.signal-line span:nth-child(2) {
  height: 14px;
  animation-delay: 0.12s;
}

.signal-line span:nth-child(3) {
  height: 20px;
  animation-delay: 0.24s;
}

.signal-line span:nth-child(4) {
  height: 11px;
  animation-delay: 0.36s;
}

.signal-line span:nth-child(5) {
  height: 5px;
  animation-delay: 0.48s;
}

@keyframes signal {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleY(0.58);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 250px;
  padding: 42px 40px 44px 0;
}

.principles article + article {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.number {
  color: var(--cyan);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

h2 {
  margin: 36px 0 13px;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.principles p {
  max-width: 285px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 34px 0 48px;
  color: #758195;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

footer p {
  margin: 0;
}

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

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

  .status {
    font-size: 0;
  }

  .hero {
    min-height: 600px;
    padding: 90px 0 70px;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5.5rem);
  }

  .signal {
    align-items: flex-start;
  }

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

  .principles article,
  .principles article + article {
    min-height: 0;
    padding: 34px 0 36px;
    border-left: 0;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
  }

  h2 {
    margin-top: 22px;
  }

  footer {
    gap: 12px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
