:root {
  color: #182033;
  background: #f4f6fb;
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(114, 97, 255, 0.1), transparent 30rem),
    radial-gradient(circle at 100% 14%, rgba(51, 193, 173, 0.12), transparent 30rem),
    #f4f6fb;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.hero {
  padding: 10px 4px 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #5a51e8;
  box-shadow: 0 8px 20px rgba(90, 81, 232, 0.28);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-copy {
  margin-top: 60px;
}

.eyebrow {
  margin: 0 0 13px;
  color: #6259e8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.19em;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.description {
  max-width: 560px;
  margin: 22px 0 0;
  color: #687086;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

.search-box {
  display: flex;
  width: min(560px, 100%);
  height: 58px;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 0 17px;
  border: 1px solid #e0e4ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(31, 42, 68, 0.08);
  backdrop-filter: blur(16px);
}

.search-box > span:first-child {
  color: #7d8496;
  font-size: 25px;
  transform: rotate(-15deg);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #1c2334;
  background: transparent;
  font: inherit;
  font-size: 15px;
}

.search-box input::placeholder {
  color: #949bad;
}

kbd {
  padding: 5px 8px;
  border: 1px solid #e0e4ec;
  border-radius: 7px;
  color: #858ca0;
  background: #f8f9fc;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.sections {
  display: grid;
  gap: 46px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 3px 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 7px 0 0;
  color: #858c9e;
  font-size: 13px;
}

.section-heading > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #797f91;
  background: #e7eaf1;
  font-size: 12px;
  font-weight: 800;
}

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

.app-card {
  display: grid;
  min-height: 120px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(219, 224, 235, 0.92);
  border-radius: 22px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 30px rgba(35, 46, 73, 0.055);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.app-card:hover {
  border-color: #cbc7fa;
  box-shadow: 0 18px 40px rgba(35, 46, 73, 0.11);
  transform: translateY(-3px);
}

.app-card.featured {
  border-color: #f4d5c9;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 241, 0.94));
}

.app-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 17px;
  font-size: 23px;
  font-weight: 900;
}

.app-icon.coral { color: #e8553f; background: #ffe6df; }
.app-icon.red { color: #e23030; background: #ffe3e3; }
.app-icon.mint { color: #118a71; background: #dff7ef; }
.app-icon.violet { color: #6750c9; background: #eee9ff; }
.app-icon.blue { color: #3277ce; background: #e0edff; }
.app-icon.purple { color: #7c49c9; background: #f0e5ff; }
.app-icon.orange { color: #c76722; background: #ffead9; }
.app-icon.green { color: #268456; background: #def3e7; }
.app-icon.navy { color: #38557e; background: #e1e8f2; }
.app-icon.slate { color: #5c6473; background: #e9ecf1; }

.app-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

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

.app-title-row strong {
  overflow: hidden;
  font-size: 16px;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge {
  padding: 4px 6px;
  border-radius: 6px;
  color: #72798a;
  background: #eceef3;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.app-description {
  color: #7a8193;
  font-size: 13px;
  line-height: 1.45;
  word-break: keep-all;
}

.open-icon {
  color: #a1a7b5;
  font-size: 18px;
}

.empty-state {
  padding: 80px 20px;
  color: #858c9e;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  padding: 28px 4px 0;
  border-top: 1px solid #dfe3ec;
  color: #9298a8;
  font-size: 11px;
}

footer span:first-child {
  font-weight: 900;
  letter-spacing: 0.12em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 560px);
    padding-top: 22px;
  }

  .hero {
    padding-bottom: 34px;
  }

  .hero-copy {
    margin-top: 48px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .description {
    font-size: 14px;
  }

  .search-box {
    height: 56px;
    border-radius: 16px;
  }

  kbd {
    display: none;
  }

  .sections {
    gap: 38px;
  }

  .section-heading p {
    max-width: 270px;
    line-height: 1.45;
  }

  .app-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .app-card {
    min-height: 104px;
    gap: 14px;
    padding: 18px;
    border-radius: 19px;
  }

  .app-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 21px;
  }

  footer {
    flex-direction: column;
    margin-top: 52px;
  }
}

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

