:root {
  --navy: #16184a;
  --navy-deep: #0e1040;
  --lavender: #a9a4ff;
  --lilac: #cfc8ff;
  --violet: #6c63ff;
  --pink: #ff7aa2;
  --sky: #5aa8ff;
  --lime-a: #7dff6a;
  --lime-b: #b8ff7a;
  --card: #ffffff;
  --ink: #1c1f4a;
  --muted: #62688d;
  --soft: #f3f1ff;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 1.75rem;
  --shadow: 0 18px 40px rgba(12, 14, 60, 0.28);
  --inner: min(28rem, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: #fff;
  background: var(--navy-deep);
  line-height: 1.55;
}

a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.card a:focus-visible {
  outline-color: var(--navy-deep);
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, #3a348f 0%, transparent 60%),
    linear-gradient(165deg, #1a1d5c 0%, var(--navy) 42%, var(--navy-deep) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.blob-a {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  right: -3rem;
  background: #7b6cff;
}

.blob-b {
  width: 14rem;
  height: 14rem;
  top: 36%;
  left: -5rem;
  background: #ff7aa2;
  opacity: 0.28;
}

.blob-c {
  width: 16rem;
  height: 16rem;
  bottom: 8%;
  right: -4rem;
  background: #5aa8ff;
  opacity: 0.22;
}

.inner {
  width: var(--inner);
  margin: 0 auto;
}

.banner {
  padding: 3rem 0 2.25rem;
  animation: rise 0.65s ease both;
}

.brand {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lilac);
}

.banner h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.35rem, 9vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.lede {
  margin: 0 0 1.5rem;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime-a), var(--lime-b));
  color: #16301a;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(125, 255, 106, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(125, 255, 106, 0.36);
}

.btn:active {
  transform: translateY(0);
}

.content {
  padding: 0 0 2.75rem;
  animation: rise 0.65s ease 0.1s both;
}

.app-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.35rem;
}

.app-directory a {
  padding: 0.35rem 0;
  color: var(--lilac);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.apps h2 {
  margin: 0 0 0.9rem 0.1rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}

.app + .app {
  margin-top: 1rem;
}

.app-top {
  display: flex;
  gap: 0.95rem;
  align-items: center;
  margin-bottom: 1rem;
}

.icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  color: #fff;
}

.icon-portal {
  background: linear-gradient(145deg, var(--violet), #4f46e5);
  box-shadow: 0 8px 18px rgba(108, 99, 255, 0.35);
}

.icon-sound {
  background: linear-gradient(145deg, var(--pink), #d946ef);
  box-shadow: 0 8px 18px rgba(217, 70, 239, 0.3);
}

.icon-whendid {
  background: linear-gradient(145deg, #2dd4bf, #0891b2);
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.3);
}

.app-meta h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tag {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--violet);
}

.tag-sound {
  color: #c026d3;
}

.tag-whendid {
  color: #0f8f83;
}

.app-copy {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

.disclaimer {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: var(--soft);
  color: #4d5285;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin-top: 1.1rem;
}

.app-links a {
  color: var(--violet);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.app-links a:hover {
  text-decoration: underline;
}

.banner-page {
  padding-bottom: 1.5rem;
}

.crumb {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.crumb a {
  color: var(--lilac);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.crumb a:hover {
  text-decoration: underline;
}

.prose h2 {
  margin: 1.55rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.prose a:hover {
  text-decoration: underline;
}

.prose .updated {
  color: var(--ink);
}

.prose .disclaimer {
  margin-top: 0.35rem;
}

.page-nav {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.page-nav a {
  color: var(--lilac);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.page-nav a:hover {
  text-decoration: underline;
}

.foot {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.foot p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner,
  .content,
  .btn {
    animation: none;
    transition: none;
  }
}

@media (min-width: 640px) {
  .banner {
    padding: 4rem 0 2.75rem;
  }

  .lede {
    max-width: 24rem;
  }
}
