:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #08101f;
  color: #f7f9fc;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 8%, rgba(69, 139, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 82%, rgba(90, 218, 180, 0.12), transparent 30rem),
    #08101f;
}

body {
  min-height: 100vh;
  margin: 0;
}

.shell {
  width: min(100%, 70rem);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5.5rem) clamp(1rem, 4vw, 2rem) 2rem;
}

.hero {
  max-width: 47rem;
  margin-bottom: clamp(2rem, 6vw, 3.75rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
  color: #dce7f8;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #3578e5, #16428c);
  box-shadow: 0 0.55rem 1.4rem rgba(21, 78, 167, 0.32);
  color: white;
  font-size: 0.9rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #72a8ff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 42rem;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.25rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  color: #9eacc1;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

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

.app-card {
  --glow: hsl(var(--app-hue, 215) 76% 62%);
  position: relative;
  display: grid;
  min-height: 13.5rem;
  padding: 1.25rem;
  overflow: hidden;
  grid-template-columns: 3rem 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1.2rem;
  background: rgba(17, 29, 50, 0.76);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.18);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.app-card::after {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: var(--glow);
  content: "";
  filter: blur(1rem);
  opacity: 0.16;
}

.app-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(24, 39, 66, 0.92);
  transform: translateY(-0.2rem);
}

.app-card:focus-visible {
  outline: 3px solid #72a8ff;
  outline-offset: 3px;
}

.app-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.9rem;
  background: var(--glow);
  color: #07101e;
  font-size: 1.05rem;
  font-weight: 850;
}

img.app-icon {
  object-fit: cover;
}

.app-copy {
  display: flex;
  align-self: end;
  flex-direction: column;
  grid-column: 1 / 4;
  gap: 0.45rem;
}

.app-copy strong {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.app-copy span {
  color: #9eacc1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.arrow {
  position: relative;
  z-index: 1;
  align-self: center;
  color: #b8c6da;
  font-size: 1.5rem;
}

footer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  color: #718099;
  font-size: 0.8rem;
}

.launcher-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  color: #9eacc1;
  text-align: center;
}

.ctech-preview-banner {
  position: sticky;
  z-index: 10;
  top: 0;
  padding: 0.75rem 1rem;
  background: #ffcf4a;
  color: #17120a;
  font-weight: 750;
  text-align: center;
}

.app-card[aria-disabled="true"] {
  cursor: not-allowed;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #55d6a6;
  box-shadow: 0 0 0.75rem rgba(85, 214, 166, 0.6);
}

@media (max-width: 47rem) {
  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 10.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-card {
    transition: none;
  }
}
