:root {
  --bg: #060d15;
  --bg-deep: #040810;
  --panel: #0e1d2d;
  --panel-soft: #13283f;
  --text: #ecf6ff;
  --muted: #9db2cb;
  --line: rgba(56, 94, 132, 0.62);
  --accent-cyan: #2fd9ff;
  --accent-mint: #20d6aa;
  --accent-sun: #ffd071;
  --danger: #ff7f7f;
  --radius: 16px;
  --shadow: 0 20px 42px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 10% -8%, rgba(47, 217, 255, 0.2) 0%, transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(32, 214, 170, 0.15) 0%, transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

.grid-overlay,
.bg-noise,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  z-index: -4;
  background-image:
    linear-gradient(rgba(48, 90, 130, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 90, 130, 0.16) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 20%, black 36%, transparent 100%);
}

.bg-noise {
  z-index: -3;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.75) 0.55px, transparent 0.55px);
  background-size: 4px 4px;
}

.bg-glow {
  z-index: -2;
  filter: blur(40px);
}

.bg-glow-a {
  width: 420px;
  height: 420px;
  left: -110px;
  top: 20px;
  background: rgba(47, 217, 255, 0.17);
  border-radius: 50%;
}

.bg-glow-b {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 180px;
  background: rgba(32, 214, 170, 0.14);
  border-radius: 50%;
}

a {
  color: var(--accent-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.topbar {
  width: min(1120px, 94vw);
  margin: 16px auto 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 13, 21, 0.72);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 10px;
  z-index: 40;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(47, 217, 255, 0.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  background: linear-gradient(145deg, rgba(47, 217, 255, 0.18), rgba(32, 214, 170, 0.16));
}

.brand-text {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
}

.nav a:hover {
  color: var(--text);
}

main {
  width: min(1120px, 94vw);
  margin: 0 auto 54px;
  display: grid;
  gap: 28px;
}

main > section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 560px;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(32, 214, 170, 0.56);
  background: rgba(32, 214, 170, 0.14);
  color: #d2fff5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  padding: 5px 10px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 36px);
  background: linear-gradient(148deg, rgba(14, 29, 45, 0.85), rgba(9, 18, 29, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 180ms ease;
}

.hero.is-tilting {
  will-change: transform;
  transition: box-shadow 140ms ease;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.46);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -48% -12%;
  height: 62%;
  background: radial-gradient(ellipse at center, rgba(47, 217, 255, 0.18) 0%, transparent 72%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  transform: translate3d(0, 0, 20px);
  transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1 {
  margin-top: 10px;
  font-size: clamp(1.95rem, 5vw, 3.55rem);
  line-height: 1.04;
  max-width: 15ch;
  min-height: 2.25em;
  text-wrap: balance;
}

.hero-accent {
  display: inline-block;
  color: #d7faff;
  text-shadow: 0 0 28px rgba(47, 217, 255, 0.35);
}

.hero-text {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.launch-note {
  margin: 10px 0 0;
  color: #b5c7db;
  font-size: 0.87rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(47, 217, 255, 0.66);
  border-radius: 11px;
  padding: 10px 14px;
  color: #ecffff;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, rgba(47, 217, 255, 0.28), rgba(32, 214, 170, 0.28));
  transition: transform 140ms ease, box-shadow 170ms ease, filter 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(47, 217, 255, 0.22);
  filter: brightness(1.05);
}

.button-small {
  padding: 8px 12px;
  font-size: 0.86rem;
}

.button-secondary {
  border-color: rgba(56, 94, 132, 0.9);
  background: rgba(14, 29, 45, 0.82);
  color: var(--text);
}

.hero-tags {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags li {
  border: 1px solid rgba(56, 94, 132, 0.85);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.81rem;
  color: #d8e8f9;
  background: rgba(18, 40, 61, 0.6);
}

.hero-panel {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(56, 94, 132, 0.85);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(9, 20, 32, 0.84);
  overflow: hidden;
  transform: translate3d(0, 0, 28px);
  transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -130px;
  top: -130px;
  background: conic-gradient(from 180deg, rgba(47, 217, 255, 0.45), rgba(32, 214, 170, 0.16), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.panel-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.79rem;
  color: #d5f7ff;
  letter-spacing: 0.06em;
  font-family: "IBM Plex Mono", monospace;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 12px rgba(32, 214, 170, 0.95);
}

.panel-log {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.panel-log li {
  border: 1px solid rgba(56, 94, 132, 0.72);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(13, 28, 43, 0.82);
  display: grid;
  gap: 4px;
}

.panel-log code {
  color: #9ecfe2;
  font-size: 0.73rem;
  font-family: "IBM Plex Mono", monospace;
}

.panel-log strong {
  font-size: 0.92rem;
}

.panel-metrics {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.panel-metrics article {
  border: 1px solid rgba(56, 94, 132, 0.72);
  border-radius: 10px;
  background: rgba(13, 28, 43, 0.78);
  padding: 9px 10px;
  display: grid;
  gap: 4px;
}

.panel-metrics span {
  color: var(--muted);
  font-size: 0.79rem;
}

.panel-metrics strong {
  font-size: 0.94rem;
}

.signal-bar {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  background: rgba(8, 16, 25, 0.74);
}

.signal-bar p {
  margin: 0;
  border: 1px solid rgba(56, 94, 132, 0.76);
  border-radius: 10px;
  background: rgba(13, 28, 42, 0.74);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #d5e9ff;
  padding: 8px 9px;
  display: grid;
  gap: 2px;
}

.signal-bar span {
  font-size: 0.66rem;
  color: #89afcb;
}

.section {
  display: grid;
  gap: 13px;
}

.section-head {
  display: grid;
  gap: 8px;
}

.section-head h2 {
  font-size: clamp(1.35rem, 2.8vw, 2.18rem);
}

.grid {
  display: grid;
  gap: 12px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 29, 45, 0.78);
  padding: 16px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 217, 255, 0.58);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
}

.card-label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #9ccbe4;
}

.card p {
  color: var(--muted);
  margin: 8px 0 0;
}

.card-highlight {
  border-color: rgba(47, 217, 255, 0.58);
  background: linear-gradient(145deg, rgba(18, 40, 61, 0.9), rgba(12, 24, 36, 0.94));
  transform-style: preserve-3d;
}

.product-tag {
  margin: 0;
  color: #cdf5ff;
  letter-spacing: 0.06em;
  font-size: 0.73rem;
  font-family: "IBM Plex Mono", monospace;
}

.product-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-list {
  margin: 10px 0 0;
  padding-left: 16px;
  color: #d4e5f8;
  display: grid;
  gap: 4px;
}

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

.project-progress-card {
  display: grid;
  gap: 10px;
}

.project-progress-main {
  border-color: rgba(47, 217, 255, 0.62);
  background: linear-gradient(145deg, rgba(18, 40, 61, 0.9), rgba(12, 24, 36, 0.95));
  grid-column: 1 / -1;
}

.project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.progress-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.96rem;
  color: #d9fbff;
  border: 1px solid rgba(47, 217, 255, 0.48);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(47, 217, 255, 0.1);
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 94, 132, 0.82);
  background: rgba(7, 15, 24, 0.9);
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(47, 217, 255, 0.92), rgba(32, 214, 170, 0.92));
  box-shadow: 0 0 16px rgba(47, 217, 255, 0.35);
}

.faq-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pitch-card {
  grid-column: 1 / -1;
  border-color: rgba(32, 214, 170, 0.62);
  background: linear-gradient(145deg, rgba(17, 38, 56, 0.92), rgba(10, 21, 34, 0.96));
}

.faq-legal-card {
  border-color: rgba(47, 217, 255, 0.58);
  background: linear-gradient(145deg, rgba(16, 36, 54, 0.94), rgba(9, 20, 32, 0.98));
}

.faq-legal-card .legal-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #a8c2d8;
}

.faq-card {
  background: rgba(11, 23, 36, 0.84);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 19, 30, 0.78);
  padding: 12px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
}

.timeline span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 214, 170, 0.56);
  color: #d5fff6;
  font-family: "IBM Plex Mono", monospace;
  background: rgba(32, 214, 170, 0.12);
}

.timeline p {
  margin: 6px 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 22, 34, 0.82);
  padding: 16px;
}

.contact-card p {
  margin: 0 0 9px;
  color: var(--muted);
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-line span {
  min-width: 54px;
  color: #d6e5f8;
}

.contact-check {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer {
  width: min(1120px, 94vw);
  margin: 0 auto 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(56, 94, 132, 0.46);
  color: var(--muted);
  font-size: 0.88rem;
  display: grid;
  gap: 8px;
}

.footer p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal a {
  color: #c9e7ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 231, 255, 0.35);
}

.footer-legal a:hover {
  color: var(--text);
  border-bottom-color: rgba(236, 246, 255, 0.75);
}

.legal-layout {
  width: min(860px, 92vw);
}

.legal-card {
  display: grid;
  gap: 12px;
}

.legal-card h2 {
  font-size: 1.08rem;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
}

.legal-block {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 20, 30, 0.7);
  padding: 12px;
}

.legal-note {
  font-size: 0.86rem;
  color: #b9cee4;
}

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

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

.launch-layout {
  width: min(780px, 92vw);
  margin: 44px auto;
  display: grid;
  gap: 14px;
}

.launch-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(9, 18, 28, 0.88);
  padding: clamp(18px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.launch-title {
  margin-top: 10px;
  font-size: clamp(1.45rem, 4vw, 2.3rem);
}

.launch-text {
  color: var(--muted);
  margin-top: 10px;
}

.status-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 0 0 rgba(32, 214, 170, 0.7);
  animation: pulse 1.4s infinite;
}

.status-label {
  font-family: "IBM Plex Mono", monospace;
  color: #d8f6ff;
  font-size: 0.9rem;
}

.launch-log {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.launch-log li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.launch-log li.ok {
  border-color: rgba(32, 214, 170, 0.58);
  color: #d4fff6;
}

.launch-log li.wait {
  border-color: rgba(47, 217, 255, 0.48);
  color: #d5f2ff;
}

.launch-log li.error {
  border-color: rgba(255, 127, 127, 0.6);
  color: #ffd7d7;
}

.launch-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

.page-transition-layer {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0;
  --tx: 50%;
  --ty: 50%;
  background:
    radial-gradient(circle at var(--tx) var(--ty), rgba(47, 217, 255, 0.2) 0%, rgba(10, 20, 34, 0.95) 56%, rgba(5, 10, 16, 0.98) 100%),
    repeating-linear-gradient(90deg, rgba(47, 217, 255, 0.04) 0 1px, transparent 1px 12px);
}

body.page-transition-in .page-transition-layer {
  animation: pageTransitionIn 380ms ease forwards;
}

body.page-transition-out .page-transition-layer {
  opacity: 1;
  animation: pageTransitionOut 240ms ease forwards;
}

.click-burst {
  position: fixed;
  width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  border-radius: 50%;
  border: 1px solid rgba(47, 217, 255, 0.95);
  transform: translate(-50%, -50%) scale(0.4);
  pointer-events: none;
  z-index: 9998;
  box-shadow: 0 0 28px rgba(47, 217, 255, 0.42);
  animation: clickBurst 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.click-burst::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(32, 214, 170, 0.72);
  border-radius: 50%;
}

.section-ping {
  animation: sectionPing 620ms ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 214, 170, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(32, 214, 170, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 214, 170, 0);
  }
}

@keyframes driftGrid {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 58px 58px, 58px 58px;
  }
}

@keyframes pageTransitionIn {
  from {
    opacity: 0.95;
  }
  to {
    opacity: 0;
  }
}

@keyframes pageTransitionOut {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes clickBurst {
  to {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0;
  }
}

@keyframes sectionPing {
  0% {
    filter: brightness(1);
  }
  36% {
    filter: brightness(1.15);
  }
  100% {
    filter: brightness(1);
  }
}

@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .grid-overlay {
    animation: driftGrid 36s linear infinite;
  }

  .hero-panel::before {
    animation: spinGlow 14s linear infinite;
  }

  @keyframes spinGlow {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    min-height: 0;
  }

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

  .cards-3,
  .cards-2,
  .project-status-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .project-progress-main {
    grid-column: auto;
  }

  .pitch-card {
    grid-column: auto;
  }

  .topbar {
    position: static;
    backdrop-filter: none;
    background: rgba(6, 13, 21, 0.92);
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 10px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 0.89rem;
  }

  .hero {
    padding: 18px;
  }

  .signal-bar {
    grid-template-columns: 1fr;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tags li {
    font-size: 0.76rem;
  }

  .footer-legal {
    gap: 10px;
  }
}

@media (hover: none), (pointer: coarse) {
  .bg-noise {
    opacity: 0.03;
  }

  .bg-glow-b {
    display: none;
  }

  .card {
    box-shadow: none;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .button {
    min-height: 44px;
  }

  .card:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: none;
  }

  .button:hover {
    transform: none;
    box-shadow: none;
    filter: none;
  }
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .grid-overlay {
    animation: none !important;
  }

  .bg-glow {
    filter: blur(24px);
  }

  .hero-panel::before {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pulse-dot {
    animation: none;
  }

  .page-transition-layer,
  .click-burst {
    animation: none !important;
  }
}
