/* Drumtify One marketing site shared styles.
   Matches the in-app dark surface palette and Drumtify green accent
   (#1DB954) defined in DesignSystem/Tokens.swift so the website feels
   like an extension of the iOS app. */

:root {
  --background: #0B0B0F;
  --surface: #16161D;
  --surface-elevated: #20202A;
  --text-primary: #F5F5F7;
  --text-secondary: #B7B7C2;
  --text-tertiary: #7C7C8A;
  --accent: #1DB954;
  --accent-secondary: #E91E63;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #14803c);
  display: grid;
  place-items: center;
  color: #06160c;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.brand .wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand .wordmark .one {
  color: var(--accent);
}

h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

h3 {
  font-size: 18px;
  margin: 24px 0 8px;
  color: var(--text-primary);
}

p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

ul {
  padding-left: 20px;
  color: var(--text-secondary);
  margin: 8px 0 16px;
}

ul li {
  margin-bottom: 6px;
}

.intro {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 8px;
}

.metadata {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 32px;
}

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

.cta {
  display: inline-block;
  background: var(--accent);
  color: #06160c;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 8px;
}

.cta:hover { text-decoration: none; opacity: 0.9; }

.foot {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-tertiary);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.foot nav a {
  color: var(--text-secondary);
  margin-right: 16px;
}

@media (max-width: 540px) {
  .shell { padding: 36px 18px 64px; }
  h1 { font-size: 28px; }
  h2 { font-size: 19px; }
}
