:root {
  --bg-1: #05070f;
  --bg-2: #070b16;
  --bg-3: #0d1122;
  --panel: rgba(16, 24, 45, 0.72);
  --panel-border: rgba(151, 174, 255, 0.2);
  --surface: rgba(8, 12, 22, 0.85);
  --surface-soft: rgba(12, 17, 30, 0.75);

  --text: #f1f5ff;
  --muted: #99a7ca;
  --heading: #f8fbff;

  --accent-purple: #8c5dff;
  --accent-blue: #5d8aff;
  --accent-cyan: #3ad6ff;
  --accent-green: #70e0a1;
  --accent-amber: #ffcb6f;

  --shadow-soft: 0 18px 80px rgba(0, 0, 0, 0.5);
  --shadow-hard: 0 22px 65px rgba(0, 0, 0, 0.35);

  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;

  --header-height: 74px;
  --container: min(1140px, calc(100vw - 40px));

  --display-font: "Space Grotesk", "Sora", "Manrope", "Avenir Next", sans-serif;
  --body-font: "Space Grotesk", "Avenir", "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(138, 101, 255, 0.18), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(56, 223, 255, 0.15), transparent 30%),
    radial-gradient(circle at 20% 82%, rgba(93, 126, 255, 0.15), transparent 28%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 58%, var(--bg-3) 100%);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 0.55px, transparent 0.55px);
  background-size: 24px 24px;
  opacity: 0.08;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  z-index: -1;
}

a { color: inherit; }
img, svg { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--surface);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 15, 0.78);
  border-bottom: 1px solid var(--panel-border);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.25rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  border: 1px solid rgba(173, 200, 255, 0.4);
  background: linear-gradient(150deg, var(--accent-purple), var(--accent-blue), var(--accent-cyan));
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.15), 0 0 12px rgba(110, 136, 255, 0.3);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.brand-mark:hover { cursor: pointer; }

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
}

.brand-text {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.03rem;
  letter-spacing: 0.08em;
}

.brand-tag {
  display: inline-flex;
  margin-left: 0.4rem;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.76rem;
  border: 1px solid rgba(116, 149, 240, 0.32);
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
}

.nav-toggle {
  border: 1px solid rgba(160, 186, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  padding: 0.48rem 0.7rem;
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #d4dcf0;
  text-decoration: none;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(124, 157, 255, 0.14);
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(106, 167, 255, 0.24);
  border: 1px solid rgba(142, 190, 255, 0.35);
}

.alpha-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.33rem 0.66rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #ecfff2;
  border: 1px solid rgba(124, 240, 147, 0.35);
  background: rgba(56, 130, 85, 0.2);
}

.alpha-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
}

.hero {
  padding: 4.7rem 0 3.2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2rem, 7vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-copy h1 span {
  background: linear-gradient(110deg, #fdfdff 20%, #bec1ff 55%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #b0bfd3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-tag {
  margin: 1rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #dce7ff;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.hero-text {
  margin-top: 1rem;
  color: #a8b6d2;
  max-width: 66ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid rgba(145, 166, 255, 0.35);
  padding: 0.82rem 1rem;
  color: #eff5ff;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
  font-weight: 650;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(101, 136, 255, 0.24);
}

.btn-primary {
  background: linear-gradient(135deg, #7b57ff, #4f80ff 55%, #2ed3f5);
  border: 0;
}

.btn-soft {
  border-color: rgba(130, 255, 196, 0.36);
  background: rgba(58, 136, 97, 0.15);
}

.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.75;
  filter: grayscale(0.35);
}

.hero-visual {
  min-height: 420px;
  position: relative;
  border: 1px solid rgba(154, 180, 255, 0.22);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 40%, rgba(80, 123, 255, 0.32), rgba(11, 16, 29, 0.7));
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(140, 174, 255, 0.32);
  filter: blur(0.2px);
}

.hero-visual::before {
  width: 420px;
  height: 360px;
  transform: rotate(-14deg);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.24), rgba(110, 85, 255, 0.7) 34%, rgba(56, 190, 255, 0.2) 72%);
}

.hero-visual::after {
  width: 300px;
  height: 300px;
  transform: rotate(54deg);
  border-style: dashed;
}

.hero-core {
  position: relative;
  z-index: 1;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: conic-gradient(from 220deg, #8c57ff, #4f84ff, var(--accent-cyan), #8c57ff);
  box-shadow: 0 0 62px rgba(63, 145, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  color: white;
  font-size: 4rem;
  font-family: var(--display-font);
}

main > section {
  padding: 3.3rem 0;
  border-top: 1px solid rgba(130, 150, 230, 0.09);
}

.section-head h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  letter-spacing: -0.03em;
}

.section-kicker {
  color: var(--accent-cyan);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-intro {
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.02rem;
  margin-top: 0.8rem;
}

.grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.panel {
  border: 1px solid var(--panel-border);
  background: linear-gradient(155deg, var(--surface), var(--surface-soft));
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.panel h3 {
  margin: 0.4rem 0 0.5rem;
  font-family: var(--display-font);
}

.panel p,
.panel li { color: var(--muted); }

.panel .icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(116, 141, 255, 0.2);
  border: 1px solid rgba(156, 180, 255, 0.28);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(120, 145, 255, 0.42);
  color: #e6eeff;
  background: rgba(77, 111, 230, 0.22);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.badge-soft {
  border-color: rgba(124, 199, 146, 0.38);
  background: rgba(58, 130, 95, 0.18);
}

.page-meta {
  display: inline-flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.page-meta span {
  color: #9ca8c7;
  border: 1px dashed rgba(142, 164, 247, 0.35);
  border-radius: 999px;
  padding: 0.23rem 0.65rem;
  font-size: 0.81rem;
}

.callout {
  border-left: 3px solid var(--accent-cyan);
  padding: 0.8rem 1rem;
  background: rgba(50, 73, 118, 0.17);
  border-radius: 10px;
  margin-top: 1rem;
}

.changelog-list {
  margin-top: 1rem;
}

.changelog-item {
  border: 1px solid var(--panel-border);
  padding: 0.95rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.7rem;
  background: rgba(12, 17, 31, 0.7);
}

.changelog-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #eaf0ff;
}

.changelog-item .meta {
  font-size: 0.75rem;
  color: #95a2c1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.45rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
}

.status.current {
  color: #dbffd7;
  border: 1px solid rgba(115, 220, 147, 0.42);
  background: rgba(57, 121, 69, 0.25);
}

.status.planned {
  color: #d2ddff;
  border: 1px solid rgba(132, 165, 255, 0.4);
  background: rgba(66, 106, 223, 0.16);
}

.status.vision {
  color: #ffe2a8;
  border: 1px solid rgba(255, 208, 113, 0.4);
  background: rgba(155, 113, 30, 0.16);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  border-left: 1px dashed rgba(128, 152, 255, 0.3);
}

.timeline li {
  margin: 0 0 0.95rem 0;
  padding: 0 0 0.95rem 1.15rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 0.45rem;
  width: 0.63rem;
  height: 0.63rem;
  border-radius: 999px;
  background: var(--accent-cyan);
}

.timeline h4 {
  margin: 0;
}

.timeline p {
  margin: 0.28rem 0 0;
  color: var(--muted);
}

.origin-trigger-note {
  margin-top: 1rem;
  color: #8b9bc0;
  font-size: 0.92rem;
}

.origin-panel {
  margin-top: 1rem;
  border: 1px solid rgba(132, 176, 255, 0.34);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 20% 20%, rgba(56, 180, 255, 0.16), rgba(11, 16, 31, 0.82));
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 260ms ease, padding 260ms ease;
}

.origin-panel[aria-hidden="false"] {
  padding: 1.2rem;
  max-height: 350px;
  opacity: 1;
}

.site-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--panel-border);
  padding: 2.6rem 0 2.8rem;
  color: #9ea9c9;
  background: rgba(5, 8, 16, 0.8);
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.3fr 1fr 1fr;
}

.footer-grid h4 {
  margin: 0 0 0.7rem;
  color: #edf3ff;
  font-family: var(--display-font);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li + li {
  margin-top: 0.5rem;
}

.footer-grid a {
  color: #b5c2e1;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #fff;
}

.foot-note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: #8795b3;
  border-top: 1px solid rgba(111, 138, 234, 0.2);
  padding-top: 0.8rem;
}

.legal {
  color: #6f7d9e;
  font-size: 0.77rem;
}

.social-icons {
  display: inline-flex;
  gap: 0.55rem;
}

.social-icons a {
  border: 1px solid rgba(157, 183, 248, 0.36);
  border-radius: 11px;
  padding: 0.45rem 0.62rem;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .container {
    width: min(920px, calc(100vw - 32px));
  }

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

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero-visual {
    min-height: 320px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-shell { position: relative; }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    padding: 0.6rem 1rem 1rem;
    background: rgba(5, 9, 18, 0.95);
    border-bottom: 1px solid var(--panel-border);
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .site-nav.open { display: flex; }

  .nav-toggle { display: inline-flex; }

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

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