:root {
  --launch-bg: #080b10;
  --launch-bg-top: #0a0e15;
  --launch-panel: #101722;
  --launch-line: #263141;
  --launch-line-soft: #1a2431;
  --launch-text: #eef3f8;
  --launch-muted: #9aa8b7;
  --launch-subtle: #6f7d8c;
  --launch-accent: #38bdf8;
  --launch-success: #22c55e;
  --launch-shadow: rgba(0, 0, 0, 0.38);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--launch-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -220px, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0) 390px),
    linear-gradient(180deg, var(--launch-bg-top), var(--launch-bg) 38%);
}

body * {
  box-sizing: border-box;
}

.launch-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.launch-header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid rgba(38, 49, 65, 0.78);
  background: rgba(8, 11, 16, 0.84);
  backdrop-filter: blur(12px);
}

.launch-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--launch-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.launch-brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.36);
  background: rgba(56, 189, 248, 0.09);
  color: var(--launch-accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.launch-userbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--launch-muted);
  font-size: 12px;
  font-weight: 600;
}

.launch-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--launch-success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.launch-main {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 54px;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: center;
}

.launch-topline {
  max-width: 520px;
  text-align: left;
}

.launch-eyebrow {
  margin: 0 0 12px;
  color: var(--launch-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.launch-topline h1 {
  margin: 0;
  color: var(--launch-text);
  font-size: 56px;
  line-height: 1.02;
  font-weight: 780;
  letter-spacing: 0;
}

.launch-copy {
  margin: 16px 0 0;
  color: var(--launch-muted);
  font-size: 15px;
  line-height: 1.65;
}

.launch-copy[data-state="error"] {
  color: var(--launch-muted);
}

.launch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.app-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  color: var(--launch-text);
  text-decoration: none;
  border: 1px solid var(--launch-line);
  border-radius: 6px;
  background: var(--launch-panel);
  box-shadow: 0 16px 34px var(--launch-shadow);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.app-card:hover {
  border-color: rgba(56, 189, 248, 0.58);
  background:
    linear-gradient(0deg, rgba(56, 189, 248, 0.035), rgba(56, 189, 248, 0.035)),
    var(--launch-panel);
  transform: translateY(-1px);
}

.app-card:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.78);
  outline-offset: 3px;
}

.app-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.34);
  background: rgba(56, 189, 248, 0.09);
  color: var(--launch-accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.app-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.app-title {
  color: var(--launch-text);
  font-size: 17px;
  font-weight: 780;
  line-height: 1.2;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--launch-accent);
  background: rgba(56, 189, 248, 0.08);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.app-copy {
  display: block;
  color: var(--launch-muted);
  font-size: 13px;
  line-height: 1.5;
}

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

.app-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--launch-line-soft);
  color: var(--launch-subtle);
  background: rgba(8, 11, 16, 0.36);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.app-arrow {
  color: var(--launch-accent);
  font-size: 24px;
  line-height: 1;
}

.launch-footer {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--launch-subtle);
  font-size: 11px;
  text-align: center;
  border-top: 1px solid rgba(38, 49, 65, 0.55);
}

@media (max-width: 900px) {
  .launch-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .launch-topline {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .launch-topline h1 {
    font-size: 44px;
  }

  .launch-copy {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .launch-header {
    padding: 0 18px;
  }

  .launch-userbar span:not(.launch-status-dot) {
    display: none;
  }

  .launch-main {
    width: min(1080px, calc(100% - 28px));
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .launch-topline h1 {
    font-size: 34px;
  }

  .app-card {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: auto;
    padding: 14px;
  }

  .app-mark {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .app-arrow {
    display: none;
  }
}
