/* SpiffyLink hub — applies Design pack tokens */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sl-font-ui);
  font-size: 17px;
  line-height: 1.5;
  background: var(--sl-bg);
  color: var(--sl-ink);
}

a {
  color: var(--sl-volt);
}

a:hover {
  color: var(--sl-spark-soft);
}

.wrap {
  max-width: var(--sl-max);
  margin: 0 auto;
  padding: calc(var(--sl-space) * 6) calc(var(--sl-space) * 3)
    calc(var(--sl-space) * 8);
}

.hero {
  text-align: center;
  margin-bottom: calc(var(--sl-space) * 5);
}

.hero__logo {
  height: 88px;
  width: auto;
  display: block;
  margin: 0 auto calc(var(--sl-space) * 2);
}

.hero__title {
  font-family: var(--sl-font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 calc(var(--sl-space) * 1.5);
}

.hero__tag {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--sl-ink-dim);
  font-size: 1.125rem;
}

.hero__strip {
  display: block;
  height: 28px;
  width: min(100%, 420px);
  margin: calc(var(--sl-space) * 3) auto 0;
}

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: calc(var(--sl-space) * 3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  background: var(--sl-panel);
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius);
  padding: calc(var(--sl-space) * 3);
  box-shadow: var(--sl-shadow);
  display: flex;
  flex-direction: column;
  gap: calc(var(--sl-space) * 2);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.card:hover,
.card:focus-within {
  background: var(--sl-panel-hover);
  border-color: var(--sl-line-bright);
  transform: translateY(-2px);
}

.card__emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.card__title {
  font-family: var(--sl-font-display);
  font-weight: 600;
  font-size: 1.375rem;
  margin: 0;
}

.card__pitch {
  margin: 0;
  color: var(--sl-ink-dim);
  flex: 1;
  max-width: 70ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: var(--sl-spark);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--sl-radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--sl-spark-deep);
  color: #fff;
  outline: 2px solid var(--sl-sun);
  outline-offset: 2px;
}

.site-footer {
  margin-top: calc(var(--sl-space) * 8);
  padding-top: calc(var(--sl-space) * 3);
  border-top: 1px solid var(--sl-line);
  color: var(--sl-ink-mute);
  font-size: 0.8125rem;
  text-align: center;
}

.site-footer a {
  color: var(--sl-ink-mute);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a:hover {
  color: var(--sl-ink-dim);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
