@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Serif:wght@500;600&display=swap");

:root {
  --bg: #010202;
  --bg-soft: #050707;
  --text: #eff3f2;
  --muted: #95a19c;
  --line: rgba(140, 156, 149, 0.22);
  --accent: #1d4a39;
  --accent-soft: rgba(29, 74, 57, 0.35);
  --card: rgba(5, 8, 7, 0.88);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
}

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% -10%, rgba(24, 54, 42, 0.2), transparent 42%),
    radial-gradient(circle at 83% 4%, rgba(17, 38, 30, 0.16), transparent 33%),
    linear-gradient(180deg, #010202 0%, #030404 100%);
}

.shell {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.topbar {
  height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  font-family: "IBM Plex Serif", serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: #b8c2bd;
  font-size: 0.91rem;
}

.nav a:hover {
  color: #ecf2ef;
}

.hero {
  min-height: 72vh;
  display: grid;
  place-items: center;
  position: relative;
  text-align: center;
  isolation: isolate;
}

.hero-orb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: -1;
}

.planet {
  width: min(560px, 95vw);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.36;
  background:
    radial-gradient(circle at 33% 28%, rgba(120, 188, 154, 0.24), transparent 34%),
    radial-gradient(circle at 66% 67%, rgba(44, 88, 68, 0.38), transparent 44%),
    radial-gradient(circle at 52% 50%, rgba(11, 22, 18, 0.95) 0%, rgba(6, 10, 9, 0.9) 56%, rgba(2, 3, 3, 0.85) 100%);
  filter: blur(42px) saturate(0.86);
  transform: translateZ(0);
}

.planet::before,
.planet::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.planet::before {
  inset: 16%;
  background:
    repeating-conic-gradient(
      from 20deg,
      rgba(55, 107, 83, 0.45) 0deg,
      rgba(55, 107, 83, 0) 16deg,
      rgba(21, 47, 36, 0.5) 30deg,
      rgba(21, 47, 36, 0) 46deg
    );
  filter: blur(9px);
  animation: spin 26s linear infinite;
}

.planet::after {
  inset: -8%;
  background: radial-gradient(circle, rgba(36, 84, 65, 0.38) 0%, rgba(36, 84, 65, 0) 66%);
  filter: blur(30px);
}

.hero-copy {
  max-width: 760px;
  padding-top: 2rem;
}

.kicker {
  margin: 0;
  color: #8a9992;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.71rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0.45rem 0;
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.6rem, 3.4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
}

.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.93rem, 1.35vw, 1.03rem);
}

.apps {
  margin-top: 2.9rem;
}

.section-head {
  text-align: center;
}

.section-head h2 {
  margin: 0.5rem 0 0;
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.apps-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.app-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.logo-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid rgba(185, 202, 195, 0.17);
  overflow: hidden;
  background: #080a09;
  display: grid;
  place-items: center;
  position: relative;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-note {
  display: none;
  color: #8f9d97;
  font-size: 0.82rem;
  text-align: center;
  padding: 0 0.5rem;
}

.logo-box.needs-upload .upload-note {
  display: block;
}

.soon-logo {
  filter: blur(8px) saturate(0.8) brightness(0.82);
  transform: scale(1.09);
}

.app-card h3 {
  margin: 0.8rem 0 0;
  font-family: "IBM Plex Serif", serif;
  font-size: 1.2rem;
}

.app-card p {
  margin: 0.55rem 0 0;
  color: #aab8b2;
  line-height: 1.45;
  font-size: 0.96rem;
}

.status {
  margin-top: auto;
  padding-top: 0.9rem;
  color: #85c9aa;
  font-size: 0.88rem;
  font-weight: 700;
}

.status.muted {
  color: #77847e;
}

.about {
  margin-top: 3rem;
  text-align: center;
}

.about p:last-child {
  margin: 0.75rem auto 0;
  color: #adbbb6;
  max-width: 72ch;
  line-height: 1.7;
}

.footer {
  margin-top: 3.5rem;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: #98a59f;
  font-size: 0.9rem;
}

.footer a {
  color: #d3dcd8;
}

.legal-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.legal-page {
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 2.2rem 0 4.2rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #a8d8c3;
  font-size: 0.95rem;
}

.legal-header {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 760px;
}

.legal-header h1 {
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
}

.legal-header p {
  margin: 0.65rem 0 0;
  color: #afbeb8;
  line-height: 1.6;
}

.legal-grid {
  display: grid;
  gap: 0.95rem;
}

.legal-section {
  background: rgba(6, 9, 8, 0.84);
  border: 1px solid rgba(149, 167, 159, 0.2);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
}

.legal-section h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #e4ece9;
}

.legal-section p {
  margin: 0.65rem 0 0;
  color: #b3c1bc;
  line-height: 1.62;
}

.legal-section ul {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  color: #b3c1bc;
  line-height: 1.62;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    height: auto;
    padding: 1rem 0;
    flex-direction: column;
    gap: 0.8rem;
  }

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

  .app-card {
    min-height: 320px;
  }

  .hero {
    min-height: 66vh;
  }

  .planet {
    width: min(440px, 95vw);
  }
}
