/* Backline — first screen (js/landing.js). The hero and the closing call are always
   stage-dark over photos; the sections in between follow the light/dark theme. */

.lp { --lp-ink: #F4F0E6; --lp-dim: rgba(244, 240, 230, .72); background: var(--bg); overflow-x: clip; }

/* ---- Hero --------------------------------------------------------------- */

.lp-hero { position: relative; display: flex; min-height: 100svh; color: var(--lp-ink); background: #0F0E0C; overflow: hidden; isolation: isolate; }
.lp-hero__photos, .lp-hero__photos img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-hero__photos { z-index: -2; }
.lp-hero__photos img { object-fit: cover; opacity: 0; animation: lp-slide 21s linear infinite; }
.lp-hero__photos img:nth-child(1) { object-position: 55% 30%; }
.lp-hero__photos img:nth-child(2) { animation-delay: 7s; object-position: 35% 40%; }
.lp-hero__photos img:nth-child(3) { animation-delay: 14s; object-position: 50% 60%; }
@keyframes lp-slide {
  0% { opacity: 0; transform: scale(1.14); }
  6% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.02); }
}
/* Shade for legible type, a warm stage glow and film grain */
.lp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 60% at 85% 0%, rgba(255, 106, 47, .32), transparent 60%),
    linear-gradient(180deg, rgba(15, 14, 12, .55) 0%, rgba(15, 14, 12, .15) 28%, rgba(15, 14, 12, .7) 58%, #0F0E0C 96%);
}
.lp-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grain-soft); opacity: .9; pointer-events: none; }

.lp-hero__inner {
  width: 100%; max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 40px);
}
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-wordmark { margin: 0; color: var(--lp-ink); font-size: 24px; }
.lp-hero .seg--lang { background: rgba(244, 240, 230, .12); border-color: rgba(244, 240, 230, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lp-hero .seg--lang button { color: var(--lp-ink); }
.lp-hero .seg--lang button.is-on { background: rgba(244, 240, 230, .22); box-shadow: none; }

.lp-hero__body { max-width: 680px; }
.lp-hero__body > * { animation: lp-rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.lp-hero__body > :nth-child(2) { animation-delay: .08s; }
.lp-hero__body > :nth-child(3) { animation-delay: .16s; }
.lp-hero__body > :nth-child(4) { animation-delay: .24s; }
.lp-hero__body > :nth-child(5) { animation-delay: .32s; }
.lp-hero__body > :nth-child(6) { animation-delay: .4s; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(18px); } }

.lp-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-dim); }
.lp-led { width: 8px; height: 8px; border-radius: 50%; background: #FF6A2F; box-shadow: 0 0 0 0 rgba(255, 106, 47, .7), 0 0 10px #FF6A2F; animation: lp-pulse 1.8s ease-out infinite; }
@keyframes lp-pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 106, 47, 0), 0 0 10px #FF6A2F; } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 47, 0), 0 0 10px #FF6A2F; } }

.lp-title {
  margin: 0 0 18px; font-family: var(--f-poster); font-weight: 400; text-transform: uppercase;
  font-size: clamp(58px, 16.5vw, 128px); line-height: .9; letter-spacing: .005em; color: var(--lp-ink);
  text-wrap: balance;
}
.lp-tape {
  display: inline-block; margin-top: 6px; padding: .02em .16em .06em; transform: rotate(-2.5deg); white-space: nowrap;
  background: #FF6A2F; color: #15130F; box-shadow: 0 10px 30px rgba(255, 106, 47, .35);
  clip-path: polygon(0 4%, 3% 0, 97% 3%, 100% 0, 99% 96%, 96% 100%, 2% 97%, 0 100%);
}
.lp-lede { margin: 0 0 26px; max-width: 34ch; font-size: 18px; line-height: 1.45; color: var(--lp-dim); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-cta .btn { flex: 1 1 160px; }
.lp-btn-glass { background: rgba(244, 240, 230, .14); color: var(--lp-ink); border: 1px solid rgba(244, 240, 230, .22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lp-btn-glass:hover { background: rgba(244, 240, 230, .22); color: var(--lp-ink); }
.lp-fine { margin: 16px 0 0; font-size: 13px; color: rgba(244, 240, 230, .55); }

/* ---- Ticker: gaffer tape with every instrument ---------------------------- */

.lp-ticker { position: relative; z-index: 2; margin: -22px -12px 0; padding: 12px 0; overflow: hidden; transform: rotate(-1.6deg); background: var(--gaffer); color: #15130F; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.lp-ticker::after { content: ''; position: absolute; inset: 0; background: var(--grain-soft); pointer-events: none; }
.lp-ticker__track { display: flex; width: max-content; animation: lp-marquee 38s linear infinite; }
.lp-ticker span { display: inline-flex; align-items: center; gap: 12px; padding: 0 18px; font-family: var(--f-poster); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.lp-ticker i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .25); }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ---- Sections ----------------------------------------------------------- */

.lp-sec { max-width: 1120px; margin: 0 auto; padding: 72px var(--gutter) 8px; }
.lp-eyebrow { margin: 0 0 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.lp-h2 { margin: 0 0 14px; font-family: var(--f-poster); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 9.5vw, 60px); line-height: .95; letter-spacing: .005em; text-wrap: balance; }
.lp-h2--sm { font-size: clamp(30px, 7.5vw, 44px); }
.lp-p { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--muted); }

/* Demo: a jam poster whose faders go up, with the notifications that come with it */
.lp-demo { display: grid; gap: 28px; }
.lp-demo__stage { display: grid; gap: 14px; }
.lp-gig { position: relative; padding: 20px 16px 16px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .14); }
.lp-gig__tag { position: absolute; top: 16px; right: 16px; padding: 3px 8px; border-radius: 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); }
.lp-gig__when { margin: 0 0 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lp-gig__title { margin: 0 0 16px; font-family: var(--f-poster); font-size: 34px; line-height: 1; text-transform: uppercase; }
.lp-gig .strip { flex-wrap: nowrap; }
.lp-gig .strip--lg .ch { flex: 1 1 0; min-width: 0; width: auto; }

.lp-ch .ch__who { display: grid; }
.lp-ch .ch__who > span { grid-area: 1 / 1; transition: opacity .3s .2s; }
.lp-ch .lp-name { opacity: 0; }
.lp-ch.is-in .lp-open { opacity: 0; }
.lp-ch.is-in .lp-name { opacity: 1; }

.lp-feed { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
/* Waiting notes show faintly (so the space never looks empty while scrolling), then light up. */
.lp-note { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); opacity: .14; transform: translateY(6px) scale(.98); }
.lp-note { transition: opacity .4s, transform .5s cubic-bezier(.2, .9, .25, 1.25); transition-delay: .3s; }
.lp-note.is-in { opacity: 1; transform: none; }
.lp-note__av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--c, var(--accent)) 18%, transparent); color: var(--c, var(--accent)); font-size: 18px; }
.lp-note__av .iico { width: 20px; height: 20px; }
.lp-note__txt { flex: 1; font-size: 15px; }
.lp-note small { color: var(--muted); font-size: 12px; }
.lp-note--done { background: var(--accent-soft); border-color: transparent; }

/* Steps */
.lp-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lp-step { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.lp-step__n { flex: none; min-width: 58px; font-family: var(--f-poster); font-size: 52px; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.lp-step h3 { margin: 2px 0 6px; font-size: 18px; font-weight: 700; }
.lp-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Safety */
.lp-safe__list { display: grid; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.lp-safe__list li { display: flex; gap: 14px; align-items: flex-start; }
.lp-safe__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-family: var(--f-poster); font-size: 18px; }
.lp-safe__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.lp-safe__list b { display: block; margin: 2px 0 2px; font-size: 16px; }
.lp-safe__list p { margin: 0; color: var(--muted); font-size: 15px; }

/* Closing call */
.lp-final { position: relative; isolation: isolate; overflow: hidden; margin: 80px var(--gutter) 0; border-radius: 28px; color: var(--lp-ink); background: #0F0E0C; }
.lp-final img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.lp-final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 14, 12, .35), rgba(15, 14, 12, .92) 75%), radial-gradient(90% 60% at 0% 100%, rgba(255, 106, 47, .35), transparent 70%); }
.lp-final__inner { display: flex; flex-direction: column; align-items: flex-start; padding: 140px 24px 28px; }
.lp-title--final { font-size: clamp(44px, 12vw, 84px); max-width: 12ch; }
.lp-final .lp-lede { margin-bottom: 20px; }
.lp-final .btn { min-width: 220px; }
.lp-login { margin-top: 16px; color: var(--lp-dim); font-size: 15px; }
.lp-login:hover { color: var(--lp-ink); }

.lp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 28px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 40px); color: var(--muted); }
.lp-foot .wordmark { font-size: 18px; color: var(--muted); }
.lp-foot nav { display: flex; gap: 18px; font-size: 14px; }
.lp-foot a { color: var(--muted); }

/* Phone: the main button stays at hand once the hero scrolls away */
.lp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px;
  padding: 10px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 10px);
  background: var(--bar); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.lp-sticky.is-on { transform: none; }
.lp-sticky .btn--block { flex: 1; }
.lp-sticky .btn--ghost { flex: none; padding-inline: 18px; }

/* Top bar: log in next to the language switch */
.lp-top__end { display: flex; align-items: center; gap: 14px; }
.lp-toplogin { color: var(--lp-ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.lp-toplogin:hover { color: #fff; }

/* The problem */
.lp-problem__list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; max-width: 52ch; }
.lp-problem__list li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.5; color: var(--muted); }
.lp-problem__list li::before { content: '×'; position: absolute; left: 0; top: -1px; font-family: var(--f-poster); font-size: 22px; color: var(--accent); }
.lp-belief { margin: 26px 0 0; padding: 18px 20px; max-width: 56ch; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--accent-soft); font-size: 18px; line-height: 1.45; font-weight: 600; }

/* The guide (our mission) */
.lp-guide__p { margin-bottom: 8px; }
.lp-guide .lp-safe__list { margin-top: 22px; }

/* The plan's promises */
.lp-promise { margin: 18px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* Without / with */
.lp-vs { display: grid; gap: 14px; }
.lp-vs__col { padding: 22px; border-radius: 20px; border: 1px solid var(--line); }
.lp-vs__col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp-vs__col li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.4; }
.lp-vs__col--off { background: var(--panel); color: var(--muted); }
.lp-vs__col--off .lp-eyebrow { color: var(--muted); }
.lp-vs__col--off li::before { content: '—'; position: absolute; left: 0; color: var(--muted); }
.lp-vs__col--on { background: var(--accent-soft); border-color: transparent; }
.lp-vs__col--on li { font-weight: 600; }
.lp-vs__col--on li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Studios and teachers */
.lp-biz { padding: 26px 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.lp-biz .lp-p { margin-bottom: 18px; }
.lp-biz__cta { display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 900px) {
  .lp-hero { min-height: min(100svh, 920px); }
  .lp-hero__inner { padding-bottom: 72px; }
  .lp-cta .btn { flex: 0 0 auto; min-width: 200px; }
  .lp-sec { padding-top: 110px; }
  .lp-demo { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .lp-step { flex-direction: column; padding: 26px; }
  .lp-step__n { font-size: 64px; }
  .lp-safe { display: grid; grid-template-columns: 1fr 1.4fr; column-gap: 56px; }
  .lp-safe .lp-eyebrow, .lp-safe .lp-h2 { grid-column: 1; }
  .lp-safe__list { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .lp-guide .lp-guide__p { grid-column: 1; }
  .lp-guide .lp-safe__list { grid-row: 1 / span 3; }
  .lp-vs { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lp-biz { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 40px; padding: 36px; }
  .lp-biz .lp-h2, .lp-biz .lp-p { grid-column: 1; }
  .lp-biz .lp-p { margin-bottom: 0; }
  .lp-biz__cta { grid-column: 2; grid-row: 1 / span 2; }
  .lp-final { max-width: 1120px; margin: 110px auto 0; }
  .lp-final__inner { padding: 120px 56px 56px; }
  .lp-sticky { display: none; }
  .lp-foot { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__photos img { animation: none; }
  .lp-hero__photos img:first-child { opacity: 1; }
  .lp-hero__body > *, .lp-ticker__track, .lp-led { animation: none; }
  .lp-note { transition: none; }
}
.lp-h2 + .lp-steps { margin-top: 20px; }
@media (max-width: 480px) { .lp-kicker { letter-spacing: .07em; } }

/* Pages for studios and teachers: the price card */
.lp-price .lp-p + .lp-p { margin-top: 10px; }
.lp-price .lp-h2 { margin-bottom: 12px; }
@media (min-width: 900px) { .lp-price { display: block; } }
.lp--pro .lp-problem__list { margin-top: 6px; }
.lp-top .wordmark { text-decoration: none; }
