:root {
  --bg: #06070b;
  --panel: rgba(15, 17, 24, 0.9);
  --panel-strong: rgba(20, 23, 33, 0.96);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #aab2c6;
  --primary: #76f7bf;
  --primary-deep: #17362f;
  --accent: #6d7cff;
  --accent-soft: rgba(109, 124, 255, 0.16);
  --radius: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(109, 124, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(118, 247, 191, 0.14), transparent 22%),
    linear-gradient(180deg, #08090f 0%, #06070b 100%);
  color: var(--text);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.55), transparent 80%);
  pointer-events: none;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  padding: 12px 0 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #9d73ff);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(109, 124, 255, 0.3);
}

.brand-mark-image {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.brand-name,
.brand-tag,
.eyebrow,
.hero-text,
.signal-list,
.capability-card p,
.app-card p,
.footer p {
  margin: 0;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.top-link {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.top-link:hover {
  color: var(--text);
  border-color: rgba(118, 247, 191, 0.4);
  transform: translateY(-1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.hero-compact {
  padding-bottom: 12px;
}

.about-hero-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(109, 124, 255, 0.14), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.capability-card,
.app-card,
.closing-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 46px;
  background:
    radial-gradient(circle at top left, rgba(118, 247, 191, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(109, 124, 255, 0.18), transparent 28%),
    var(--panel);
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-copy h1,
.section-heading h2,
.closing-banner h2 {
  font-family: "Space Grotesk", sans-serif;
  margin: 16px 0 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.hero-text {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.metric-pill {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  min-width: 160px;
}

.metric-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.metric-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #b5ffdc);
  color: #072418;
  box-shadow: 0 18px 40px rgba(118, 247, 191, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background:
    radial-gradient(circle at top, rgba(109, 124, 255, 0.2), transparent 34%),
    var(--panel-strong);
}

.constellation {
  position: relative;
  min-height: 90px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(109, 124, 255, 0.08));
  overflow: hidden;
}

.constellation::before,
.constellation::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
}

.constellation::before {
  background-image:
    linear-gradient(rgba(118, 247, 191, 0.35), rgba(118, 247, 191, 0.35)),
    linear-gradient(rgba(109, 124, 255, 0.35), rgba(109, 124, 255, 0.35)),
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2));
  background-size: 120px 1px, 160px 1px, 1px 52px;
  background-position: 28px 34px, 110px 58px, 214px 26px;
}

.constellation-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.45);
}

.constellation-node:nth-child(1) { top: 28px; left: 24px; background: var(--primary); }
.constellation-node:nth-child(2) { top: 28px; left: 140px; background: #dce1ff; }
.constellation-node:nth-child(3) { top: 52px; left: 266px; background: var(--accent); }
.constellation-node:nth-child(4) { top: 66px; left: 104px; background: #fff; }

.signal-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.signal-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.signal-list {
  padding-left: 20px;
  color: var(--text);
  line-height: 1.7;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #d8ddff;
  font-size: 0.84rem;
}

.section {
  margin-top: 54px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
}

.capability-grid,
.apps-grid {
  display: grid;
  gap: 20px;
}

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

.capability-card,
.app-card {
  padding: 26px;
}

.capability-card h3,
.app-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
}

.capability-card p,
.app-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.68;
}

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

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

.about-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.26rem;
}

.about-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.app-card {
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 124, 255, 0.2), transparent 68%);
  pointer-events: none;
}

.app-card.featured {
  background:
    radial-gradient(circle at top right, rgba(118, 247, 191, 0.14), transparent 28%),
    var(--panel-strong);
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.app-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d3dbef;
  font-size: 0.78rem;
}

.app-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.app-status,
.app-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.app-status {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.app-status.live {
  background: rgba(118, 247, 191, 0.14);
  color: var(--primary);
}

.app-status.build {
  background: rgba(255, 184, 107, 0.14);
  color: #ffca8b;
}

.app-category {
  color: var(--muted);
}

.app-link {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding-bottom: 3px;
}

.app-link.muted {
  color: var(--muted);
  border-bottom: none;
}

.closing-banner {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(109, 124, 255, 0.15), rgba(118, 247, 191, 0.08)),
    var(--panel-strong);
}

.closing-banner h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a:hover,
.app-link:hover {
  color: var(--primary);
}

@media (max-width: 920px) {
  .hero-grid,
  .capability-grid,
  .apps-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 34px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .constellation {
    min-height: 74px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1160px);
    padding-top: 18px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-links {
    flex-wrap: wrap;
  }

  .hero-copy,
  .hero-panel,
  .capability-card,
  .app-card,
  .closing-banner {
    border-radius: 22px;
  }
}
