:root {
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-dark: #0a1a1a;

  --ink: #0a0a0a;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --hairline: #e5e5e5;

  --accent-violet: #b8a4ed;
  --accent-pink: #ff9dd0;
  --accent-sky: #a7c7e7;
  --accent-peach: #ffb38f;
  --accent-ochre: #ffd05a;
  --accent-mint: #8fd9bf;

  --success: #10b981;
  --error: #ef4444;

  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 96px;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
}

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

body {
  background-color: var(--canvas);
  color: var(--body);
  font-family: "Inter", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
.display-font {
  font-family: "Unbounded", sans-serif;
  color: var(--ink);
}

.display-xl {
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1;
}

.display-lg {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.05;
}

.display-md {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
}

.display-sm {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.title-lg {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.title-md {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.title-sm {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.caption {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.caption-uppercase {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

.u-text-ink {
  color: var(--ink);
}

.u-margin-b-sm {
  margin-bottom: var(--space-sm);
}

.u-margin-b-md {
  margin-bottom: var(--space-md);
}

.u-margin-b-xxl {
  margin-bottom: var(--space-xxl);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(12px);
  z-index: 100;
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s ease;
}

.btn-primary {
  background-color: var(--surface-dark);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px var(--ink);
}

.btn-secondary {
  background-color: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.btn-secondary:hover {
  background-color: var(--surface-soft);
}

.btn-secondary .ripple-span {
  background-color: rgba(0, 0, 0, 0.1);
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple-span {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background-color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .display-xl {
    font-size: 56px;
  }
  .display-lg {
    font-size: 48px;
  }
  .display-md {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .display-xl {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .display-lg {
    font-size: 32px;
    letter-spacing: -0.5px;
  }
  .nav-inner {
    padding: 0 24px;
    height: 60px;
  }
  .nav-logo {
    font-size: 18px;
  }
  .nav-logo-img {
    width: 28px;
    height: 28px;
  }
  .nav-action-btn {
    height: 40px;
  }
}

/* Zen Music logo: the logo PNG has a transparent background with a cream
   glyph - render it on its native black tile so it stays legible on the
   light canvas background. */
.nav-logo-img,
.hero-logo,
.footer-logo img {
  background-color: #050505;
}
