:root {
  --bg: #060606;
  --bg-soft: #0c0c0d;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f4f4f1;
  --muted: rgba(244, 244, 241, 0.62);
  --dim: rgba(244, 244, 241, 0.34);
  --accent: #ffffff;
  --maxw: 1440px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.07), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(180deg, #040404 0%, #090909 42%, #050505 100%);
  color: var(--text);
  font-family: "Helvetica Neue", "Arial", sans-serif;
}

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

button {
  font: inherit;
}

.site_shell {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.site_shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  pointer-events: none;
  opacity: 0.34;
}

.site_shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.08), transparent 24%);
  pointer-events: none;
  opacity: 0.52;
}

.site_header,
.hero_panel,
.signal_strip,
.section_frame,
.final_cta,
.site_footer {
  width: min(calc(100% - 48px), var(--maxw));
  margin: 0 auto;
}

.site_header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 0;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(18px);
}

.brand_lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand_icon,
.footer_icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}

.brand_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand_name,
.footer_name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand_tag,
.footer_sub {
  font-size: 10px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.header_actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop_nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop_nav a,
.footer_link {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop_nav a::after,
.footer_link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.desktop_nav a:hover::after,
.footer_link:hover::after {
  transform: scaleX(1);
}

.lang_switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang_btn,
.menu_toggle,
.faq_question {
  border: none;
  background: transparent;
  color: inherit;
}

.lang_btn {
  min-width: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.lang_btn.active,
.lang_btn:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.menu_toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu_toggle span {
  width: 18px;
  height: 1px;
  background: var(--text);
  display: block;
}

.mobile_panel {
  display: none;
}

.hero_panel {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 72px;
}

.eyebrow,
.section_kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero_copy h1,
.section_head h2,
.final_cta h2 {
  max-width: 10.5em;
  margin-top: 22px;
  font-size: clamp(48px, 6vw, 100px);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero_text {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.6;
}

.hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary_link,
.secondary_link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.primary_link:hover,
.secondary_link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.hero_stage {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%),
    rgba(255, 255, 255, 0.01);
  overflow: hidden;
  isolation: isolate;
}

.stage_grid,
.stage_scan,
.stage_noise,
.stage_ring,
.stage_axis,
.stage_core,
.orbit,
.stage_hud {
  position: absolute;
}

.stage_grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

.stage_scan {
  inset: -20% 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.03) 48%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.03) 52%, transparent 100%);
  animation: scanSweep 6.4s linear infinite;
  z-index: 1;
}

.stage_noise {
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1.5px),
    radial-gradient(circle at 35% 76%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1.5px);
  background-size: 180px 180px, 220px 220px, 160px 160px;
  mix-blend-mode: screen;
  opacity: 0.3;
  animation: noiseDrift 14s linear infinite;
  z-index: 1;
}

.stage_ring {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  animation: pulseRing 8s linear infinite;
  z-index: 2;
}

.stage_ring_outer {
  inset: 64px;
}

.stage_ring_inner {
  inset: 148px;
  animation-duration: 11s;
  animation-direction: reverse;
}

.stage_axis_h {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  z-index: 2;
}

.stage_axis_v {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  z-index: 2;
}

.stage_hud {
  min-width: 124px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(12px);
  z-index: 4;
}

.stage_hud::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.stage_hud_top_left {
  top: 28px;
  left: 28px;
}

.stage_hud_top_right {
  top: 28px;
  right: 28px;
}

.stage_hud_bottom_left {
  bottom: 28px;
  left: 28px;
}

.stage_hud_bottom_right {
  bottom: 28px;
  right: 28px;
}

.hud_label {
  display: block;
  margin-top: 10px;
  color: var(--dim);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hud_value {
  display: block;
  margin-top: 7px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.stage_core {
  --core-x: 0px;
  --core-y: 0px;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01) 66%);
  box-shadow: 0 0 80px rgba(255, 255, 255, 0.06);
  z-index: 5;
  transform: translate(var(--core-x), var(--core-y));
  animation: coreFloat 5.5s ease-in-out infinite;
}

.core_ticker {
  font-size: 62px;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.core_label {
  max-width: 150px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.orbit {
  --orbit-x: 0px;
  --orbit-y: 0px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.orbit_top {
  top: 66px;
  left: 50%;
  transform: translateX(-50%) translate(var(--orbit-x), var(--orbit-y));
}

.orbit_right {
  right: 62px;
  top: 50%;
  transform: translateY(-50%) translate(var(--orbit-x), var(--orbit-y));
}

.orbit_bottom {
  left: 50%;
  bottom: 66px;
  transform: translateX(-50%) translate(var(--orbit-x), var(--orbit-y));
}

.orbit_left {
  left: 62px;
  top: 50%;
  transform: translateY(-50%) translate(var(--orbit-x), var(--orbit-y));
}

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

.signal_item {
  min-height: 144px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.signal_item:last-child {
  border-right: none;
}

.signal_value {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.signal_suffix {
  margin-top: 8px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal_label {
  margin-top: 18px;
  max-width: 24ch;
  color: var(--muted);
  line-height: 1.6;
}

.panel_top,
.stack_label_group,
.faq_question {
  display: flex;
  align-items: center;
}

.panel_top {
  justify-content: space-between;
}

.panel_icon,
.stack_icon,
.flow_icon,
.roadmap_icon,
.faq_qicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.panel_icon,
.stack_icon,
.flow_icon,
.roadmap_icon {
  width: 42px;
  height: 42px;
}

.faq_qicon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.panel_icon svg,
.stack_icon svg,
.flow_icon svg,
.roadmap_icon svg,
.faq_qicon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section_frame {
  padding: 112px 0;
}

.section_head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.section_head h2 {
  max-width: 14.5ch;
  font-size: clamp(34px, 4vw, 64px);
}

.overview_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.line_panel,
.roadmap_item,
.faq_item,
.flow_node {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.line_panel:hover,
.roadmap_item:hover,
.flow_node:hover,
.faq_item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.line_panel {
  min-height: 300px;
  padding: 28px;
}

.panel_index {
  display: inline-block;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.line_panel h3,
.flow_node h3,
.roadmap_item h3 {
  margin-top: 28px;
  max-width: 14ch;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.line_panel p,
.stack_content p,
.flow_node p,
.roadmap_item p,
.faq_answer,
.manifesto p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.68;
}

.line_panel p,
.flow_node p,
.roadmap_item p,
.faq_answer {
  max-width: 44ch;
}

.architecture_frame {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.architecture_stack {
  margin-top: 56px;
}

.stack_row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.stack_row:first-child {
  border-top: 1px solid var(--line);
}

.stack_label,
.flow_top,
.roadmap_phase {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stack_label_group {
  gap: 14px;
  align-items: flex-start;
}

.stack_content h3 {
  font-size: clamp(26px, 2.8vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.flow_diagram {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 56px;
}

.flow_node {
  min-height: 320px;
  padding: 28px;
}

.flow_icon,
.roadmap_icon {
  margin-bottom: 24px;
}

.flow_line {
  position: relative;
}

.flow_line::before,
.flow_line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.flow_line::after {
  top: calc(50% - 6px);
  left: auto;
  right: 12px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  transform: rotate(45deg);
}

.manifesto_frame {
  padding-top: 0;
}

.manifesto {
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
}

.manifesto_mark {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.36em;
}

.manifesto p {
  max-width: 24ch;
  margin-top: 22px;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
}

.roadmap_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.roadmap_item {
  min-height: 340px;
  padding: 28px;
}

.faq_list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.faq_item {
  border-top: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  transition: background 220ms ease, border-color 220ms ease;
}

.faq_item.active,
.faq_item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.faq_question {
  width: 100%;
  padding: 24px 0;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  gap: 16px;
}

.faq_answer {
  max-width: 80ch;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 240ms ease, margin-top 240ms ease, padding-bottom 240ms ease;
}

.faq_item.active .faq_answer {
  max-height: 220px;
  margin-top: 0;
  padding-bottom: 24px;
}

.final_cta {
  padding: 0 0 96px;
}

.final_cta_inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.site_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 42px;
  border-top: 1px solid var(--line);
}

.footer_brand,
.footer_meta {
  display: flex;
  align-items: center;
}

.footer_brand {
  gap: 14px;
}

.footer_meta {
  gap: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scanSweep {
  0% {
    transform: translateY(-18%);
  }
  100% {
    transform: translateY(118%);
  }
}

@keyframes noiseDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-10px, 16px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes coreFloat {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.14);
  }
  100% {
    filter: brightness(1);
  }
}

@keyframes pulseRing {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.02);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@media (max-width: 1100px) {
  .hero_panel,
  .overview_grid,
  .roadmap_grid,
  .flow_diagram,
  .section_head,
  .final_cta_inner,
  .stack_row {
    grid-template-columns: 1fr;
  }

  .hero_panel {
    min-height: auto;
    padding-top: 40px;
  }

  .hero_stage {
    min-height: 520px;
  }

  .flow_diagram {
    display: grid;
    gap: 18px;
  }

  .flow_line {
    min-height: 36px;
  }

  .flow_line::before {
    top: 16px;
    bottom: auto;
    left: 50%;
    right: auto;
    width: 1px;
    height: calc(100% - 8px);
  }

  .flow_line::after {
    top: auto;
    bottom: 6px;
    left: calc(50% - 5px);
    right: auto;
    transform: rotate(135deg);
  }
}

@media (max-width: 860px) {
  .site_header,
  .hero_panel,
  .signal_strip,
  .section_frame,
  .final_cta,
  .site_footer {
    width: min(calc(100% - 28px), var(--maxw));
  }

  .desktop_nav {
    display: none;
  }

  .menu_toggle {
    display: inline-flex;
  }

  .mobile_panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms ease;
  }

  .mobile_panel.open {
    display: block;
    max-height: 320px;
  }

  .mobile_nav {
    display: grid;
    gap: 12px;
    padding: 0 0 22px;
  }

  .mobile_nav a {
    padding: 14px 16px;
    border: 1px solid var(--line);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
  }

  .signal_strip,
  .overview_grid,
  .roadmap_grid {
    grid-template-columns: 1fr;
  }

  .stack_label_group {
    margin-bottom: 16px;
  }

  .signal_item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .signal_item:last-child {
    border-bottom: none;
  }

  .site_footer,
  .final_cta_inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero_copy h1,
  .section_head h2,
  .final_cta h2,
  .manifesto p {
    max-width: none;
  }

  .stage_ring_outer {
    inset: 34px;
  }

  .stage_ring_inner {
    inset: 112px;
  }

  .stage_core {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
  }

  .core_ticker {
    font-size: 48px;
  }

  .orbit_top,
  .orbit_bottom {
    left: 50%;
    transform: translateX(-50%);
  }

  .orbit_left,
  .orbit_right {
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .orbit_left {
    left: 24px;
  }

  .orbit_right {
    right: 24px;
  }

  .stage_hud {
    min-width: 92px;
    padding: 10px 12px;
  }

  .stage_hud_top_left,
  .stage_hud_top_right {
    top: 18px;
  }

  .stage_hud_bottom_left,
  .stage_hud_bottom_right {
    bottom: 18px;
  }

  .stage_hud_top_left,
  .stage_hud_bottom_left {
    left: 18px;
  }

  .stage_hud_top_right,
  .stage_hud_bottom_right {
    right: 18px;
  }

  .hud_value {
    font-size: 22px;
  }
}
