:root {
  --bg: #050509;
  --bg-soft: #0b0b13;
  --panel: rgba(17, 16, 28, 0.82);
  --panel-strong: #11101c;
  --line: rgba(138, 104, 255, 0.3);
  --line-bright: rgba(255, 62, 215, 0.7);
  --text: #f8f5ff;
  --muted: #b5aec4;
  --cyan: #23c7ff;
  --pink: #ff3ed7;
  --violet: #8b63ff;
  --green: #33e3ae;
  --amber: #ffd24c;
  --max: 1180px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% -10%, rgba(34, 199, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 92% 14%, rgba(255, 62, 215, 0.11), transparent 34rem),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  color: #050509;
  background: var(--cyan);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.75rem max(1.25rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(138, 104, 255, 0.22);
  background: rgba(5, 5, 9, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 42px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 62, 215, 0.38));
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  color: var(--text);
  background: var(--panel);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: currentColor;
}

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

.site-nav a {
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  color: #09070d;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.site-nav .nav-cta:hover {
  color: #09070d;
  background: linear-gradient(135deg, #79ddff, #ff82e8);
}

.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;
}

.shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.page-hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(138, 104, 255, 0.2);
}

.page-hero.home-hero {
  min-height: calc(100vh - 76px);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.48;
}

@media (min-width: 961px) {
  .hero-backdrop img {
    object-position: 63% center;
  }
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #050509 0%, rgba(5, 5, 9, 0.94) 35%, rgba(5, 5, 9, 0.38) 72%, #050509 100%),
    linear-gradient(0deg, #050509 0%, transparent 42%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
}

.hero-copy {
  max-width: 750px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

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

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.subpage h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
  max-width: 860px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.15rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--cyan), #8f71ff 48%, var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 2rem;
  color: #d4cee0;
  font-size: clamp(1.07rem, 1.8vw, 1.32rem);
  line-height: 1.6;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #08070c;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 0 28px rgba(255, 62, 215, 0.18);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(12, 11, 20, 0.72);
}

.button-link {
  color: var(--cyan);
  padding-inline: 0.4rem;
}

.hero-note {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-mark {
  justify-self: end;
  width: min(100%, 310px);
  padding: 1.2rem;
  border: 1px solid var(--line-bright);
  border-radius: 2rem;
  background: rgba(5, 5, 9, 0.62);
  box-shadow: var(--shadow), 0 0 70px rgba(255, 62, 215, 0.18);
  backdrop-filter: blur(16px);
}

.hero-mark img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: contain;
}

.hero-mark p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
}

.signal-strip {
  border-bottom: 1px solid rgba(138, 104, 255, 0.22);
  background: rgba(10, 9, 17, 0.88);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(138, 104, 255, 0.18);
}

.signal-item {
  min-height: 110px;
  padding: 1.35rem;
  background: var(--bg-soft);
}

.signal-item span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--pink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.signal-item strong {
  display: block;
  line-height: 1.3;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.7rem;
}

.section-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card,
.status-card,
.metric-card,
.step-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(20, 18, 34, 0.92), rgba(10, 9, 17, 0.9));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.card::before,
.status-card::before,
.step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  opacity: 0.8;
}

.card-kicker,
.card-number {
  display: inline-grid;
  place-items: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(35, 199, 255, 0.12);
}

.card p,
.status-card p,
.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.media-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #050509;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.stack {
  display: grid;
  gap: 1rem;
}

.proof-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 1.7rem;
  border: 1px solid rgba(51, 227, 174, 0.42);
  border-radius: 1.5rem;
  background: linear-gradient(155deg, rgba(12, 33, 29, 0.8), rgba(10, 9, 17, 0.9));
}

.proof-note strong {
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-note blockquote {
  margin: 1.2rem 0;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.proof-note p {
  margin: 0;
  color: var(--muted);
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.feature-panel {
  padding: clamp(1.7rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(15, 13, 26, 0.82);
}

.feature-panel.accent {
  border-color: rgba(255, 62, 215, 0.46);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 62, 215, 0.12), transparent 18rem),
    rgba(15, 13, 26, 0.86);
}

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

.check-list,
.plain-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(35, 199, 255, 0.45);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.metric-card {
  min-height: 140px;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cyan);
  font-size: 1.55rem;
  line-height: 1.15;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card .card-number {
  color: var(--pink);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.status-card {
  min-height: 230px;
}

.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.65rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--amber);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-label::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.status-label.green {
  color: var(--green);
}

.status-label.violet {
  color: #b496ff;
}

.round-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.round-stat {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(15, 13, 26, 0.86);
}

.round-stat span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.round-stat strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.round-stat.pink strong {
  color: var(--pink);
}

.round-stat.green strong {
  color: var(--green);
}

.wide-image {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.wide-image img {
  width: 100%;
}

.notice {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--amber);
  color: #d8d1e2;
  background: rgba(255, 210, 76, 0.07);
  font-size: 0.9rem;
}

.archive-teaser {
  overflow: hidden;
  border: 1px solid rgba(255, 210, 76, 0.35);
  border-radius: 1.5rem;
  background: linear-gradient(140deg, rgba(43, 34, 10, 0.46), rgba(15, 13, 26, 0.9));
}

.archive-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 5vw, 4rem);
}

.archive-visual {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 1rem;
  background: #07070b;
}

.archive-visual img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.archive-stamp {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--amber);
  border-radius: 0.55rem;
  color: var(--amber);
  background: rgba(5, 5, 9, 0.82);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(255, 62, 215, 0.52);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 62, 215, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 100%, rgba(35, 199, 255, 0.13), transparent 25rem),
    #0d0c16;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin-bottom: 0.7rem;
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(138, 104, 255, 0.22);
  background: #07070c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 55px;
  height: 68px;
  object-fit: contain;
}

.footer-brand p,
.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-meta {
  text-align: right;
}

@media (max-width: 960px) {
  .hero-grid,
  .media-panel,
  .section-head,
  .archive-teaser-inner {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }

  .card-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .metric-grid,
  .round-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .media-frame img {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(8, 7, 13, 0.97);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.78rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .page-hero,
  .page-hero.home-hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 5rem;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }

  .section {
    padding: 4.5rem 0;
  }

  .card-grid,
  .status-grid,
  .timeline,
  .split-panel,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel .button-row {
    justify-content: flex-start;
  }

  .footer-links,
  .footer-meta {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .brand small {
    display: none;
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }

  .signal-grid,
  .metric-grid,
  .round-grid {
    grid-template-columns: 1fr;
  }

  .archive-teaser-inner {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
