:root {
  color-scheme: dark;
  --bg: #050706;
  --bg-2: #0b1110;
  --panel: rgba(11, 15, 16, 0.72);
  --panel-strong: rgba(16, 22, 24, 0.88);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6fbf8;
  --muted: #a7b1ad;
  --dim: #717d7a;
  --mint: #6cff9b;
  --mint-2: #9fffc4;
  --coral: #ff6f57;
  --amber: #ffc36b;
  --shadow: rgba(0, 0, 0, 0.45);
  --wave-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20360%20120%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M3%2056.0V64.0%20M8%2053.0V67.0%20M13%2057.5V62.5%20M18%2051.0V69.0%20M23%2055.0V65.0%20M28%2047.0V73.0%20M33%2052.0V68.0%20M38%2043.0V77.0%20M43%2049.0V71.0%20M48%2036.0V84.0%20M53%2045.0V75.0%20M58%2029.0V91.0%20M63%2039.0V81.0%20M68%2021.0V99.0%20M73%2033.0V87.0%20M78%2016.0V104.0%20M83%2037.0V83.0%20M88%2025.0V95.0%20M93%2042.0V78.0%20M98%2031.0V89.0%20M103%2048.0V72.0%20M108%2038.0V82.0%20M113%2052.0V68.0%20M118%2044.0V76.0%20M123%2055.0V65.0%20M128%2049.0V71.0%20M133%2051.0V69.0%20M138%2042.0V78.0%20M143%2046.0V74.0%20M148%2034.0V86.0%20M153%2040.0V80.0%20M158%2024.0V96.0%20M163%2032.0V88.0%20M168%2013.0V107.0%20M173%2026.0V94.0%20M178%2019.0V101.0%20M183%2035.0V85.0%20M188%2028.0V92.0%20M193%2043.0V77.0%20M198%2036.0V84.0%20M203%2049.0V71.0%20M208%2041.0V79.0%20M213%2053.0V67.0%20M218%2048.0V72.0%20M223%2056.0V64.0%20M228%2051.0V69.0%20M233%2054.0V66.0%20M238%2047.0V73.0%20M243%2050.0V70.0%20M248%2037.0V83.0%20M253%2044.0V76.0%20M258%2027.0V93.0%20M263%2036.0V84.0%20M268%2018.0V102.0%20M273%2030.0V90.0%20M278%2012.0V108.0%20M283%2024.0V96.0%20M288%2016.0V104.0%20M293%2033.0V87.0%20M298%2022.0V98.0%20M303%2039.0V81.0%20M308%2031.0V89.0%20M313%2045.0V75.0%20M318%2038.0V82.0%20M323%2050.0V70.0%20M328%2043.0V77.0%20M333%2054.0V66.0%20M338%2048.0V72.0%20M343%2056.0V64.0%20M348%2052.0V68.0%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.4%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fsvg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 82% 18%, rgba(108, 255, 155, 0.1), transparent 32rem),
    radial-gradient(circle at 88% 45%, rgba(255, 111, 87, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(28px, 4vw, 64px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 7, 6, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: 32px;
  height: 32px;
  color: var(--mint);
}

.brand-mark span {
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mint), #20d88a);
}

.brand-mark span:nth-child(1),
.brand-mark span:nth-child(5) {
  height: 11px;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(4) {
  height: 21px;
}

.brand-mark span:nth-child(3) {
  height: 28px;
}

.nav-links {
  gap: clamp(22px, 4vw, 54px);
}

.nav-links a,
.demo-section a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

.header-actions {
  justify-content: flex-end;
  gap: 12px;
}

.ghost-button,
.outline-button,
.primary-button,
.generate-button,
.more-button,
.menu-button {
  border: 0;
  cursor: pointer;
}

.ghost-button,
.outline-button,
.more-button {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ghost-button,
.primary-button.small {
  min-height: 40px;
  padding: 0 22px;
  border-radius: 16px;
}

.primary-button,
.generate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #041009;
  background: linear-gradient(180deg, var(--mint), #54e98d);
  box-shadow: 0 18px 42px rgba(69, 240, 137, 0.24);
  font-weight: 700;
}

.primary-button {
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
}

.primary-button.small {
  min-width: 102px;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-section {
  position: relative;
  min-height: 650px;
  padding: clamp(46px, 5vw, 76px) clamp(28px, 4vw, 64px) 40px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96) 0%, rgba(5, 7, 6, 0.78) 38%, rgba(5, 7, 6, 0.34) 100%),
    linear-gradient(180deg, transparent 58%, var(--bg) 100%),
    url("assets/hero-remix-room.png");
  background-position: center;
  background-size: cover;
  filter: saturate(1.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(560px, 0.86fr) minmax(560px, 1.14fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(52px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--mint-2);
}

.hero-lede {
  max-width: 640px;
  margin: 20px 0 0;
  color: #c0c8c5;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.composer {
  position: relative;
  max-width: 690px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(108, 255, 155, 0.42);
  border-radius: 16px;
  background: rgba(8, 12, 13, 0.72);
  box-shadow: 0 24px 70px var(--shadow);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.composer.is-submitted {
  border-color: rgba(108, 255, 155, 0.9);
  box-shadow: 0 28px 84px rgba(69, 240, 137, 0.22);
  transform: translateY(-2px);
}

.composer label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.composer-input {
  display: grid;
  grid-template-columns: 1fr 44px 44px;
  gap: 8px;
  align-items: center;
}

.composer-input input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}

.composer-input input::placeholder {
  color: #939c99;
}

.composer-input button,
.chip,
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.composer-input button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.chip {
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.chip.active,
.chip:hover {
  border-color: rgba(108, 255, 155, 0.56);
  color: var(--mint-2);
}

.generate-button {
  position: absolute;
  right: 18px;
  bottom: 17px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  isolation: isolate;
}

.hero-visual-render {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 540px;
  pointer-events: none;
}

.hero-visual-render img {
  display: block;
  width: min(820px, 108%);
  max-width: none;
  height: auto;
  margin-right: -22px;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.42));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 100%);
}

.cover-card,
.floating-note {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 16, 17, 0.68);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.cover-card {
  border-radius: 16px;
}

.cover-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
}

.cover-info,
.play-button,
.card-wave,
.duration,
.floating-tag {
  position: absolute;
  z-index: 2;
}

.cover-info {
  top: 16px;
  left: 18px;
}

.cover-info span,
.floating-note span {
  display: block;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.cover-info strong,
.floating-note strong {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
}

.play-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.play-button.tiny {
  position: static;
  width: 32px;
  height: 32px;
  min-width: 32px;
  color: #06120c;
  background: rgba(255, 255, 255, 0.92);
}

.hero-wave {
  position: absolute;
  left: -96px;
  right: -80px;
  height: 132px;
  z-index: -1;
  color: rgba(72, 246, 154, 0.74);
  opacity: 0.88;
  filter: drop-shadow(0 0 18px rgba(72, 246, 154, 0.28));
  transform: rotate(-4deg);
  -webkit-mask: var(--wave-mask) repeat-x center / 360px 100%;
  mask: var(--wave-mask) repeat-x center / 360px 100%;
  background: currentColor;
}

.wave-green {
  top: 166px;
}

.wave-orange {
  top: 220px;
  left: 420px;
  right: -140px;
  color: rgba(255, 94, 67, 0.65);
  opacity: 0.76;
  filter: drop-shadow(0 0 16px rgba(255, 94, 67, 0.2));
}

.card-main {
  top: 0;
  right: 92px;
  width: 302px;
  height: 272px;
  z-index: 7;
  transform: rotate(4deg);
}

.card-main .play-button {
  left: 18px;
  bottom: 35px;
}

.card-wave {
  right: 66px;
  bottom: 45px;
  width: 142px;
  height: 34px;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0.92;
  -webkit-mask: var(--wave-mask) repeat-x center / 190px 100%;
  mask: var(--wave-mask) repeat-x center / 190px 100%;
  background: currentColor;
}

.duration {
  right: 18px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
}

.card-acoustic {
  left: 54px;
  bottom: 42px;
  width: 286px;
  height: 218px;
  z-index: 4;
  transform: rotate(8deg);
}

.card-acoustic .play-button,
.card-rock .play-button {
  left: 20px;
  bottom: 34px;
}

.card-rock {
  right: 0;
  bottom: 64px;
  width: 318px;
  height: 234px;
  z-index: 3;
  transform: rotate(3deg);
}

.card-acoustic .card-wave,
.card-rock .card-wave {
  right: 54px;
  bottom: 40px;
  width: 134px;
  height: 30px;
}

.card-acoustic .duration,
.card-rock .duration {
  bottom: 20px;
}

.floating-note {
  border-radius: 14px;
  padding: 18px;
}

.original-card {
  top: 70px;
  left: 22px;
  width: 242px;
  z-index: 6;
  transform: rotate(-5deg);
}

.original-card span,
.style-card span {
  font-size: 13px;
}

.original-playline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.original-playline em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 12px;
  white-space: nowrap;
}

.mini-wave,
.long-wave {
  height: 28px;
  margin-top: 12px;
  opacity: 0.78;
  color: rgba(255, 255, 255, 0.58);
  -webkit-mask: var(--wave-mask) repeat-x center / 210px 100%;
  mask: var(--wave-mask) repeat-x center / 210px 100%;
  background: currentColor;
}

.mini-wave {
  flex: 1 1 auto;
  height: 24px;
  margin-top: 0;
}

.style-card {
  right: 104px;
  bottom: -26px;
  width: 260px;
  z-index: 8;
  transform: rotate(4deg);
}

.floating-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 13, 15, 0.62);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 600;
}

.tag-lofi {
  top: 20px;
  right: 16px;
  border-radius: 999px;
}

.tag-rock {
  top: 16px;
  right: 14px;
  border-radius: 999px;
}

.tag-acoustic {
  left: 260px;
  bottom: 28px;
  z-index: 9;
  transform: rotate(-11deg);
}

.voice-tag {
  top: 134px;
  right: -34px;
  z-index: 6;
  transform: rotate(-7deg);
}

.sketch-note {
  position: absolute;
  z-index: 10;
  color: #ffffff;
  font-family: "Bradley Hand", "Comic Sans MS", cursive;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.sketch-note svg {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.note-from {
  top: 122px;
  left: -76px;
  transform: rotate(-6deg);
}

.note-from svg {
  left: 48px;
  top: 16px;
  width: 86px;
  height: 54px;
  transform: rotate(6deg);
}

.note-make {
  right: 8px;
  top: 344px;
  transform: rotate(5deg);
}

.note-make svg {
  left: 38px;
  top: 28px;
  width: 74px;
  height: 88px;
}

.feature-strip,
.demo-section {
  width: min(90vw, 1400px);
  margin: 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -18px;
  overflow: hidden;
}

.feature-strip article {
  display: flex;
  gap: 16px;
  min-height: 118px;
  padding: 28px;
  border-right: 1px solid var(--line-soft);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip i,
.demo-section i {
  flex: 0 0 auto;
}

.feature-strip article > i {
  width: 50px;
  height: 50px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
}

.feature-strip h2,
.demo-section h2 {
  margin: 0;
  font-size: 18px;
}

.feature-strip p,
.demo-section p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.demo-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  margin-top: 28px;
  margin-bottom: 72px;
  padding: 34px;
}

.section-copy h2 {
  margin-top: 0;
  font-size: clamp(30px, 3vw, 44px);
}

.section-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--mint);
}

.demo-list {
  display: grid;
  gap: 10px;
}

.demo-row {
  display: grid;
  grid-template-columns: 52px 44px minmax(150px, 1fr) minmax(150px, 1.4fr) 54px 120px;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.demo-row:last-child {
  border-bottom: 0;
}

.demo-row img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.demo-row .play-button {
  position: static;
  width: 42px;
  height: 42px;
}

.track-meta {
  display: grid;
  gap: 4px;
}

.track-meta span,
.demo-row > span {
  color: var(--muted);
}

.long-wave {
  height: 32px;
  margin: 0;
}

.more-button {
  min-height: 36px;
  border-radius: 10px;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: rgba(8, 12, 13, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  }

  .nav-links.is-open a {
    padding: 12px;
    border-radius: 10px;
  }

  .nav-links.is-open a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

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

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual-render {
    min-height: auto;
    justify-content: center;
  }

  .hero-visual-render img {
    width: min(920px, 100%);
    margin-right: 0;
  }

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

  .feature-strip article:nth-child(2) {
    border-right: 0;
  }

  .demo-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 0 18px;
  }

  .brand {
    font-size: 26px;
  }

  .header-actions {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 42px 18px 34px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 54px);
    line-height: 1.02;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.4;
  }

  .hero-lede {
    font-size: 17px;
  }

  .composer {
    padding: 16px;
  }

  .composer-input {
    grid-template-columns: 1fr 40px 40px;
  }

  .generate-button {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .hero-visual {
    min-height: 440px;
    margin-top: 8px;
  }

  .hero-visual-render {
    min-height: auto;
  }

  .hero-visual-render img {
    width: 112%;
    margin: 0 -6%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }

  .card-main {
    top: 22px;
    right: 0;
    width: 76vw;
    height: 210px;
  }

  .original-card {
    top: 0;
    left: 0;
    width: 196px;
  }

  .card-acoustic {
    left: 0;
    bottom: 74px;
    width: 52vw;
    height: 170px;
  }

  .card-rock {
    right: 0;
    bottom: 20px;
    width: 56vw;
    height: 178px;
  }

  .style-card {
    display: none;
  }

  .feature-strip,
  .demo-section {
    width: calc(100vw - 36px);
  }

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

  .feature-strip article,
  .feature-strip article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .feature-strip article:last-child {
    border-bottom: 0;
  }

  .demo-section {
    padding: 22px;
  }

  .demo-row {
    grid-template-columns: 48px 38px 1fr;
  }

  .demo-row .long-wave,
  .demo-row > span,
  .more-button {
    display: none;
  }
}
