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

:root {
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
  color: #eeefe9;
  background: #111310;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #92958a;
  --line: #2a2d27;
  --accent: #c8f36a;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0 7.2vw;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 22%, rgb(200 243 106 / 5%), transparent 38rem),
    #111310;
}

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

.topbar {
  width: 100%;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.wordmark-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #151811;
  background: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.topbar-note,
.eyebrow,
.app-category,
.app-count,
.footer {
  font-family: "DM Mono", monospace;
}

.topbar-note {
  color: var(--muted);
  font-size: 11px;
}

main {
  width: min(100%, 920px);
  margin: 0 auto;
  flex: 1;
}

.intro {
  padding: 104px 0 87px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgb(200 243 106 / 55%);
}

h1 {
  margin: 0;
  font-size: clamp(43px, 7vw, 76px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.06;
}

h1 span {
  color: #85897d;
}

.intro-copy {
  max-width: 400px;
  margin: 23px 0 0;
  color: #a7aa9f;
  font-size: 15px;
  line-height: 1.7;
}

.apps {
  padding-bottom: 76px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  color: #bfc1b9;
  font-size: 13px;
  font-weight: 500;
}

.app-count {
  color: #eeefe9;
  font-size: 11px;
}

.app-count span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.app-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 25px 9px;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease, padding 160ms ease;
}

.app-card:hover,
.app-card:focus-visible {
  padding-right: 16px;
  padding-left: 16px;
  outline: none;
  background: rgb(255 255 255 / 2%);
}

.app-card:focus-visible {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.app-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #42483a;
  border-radius: 17px;
  color: var(--accent);
  background: linear-gradient(145deg, #272c20, #1a1d17);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.08em;
}

.app-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-category {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.app-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.app-description {
  margin-top: 5px;
  color: #a7aa9f;
  font-size: 12px;
  line-height: 1.6;
}

.app-action {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #d9dbd3;
  font-size: 12px;
}

.arrow {
  color: var(--accent);
  font-size: 16px;
  transition: transform 160ms ease;
}

.app-card:hover .arrow {
  transform: translate(2px, -2px);
}

.footer {
  width: 100%;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.footer a {
  color: #c5c8bd;
}

.footer a span {
  padding-left: 3px;
  color: var(--accent);
}

@media (max-width: 620px) {
  body {
    padding: 0 22px;
  }

  .topbar {
    height: 70px;
  }

  .topbar-note {
    font-size: 9px;
  }

  .intro {
    padding: 82px 0 65px;
  }

  .app-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
    padding: 22px 3px;
  }

  .app-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .app-action {
    grid-column: 2;
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
