:root {
  --bg: #070a12;
  --bg-2: #0b1020;
  --panel: rgba(17, 24, 39, 0.78);
  --panel-solid: #111827;
  --panel-2: rgba(21, 27, 46, 0.86);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.19);
  --text: #f6f7fb;
  --muted: #aab6cb;
  --muted-2: #7d8aa3;
  --retroweb: #d946ef;
  --commnet: #22d3ee;
  --udaq: #34d399;
  --aisop: #f59e0b;
  --focus: #93c5fd;
  --max-width: 1180px;
  --header-height: 76px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% -4%, rgba(34, 211, 238, 0.16), transparent 34rem),
    radial-gradient(circle at 96% 8%, rgba(217, 70, 239, 0.15), transparent 32rem),
    radial-gradient(circle at 48% 86%, rgba(245, 158, 11, 0.08), transparent 38rem),
    linear-gradient(180deg, var(--bg), var(--bg-2) 48%, #070a12);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.86), transparent 76%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  transform: translateY(-150%);
  z-index: 500;
  border-radius: 999px;
  background: #fff;
  color: #06101b;
  padding: 0.7rem 1rem;
  font-weight: 800;
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: var(--max-width);
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 17px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(34,211,238,0.28), rgba(217,70,239,0.24)),
    rgba(255,255,255,0.06);
  box-shadow: 0 0 46px rgba(34, 211, 238, 0.12);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-copy { display: grid; gap: 0.02rem; }
.brand-copy strong { font-size: 1.06rem; letter-spacing: 0.01em; }
.brand-copy span { color: var(--muted); font-size: 0.78rem; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}
.site-nav a {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.6rem 0.78rem;
  font-size: 0.9rem;
  transition: background 160ms ease, border 160ms ease, color 160ms ease, transform 160ms ease;
}
.site-nav a span {
  margin-left: 0.25rem;
  color: var(--muted-2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.062);
  border-color: var(--line);
}
.site-nav a:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.18rem;
  height: 2px;
  margin: 0.22rem auto;
  border-radius: 999px;
  background: currentColor;
}

.section-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.25rem 1.25rem;
}

.hero { padding-top: 6rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: stretch;
}
.hero-copy,
.hero-card,
.portal-card,
.about-section,
.status-section,
.contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.066), rgba(255,255,255,0.032));
  box-shadow: var(--shadow);
}
.hero-copy {
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
}
.eyebrow {
  margin: 0 0 0.95rem;
  color: #93e5f2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
h3 {
  margin-bottom: 0.65rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.hero-lede {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.15rem;
}
.button,
.portal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  font-weight: 800;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease, box-shadow 160ms ease;
}
.button:hover,
.portal-action:hover { transform: translateY(-2px); }
.button-primary {
  color: #0b1020;
  background: linear-gradient(135deg, #f0abfc, #67e8f9);
  border-color: transparent;
  box-shadow: 0 18px 60px rgba(34, 211, 238, 0.16);
}
.button-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.055);
}
.button-secondary:hover { background: rgba(255,255,255,0.09); }
.hero-status {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}
.hero-status span {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.42rem;
  border-radius: 999px;
  background: var(--retroweb);
  box-shadow: 0 0 22px rgba(217, 70, 239, 0.72);
  flex: 0 0 auto;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 1.35rem;
}
.hero-visual-media {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.11);
  background:
    radial-gradient(circle at 50% 42%, rgba(34, 211, 238, 0.16), transparent 16rem),
    rgba(0,0,0,0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.035),
    0 24px 80px rgba(0,0,0,0.34);
}
.hero-visual-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 35%, transparent 44%, rgba(7,10,18,0.08) 72%, rgba(7,10,18,0.42) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 28%, rgba(0,0,0,0.18));
}
.hero-visual-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.map-visual {
  position: relative;
  min-height: 310px;
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 4rem),
    radial-gradient(circle at center, rgba(34, 211, 238, 0.09), transparent 12rem),
    rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.08);
}
.map-ring,
.map-axis,
.map-node { position: absolute; }
.map-ring {
  inset: 50%;
  translate: -50% -50%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
}
.ring-one { width: 42%; height: 42%; }
.ring-two { width: 67%; height: 67%; }
.ring-three { width: 90%; height: 90%; }
.map-axis {
  inset: 50% auto auto 50%;
  background: rgba(255,255,255,0.10);
  transform-origin: center;
}
.axis-x { width: 84%; height: 1px; translate: -50% -50%; }
.axis-y { width: 1px; height: 84%; translate: -50% -50%; }
.map-node {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  font-weight: 900;
  box-shadow: 0 0 40px rgba(255,255,255,0.08);
}
.node-retroweb { left: 52%; top: 18%; color: #f5d0fe; border-color: rgba(217,70,239,0.55); box-shadow: 0 0 46px rgba(217,70,239,0.22); }
.node-commnet { right: 12%; top: 52%; color: #cffafe; border-color: rgba(34,211,238,0.45); }
.node-udaq { left: 16%; top: 60%; color: #d1fae5; border-color: rgba(52,211,153,0.45); }
.node-aisop { left: 37%; bottom: 10%; color: #fef3c7; border-color: rgba(245,158,11,0.45); }
.hero-card-copy {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-card-copy span { color: var(--muted); }

.section-heading { max-width: 780px; margin-bottom: 1.6rem; }
.section-heading p { color: var(--muted); font-size: 1.04rem; }
.section-heading.compact { margin-bottom: 1.3rem; }

.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.portal-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 390px;
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  overflow: hidden;
}
.portal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent, rgba(255,255,255,0.2));
}
.portal-card::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  right: -5.5rem;
  top: -5.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), transparent 68%);
  opacity: 0.76;
  pointer-events: none;
}
.portal-featured { grid-column: span 1; }
.accent-retroweb { --accent: var(--retroweb); }
.accent-commnet { --accent: var(--commnet); }
.accent-udaq { --accent: var(--udaq); }
.accent-aisop { --accent: var(--aisop); }
.portal-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.portal-topline img {
  width: 4.4rem;
  height: 4.4rem;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.085);
  padding: 0.45rem;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.11);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-badge.active {
  color: #f5d0fe;
  border-color: rgba(217,70,239,0.42);
  background: rgba(217,70,239,0.12);
}
.status-badge.planned {
  color: #d8e0ee;
}
.portal-body { position: relative; z-index: 1; }
.portal-body p { color: var(--muted); margin-bottom: 0; }
.portal-action {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 1.2rem;
  color: var(--text);
  background: rgba(255,255,255,0.055);
}
.portal-action:hover {
  border-color: color-mix(in srgb, var(--accent) 48%, white 6%);
  box-shadow: 0 16px 46px color-mix(in srgb, var(--accent) 17%, transparent);
}
.future-action { color: var(--muted); }
.planned-feedback {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.about-section,
.status-section {
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
}
.about-copy p { color: var(--muted); }
.about-copy p:last-child { margin-bottom: 0; }

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.status-item {
  border: 1px solid rgba(255,255,255,0.09);
  border-left: 4px solid var(--accent, rgba(255,255,255,0.15));
  border-radius: 18px;
  padding: 1rem;
  background: rgba(0,0,0,0.18);
  display: grid;
  gap: 0.2rem;
}
.status-item span { color: var(--muted); font-size: 0.92rem; }

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.contact-card p { color: var(--muted); margin-bottom: 0; }
.contact-actions { display: grid; justify-items: start; gap: 0.8rem; }
.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(34,211,238,0.32);
  background: rgba(34,211,238,0.08);
  color: #cffafe;
  font-weight: 900;
  word-break: break-word;
}
.copy-feedback { min-height: 1.2rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 1.25rem;
  background: rgba(0,0,0,0.24);
}
.footer-grid,
.disclaimer {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.35rem;
}
.footer-grid p,
.disclaimer p { color: var(--muted); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.52rem 0.7rem;
  background: rgba(255,255,255,0.035);
}
.footer-links a:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.disclaimer {
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 20px;
  padding: 1rem;
  background: rgba(245,158,11,0.06);
}
.disclaimer p:last-child { margin-bottom: 0; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 360px; }
  .hero-visual-media,
  .hero-visual-media img { min-height: 360px; }
  .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7,10,18,0.96);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-color: rgba(255,255,255,0.05); }
  .section-shell { padding: 3.8rem 1rem; }
  .hero { padding-top: 4.5rem; }
  h1 { font-size: clamp(2.65rem, 15vw, 4.5rem); }
  .about-grid,
  .contact-card,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 580px) {
  .brand-copy span { display: none; }
  .hero-copy { padding: 1.35rem; }
  .hero-visual-media,
  .hero-visual-media img { min-height: 300px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .portal-grid,
  .status-grid { grid-template-columns: 1fr; }
  .portal-card { min-height: 330px; }
  .portal-topline { align-items: center; }
  .status-badge { white-space: normal; }
  .contact-email { width: 100%; justify-content: center; }
}

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