:root {
  color-scheme: dark;
  --background: #05070b;
  --panel: #0a0d13;
  --text: #f5f7fb;
  --muted: #b1b8c5;
  --dim: #7b8595;
  --accent: #8abaff;
  --line: rgba(184, 205, 239, 0.16);
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: var(--background); }

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
}

#site-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
}

.container {
  width: min(100% - 112px, 1376px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: none;
  text-decoration: none;
}

.brand-name { display: grid; gap: 4px; }
.brand-mobile-break { display: none; }

.brand-name strong,
.brand-name span {
  display: block;
  font-family: var(--mono);
  white-space: nowrap;
}

.brand-name strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-name span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.19em;
  line-height: 1.4;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 76px);
  font-family: var(--mono);
  white-space: nowrap;
}

.header-discipline,
.status {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.header-discipline { color: var(--dim); }
.slash { color: var(--accent); opacity: 0.7; padding-inline: 5px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(138, 186, 255, 0.08), 0 0 18px rgba(138, 186, 255, 0.65);
}

.hero-stage {
  --figure-x: 73.5%;
  --figure-y: 49%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

.hero-stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 11, 0.68) 0%, rgba(5, 7, 11, 0.3) 45%, transparent 78%);
}

.hero-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: radial-gradient(rgba(170, 195, 232, 0.18) 0.55px, transparent 0.55px);
  background-size: 6px 6px;
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}

#signal-canvas,
.hero-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#signal-canvas {
  z-index: 0;
  display: block;
  background: radial-gradient(ellipse 36% 58% at var(--figure-x) var(--figure-y),
    rgba(5, 7, 11, 0.97) 0%,
    rgba(5, 7, 11, 0.88) 50%,
    rgba(5, 7, 11, 0.42) 76%,
    transparent 100%);
}

.hero-glow {
  z-index: 0;
  background: radial-gradient(circle at var(--figure-x) var(--figure-y), rgba(82, 129, 231, 0.09), transparent 38%);
  mix-blend-mode: screen;
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: min(780px, calc(100svh - 104px));
  padding-block: 90px 110px;
}

.hero-content {
  width: min(100%, 690px);
  margin-top: -5px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.8;
}

.eyebrow { max-width: 540px; }

.eyebrow-line {
  width: 30px;
  height: 1px;
  flex: none;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(138, 186, 255, 0.6);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 38px 0 28px;
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.087em;
  line-height: 0.98;
}

h1 > span {
  color: var(--text);
  text-shadow: 0 0 62px rgba(146, 187, 255, 0.12);
}

.period { color: var(--accent); }

.hero-description {
  max-width: 505px;
  margin-bottom: 34px;
  color: #bdc6d2;
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 33px;
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid rgba(138, 186, 255, 0.55);
  background: rgba(91, 137, 220, 0.07);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.explore-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(91, 137, 220, 0.17);
}

.explore-link svg { width: 18px; height: 18px; color: var(--accent); }

.soon-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9ca9b8;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.soon-line { width: 22px; height: 1px; background: #617a9c; }

.scope-label {
  position: absolute;
  right: 0;
  bottom: 48px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: #899bb1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.scope-hint { color: var(--accent); }
.hint-cross { margin-left: 5px; font-size: 13px; }

.hero-bottom-rule {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(138, 186, 255, 0.35), rgba(138, 186, 255, 0.1) 48%, rgba(138, 186, 255, 0.35));
}

.focus-section { position: relative; padding-block: 106px 132px; scroll-margin-top: 40px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 41px;
}

.section-kicker { color: #8abaff; }

.section-heading h2 {
  margin: 15px 0 0;
  font-size: clamp(2.65rem, 4.1vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
}

.section-heading > p {
  margin: 0 2px 3px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }

.focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 308px;
  padding: 27px 29px 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(18, 25, 40, 0.82), rgba(8, 11, 19, 0.88) 65%);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.focus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--accent);
}

.focus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 186, 255, 0.38);
  background: linear-gradient(145deg, rgba(25, 37, 59, 0.88), rgba(8, 11, 19, 0.92) 70%);
}

.card-top { display: flex; align-items: start; justify-content: space-between; }

.card-top span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.card-top svg { width: 34px; height: 34px; color: #9cbef2; }

.focus-card h3 {
  margin: 0 0 13px;
  font-size: clamp(1.52rem, 2.05vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.focus-card p {
  max-width: 300px;
  margin: 0;
  color: #aab5c4;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 110px;
  padding-block: 25px;
  border-top: 1px solid var(--line);
  color: #aab6c8;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-shadow: 0 1px 9px rgba(0, 0, 0, 0.9);
}

.footer-identity { display: flex; align-items: center; gap: 23px; }
.footer-mark { color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -0.06em; }

@media (max-width: 1200px) {
  .header-discipline { display: none; }
  .hero-content { width: min(100%, 630px); }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .hero-stage { --figure-x: 79%; }
  .hero-stage::before { background: linear-gradient(90deg, rgba(5, 7, 11, 0.82) 0%, rgba(5, 7, 11, 0.58) 49%, rgba(5, 7, 11, 0.08) 100%); }
  .hero-content { width: min(100%, 500px); }
  h1 { font-size: clamp(4.5rem, 8vw, 6rem); }
  .hero-description { max-width: 400px; }
}

@media (max-width: 760px) {
  .hero-stage { --figure-x: 50%; --figure-y: 78.5%; }
  .container { width: min(100% - 40px, 620px); }
  .site-header { height: 82px; }
  .brand-name strong { font-size: 12px; }
  .brand-name span { font-size: 8px; }
  .header-right { display: none; }
  #signal-canvas { background-image: radial-gradient(ellipse 62% 36% at var(--figure-x) var(--figure-y), rgba(5, 7, 11, 0.97) 0%, rgba(5, 7, 11, 0.87) 54%, rgba(5, 7, 11, 0.36) 82%, transparent 100%); }
  .hero-stage::before { background: linear-gradient(180deg, rgba(5, 7, 11, 0.77) 0%, rgba(5, 7, 11, 0.6) 32%, rgba(5, 7, 11, 0.08) 72%); }
  .hero-stage::after { mask-image: linear-gradient(180deg, transparent 30%, #000 100%); }
  .hero { align-items: start; min-height: 870px; padding-top: 83px; padding-bottom: 130px; }
  .hero-content { margin-top: 0; }
  .eyebrow { max-width: 400px; font-size: 9px; letter-spacing: 0.11em; }
  .eyebrow-line { width: 19px; }
  h1 { margin: 29px 0 22px; font-size: clamp(3rem, 14vw, 5rem); letter-spacing: -0.078em; }
  .hero-description { max-width: 470px; font-size: 15px; line-height: 1.75; }
  .scope-label { bottom: 34px; font-size: 9px; }
  .focus-section { padding-block: 83px 95px; }
  .section-heading { align-items: start; flex-direction: column; gap: 19px; margin-bottom: 33px; }
  .section-heading > p br { display: none; }
  .focus-grid { grid-template-columns: 1fr; gap: 12px; }
  .focus-card { min-height: 240px; }
  .focus-card h3 { font-size: 29px; }
  .site-footer { align-items: start; flex-direction: column; gap: 17px; padding-block: 29px; }
}

@media (max-width: 420px) {
  .brand-mobile-break { display: block; }
  .brand-name strong { font-size: 11px; letter-spacing: 0.13em; line-height: 1.45; }
  .hero { min-height: 815px; padding-top: 66px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 10px; }
  .scope-hint { display: none; }
  .focus-card { min-height: 235px; }
  .footer-identity { align-items: start; gap: 14px; }
}

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