:root {
  --ink: #131a33;
  --ink-soft: #4b5168;
  --blue: #4353ff;
  --blue-deep: #2e3be0;
  --tint: #f0f2ff;
  --line: #e4e6ef;
  --bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible,
.btn-account:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Top bar */

.topbar {
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.wordmark {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  color: var(--blue);
}

.btn-account {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background-color 140ms ease;
}

.btn-account:hover {
  background: var(--blue-deep);
}

/* Intro */

.intro {
  padding-top: 56px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.intro h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.lede {
  margin-top: 14px;
  max-width: 54ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.lede a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

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

/* App cards */

.apps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

a.card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(67, 83, 255, 0.09);
}

.tile {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.tile img {
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 600;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.card-meta {
  margin-top: auto;
  padding-top: 6px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-domain {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

.chev {
  width: 20px;
  height: 20px;
  color: #b6bacc;
  transition: transform 140ms ease, color 140ms ease;
}

a.card:hover .chev {
  transform: translateX(4px);
  color: var(--blue);
}

/* About */

.about {
  margin-top: 72px;
}

.about h2 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Footer */

footer.container {
  margin-top: 72px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 28px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Small screens */

@media (max-width: 620px) {
  .intro {
    padding-top: 40px;
  }

  .apps {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 16px;
  }

  .about {
    margin-top: 56px;
  }

  .btn-account {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
}
