:root {
  color-scheme: dark;
  --bg-body: #050608;
  --bg-elevated: #101217;
  --bg-elevated-soft: #151821;
  --accent-primary: #f3b220; /* yellow knob */
  --accent-secondary: #f0473a; /* red knob */
  --text-main: #f7f7f9;
  --text-muted: #a3a7b5;
  --text-soft: #7a7e8b;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 22px 50px rgba(0, 0, 0, 0.75);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --container-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #22252f 0, #050608 48%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.92),
    rgba(5, 6, 8, 0.72),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0b0d10, #252933);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark .brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-mark.small {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

.brand-mark.small .brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
  transition: width 160ms ease-out;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.hero {
  position: relative;
  padding: 72px 0 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('./assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.05);
  z-index: -2;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.1), #050608);
  background-blend-mode: multiply;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: 15px;
  max-width: 34rem;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 100ms ease-out, box-shadow 100ms ease-out,
    background 140ms ease-out, color 140ms ease-out;
}

.button.primary {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: #111115;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.8);
}

.button.ghost {
  background: rgba(10, 12, 17, 0.8);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.75);
}

.button:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.hero-device {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pedal {
  width: min(480px, 100%);
  border-radius: 10px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.9);
}

.section {
  padding: 72px 0;
}

.section-features {
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.98),
    rgba(6, 7, 10, 1)
  );
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 38px;
}

.section-header h2 {
  font-size: 26px;
  margin: 0 0 12px;
}

.section-intro {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: radial-gradient(circle at top left, #202534, #10141f);
  border-radius: var(--radius-md);
  padding: 20px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
  font-size: 14px;
}

.feature-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.section-how {
  background: radial-gradient(circle at top right, #202533, #050608);
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.how-copy {
  max-width: 520px;
}

.how-copy h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.how-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.how-steps li + li {
  margin-top: 4px;
}

.how-visual {
  display: flex;
  justify-content: center;
}

.phone-horizontal {
  max-width: 460px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-horizontal img {
  display: block;
  width: 100%;
  height: auto;
}

.section-delay {
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 1),
    rgba(8, 10, 16, 1)
  );
  border-top: 1px solid var(--border-subtle);
}

.delay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.delay-copy h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.delay-intro {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.delay-list {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.delay-list li + li {
  margin-top: 4px;
}

.delay-visual {
  display: flex;
  justify-content: center;
}

.delay-card {
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #11141c;
}

.delay-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section-spotify {
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 1),
    rgba(8, 10, 16, 1)
  );
  border-top: 1px solid var(--border-subtle);
}

/* Screenshot left, copy right (delay section is the reverse) */
.spotify-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.spotify-copy h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.spotify-intro {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.spotify-list {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.spotify-list li + li {
  margin-top: 4px;
}

.spotify-visual {
  display: flex;
  justify-content: center;
}

.spotify-card {
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #11141c;
}

.spotify-card img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  padding: 32px 0 28px;
  background: #040406;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-soft);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-title {
  font-weight: 500;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

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

.footer-links a:hover {
  color: var(--text-main);
}

.footer-meta {
  width: 100%;
  margin: 0;
  text-align: left;
}

.fade-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms ease-out, transform 380ms ease-out;
}

.fade-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.2fr);
  }

  .hero {
    padding-top: 60px;
  }

  .hero-device {
    margin-top: 28px;
    justify-content: flex-start;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-layout,
  .delay-layout,
  .spotify-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-visual,
  .delay-visual,
  .spotify-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-inline: 16px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding: 52px 0 56px;
  }

  .hero-subtitle {
    max-width: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    text-align: left;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-layout,
  .delay-layout,
  .spotify-layout {
    gap: 24px;
  }

  .hero-backdrop {
    background-attachment: scroll;
  }
}

/* —— Legal / Privacy —— */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-link:hover .brand-title,
.brand-link:focus-visible .brand-title {
  color: var(--text-main);
}

.brand-link:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
  border-radius: 8px;
}

.section-legal {
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.98),
    rgba(6, 7, 10, 1)
  );
  border-top: 1px solid var(--border-subtle);
  padding-top: 48px;
}

.legal-header h1 {
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.1;
  margin: 0 0 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-soft);
}

.legal-page {
  max-width: 46rem;
  margin-top: 8px;
}

.legal-page > p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-page > p:last-child {
  margin-bottom: 0;
}

.legal-page h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text-main);
}

.legal-page h2:first-of-type {
  margin-top: 24px;
}

.legal-page ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-page ul li + li {
  margin-top: 6px;
}

.legal-inline-link {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-inline-link:hover {
  color: var(--text-main);
}

.legal-summary {
  margin: 12px 0 18px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, #202534, #10141f);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.legal-summary ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.legal-summary li + li {
  margin-top: 10px;
}

.legal-summary strong {
  color: var(--text-main);
  font-weight: 600;
}

