:root {
  --paper: #f6f2ec;
  --paper-warm: #fff7ec;
  --cream: #fffaf3;
  --ink: #211c17;
  --muted: #6e594b;
  --muted-strong: #594235;
  --green: #267565;
  --green-deep: #143b32;
  --green-soft: #dcefe8;
  --orange: #f29e4c;
  --orange-soft: #fff0d9;
  --blue: #355070;
  --rose: #d96b8a;
  --border: rgba(33, 28, 23, 0.12);
  --border-strong: rgba(33, 28, 23, 0.2);
  --shadow: 0 20px 48px rgba(33, 28, 23, 0.14);
  --shadow-soft: 0 10px 24px rgba(33, 28, 23, 0.1);
  --font-serif: "Alegreya", Georgia, serif;
  --font-sans: "Space Grotesk", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-serif);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(33, 28, 23, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(33, 28, 23, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 15% 8%, rgba(242, 158, 76, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 10%, rgba(38, 117, 101, 0.12), transparent 32rem),
    linear-gradient(180deg, #fffaf4 0%, var(--paper) 58%, #efe4d7 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font: inherit;
}

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

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,
.coming-soon-badge,
.eyebrow,
.loop-copy,
.phone-panel,
.trust-note,
.mobile-sticky-cta {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: 4.7rem;
  line-height: 0.98;
  font-weight: 700;
}

h2 {
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 700;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.1;
  font-weight: 700;
}

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

.site-nav,
.hero,
.section,
.footer {
  width: min(100%, 1220px);
  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: 18px;
  padding-bottom: 18px;
  background: rgba(246, 242, 236, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

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

.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: 999px;
  color: var(--cream);
  background: var(--green);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-top: 54px;
  padding-bottom: 40px;
}

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

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-lead,
.section-copy p,
.songwriter-section p,
.faq-list p,
.close-cta p {
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-lead {
  max-width: 37rem;
}

.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: 56px;
  padding: 9px 17px;
  border-radius: 8px;
  color: var(--cream);
  background: #15110e;
  box-shadow: var(--shadow-soft);
}

.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.22rem;
}

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

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 11px 18px;
  border: 1px solid rgba(38, 117, 101, 0.24);
  border-radius: 8px;
  color: var(--green-deep);
  background: rgba(255, 250, 243, 0.9);
  box-shadow: var(--shadow-soft);
}

.coming-soon-badge.large {
  min-height: 64px;
  padding: 13px 22px;
}

.coming-soon-badge span:not(.status-dot) {
  display: grid;
  line-height: 1;
}

.coming-soon-badge small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.coming-soon-badge strong {
  font-size: 1.18rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(242, 158, 76, 0.18);
}

.trust-note {
  max-width: 19rem;
  color: var(--muted-strong);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-board {
  display: grid;
  gap: 14px;
}

.loop-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 142px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: var(--shadow-soft);
}

.plain-loop {
  color: var(--muted-strong);
}

.color-loop {
  border-color: rgba(38, 117, 101, 0.28);
  background: linear-gradient(135deg, rgba(220, 239, 232, 0.95), rgba(255, 247, 236, 0.96));
}

.loop-copy {
  display: grid;
  gap: 8px;
}

.loop-copy span {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.loop-copy strong {
  font-size: 2.2rem;
  line-height: 1.05;
}

.loop-arrow {
  justify-self: center;
  padding: 8px 14px;
  border: 1px solid rgba(38, 117, 101, 0.24);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 250, 243, 0.76);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
}

.sound-meter {
  display: flex;
  align-items: end;
  gap: 5px;
  min-width: 66px;
  height: 42px;
}

.sound-meter span {
  width: 9px;
  border-radius: 999px;
  background: rgba(110, 89, 75, 0.26);
}

.sound-meter span:nth-child(1) {
  height: 18px;
}

.sound-meter span:nth-child(2) {
  height: 28px;
}

.sound-meter span:nth-child(3) {
  height: 38px;
}

.sound-meter span:nth-child(4) {
  height: 24px;
}

.sound-meter.active span {
  background: var(--green);
}

.phone-panel {
  justify-self: center;
  width: min(100%, 420px);
  padding: 18px;
  border: 10px solid #1b1511;
  border-radius: 28px;
  color: var(--cream);
  background: #17110e;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 250, 243, 0.12);
  font-size: 0.82rem;
}

.phone-top span {
  color: rgba(255, 250, 243, 0.68);
}

.phone-top strong {
  font-size: 1.2rem;
}

.chord-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.chord-pills span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 250, 243, 0.75);
  background: rgba(255, 250, 243, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
}

.chord-pills .active {
  color: #132b26;
  background: var(--orange);
}

.fret-diagram {
  position: relative;
  height: 250px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 8px;
  background: #201914;
  overflow: hidden;
}

.string,
.fret {
  position: absolute;
  background: rgba(255, 250, 243, 0.45);
}

.string {
  left: 42px;
  right: 28px;
  height: 2px;
}

.s1 {
  top: 40px;
}

.s2 {
  top: 82px;
}

.s3 {
  top: 124px;
}

.s4 {
  top: 166px;
}

.s5 {
  top: 208px;
}

.fret {
  top: 26px;
  bottom: 26px;
  width: 2px;
}

.f1 {
  left: 72px;
}

.f2 {
  left: 138px;
}

.f3 {
  left: 204px;
}

.f4 {
  left: 270px;
}

.note {
  position: absolute;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 3px solid #17110e;
  border-radius: 50%;
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

.note.root {
  left: 116px;
  top: 102px;
  background: var(--orange);
}

.note.fifth {
  left: 248px;
  top: 58px;
  background: var(--blue);
}

.note.third {
  left: 182px;
  top: 144px;
  background: #6c9a8b;
}

.note.color {
  left: 314px;
  top: 144px;
  background: var(--green);
  border-color: var(--orange);
}

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

.next-hint {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px;
  margin-top: -18px;
  padding-top: 28px;
  padding-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: var(--shadow-soft);
}

.next-hint span,
.section-head .eyebrow {
  display: block;
}

.next-hint div:first-child {
  display: grid;
  gap: 8px;
  font-family: var(--font-sans);
}

.next-hint div:first-child span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.next-hint div:first-child strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.mini-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  justify-content: end;
}

.mini-loop span {
  min-width: 54px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--cream);
}

.mini-loop b {
  width: 34px;
  height: 2px;
  background: var(--green);
}

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

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

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

.steps article,
.songwriter-grid article,
.color-grid article,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
  box-shadow: var(--shadow-soft);
}

.steps article,
.songwriter-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

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

.steps p,
.songwriter-grid p {
  color: var(--muted);
}

.color-section {
  display: grid;
  gap: 28px;
}

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

.color-grid article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 22px;
}

.color-grid strong {
  font-family: var(--font-sans);
  font-size: 1.55rem;
}

.color-grid span {
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

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

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

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

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

.color-grid article:nth-child(7) {
  background: linear-gradient(180deg, #fffaf3, #f7eadf);
}

.color-grid article:nth-child(8) {
  background: linear-gradient(180deg, #fffaf3, #eee7f2);
}

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

.screenshot-section {
  align-items: center;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 14px;
  align-items: start;
}

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

.screenshot-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--cream);
}

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

.screenshot-card-large {
  grid-row: span 3;
}

.screenshot-card-large img {
  height: 720px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
}

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

.faq-list details {
  padding: 0;
}

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

.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 .eyebrow {
  color: var(--orange);
}

.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: 700;
}

.mobile-sticky-cta a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--green);
}

.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;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: var(--shadow-soft);
}

.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: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 1020px) {
  h1 {
    max-width: 12ch;
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .site-nav,
  .hero,
  .section,
  .footer {
    padding-inline: 28px;
  }

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

  .hero {
    min-height: auto;
  }

  .mini-loop {
    justify-content: start;
  }

  .color-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: 420px;
  }
}

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

  h1 {
    font-size: 2.9rem;
  }

  h2,
  .legal-hero h1 {
    font-size: 2rem;
  }

  .site-nav {
    align-items: 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;
  }

  .hero,
  .section,
  .footer,
  .legal-main {
    padding-inline: 18px;
  }

  .hero {
    padding-top: 34px;
    gap: 28px;
  }

  .hero-actions {
    align-items: start;
    flex-direction: column;
  }

  .loop-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px;
  }

  .loop-copy strong {
    font-size: 1.55rem;
  }

  .phone-panel {
    border-width: 8px;
  }

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

  .steps,
  .songwriter-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .color-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer {
    flex-direction: column;
    padding-bottom: 98px;
  }

  .footer nav {
    justify-content: flex-start;
  }

  body.show-sticky-cta .mobile-sticky-cta {
    display: flex;
  }
}
