/* thumpo.app: the holding page and the store's required pages. Colours mirror src/ui/tokens.ts. */
:root {
  --bg: #080b12;
  --surface: #11131c;
  --border: #2a2a36;
  --text: #fafafc;
  --muted: #a1a1aa;
  --pink: #ff3d88;
  --link: #ff3d88;
  --purple: #8b5cf6;
  --orange: #ff9f43;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafafc;
    --surface: #ffffff;
    --border: #e5e7eb;
    --text: #080b12;
    --muted: #6b7280;
    --link: #d61f6b;
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--link);
  font-weight: 600;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

header.bar a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

header.bar img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

main {
  flex: 1;
}

h1 {
  font-size: 32px;
  line-height: 40px;
  margin: 0 0 16px;
}

h2 {
  font-size: 20px;
  line-height: 28px;
  margin: 32px 0 8px;
}

p,
li {
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

ol,
ul {
  padding-left: 22px;
}

li {
  margin: 4px 0;
}

/* Holding page */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 0 32px;
}

.hero img {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 12px;
}

.hero .tagline {
  font-size: 20px;
  line-height: 28px;
  max-width: 480px;
  margin: 0 0 24px;
}

.beats {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
  margin-bottom: 24px;
}

.beats span {
  width: 8px;
  border-radius: 999px;
  background: var(--pink);
  animation: thump 1s ease-in-out infinite;
}

.beats span:nth-child(1) { height: 40%; animation-delay: 0s; }
.beats span:nth-child(2) { height: 100%; animation-delay: 0.15s; background: var(--purple); }
.beats span:nth-child(3) { height: 65%; animation-delay: 0.3s; }
.beats span:nth-child(4) { height: 85%; animation-delay: 0.45s; background: var(--orange); }
.beats span:nth-child(5) { height: 50%; animation-delay: 0.6s; }

@keyframes thump {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .beats span { animation: none; }
}

.badge {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 28px;
  background: var(--pink);
  color: #ffffff;
  font-size: 19px;
  line-height: 24px;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.steps .card {
  margin: 0;
}

.steps strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}

footer a {
  color: var(--muted);
  font-weight: 400;
}
