/* Home page (/): Swara and the promise, five songs to hear, two videos to
   watch, then Create Music. Colour tokens from landing.css. */
.hm { --gold-glow: rgba(233, 168, 58, 0.14); overflow-x: clip; }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.hm h2 span, .hm-h1 span {
  background: linear-gradient(90deg, var(--accent-hi), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hm-eyebrow { margin: 0 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }

/* ---------- 1. the top ---------- */
.hm-hero { padding: 0; position: relative; min-height: min(640px, calc(100vh - 44px)); display: flex; align-items: center; isolation: isolate; }
.hm-hero-art { position: absolute; inset: 0; z-index: -1; }
.hm-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 30%; }
.hm-hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 11, 15, 0.92) 30%, rgba(10, 11, 15, 0.35) 58%, transparent 75%),
              linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hm-hero-in { width: 100%; max-width: 690px; padding: 56px 32px 64px 56px; }
.hm-h1 { max-width: 560px; margin: 0; font-size: clamp(38px, 5vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.hm-sub { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-dim); max-width: 500px; }

.hm-checks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 0; padding: 0; list-style: none; }
.hm-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--text); }
.hm-checks li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-hi), var(--accent-lo)) center / 100% no-repeat;
  box-shadow: 0 0 12px rgba(233, 168, 58, 0.45);
}
.hm-checks li { position: relative; }
.hm-checks li::after {
  content: ""; position: absolute; left: 6px; top: 50%; width: 8px; height: 4px; margin-top: -3px;
  border: solid #0b0b0d; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.hm-checks-col { flex-direction: column; gap: 10px; }

.hm-ask {
  margin: 28px 0 0; padding: 14px; border-radius: 18px;
  border: 1px solid rgba(233, 168, 58, 0.35); background: rgba(14, 16, 23, 0.78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 4px rgba(233, 168, 58, 0.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.hm-ask:focus-within { border-color: rgba(255, 194, 92, 0.7); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 4px rgba(233, 168, 58, 0.1); }
.hm-ask textarea {
  display: block; width: 100%; resize: none; border: none; outline: none; background: none; padding: 4px 6px;
  color: var(--text); font: inherit; font-size: 16px; line-height: 1.5;
}
.hm-ask textarea:focus-visible { box-shadow: none; }
.hm-ask textarea::placeholder { color: var(--text-faint); }
.hm-ask-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.hm-ideas { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.hm-ideas button {
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: border-color .15s ease, color .15s ease;
}
.hm-ideas button:hover { border-color: rgba(233, 168, 58, 0.6); color: var(--text); }
.hm-go {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 13px 22px; border-radius: 12px; border: none;
  background: linear-gradient(90deg, var(--accent-lo), var(--accent) 55%, var(--accent-hi)); color: #0b0b0d;
  font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(233, 168, 58, 0.7); transition: transform .15s ease, box-shadow .15s ease;
}
.hm-go:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(233, 168, 58, 0.85); }
.hm-go span { transition: transform .15s ease; }
.hm-go:hover span { transform: translateX(3px); }

/* ---------- sections ---------- */
.hm-sec { max-width: 1120px; margin: 0 auto; padding: 72px 32px 0; }
.hm-head { text-align: center; margin-bottom: 30px; }
.hm-head p { margin: 10px 0 0; color: var(--text-dim); font-size: 15.5px; }

/* ---------- 2b. why it's free ---------- */
.hm-free { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 36px 40px; border-radius: 22px; border: 1px solid rgba(233, 168, 58, 0.22);
  background: radial-gradient(120% 140% at 0% 0%, rgba(233, 168, 58, 0.09), transparent 55%), rgba(255, 255, 255, 0.02); }
.hm-free h2 { margin: 6px 0 12px; }
.hm-free h2 span { color: var(--accent-hi); }
.hm-free .hm-link { margin-top: 16px; }
.hm-free-txt > p:not(.hm-eyebrow) { margin: 0; color: var(--text-dim); font-size: 15.5px; line-height: 1.6; }
.hm-free-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hm-free-list li { padding: 13px 16px; border-radius: 14px; background: rgba(7, 8, 11, 0.45); border: 1px solid var(--border-soft); }
.hm-free-list b { display: block; font-size: 15px; color: var(--text); }
.hm-free-list span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-dim); }
@media (max-width: 860px) { .hm-free { grid-template-columns: 1fr; gap: 22px; padding: 26px 20px; } }

/* ---------- 2. the songs ---------- */
.hm-songs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.hm-song {
  display: flex; flex-direction: column; gap: 3px; padding: 0; border: none; background: none; color: var(--text);
  font: inherit; text-align: left; cursor: pointer;
}
.hm-cover {
  position: relative; display: block; aspect-ratio: 1; margin-bottom: 10px; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hm-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hm-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 50%); }
.hm-song:hover .hm-cover { transform: translateY(-3px); border-color: rgba(233, 168, 58, 0.5); box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.9), 0 0 30px -12px rgba(233, 168, 58, 0.5); }
.hm-song:hover .hm-cover img { transform: scale(1.04); }
.hm-song.on .hm-cover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 36px -10px rgba(233, 168, 58, 0.6); }
.hm-pp {
  position: absolute; z-index: 1; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-hi), var(--accent)); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: transform .15s ease;
}
.hm-pp::before { /* play */
  content: ""; position: absolute; left: 17px; top: 13px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #0b0b0d;
}
.hm-song.playing .hm-pp::before { left: 15px; top: 14px; width: 4px; height: 16px; border: none; background: #0b0b0d; box-shadow: 9px 0 0 #0b0b0d; }
.hm-song:hover .hm-pp { transform: scale(1.08); }
.hm-eq { position: absolute; z-index: 1; left: 14px; bottom: 16px; display: none; align-items: flex-end; gap: 3px; height: 18px; }
.hm-eq i { width: 4px; height: 100%; border-radius: 2px; background: var(--accent-hi); transform-origin: bottom; animation: hm-eq 0.9s ease-in-out infinite; }
.hm-eq i:nth-child(2) { animation-delay: -.3s; } .hm-eq i:nth-child(3) { animation-delay: -.6s; } .hm-eq i:nth-child(4) { animation-delay: -.15s; }
.hm-song.playing .hm-eq { display: flex; }
@keyframes hm-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.hm-song b { font-size: 15px; font-weight: 800; }
.hm-style { font-size: 13px; color: var(--text-faint); }
.hm-bar { display: block; height: 3px; margin-top: 8px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); overflow: hidden; visibility: hidden; }
.hm-song.on .hm-bar { visibility: visible; }
.hm-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); }

/* ---------- 3. the videos ---------- */
.hm-video { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px; padding-top: 96px; }
.hm-video-txt > p:not(.hm-eyebrow) { margin: 14px 0 0; color: var(--text-dim); font-size: 16px; line-height: 1.65; max-width: 460px; }
.hm-video .hm-checks { margin-top: 22px; }
.hm-video .hm-checks li { font-weight: 600; color: var(--text-dim); }
.hm-link { display: inline-block; margin-top: 26px; color: var(--accent-hi); font-weight: 800; text-decoration: none; font-size: 15px; }
.hm-link:hover { text-decoration: underline; }
.hm-phones { position: relative; display: flex; gap: 26px; padding-bottom: 40px; }
.hm-phones::before {
  content: ""; position: absolute; inset: -40px -60px; z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(233, 168, 58, 0.18), transparent 62%);
}
.hm-phone { position: relative; margin: 0; width: 236px; }
.hm-phone:nth-child(2) { transform: translateY(40px); }
.hm-phone video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: #000; cursor: pointer;
  border: 6px solid #15171e; outline: 1px solid rgba(233, 168, 58, 0.35);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95), 0 0 50px -20px rgba(233, 168, 58, 0.35);
}
.hm-phone figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--text-faint); }
.hm-sound {
  position: absolute; right: 16px; bottom: 50px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s ease;
}
.hm-sound:hover { background: rgba(0, 0, 0, 0.75); }
.hm-sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-sound svg path:first-child { fill: currentColor; }
.hm-sound .hm-w { display: none; }
.hm-phone.loud .hm-sound { background: linear-gradient(135deg, var(--accent-hi), var(--accent)); color: #0b0b0d; border-color: transparent; }
.hm-phone.loud .hm-x { display: none; }
.hm-phone.loud .hm-w { display: inline; }

/* ---------- 4. the rest ---------- */
.hm-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-card {
  display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; text-decoration: none; color: var(--text);
  border: 1px solid var(--border); background: var(--card); transition: border-color .15s ease, transform .15s ease;
}
.hm-card:hover { border-color: rgba(233, 168, 58, 0.55); transform: translateY(-2px); }
.hm-card img { width: 76px; height: 76px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
.hm-card span { font-size: 13.5px; line-height: 1.5; color: var(--text-dim); }
.hm-card b { display: block; margin-bottom: 3px; font-size: 15.5px; color: var(--text); }

/* ---------- 5. questions + the last button ---------- */
.hm-faq-list { max-width: 760px; margin: 0 auto; }
.hm-faq-list details { border-bottom: 1px solid var(--border-soft); }
.hm-faq-list summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 40px 18px 4px; font-size: 16px; font-weight: 700;
}
.hm-faq-list summary::-webkit-details-marker { display: none; }
.hm-faq-list summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--accent-hi); transition: transform .2s ease;
}
.hm-faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hm-faq-list p { margin: 0 0 18px; padding: 0 4px; color: var(--text-dim); font-size: 15px; line-height: 1.65; }
.hm-faq-list a, .hm-faq-more a { color: var(--accent-hi); }
.hm-faq-more { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--text-faint); }
.hm-end {
  position: relative; overflow: hidden; isolation: isolate; margin: 80px auto 70px; max-width: 1056px; min-height: 380px; padding: 56px 48px 90px;
  display: flex; align-items: center; border-radius: 24px; border: 1px solid rgba(233, 168, 58, 0.3); background: #07080b;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(233, 168, 58, 0.35);
}
.hm-end-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; animation: hm-kb 24s ease-in-out infinite alternate; }
.hm-end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 8, 11, 0.95) 0%, rgba(7, 8, 11, 0.8) 38%, rgba(7, 8, 11, 0.15) 70%, transparent), linear-gradient(0deg, rgba(7, 8, 11, 0.85), transparent 45%); }
@keyframes hm-kb { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.12) translateX(-2%); } }
.hm-end-in { max-width: 460px; }
.hm-end h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.hm-end-in > p:not(.hm-eyebrow) { margin: 12px 0 26px; font-size: 16px; color: var(--text-dim); line-height: 1.6; }
.hm-eqbar { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; display: flex; align-items: flex-end; gap: 4px; padding: 0 16px; opacity: .8; pointer-events: none; }
.hm-eqbar i {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0; transform-origin: bottom;
  background: linear-gradient(0deg, rgba(185, 130, 42, 0.15), rgba(255, 194, 92, 0.85));
  animation: hm-eqb 1.3s ease-in-out var(--d) infinite alternate;
}
@keyframes hm-eqb { from { transform: scaleY(.15); } to { transform: scaleY(1); } }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .hm-songs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 190px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -32px; padding: 4px 32px 12px; scrollbar-width: none; }
  .hm-songs::-webkit-scrollbar { display: none; }
  .hm-song { scroll-snap-align: start; }
  .hm-video { grid-template-columns: 1fr; gap: 40px; }
  .hm-phones { justify-content: center; }
  .hm-more { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hm-end { margin-left: 32px; margin-right: 32px; }
  .hm-end-art { object-position: 80% 30%; }
}
@media (max-width: 760px) {
  .hm-hero { display: block; min-height: 0; }
  .hm-hero-art { position: relative; display: block; aspect-ratio: 4 / 5; }
  .hm-hero-art img { object-position: 50% 15%; }
  .hm-hero-art::after { background: linear-gradient(0deg, var(--bg) 4%, transparent 40%); }
  .hm-hero-in { max-width: none; margin-top: -120px; padding: 0 16px 24px; position: relative; }
  .hm-sub { font-size: 16px; }
  .hm-checks { gap: 10px 16px; }
  .hm-checks li { font-size: 14px; }
  .hm-ask-row { flex-direction: column; align-items: stretch; }
  .hm-go { justify-content: center; }
  .hm-sec { padding: 56px 16px 0; }
  .hm-songs { margin: 0 -16px; padding: 4px 16px 12px; grid-auto-columns: 158px; }
  .hm-phones { gap: 14px; }
  .hm-phone { width: calc(50% - 7px); max-width: 220px; }
  .hm-phone video { border-radius: 22px; border-width: 4px; }
  .hm-sound { right: 10px; bottom: 44px; width: 36px; height: 36px; }
  .hm-end { margin: 56px 16px 48px; padding: 36px 20px 90px; min-height: 0; align-items: flex-end; }
  .hm-end::before { background: linear-gradient(0deg, rgba(7, 8, 11, 0.96) 35%, rgba(7, 8, 11, 0.4) 70%, rgba(7, 8, 11, 0.2)); }
  .hm-end-in { padding-top: 150px; }
  .hm-eqbar { gap: 3px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-eq i, .hm-eqbar i, .hm-end-art { animation: none; }
  .hm-cover, .hm-cover img, .hm-go, .hm-card { transition: none; }
}

/* song idea links under the example songs */
.hm-occ { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; }
.hm-occ span { margin-right: 4px; font-size: 14px; color: var(--text-faint); }
.hm-occ a {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, color .15s ease;
}
.hm-occ a:hover { border-color: rgba(233, 168, 58, 0.6); color: var(--text); }
.hm-occ a.hm-occ-all { border-color: transparent; background: none; color: var(--accent-hi); font-weight: 800; }
