:root {
  --paper: #f6f2ec;
  --paper-warm: #fff7ec;
  --cream: #fffaf3;
  --white: #ffffff;
  --ink: #211c17;
  --muted: #6e594b;
  --muted-strong: #594235;
  --green: #267565;
  --green-deep: #143b32;
  --stage: #12342d;
  --stage-deep: #09201b;
  --green-soft: #dcefe8;
  --orange: #f29e4c;
  --blue: #355070;
  --teal: #6c9a8b;
  --border: rgba(33, 28, 23, 0.12);
  --border-light: rgba(255, 250, 243, 0.16);
  --shadow: 0 24px 54px rgba(33, 28, 23, 0.16);
  --shadow-stage: 0 34px 70px rgba(0, 0, 0, 0.38);
  --font-serif: "Alegreya", Georgia, serif;
  --font-sans: "Space Grotesk", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-serif);
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(242, 158, 76, 0.12), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(38, 117, 101, 0.12), transparent 30rem),
    linear-gradient(180deg, #fffaf4 0%, var(--paper) 56%, #eee4d8 100%);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font: inherit;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(242, 158, 76, 0.9);
  outline-offset: 4px;
}

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

h1,
h2,
h3,
.brand,
.nav-links,
.button,
.app-store-badge,
.eyebrow,
.trust-note,
.practice-strip,
.tuning-grid,
.mobile-sticky-cta {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  line-height: 0.94;
  font-weight: 900;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.03;
  font-weight: 800;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.12;
  font-weight: 800;
}

.site-page {
  min-height: 100vh;
}

.site-nav,
.hero,
.practice-strip,
.section,
.footer {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: 48px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(246, 242, 236, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--green-deep);
  font-size: 1.12rem;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 9px;
  box-shadow: 0 10px 22px rgba(33, 28, 23, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--green-deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:not(.button):hover,
.footer a:hover {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--cream);
  background: var(--green-deep);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(20, 59, 50, 0.2);
}

.web-app-button {
  min-height: 52px;
  padding-inline: 22px;
}

.nav-status,
.launch-badge {
  cursor: default;
}

.nav-status {
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(360px, 0.76fr);
  gap: 56px;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 76px);
  padding-top: 54px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 70% 0%, rgba(108, 154, 139, 0.3), transparent 34rem),
    linear-gradient(135deg, var(--stage), var(--stage-deep));
  color: var(--cream);
}

.hero-media {
  justify-self: center;
  width: min(100%, 392px);
}

.device-frame {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(229, 218, 204, 0.96)),
    #f5efe6;
  border: 1px solid rgba(255, 250, 244, 0.45);
  box-shadow: var(--shadow-stage);
}

.hero-video {
  width: 100%;
  aspect-ratio: 440 / 956;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  background: #f5efe6;
  overflow: hidden;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
  max-width: 520px;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-lead,
.section-copy p,
.section-head p:not(.eyebrow),
.proof-section p,
.faq-list p,
.close-cta p {
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-lead {
  max-width: 34rem;
  color: rgba(255, 250, 243, 0.82);
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.close-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: #0b0908;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.app-store-badge svg {
  width: 24px;
  fill: currentColor;
}

.app-store-badge span {
  display: grid;
  line-height: 1;
}

.app-store-badge small {
  font-size: 0.68rem;
  font-weight: 500;
}

.app-store-badge strong {
  font-size: 1.24rem;
}

.app-store-badge.large {
  min-height: 64px;
  padding: 11px 22px;
}

.trust-note {
  max-width: 20rem;
  color: rgba(255, 250, 243, 0.74);
  font-size: 0.96rem;
  font-weight: 800;
}

.practice-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: rgba(255, 250, 243, 0.86);
  border-bottom: 1px solid var(--border);
}

.practice-strip > div {
  display: grid;
  gap: 12px;
}

.practice-strip span {
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tuning-pills,
.loop-example strong {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tuning-pills span {
  min-width: 112px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  background: var(--cream);
  text-align: center;
  font-size: 0.94rem;
  text-transform: none;
}

.tuning-pills span:first-child {
  color: var(--cream);
  background: var(--green-deep);
}

.loop-example {
  min-width: 230px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.loop-example strong {
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: 0.12em;
}

.section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.split-section,
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 44px;
  align-items: start;
}

.section-copy,
.section-head,
.proof-section > div:first-child {
  display: grid;
  gap: 16px;
}

.steps,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.steps article,
.proof-grid article,
.tuning-grid article,
.faq-list details,
.legal-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.84);
  box-shadow: 0 12px 26px rgba(33, 28, 23, 0.08);
}

.steps article,
.proof-grid article {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
}

.proof-grid article {
  align-content: start;
  gap: 14px;
  overflow: hidden;
}

.proof-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 48 / 17;
  overflow: hidden;
  border: 1px solid rgba(38, 117, 101, 0.18);
  border-radius: 8px;
  background: #f5efe6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.proof-visual-progression,
.proof-visual-next {
  aspect-ratio: 48 / 11;
}

.proof-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.proof-visual-fretboard img,
.proof-visual-next img {
  object-position: center;
}

.steps span {
  color: var(--orange);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 900;
}

.steps p,
.proof-grid p,
.tuning-grid p,
.tuning-grid span {
  color: var(--muted);
}

.tuning-section {
  display: grid;
  gap: 30px;
}

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

.tuning-grid article {
  display: grid;
  gap: 9px;
  min-height: 190px;
  padding: 24px;
}

.tuning-grid h3 {
  color: var(--green-deep);
  font-family: var(--font-serif);
  font-size: 2rem;
}

.tuning-grid p {
  word-spacing: 0.28em;
}

.tuning-grid strong {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.65rem;
  letter-spacing: 0.1em;
}

.tuning-grid article:nth-child(1),
.tuning-grid article:nth-child(4) {
  background: linear-gradient(180deg, #fffaf3, #e4f2ed);
}

.tuning-grid article:nth-child(2),
.tuning-grid article:nth-child(5) {
  background: linear-gradient(180deg, #fffaf3, #fbe5cf);
}

.tuning-grid article:nth-child(3),
.tuning-grid article:nth-child(6) {
  background: linear-gradient(180deg, #fffaf3, #e4edf7);
}

.screenshot-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1.5fr);
  gap: 36px;
  align-items: start;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}

.screenshot-card {
  display: grid;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 440 / 956;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f5efe6;
  box-shadow: var(--shadow);
}

.screenshot-card figcaption {
  color: var(--muted-strong);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
}

.screenshot-card-large {
  grid-row: auto;
}

.screenshot-card-large img {
  height: auto;
}

.proof-section {
  display: grid;
  gap: 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--font-sans);
  font-weight: 800;
}

.faq-list p {
  padding: 0 22px 22px;
  font-size: 1.05rem;
}

.close-cta {
  width: min(100% - 96px, 1124px);
  margin: 18px auto 0;
  padding: 56px 48px;
  border-radius: 8px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(242, 158, 76, 0.18), transparent 42%),
    linear-gradient(135deg, #1d5549, #12342d);
  box-shadow: var(--shadow);
  display: grid;
  justify-items: start;
  gap: 18px;
}

.close-cta p {
  color: rgba(255, 250, 243, 0.78);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 92px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.95);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.mobile-sticky-cta strong {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--green-deep);
  font-size: 0.92rem;
}

.legal-body {
  background: var(--paper);
}

.legal-main {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: 72px 48px;
}

.legal-hero {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 36px;
}

.legal-hero h1 {
  max-width: none;
  font-size: 3.2rem;
}

.legal-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
}

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

.legal-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card p,
.legal-list {
  color: var(--muted);
  margin: 0;
}

.legal-list {
  padding-left: 22px;
}

.inline-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  .site-nav,
  .hero,
  .practice-strip,
  .section,
  .footer {
    padding-inline: 28px;
  }

  .hero,
  .split-section,
  .faq-section,
  .screenshot-section,
  .practice-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    justify-self: center;
    width: min(100%, 372px);
  }

  .loop-example {
    padding-left: 0;
    border-left: 0;
  }

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

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

  .screenshot-card img,
  .screenshot-card-large img {
    height: auto;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 80px;
  }

  .site-nav {
    align-items: flex-start;
    padding-inline: 18px;
  }

  .brand span {
    max-width: 10rem;
  }

  .nav-links {
    max-width: 52%;
    overflow-x: auto;
    justify-content: flex-end;
    gap: 14px;
    white-space: nowrap;
  }

  .nav-links a:not(.nav-download) {
    display: none;
  }

  .button {
    min-height: 38px;
    padding: 8px 12px;
  }

  .hero,
  .section,
  .practice-strip,
  .footer {
    padding-inline: 18px;
  }

  .hero {
    gap: 32px;
    padding-top: 32px;
  }

  .device-frame {
    padding: 8px;
    border-radius: 22px;
  }

  .hero-video {
    border-radius: 15px;
  }

  .hero-actions,
  .tuning-pills {
    align-items: stretch;
    width: 100%;
  }

  .app-store-badge {
    width: 100%;
    justify-content: center;
  }

  .tuning-pills span {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
  }

  .steps,
  .proof-grid,
  .tuning-grid,
  .screenshot-gallery,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card-large {
    grid-row: auto;
  }

  .screenshot-card {
    justify-self: center;
    width: min(100%, 360px);
  }

  .screenshot-card img,
  .screenshot-card-large img {
    height: auto;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .close-cta {
    width: calc(100% - 36px);
    padding: 36px 24px;
  }

  .footer {
    display: grid;
    padding-bottom: 112px;
  }

  .footer nav {
    justify-content: start;
  }

  .mobile-sticky-cta {
    display: flex;
    transform: translateY(140%);
    transition: transform 0.2s ease;
  }

  body.show-sticky-cta .mobile-sticky-cta {
    transform: translateY(0);
  }

  .legal-main {
    padding: 48px 18px 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
