:root {
  --bg: #ffffff;
  --bg-elevated: #f7f7f8;
  --border: #e5e7eb;
  --text: #111214;
  --text-muted: #52606d;
  --accent: #1DB954;
  --accent-contrast: #ffffff;
  --accent-ink: #0c6d32;
  --focus: #1DB954;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11;
    --bg-elevated: #1a1b1e;
    --border: #2a2c31;
    --text: #f5f5f5;
    --text-muted: #a4aab3;
    --accent: #1DB954;
    --accent-contrast: #0b1310;
    --accent-ink: #6ee6a1;
    --focus: #6ee6a1;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
.hero,
footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 8px 14px;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 40px;
  padding-bottom: 12px;
}

.hero__icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: cover;
  flex-shrink: 0;
}

.hero__text {
  min-width: 0;
}

.hero__eyebrow {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.hero__title {
  margin: 0 0 4px;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

main {
  padding-top: 16px;
  padding-bottom: 48px;
}

section {
  margin: 36px 0;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
}

ol,
ul {
  padding-left: 1.25rem;
}

ol li,
ul li {
  margin-bottom: 8px;
}

a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  transition: transform 0.05s ease, filter 0.15s ease;
}

.button:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.button:active {
  transform: translateY(1px);
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 16px;
  margin-bottom: 10px;
  background: var(--bg-elevated);
}

details[open] {
  padding-bottom: 14px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

details p {
  margin: 4px 0 6px;
  color: var(--text-muted);
}

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

.small {
  font-size: 0.875rem;
}

.legal {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legal li {
  margin: 0;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 20px;
  padding-bottom: 40px;
  text-align: center;
}

footer p {
  margin: 2px 0;
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 28px;
  }

  .hero__icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .hero__title {
    font-size: 1.35rem;
  }

  section {
    margin: 28px 0;
  }
}
