@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/HankenGrotesk-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/HankenGrotesk-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/HankenGrotesk-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/HankenGrotesk-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/HankenGrotesk-ExtraBold.ttf") format("truetype");
}

:root {
  --bg: #090d19;
  --bg-soft: #141929;
  --surface: #121827;
  --surface-2: #171e2f;
  --line: rgba(132, 154, 214, 0.18);
  --text: #f8f4ef;
  --text-soft: rgba(248, 244, 239, 0.72);
  --accent: #ffb000;
  --accent-2: #ff756b;
  --green: #72f1bd;
  --gold: #ffb000;
  --red: #ff595f;
  --purple: #a57df5;
  --pink: #db65a5;
  --blue: #5b8fea;
  --peach: #ffb675;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --font-sans: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tile-dark: #1c1c1e;
  --tile-sheen: radial-gradient(120% 90% at 22% 8%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.10) 28%, rgba(255, 255, 255, 0) 60%);
  --ex-orange: #ee6a23;
  --ex-cyan: #16a3c8;
  --ex-periwinkle: #7a7df0;
  --ex-olive: #b59b08;
  --ex-pink: #db5894;
  --ex-teal: #1ea888;
  --ex-green: #2fa44b;
  --ex-magenta: #c062cf;
  --ex-coral: #dc5f3f;
  --ex-emerald: #1eaa67;
  --ex-blue: #1a8bd6;
  --ex-violet: #985cc9;
  --ex-lilac: #a87df5;
  --ex-amber: #d3961a;
  --ex-mustard: #9aa419;
  --ex-rose: #e95d6a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  user-select: none;
  -webkit-user-select: none;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

select,
textarea {
  user-select: none;
  -webkit-user-select: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 64px);
  background: rgba(9, 13, 25, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.brand span {
  font-size: 2rem;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.mobile-menu a {
  text-decoration: none;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  display: none;
  padding: 12px 16px 16px;
  background: rgba(9, 13, 25, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu.is-open {
  display: grid;
  gap: 12px;
}

.mobile-menu a {
  color: var(--text-soft);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
  width: min(100%, 1360px);
  min-height: min(860px, calc(100vh - 77px));
  margin: 0 auto;
  padding: 70px clamp(24px, 5vw, 80px) 74px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
summary,
strong {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(4rem, 6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.accent {
  color: var(--accent);
}

.hero-lede {
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.hero-download {
  margin: 28px 0 0;
  color: var(--accent-2);
  font-size: 1.2rem;
  font-weight: 500;
}

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

.store-badge,
.store-soon-badge {
  display: inline-flex;
  align-items: center;
}

.store-badge {
  height: 48px;
}

.store-badge img {
  display: block;
  width: auto;
  height: 100%;
}

.store-soon-badge {
  min-width: 174px;
  min-height: 52px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 176, 0, 0.34);
  border-radius: 14px;
  background: rgba(18, 24, 39, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.store-platform {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.store-status {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-showcase {
  display: grid;
  place-items: center;
  align-self: center;
}

.phone-preview {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 32px 80px rgba(0, 0, 0, 0.45));
}

.hero-phone-preview {
  max-width: 440px;
}

.exercise-grid {
  display: grid;
  gap: 16px;
}

.exercise-grid.compact {
  grid-template-columns: repeat(2, 1fr);
}

.exercise-grid.large {
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  margin-top: 40px;
}

.exercise-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(104px, 1fr) auto;
  min-height: 158px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: var(--card-color, var(--accent));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.exercise-grid.compact .exercise-card {
  min-height: 158px;
  border-radius: 16px;
}

.exercise-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.44);
}

.exercise-card::before {
  position: absolute;
  inset: 0 0 54px;
  z-index: 0;
  background: var(--tile-sheen);
  content: "";
  pointer-events: none;
}

.exercise-glyph,
.exercise-icon,
.exercise-card strong {
  position: relative;
  z-index: 1;
}

.exercise-glyph {
  display: grid;
  place-items: center;
  min-height: 104px;
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1;
}

.exercise-icon {
  align-self: center;
  justify-self: center;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.exercise-icon.dark-icon {
  filter: brightness(0) saturate(100%);
  opacity: 0.82;
}

.exercise-card strong {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 12px 10px;
  background: var(--tile-dark);
  font-size: 1.02rem;
  line-height: 1.12;
  text-align: center;
}

.exercise-grid.compact .exercise-card strong {
  font-size: 1rem;
}

.note-card {
  --card-color: var(--ex-lilac);
}

.double-card {
  --card-color: var(--ex-mustard);
}

.triad-card {
  --card-color: var(--ex-purple);
}

.chord-card {
  --card-color: var(--ex-orange);
}

.blue-card {
  --card-color: var(--ex-magenta);
}

.peach-card {
  --card-color: var(--ex-emerald);
}

.mint-card {
  --card-color: var(--ex-cyan);
}

.emerald-card {
  --card-color: var(--ex-mustard);
}

.amber-card {
  --card-color: var(--ex-orange);
}

.navy-card {
  --card-color: var(--ex-periwinkle);
}

.teal-card {
  --card-color: var(--ex-periwinkle);
}

.rose-card {
  --card-color: var(--ex-olive);
}

.slate-card {
  --card-color: var(--ex-teal);
}

.violet-card {
  --card-color: var(--ex-pink);
}

.coral-card {
  --card-color: var(--ex-rose);
}

.lilac-card {
  --card-color: var(--ex-amber);
}

.plum-card {
  --card-color: var(--ex-emerald);
}

.sky-card {
  --card-color: var(--ex-teal);
}

.cream-card {
  --card-color: var(--ex-coral);
  color: #fff;
}

.tabbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  min-height: 74px;
  padding: 9px 14px 14px;
  background: rgba(19, 19, 22, 0.98);
  color: rgba(255, 255, 255, 0.62);
}

.tabbar span {
  display: grid;
  place-items: center;
  font-weight: 900;
}

.tabbar .active {
  border-radius: 999px;
  background: rgba(255, 176, 0, 0.18);
  color: var(--gold);
}

.section {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 96px clamp(24px, 5vw, 80px);
}

.section-heading {
  max-width: 820px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.section-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.progress-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.progress-visual,
.leaderboard-visual {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 430px);
  min-height: 680px;
}

.progress-phone-preview,
.leaderboard-phone-preview {
  width: auto;
  max-width: 100%;
  max-height: 680px;
}

.progress-grid {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.progress-card,
.feedback-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.progress-card strong {
  font-size: 1.15rem;
}

.progress-card p {
  margin: 0;
  color: var(--text-soft);
}

.image-card {
  grid-column: 1 / -1;
  overflow: hidden;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
}

.image-card img {
  display: block;
  width: min(100%, 440px);
  height: auto;
}

.leaderboard-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  justify-items: stretch;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  padding-top: 72px;
  padding-bottom: 82px;
  text-align: left;
}

label {
  font-weight: 800;
}

select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
}

select {
  min-height: 50px;
  padding: 0 12px;
}

textarea {
  min-height: 160px;
  padding: 12px;
  resize: vertical;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  background: var(--accent-2);
}

.primary-button:hover {
  background: #e45f56;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #ffd57a;
  font-weight: 800;
}

.faq-section {
  padding-top: 30px;
}

.faq-list {
  max-width: 860px;
  margin: 34px auto 0;
  border: 1px solid rgba(108, 131, 185, 0.26);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(10, 15, 28, 0.72);
}

.faq-list details + details {
  border-top: 1px solid rgba(108, 131, 185, 0.2);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 22px 64px 22px 18px;
  font-size: 1rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  transform: translateY(-70%) rotate(45deg);
  content: "";
}

.faq-list details[open] summary::after {
  transform: translateY(-28%) rotate(225deg);
}

.faq-list p {
  margin: 0;
  padding: 0 18px 22px;
  color: var(--text-soft);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 36px clamp(16px, 4vw, 64px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, auto));
  gap: 14px 28px;
  justify-content: center;
  max-width: 1120px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: var(--text-soft);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.footer-link::before {
  display: none;
}

.footer-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  place-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.footer-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.footer-link:hover {
  color: var(--text);
}

.copyright {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  text-align: center;
}

.policy-page {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 100vh;
  padding: 0 16px 32px;
  background: var(--bg);
}

.subpage-shell {
  width: calc(100% + 32px);
  margin: 0 -16px 28px;
}

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(16px, 4vw, 64px);
  background: rgba(9, 13, 25, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.subpage-header .menu-toggle {
  display: block;
}

.subpage-shell .mobile-menu {
  padding-inline: clamp(16px, 4vw, 64px);
}

.policy-card {
  width: min(860px, 100%);
  padding: 38px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.feedback-card {
  display: grid;
  gap: 18px;
}

.exercise-guide-card {
  width: min(1120px, 100%);
}

.policy-card h1 {
  margin-bottom: 18px;
  font-size: 2.6rem;
}

.policy-card p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.policy-card strong {
  color: var(--text);
}

.policy-back,
.policy-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  margin-top: 16px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.subpage-footer {
  display: grid;
  justify-items: center;
  width: min(1120px, 100%);
  margin-top: 26px;
  padding-bottom: 10px;
}

.subpage-footer .footer-links {
  justify-content: center;
}

.exercise-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.exercise-guide-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: var(--surface-2);
}

.exercise-guide-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.exercise-guide-grid p {
  margin: 0;
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.about-points article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: var(--surface-2);
}

.about-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.about-points p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .progress-section,
  .leaderboard-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .progress-section,
  .leaderboard-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-showcase {
    align-self: center;
  }

  .progress-section .section-heading,
  .leaderboard-section .section-heading {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .progress-visual,
  .leaderboard-visual {
    min-height: auto;
  }

  .exercise-grid.large {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    justify-items: center;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    gap: 34px;
    padding: 36px 16px 58px;
  }

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

  .brand span {
    font-size: 1.55rem;
  }

  h1 {
    margin-inline: auto;
    font-size: 3.3rem;
  }

  .hero-lede {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-phone-preview {
    max-width: 340px;
  }

  .progress-phone-preview {
    max-width: 320px;
    max-height: none;
  }

  .leaderboard-section {
    gap: 26px;
    padding-top: 42px;
    padding-bottom: 58px;
    text-align: center;
  }

  .leaderboard-phone-preview {
    max-width: 320px;
    max-height: none;
  }

  .exercise-grid.large,
  .exercise-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading h2 {
    font-size: 2.25rem;
  }

  .section {
    padding: 66px 16px;
  }

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

  .exercise-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .brand span {
    font-size: 0.92rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-download {
    font-size: 1rem;
  }

  .store-badge,
  .store-soon-badge {
    height: 42px;
  }

  .store-soon-badge {
    min-width: 156px;
    min-height: 48px;
  }

  .exercise-card {
    min-height: 148px;
    border-radius: 16px;
  }

  .exercise-card strong {
    min-height: 50px;
    padding: 11px 8px;
    font-size: 0.92rem;
  }

  .exercise-glyph {
    min-height: 98px;
    font-size: 2rem;
  }

  .exercise-icon {
    width: 42px;
    height: 42px;
  }

  .faq-list summary {
    font-size: 0.95rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .policy-card h1 {
    font-size: 2rem;
  }

  .policy-card {
    padding: 26px 18px;
    border-radius: 20px;
  }

  .policy-back {
    justify-content: center;
    width: 100%;
  }
}

.subpage-footer .footer-links {
  grid-template-columns: repeat(5, minmax(0, auto));
  justify-content: center;
}

.subpage-footer .footer-link {
  justify-self: center;
}

@media (max-width: 760px) {
  .site-footer {
    justify-items: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
  }

  .subpage-footer .footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
  }

  .support-footer {
    margin-top: 58px;
  }

  .leaderboard-section {
    padding-top: 12px;
  }
}

@media (max-width: 540px) {
  .subpage-footer .footer-links {
    grid-template-columns: 1fr;
  }
}
