:root {
  --ink: #17131f;
  --muted: #6f6979;
  --paper: #fbfaff;
  --purple: #6028e5;
  --pink: #df3f9d;
  --line: #e9e5f1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; }
a { color: inherit; }

.hero {
  min-height: 410px;
  color: white;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.2), transparent 24%),
    radial-gradient(circle at 88% 68%, rgba(255,101,190,.48), transparent 25%),
    linear-gradient(135deg, #29206a 0%, #5824d9 46%, #d5379a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  left: -150px;
  bottom: -260px;
  border: 70px solid rgba(255,255,255,.08);
  border-radius: 32%;
  transform: rotate(28deg);
}

.nav, .intro, .content, footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; text-decoration: none; }
.nav-link { text-decoration: none; color: rgba(255,255,255,.82); font-weight: 600; }
.nav-link:hover { color: white; }

.app-icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ff4bb3, #6b37ec);
  box-shadow: 0 10px 30px rgba(20, 0, 70, .3);
}
.app-icon i, .app-icon b { position: absolute; width: 30px; height: 15px; left: 8px; border-radius: 5px; transform: rotate(-30deg) skewX(12deg); }
.app-icon i { top: 8px; background: rgba(255,255,255,.96); }
.app-icon b { bottom: 8px; background: rgba(255,255,255,.78); }

.intro { position: relative; z-index: 1; padding: 12px 0 48px; max-width: 1120px; }
.intro > * { max-width: 720px; }
.eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.intro h1 { margin: 0; max-width: none; white-space: nowrap; font-size: clamp(34px, 5vw, 60px); line-height: 1.08; letter-spacing: -.045em; }
.intro h1 span { color: #ffc8eb; }
.intro p { margin: 18px 0 24px; max-width: 650px; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.65; color: rgba(255,255,255,.82); }
.primary { display: inline-flex; gap: 16px; align-items: center; padding: 15px 21px; border-radius: 14px; background: white; color: #4b21b1; text-decoration: none; font-weight: 800; box-shadow: 0 16px 40px rgba(25,0,70,.22); }

.content { padding: 92px 0 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.eyebrow.dark { color: var(--purple); margin-bottom: 8px; }
h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.045em; }
.search { width: min(100%, 340px); display: flex; align-items: center; gap: 8px; padding: 0 15px; height: 50px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 24px rgba(53,36,91,.05); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; font: inherit; color: inherit; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; min-height: 280px; padding: 25px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 14px 42px rgba(50,31,80,.07); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(50,31,80,.12); }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; color: white; font-size: 27px; background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent), #5c25e8 55%)); }
.card h3 { margin: 22px 0 8px; font-size: 23px; }
.card p { margin: 0; color: var(--muted); line-height: 1.75; }
.card-actions { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 10px; }
.get, .share { border: 0; border-radius: 12px; height: 44px; font: inherit; font-weight: 800; cursor: pointer; }
.get { flex: 1; display: grid; place-items: center; color: white; text-decoration: none; background: var(--purple); }
.get[aria-disabled="true"] { pointer-events: none; color: var(--muted); background: #eeeaf5; }
.share { width: 46px; color: var(--purple); background: #f0ebff; }
.empty { padding: 50px; text-align: center; color: var(--muted); }

footer { padding: 34px 0 50px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
footer p { margin: 0; }
.note { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 820px) {
  .hero { min-height: 400px; }
  .intro { padding: 12px 0 46px; }
  .intro h1 { white-space: normal; font-size: clamp(34px, 8vw, 50px); }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .nav, .intro, .content, footer { width: min(100% - 28px, 1120px); }
  .nav { height: 64px; }
  .nav-link { display: none; }
  .intro { padding: 8px 0 42px; }
  .section-heading, footer { align-items: stretch; flex-direction: column; }
  .search { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 260px; }
}
