@font-face { font-family: Inter; src: url(/fonts/Inter-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/Inter-Medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/Inter-SemiBold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans Hebrew"; src: url(/fonts/NotoSansHebrew-Regular.ttf); font-weight: 400; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: "Noto Sans Hebrew"; src: url(/fonts/NotoSansHebrew-Medium.ttf); font-weight: 500; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: "Noto Sans Hebrew"; src: url(/fonts/NotoSansHebrew-SemiBold.ttf); font-weight: 600; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F; }

/* Lilt's own dark palette (theme.rs), the same as the Listen page. */
:root {
  --bg: #0b0b0d;
  --surface: #16161a;
  --raised: #23232a;
  --hover: #1f1f24;
  --ink: #f1f1f3;
  --soft: #c9c9cf;
  --muted: #a3a3ac;
  --accent: #ff7a5c;
  --on-accent: #1a120f;
  --m: clamp(20px, 2.4vw, 36px);
  --col: max(var(--m), 22vw);
  --colw: 540px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.55 Inter, "Noto Sans Hebrew", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* The cover, blurred, behind the first screen (as on the Listen page). */
.backdrop { position: absolute; inset: 0 0 auto 0; height: 120vh; z-index: -1; overflow: hidden; }
/* Blurred ahead of time (a small image with soft edges, scaled up): a CSS blur this size, animated, made
   the page crawl. */
.backdrop img {
  position: absolute; right: -10vw; top: -22vh; width: 76vw; height: auto; aspect-ratio: 1;
  object-fit: cover; opacity: 0.5;
}
.backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 13, 0.35); }

.bar { display: flex; justify-content: space-between; align-items: center; padding: 26px var(--m); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 20px; }
.brand img { border-radius: 7px; }
.bar-link { font-size: 16px; color: var(--soft); text-decoration: none; transition: color 0.18s; }
.bar-links { display: flex; gap: 22px; }
.bar-link:hover { color: var(--ink); }

/* ---- Hero: one column left of centre, the headline allowed to run wider. */
.hero { position: relative; padding: 17vh var(--m) 0 var(--col); }
h1 {
  font-weight: 500; font-size: clamp(42px, 5.6vw, 92px); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 13em;
}
.lede { margin-top: 36px; max-width: var(--colw); font-size: 20px; color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 24px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform 0.14s var(--ease), filter 0.18s;
}
.button:hover { filter: brightness(1.07); }
.button:active { transform: scale(0.97); }
.text-link { font-size: 16px; color: var(--ink); text-underline-offset: 4px; text-decoration-color: rgba(241, 241, 243, 0.4); transition: text-decoration-color 0.18s; }
.text-link:hover { text-decoration-color: var(--ink); }
.fine { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* Lilt's miniplayer, floating at the hero's right, in time with the demo below. */
.hero-mini {
  position: absolute; right: var(--m); top: calc(17vh + 30px); width: min(470px, 32vw);
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 14px; background: var(--raised);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); /* taste-skill-ignore: the floating miniplayer */
}
.hero-mini img { width: 96px; height: 96px; border-radius: 9px; object-fit: cover; flex: none; }
.hero-mini div { flex: 1; min-width: 0; }
.hm-title { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-line { margin-top: 2px; font-weight: 600; font-size: 21px; line-height: 1.25; min-height: 2.5em; }
.hm-track { margin-top: 8px; height: 3px; border-radius: 2px; background: var(--hover); overflow: hidden; }
.hm-fill { height: 100%; width: 100%; background: var(--accent); transform: scaleX(0.4); transform-origin: left center; }

h2 { font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-weight: 500; font-size: 19px; line-height: 1.3; }

/* ---- The live demo */
.demo { padding: 140px var(--m) 0 var(--col); }
.demo-head p { margin-top: 14px; max-width: var(--colw); color: var(--ink); }
.panel {
  margin-top: 40px; width: min(100%, 780px); display: grid; grid-template-columns: 62fr 38fr;
  border-radius: 12px; overflow: hidden; background: var(--surface); min-height: 600px;
}
.hint { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: var(--colw); }

.stage { position: relative; display: flex; flex-direction: column; padding: 24px 24px 18px; background: var(--surface); overflow: hidden; }
.np { display: flex; align-items: center; gap: 14px; }
.np-cover { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.np-text { min-width: 0; flex: 1; }
.np-title { font-weight: 600; font-size: 16px; }
.np-artist { font-size: 14px; color: var(--muted); }
.np-source { font-size: 13px; color: var(--muted); background: var(--raised); padding: 4px 10px; border-radius: 12px; white-space: nowrap; }

.lyr-view { position: relative; flex: 1; margin: 22px 0 14px; }
.lyr { --size: 30px; }
.line { padding: 7px 0; font-weight: 600; font-size: var(--size); line-height: 1.22; letter-spacing: -0.015em; color: #8b8b94; transition: color 0.3s; }
.line.past { color: #a3a3ac; }
.line.now { color: rgba(241, 241, 243, 0.56); }
.line.now.whole { color: var(--ink); }
.line .w { transition: color 0.16s linear; }
.line.now .w.on { color: var(--ink); }
.line .tr { display: block; margin-top: 4px; font-weight: 500; font-size: calc(var(--size) * 0.55); color: #a3a3ac; letter-spacing: 0; }
.line.now .tr { color: var(--soft); }
.line .tr[dir="rtl"] { font-family: "Noto Sans Hebrew", Inter, system-ui, sans-serif; text-align: right; }

.transport { display: flex; align-items: center; gap: 12px; }
.play { width: 40px; height: 40px; border-radius: 20px; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; transition: transform 0.14s var(--ease); }
.play:active { transform: scale(0.92); }
.play svg { width: 18px; height: 18px; fill: currentColor; }
.play .i-play { display: none; }
.stage.paused .play .i-play { display: inline; }
.stage.paused .play .i-pause { display: none; }
.t { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 32px; }
.track { flex: 1; height: 4px; border-radius: 2px; background: var(--raised); overflow: hidden; }
.fill { height: 100%; width: 100%; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left center; }

/* The miniplayer: the full view steps back, a strip floats at the top. */
.mini {
  position: absolute; left: 24px; right: 24px; top: 24px; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px; border-radius: 10px; background: var(--raised);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); /* taste-skill-ignore: overlay inside a data-ui fragment */
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.98); pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
}
.mini img { width: 52px; height: 52px; border-radius: 7px; object-fit: cover; }
.mini-text { min-width: 0; flex: 1; }
.mini-title { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-line { font-weight: 600; font-size: 17px; line-height: 1.3; min-height: 1.3em; }
.mini-line[dir="rtl"] { text-align: right; }
.stage.is-mini .mini { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
.stage.is-mini .np, .stage.is-mini .lyr-view { opacity: 0.12; filter: blur(2px); transition: opacity 0.3s, filter 0.3s; }
.np, .lyr-view { transition: opacity 0.3s, filter 0.3s; }

.controls { display: flex; flex-direction: column; padding: 18px 18px 18px; background: #1b1b20; }
.ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 15px; }
.ctl-stack { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 8px 0; }
.toggle { width: 42px; height: 24px; border-radius: 12px; border: 0; background: var(--raised); position: relative; cursor: pointer; transition: background 0.18s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 9px; background: var(--muted); transition: transform 0.2s var(--ease), background 0.18s; }
.toggle.on { background: var(--accent); }
.toggle.on::after { transform: translateX(18px); background: var(--on-accent); }
.seg { display: flex; background: var(--raised); border-radius: 18px; padding: 3px; }
.seg button { flex: 1; height: 30px; border: 0; border-radius: 15px; background: none; color: var(--soft); font: 500 14px Inter, "Noto Sans Hebrew", system-ui, sans-serif; cursor: pointer; transition: background 0.18s, color 0.18s; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.seg button:hover:not([aria-checked="true"]) { color: var(--ink); }
input[type="range"] { width: 120px; accent-color: var(--accent); }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 22px; height: 22px; border-radius: 11px; border: 0; background: var(--c); cursor: pointer; transition: transform 0.14s var(--ease); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px #1b1b20, 0 0 0 4px var(--c); /* taste-skill-ignore: overlay inside a data-ui fragment */ }
.swatches button:active { transform: scale(0.9); }
.panel-link { margin-top: auto; padding-top: 16px; font-size: 15px; color: var(--soft); text-underline-offset: 4px; }
.panel-link:hover { color: var(--ink); }

/* ---- More: a small proof beside the text, four times */
.more { padding: 140px var(--m) 0 var(--col); }
.module { display: grid; grid-template-columns: 360px minmax(0, 300px); gap: 28px; align-items: start; margin-top: 64px; }
.module + .module { margin-top: 104px; }
.copy p { margin-top: 10px; font-size: 16px; color: var(--soft); }
.copy p:first-of-type { color: var(--ink); }
.proof { background: var(--surface); border-radius: 8px; padding: 22px; overflow: hidden; }

.m-strip { display: flex; align-items: center; gap: 12px; background: var(--raised); border-radius: 10px; padding: 10px 14px 10px 10px; }
.m-strip img { width: 52px; height: 52px; border-radius: 7px; object-fit: cover; }
.m-strip div { flex: 1; min-width: 0; }
.m-t { font-weight: 600; font-size: 16px; }
.m-a { font-size: 14px; color: var(--muted); }
.m-pin { width: 18px; height: 18px; fill: var(--accent); }
.proof-mini { padding: 34px 22px; }

.proof-listen { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 30px 22px; }
.l-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--raised); box-shadow: inset 0 0 0 1px rgba(255, 122, 92, 0.55); /* taste-skill-ignore: overlay inside a data-ui fragment */ font-weight: 500; font-size: 14px; }
.l-pill b { color: var(--accent); font-weight: 500; margin-left: 6px; }
.l-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--accent); animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
.l-url { font-size: 14px; color: var(--muted); }

.proof-share { position: relative; padding: 18px 22px 74px; }
.menu { width: 210px; background: var(--raised); border-radius: 10px; padding: 6px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); /* taste-skill-ignore: overlay inside a data-ui fragment */ }
.mi { padding: 7px 12px; border-radius: 6px; font-size: 14px; }
.mi-on { background: rgba(255, 255, 255, 0.07); }
.toast { position: absolute; right: 18px; bottom: 16px; display: flex; flex-direction: column; padding: 9px 16px; border-radius: 10px; background: var(--raised); font-size: 13px; color: var(--muted); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); /* taste-skill-ignore: overlay inside a data-ui fragment */ }
.toast b { font-weight: 500; font-size: 14px; color: var(--ink); }

.proof-import { display: flex; flex-direction: column; gap: 10px; }
.i-field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 6px 0 16px; border-radius: 21px; background: var(--raised); font-size: 14px; }
.i-field span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); }
.i-field b { height: 30px; padding: 0 14px; border-radius: 15px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.i-status { font-size: 13px; color: var(--muted); padding: 0 4px; }
.i-row { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 4px; border-radius: 6px; }
.i-row:first-of-type { background: var(--hover); }
.i-row img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.i-row span:nth-child(2) { flex: 1; }
.i-d { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---- Questions and privacy: reading text, the question as a run-in */
.notes { padding: 140px var(--m) 0 var(--col); }
.answers { margin-top: 32px; columns: 2 300px; column-gap: 56px; }
.answers p { break-inside: avoid; margin-bottom: 20px; font-size: 17px; color: var(--soft); }
.answers b { font-weight: 500; color: var(--ink); }
.answers a { color: var(--ink); text-underline-offset: 3px; }
#privacy .answers p:first-child { color: var(--ink); }

/* ---- The close: the download again, on a field one tone up */
.close { margin: 160px var(--m) 0; padding: 72px calc(var(--col) - var(--m)) 80px; background: var(--surface); border-radius: 12px; }
.close p { margin-top: 12px; max-width: var(--colw); }

/* ---- Footer: one quiet line */
.foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 24px;
  margin-top: 64px; padding: 0 var(--m) 30px; font-size: 14px; color: var(--muted);
}
.foot nav { display: flex; gap: 24px; }
.foot nav a { color: var(--ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.year { justify-self: end; }
.credit { grid-column: 1 / -1; max-width: 560px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.credit a { color: var(--soft); text-underline-offset: 3px; }

/* Entrances: each section's parts rise in once, heading first. */
.rise { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.rise.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero-mini { position: static; margin-top: 48px; width: min(100%, 420px); }
}
@media (max-width: 900px) {
  :root { --col: var(--m); }
  .module { grid-template-columns: 1fr; gap: 16px; max-width: 560px; }
  .module + .module { margin-top: 64px; }
  .foot { grid-template-columns: 1fr; gap: 8px; margin-top: 20vh; }
  .year { justify-self: start; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  h1 { font-size: clamp(32px, 9.4vw, 56px); }
  .hero { padding-top: 14vh; }
  .demo, .more, .notes { padding-top: 96px; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .answers { columns: 1; }
  .close { padding: 48px 20px 56px; margin-top: 96px; }
  .proof { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .l-dot { animation: none; }
  .rise { opacity: 1; transform: none; transition: none; }
  .mini, .line, .line .w { transition: none; }
}
