:root {
  --bg: #07020d;
  --bg-soft: #12051f;
  --panel: rgba(24, 9, 42, 0.82);
  --panel-strong: rgba(15, 5, 26, 0.96);
  --text: #fbf8ff;
  --muted: #b9acc9;
  --line: rgba(201, 164, 255, 0.22);
  --accent: #945cff;
  --accent-2: #4ce8d1;
  --accent-rgb: 148, 92, 255;
  --accent2-rgb: 76, 232, 209;
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.42);
  --radius: 24px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(var(--accent-rgb), 0.18), transparent 29%),
    radial-gradient(circle at 86% 18%, rgba(var(--accent2-rgb), 0.11), transparent 31%),
    linear-gradient(180deg, var(--bg), var(--bg-soft) 52%, #050108);
  font: 18px/1.58 Rajdhani, system-ui, sans-serif;
  padding-bottom: 0;
}
img, svg, video, canvas { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #111;
}
.skip-link:focus { transform: translateY(0); }

.stars,
.stars::before,
.stars::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1.4px),
    radial-gradient(circle, rgba(var(--accent2-rgb), .75) 1px, transparent 1.4px);
  background-size: 96px 96px, 164px 164px;
  background-position: 0 0, 38px 57px;
  opacity: .11;
}
.stars::before { transform: translate3d(18px, 30px, 0); opacity: .5; }
.stars::after { transform: translate3d(-30px, 12px, 0); opacity: .3; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 12px clamp(16px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 2, 13, .88);
  backdrop-filter: blur(18px);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.36);
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 62%, #dc7cff);
  box-shadow: 0 0 28px rgba(var(--accent-rgb), .42);
  color: #08030f;
  font: 800 1rem Orbitron, sans-serif;
}
.brand-mark.small { width: 40px; height: 40px; }
.brand-text { min-width: 0; }
.brand-text strong, .footer-brand strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font: 700 1rem Orbitron, sans-serif;
  letter-spacing: .025em;
}
.brand-text small, .footer-brand small {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .09em;
}
.site-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-weight: 600; }
.site-nav a { padding: 8px 0; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.nav-cta {
  padding: 9px 16px !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}
.menu-button {
  display: none;
  width: 46px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
}
.menu-button span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 92px clamp(18px, 6vw, 88px);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font: 700 .75rem Orbitron, sans-serif;
  letter-spacing: .17em;
}
h1, h2, h3 { margin-top: 0; font-family: Orbitron, sans-serif; line-height: 1.12; }
h1 {
  margin-bottom: 18px;
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #d9c9ff 38%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 42px rgba(var(--accent-rgb), .28);
  font-size: clamp(3rem, 7.2vw, 6.7rem);
  letter-spacing: -.055em;
  text-wrap: balance;
}
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.9rem); text-wrap: balance; }
h3 { margin-bottom: 12px; font-size: 1.12rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  min-height: calc(100svh - 73px);
}
.hero > * { min-width: 0; }
.hero-copy { width: 100%; min-width: 0; }
.hero-motto { margin: 0 0 14px; font: 700 clamp(1rem, 2vw, 1.3rem) Orbitron, sans-serif; }
.hero-intro { max-width: 750px; margin: 0; color: var(--muted); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.centered { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: 13px 21px;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #08030f;
  background: linear-gradient(135deg, var(--accent-2), #d6c0ff 45%, var(--accent));
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), .26);
}
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.045); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #ddd3e8;
  font-size: .82rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 500px;
  overflow: clip;
  isolation: isolate;
}
.world-orb {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(64%, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.95) 0 1%, transparent 3%),
    radial-gradient(circle at 40% 34%, var(--accent-2) 0 4%, transparent 5%),
    radial-gradient(circle at 56% 57%, var(--accent) 0 18%, #221044 63%, #090310 100%);
  box-shadow:
    inset -38px -32px 66px rgba(0,0,0,.55),
    inset 18px 18px 35px rgba(var(--accent2-rgb), .14),
    0 0 60px rgba(var(--accent2-rgb), .20),
    0 0 110px rgba(var(--accent-rgb), .30);
}
.world-orb span { font: 800 clamp(2rem, 5vw, 4.4rem) Orbitron, sans-serif; letter-spacing: .02em; }
.world-orb small { margin-top: 8px; color: var(--accent-2); font: 700 .63rem Orbitron, sans-serif; letter-spacing: .2em; }
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78%, 450px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--accent2-rgb), .34);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  box-shadow: 0 0 24px rgba(var(--accent2-rgb), .10);
}
.orbit-two {
  width: min(90%, 510px);
  border-color: rgba(var(--accent-rgb), .30);
  transform: translate(-50%, -50%) rotate(38deg);
}

.section-heading { max-width: 850px; margin: 0 auto 38px; text-align: center; }
.section-heading > p:not(.eyebrow) { color: var(--muted); }
.principle-grid, .world-grid, .impact-grid, .project-grid {
  display: grid;
  gap: 17px;
}
.principle-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.world-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.impact-grid, .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .world-card, .impact-card, .project-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(35, 15, 58, .84), rgba(12, 5, 22, .76));
  box-shadow: var(--shadow);
}
.card { padding: 25px; }
.card-icon { font-size: 1.8rem; }
.card p, .world-card p, .impact-card p, .project-card p { color: var(--muted); }
.world-card, .impact-card, .project-card { padding: 25px; }
.world-card { transition: transform .18s ease, border-color .18s ease; }
.world-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .58); }
.world-code {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 21px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #08030f;
  font: 800 .78rem Orbitron, sans-serif;
}
.world-card .open-link, .impact-card a { color: var(--accent-2); font-weight: 700; }

.focus-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  align-items: center;
  gap: 40px;
  padding: clamp(30px, 5vw, 66px);
  border: 1px solid var(--line);
  border-radius: 31px;
  background:
    radial-gradient(circle at 82% 18%, rgba(var(--accent2-rgb), .14), transparent 34%),
    linear-gradient(135deg, rgba(34,12,58,.94), rgba(10,4,18,.92));
  box-shadow: var(--shadow);
}
.focus-panel > * { min-width: 0; }
.focus-panel p { color: var(--muted); }
.focus-list { display: grid; gap: 10px; margin-top: 22px; }
.focus-item { display: flex; align-items: flex-start; gap: 10px; }
.focus-item::before { content: "✓"; color: var(--accent-2); font-weight: 800; }
.focus-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 24%, var(--accent-2), var(--accent) 43%, #160928 76%);
  box-shadow: 0 0 68px rgba(var(--accent-rgb), .38);
  text-align: center;
}
.focus-badge span { font: 800 clamp(2.4rem, 6vw, 4.7rem) Orbitron, sans-serif; line-height: 1; }
.focus-badge strong { margin-top: 8px; font: 800 1rem Orbitron, sans-serif; letter-spacing: .12em; }
.focus-badge small { margin-top: 5px; font-weight: 700; }

.impact-card > span { font-size: 2rem; }
.project-card { position: relative; overflow: hidden; }
.project-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--accent-2), var(--accent));
}
.project-meta { display: grid; gap: 8px; margin-top: 18px; }
.project-row { display: flex; justify-content: space-between; gap: 15px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .9rem; }
.project-row span { color: var(--muted); }
.status-pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 8px;
  border: 1px solid rgba(var(--accent2-rgb), .28);
  border-radius: 999px;
  color: var(--accent-2);
  font: 700 .63rem Orbitron, sans-serif;
  letter-spacing: .08em;
}

.security-panel, .zed-panel, .final-panel {
  border: 1px solid var(--line);
  border-radius: 31px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .16), rgba(10,4,18,.92));
  box-shadow: var(--shadow);
}
.security-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 35px;
  padding: clamp(30px, 5vw, 62px);
}
.security-panel > * { min-width: 0; }
.security-panel p, .zed-panel p, .final-panel p { color: var(--muted); }
.security-panel ul { margin: 0; padding-left: 20px; }
.security-panel li { margin: 10px 0; }
.zed-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: clamp(30px, 5vw, 64px);
}
.zed-emblem {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin: auto;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 44px;
  background: linear-gradient(145deg, #111827, #030712 58%, #30105a);
  box-shadow: inset 0 0 32px rgba(var(--accent-rgb), .28), 0 0 55px rgba(var(--accent-rgb), .26);
  font: 800 2rem Orbitron, sans-serif;
  letter-spacing: .08em;
}
.final-cta { text-align: center; padding-top: 52px; padding-bottom: 110px; }
.final-panel { padding: clamp(34px, 6vw, 74px); }

.site-footer {
  width: 100%;
  padding: 42px clamp(18px, 6vw, 88px) 110px;
  border-top: 1px solid var(--line);
  background: #050109;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0; color: var(--muted); }
.disclaimer { max-width: 900px; color: #91849f; font-size: .85rem; }
.copyright { color: #766980; font-size: .82rem; }
.mobile-nav { display: none; }
.preview-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  width: min(310px, calc(100vw - 32px));
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}
.preview-panel strong { display: block; margin-bottom: 8px; }
.preview-panel select { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #130820; color: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .site-nav { display: none; }
  .site-nav.open {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
  }
  .site-nav.open a { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .menu-button { display: block; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-intro { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 420px; }
  .principle-grid, .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: 68px; }
  .site-header { padding: 10px 14px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-text small { display: none; }
  .section { padding: 70px 16px; }
  .hero { gap: 12px; padding-top: 34px; }
  .hero-copy { width: 100%; max-width: 100%; }
  h1 {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.15rem, 11vw, 3.45rem);
    letter-spacing: -.045em;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero-intro { font-size: 1.08rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 7px; }
  .trust-row span { flex: 1 1 135px; text-align: center; }
  .hero-visual { min-height: 340px; width: 100%; max-width: 100%; overflow: clip; }
  .world-orb { width: min(66vw, 245px); }
  .orbit { width: min(58vw, 250px); }
  .orbit-two { width: min(64vw, 280px); }
  .principle-grid, .world-grid, .impact-grid, .project-grid,
  .focus-panel, .security-panel, .zed-panel { grid-template-columns: minmax(0, 1fr); }
  .focus-panel, .security-panel, .zed-panel { gap: 26px; }
  .focus-badge { width: min(78vw, 260px); }
  .project-row { flex-wrap: wrap; }
  .zed-emblem { width: 150px; height: 150px; }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(7,3,13,.96);
    backdrop-filter: blur(18px);
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: var(--muted);
    font-size: .66rem;
    font-weight: 600;
  }
  .mobile-nav span { color: var(--accent-2); font-size: 1rem; }
  .site-footer { padding-bottom: 100px; }
  .preview-panel { bottom: 82px; }
}

@media (max-width: 360px) {
  .section { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: clamp(2rem, 10.3vw, 2.35rem); }
  .hero-motto { font-size: .94rem; }
  .trust-row span { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .world-card { transition: none; }
}
