:root {
  color-scheme: dark;
  --bg: #05050c;
  --panel: rgba(18, 18, 31, 0.72);
  --panel-strong: rgba(14, 14, 24, 0.9);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.42);
  --accent: #ffd83d;
  --accent-strong: #ffca12;
  --pink: #f12fca;
  --cyan: #35c8ff;
  --max: 1160px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(92, 55, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 86% 70%, rgba(241, 47, 202, 0.2), transparent 34rem),
    var(--bg);
  color: var(--text);
}

body::selection {
  background: rgba(255, 216, 61, 0.28);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(5, 5, 12, 0.58);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(255, 216, 61, 0.2);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-header nav a {
  transition: color 160ms ease;
}

.site-header nav a:hover {
  color: var(--text);
}

.header-cta,
.primary-action,
.secondary-action,
.support-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta {
  padding: 0 18px;
  background: rgba(255, 216, 61, 0.13);
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 132px 20px 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 12, 0.54), rgba(5, 5, 12, 0.86) 46%, rgba(5, 5, 12, 0.5)),
    url("assets/home-bg.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 216, 61, 0.14), transparent 18rem),
    linear-gradient(180deg, transparent 72%, var(--bg));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.74fr);
  align-items: center;
  gap: clamp(44px, 8vw, 96px);
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.18;
}

.hero-lede,
.practice-copy > p,
.download p,
.feature-card p,
.watch-details p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action {
  padding: 0 24px;
}

.primary-action {
  background: linear-gradient(180deg, #ffe875, var(--accent-strong));
  color: #080808;
  box-shadow: 0 18px 50px rgba(255, 202, 18, 0.26);
}

.secondary-action {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

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

.watch-shell {
  position: relative;
  width: min(360px, 76vw);
  aspect-ratio: 0.82;
  padding: 6.5%;
  border-radius: 42% / 36%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #22242a, #08080a 56%, #1d1e23);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    0 40px 100px rgba(0, 0, 0, 0.6);
}

.watch-shell::before,
.watch-shell::after {
  content: "";
  position: absolute;
  left: 19%;
  right: 19%;
  height: 11%;
  background: linear-gradient(180deg, #202126, #09090b);
  z-index: -1;
}

.watch-shell::before {
  top: -5%;
  border-radius: 24px 24px 8px 8px;
}

.watch-shell::after {
  bottom: -5%;
  border-radius: 8px 8px 24px 24px;
}

.watch-screen {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #020204;
}

.screen-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.watch-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.42) 72%);
}

.beat-dots,
.mini-pill,
.tempo-control,
.play-button {
  position: relative;
  z-index: 2;
}

.beat-dots {
  position: absolute;
  top: 19%;
  display: flex;
  gap: 9px;
}

.beat-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.beat-dots .active {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(255, 216, 61, 0.8);
}

.mini-pill {
  position: absolute;
  top: 26%;
  right: 16%;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.48);
  color: var(--accent);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.tempo-control {
  display: grid;
  grid-template-columns: 54px minmax(88px, 1fr) 54px;
  align-items: center;
  gap: 12px;
  width: 78%;
  margin-top: 5%;
}

.tempo-control button {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.tempo-control div {
  text-align: center;
}

.tempo-control strong {
  display: block;
  font-size: clamp(4rem, 8vw, 5.5rem);
  line-height: 0.85;
}

.tempo-control span {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.play-button {
  position: absolute;
  bottom: 14%;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe875, var(--accent-strong));
  box-shadow: 0 18px 42px rgba(255, 202, 18, 0.34);
  cursor: pointer;
}

.play-button span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 32px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #050505;
}

.play-button.is-playing span {
  width: 25px;
  height: 30px;
  margin: 0 auto;
  border: 0;
  background: linear-gradient(90deg, #050505 0 34%, transparent 34% 66%, #050505 66%);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(calc(100% - 40px), var(--max));
  margin: -32px auto 0;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: var(--stroke);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

.metric {
  min-height: 132px;
  padding: 30px;
  background: rgba(8, 8, 17, 0.88);
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 0.9;
}

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

.section,
.practice,
.watch-section,
.download {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.feature-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(255, 216, 61, 0.12);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 900;
}

.practice {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 82px);
}

.practice-visual {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 38px;
  background: #020204;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.practice-visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  opacity: 0.72;
}

.play-preview {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  text-align: center;
}

.play-preview .ring {
  position: absolute;
  width: min(62%, 360px);
  aspect-ratio: 1;
  border: 20px solid rgba(255, 216, 61, 0.17);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-radius: 50%;
  filter: drop-shadow(0 0 28px rgba(255, 216, 61, 0.3));
}

.play-preview strong {
  position: relative;
  font-size: clamp(5.2rem, 13vw, 9rem);
  line-height: 0.9;
}

.play-preview span {
  position: relative;
  color: var(--muted);
  font-size: 2rem;
  font-weight: 800;
}

.practice-copy {
  max-width: 570px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 216, 61, 0.48);
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
}

.watch-render {
  display: grid;
  place-items: center;
  min-height: 460px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 216, 61, 0.18), transparent 15rem),
    var(--panel-strong);
}

.watch-render-shell {
  position: relative;
  width: min(300px, 78%);
  aspect-ratio: 0.82;
  padding: 7%;
  border-radius: 42% / 36%;
  background: linear-gradient(180deg, #292a31, #08080a 58%, #202126);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    0 30px 80px rgba(0, 0, 0, 0.46);
}

.watch-render-shell::before,
.watch-render-shell::after {
  content: "";
  position: absolute;
  left: 21%;
  right: 21%;
  height: 11%;
  background: linear-gradient(180deg, #202126, #09090b);
  z-index: -1;
}

.watch-render-shell::before {
  top: -5%;
  border-radius: 24px 24px 8px 8px;
}

.watch-render-shell::after {
  bottom: -5%;
  border-radius: 8px 8px 24px 24px;
}

.watch-render-screen {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #020204;
}

.watch-render-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.watch-render-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 28%, rgba(0, 0, 0, 0.54) 74%);
}

.render-signature,
.watch-render-screen strong,
.render-bpm,
.render-play {
  position: relative;
  z-index: 1;
}

.render-signature {
  position: absolute;
  top: 22%;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 900;
}

.watch-render-screen strong {
  color: #fff;
  font-size: 4.7rem;
  line-height: 0.86;
}

.render-bpm {
  color: var(--muted);
  font-weight: 800;
}

.render-play {
  position: absolute;
  bottom: 15%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 14px 38px rgba(255, 202, 18, 0.34);
}

.render-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #050505;
}

.watch-details {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: var(--stroke);
}

.watch-details div {
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 30px;
  background: rgba(8, 8, 17, 0.84);
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 44px;
  margin-bottom: 54px;
  padding: 52px;
  border: 1px solid var(--stroke);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 216, 61, 0.12), transparent 38%),
    rgba(10, 10, 20, 0.86);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
}

.download h2 {
  max-width: 680px;
}

.support-card {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.28);
}

.support-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.support-card a {
  width: fit-content;
  min-height: 52px;
  padding: 0 22px;
  background: var(--accent);
  color: #070707;
}

.support-card p {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--faint);
  font-size: 0.92rem;
}

.privacy-page {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
  padding: 72px 0;
}

.privacy-document {
  color: var(--text);
}

.privacy-document h1 {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.94;
}

.privacy-document h2 {
  margin: 42px 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.privacy-document p {
  color: var(--muted);
  line-height: 1.75;
}

.privacy-document a {
  color: var(--accent);
  font-weight: 800;
}

.privacy-date {
  margin-bottom: 34px;
  color: var(--faint);
}

@media (max-width: 860px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .site-header nav {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 108px 16px 58px;
  }

  .hero-inner,
  .practice,
  .watch-layout,
  .download {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    flex: 1 1 190px;
  }

  .signal-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip,
  .section,
  .practice,
  .watch-section,
  .download,
  .site-footer {
    width: calc(100% - 32px);
  }

  .section,
  .practice,
  .watch-section {
    padding: 76px 0;
  }

  .feature-card {
    min-height: auto;
  }

  .practice-visual {
    min-height: 480px;
    border-radius: 28px;
  }

  .practice-visual img {
    min-height: 480px;
  }

  .download {
    padding: 32px 22px;
  }

  .support-card a {
    width: 100%;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.25rem, 9.2vw, 2.45rem);
    line-height: 1;
    max-width: min(342px, calc(100vw - 48px));
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .header-cta {
    display: none;
  }

  .site-header {
    justify-content: center;
    width: auto;
    left: 14px;
    right: auto;
  }

  .brand span {
    display: inline;
  }

  .hero-actions {
    flex-direction: column;
    max-width: min(342px, calc(100vw - 48px));
  }

  .hero-inner,
  .hero-copy {
    max-width: min(342px, calc(100vw - 48px));
    min-width: 0;
    margin-left: 0;
    margin-right: auto;
  }

  .hero-device {
    justify-content: flex-start;
  }

  .hero-lede {
    max-width: min(342px, calc(100vw - 48px));
  }

  .primary-action,
  .secondary-action {
    width: min(342px, calc(100vw - 48px));
    flex-basis: auto;
  }

  .hero-device {
    margin-top: 8px;
  }

  .watch-shell {
    width: min(318px, 88vw);
  }

  .tempo-control {
    grid-template-columns: 46px minmax(74px, 1fr) 46px;
    gap: 8px;
  }

  .tempo-control button {
    width: 46px;
    height: 46px;
  }

  .play-button {
    width: 70px;
    height: 70px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .play-button.is-playing {
    animation: pulse 720ms ease-in-out infinite;
  }

  .play-preview .ring {
    animation: ringBeat 1180ms linear infinite;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes ringBeat {
  to {
    transform: rotate(360deg);
  }
}
