/* Liminal Hz page, on top of ../assets/site.css (accent: the plugin's amber) */

.lhz-hero h1 { max-width: 680px; }
.lhz-hero .lede { margin-top: 24px; }
.lhz-hero .actions { margin-top: 32px; }
.proof { margin-top: 24px; display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; line-height: 20px; }
.proof .icon { width: 16px; height: 16px; color: var(--accent); }
.hero-shot { margin-top: 64px; }
.hero-shot figcaption { margin-top: 16px; color: var(--dim); font-size: 14px; line-height: 20px; max-width: 680px; }

/* listening room */
.room { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); padding: 8px; gap: 8px; border-radius: 24px; background: var(--s1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.sources button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px;
  transition: background-color 300ms var(--ease); }
.sources button:hover { background: var(--s2); }
.sources button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.sources button[aria-pressed="true"] { background: var(--s3); }
.sources b { font-weight: 500; font-size: 16px; line-height: 24px; }
.sources small { font-size: 14px; line-height: 20px; color: var(--dim); }
.sources button[aria-pressed="true"] small { color: var(--accent); }
.stage { display: grid; gap: 24px; padding: 24px; border-radius: 16px; background: var(--base); min-width: 0; }
.wave { position: relative; height: 192px; cursor: pointer; touch-action: none; border-radius: 8px; }
.wave canvas { display: block; width: 100%; height: 100%; }
.transport { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.play { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: var(--base); cursor: pointer; display: grid; place-items: center;
  flex: none; transition: transform 160ms var(--ease); }
.play:active { transform: scale(.94); }
.play svg { width: 20px; height: 20px; }
.ab { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--s2); }
.ab button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 600 16px/24px var(--sans); min-height: 40px; padding: 8px 16px;
  border-radius: 999px; cursor: pointer; transition: color 300ms var(--ease); white-space: nowrap; }
.ab button[aria-pressed="true"] { color: var(--on-accent); }
.ab #ab-dry[aria-pressed="true"] { color: var(--base); }
.ab .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink);
  transition: transform 500ms var(--ease), background-color 300ms var(--ease); }
.ab[data-side="wet"] .thumb { transform: translateX(100%); background: var(--accent); }
.time { margin-left: auto; color: var(--dim); font-family: var(--mono); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.status { color: var(--muted); font-size: 14px; line-height: 20px; min-height: 20px; }
@media (prefers-reduced-motion: reduce) { .ab .thumb { transition: none; } }
@media (max-width: 760px) {
  .room { grid-template-columns: minmax(0, 1fr); }
  .sources { grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .sources li { scroll-snap-align: start; }
  .stage { padding: 16px; }
  .wave { height: 144px; }
  .time { margin-left: 0; }
}

/* new in 1.4 */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.feature { padding: 32px; border-radius: 24px; background: var(--s1); display: grid; gap: 12px; align-content: start; }
.feature p { color: var(--muted); }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--s3); font-size: 14px; line-height: 20px; }
.chips li.on { background: var(--accent); color: var(--on-accent); }
.chips.mono li { font-family: var(--mono); font-size: 12px; line-height: 16px; padding: 6px 12px; }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } .feature { padding: 24px; } }

/* the page */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.groups { display: grid; gap: 24px; margin: 0; }
.groups div { display: grid; gap: 4px; }
.groups dt { font-weight: 600; font-size: 18px; line-height: 28px; }
.groups dd { margin: 0; color: var(--muted); }
.shots { display: grid; gap: 24px; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 12px; color: var(--dim); font-size: 14px; line-height: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

/* presets */
.menu { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.menu > div { padding: 24px; border-radius: 16px; background: var(--s1); display: grid; gap: 16px; align-content: start; }
.menu h3 { font-size: 20px; line-height: 28px; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.menu li { display: grid; font-size: 16px; line-height: 24px; }
.menu li span { color: var(--dim); font-size: 14px; line-height: 20px; }
.after { margin-top: 24px; color: var(--muted); max-width: 680px; }
@media (max-width: 1000px) { .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .menu { grid-template-columns: minmax(0, 1fr); } }

/* demos */
.shelf + .shelf { margin-top: 64px; }
.shelf h3 { margin-bottom: 24px; }
.reel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 16px; }
.reel button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 12px; width: 100%; }
.reel .poster { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--s1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.reel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms var(--ease); }
.reel button:hover img { transform: scale(1.03); }
.reel button:active .poster { transform: scale(.98); }
.reel .poster { transition: transform 160ms var(--ease); }
.reel button:focus-visible .poster { outline: 2px solid var(--accent); outline-offset: 3px; }
.play-badge { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--base) 60%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); }
.play-badge svg { width: 14px; height: 14px; }
.reel b { font-weight: 500; font-size: 14px; line-height: 20px; }
.reel small { display: block; color: var(--dim); font-size: 12px; line-height: 16px; margin-top: 2px; }
@media (max-width: 1060px) { .reel { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
dialog.player { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(92vw, 480px); max-height: 92vh; overflow: visible; }
dialog.player::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog.player[open] { animation: lift 500ms var(--ease); }
@keyframes lift { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { dialog.player[open] { animation: none; } }
dialog.player video { display: block; max-width: 100%; max-height: calc(92vh - 64px); aspect-ratio: 9 / 16; border-radius: 16px; background: #000; }
dialog.player .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; color: var(--muted); }

/* phone */
.phone { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.phone ul { margin: 24px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
@media (max-width: 900px) { .phone { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
code { font-family: var(--mono); font-variant-ligatures: none; font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--s3); color: var(--ink); overflow-wrap: anywhere; }

/* install */
.easy { padding: 8px; border-radius: 24px; background: var(--s1); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px; }
.easy-intro { padding: 24px; display: grid; gap: 16px; align-content: start; }
.easy-intro p { color: var(--muted); }
.easy-intro .meta { color: var(--dim); font-size: 14px; line-height: 20px; font-family: var(--mono); }
.steps { list-style: none; margin: 0; padding: 24px; border-radius: 16px; background: var(--base); counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--s3); color: var(--ink); display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; line-height: 16px; }
.steps strong { color: var(--ink); font-weight: 600; }
.note { margin-top: 16px; padding: 16px 24px; border-radius: 16px; background: var(--s1); color: var(--muted); font-size: 14px; line-height: 20px; }
.note strong { color: var(--ink); font-weight: 600; }
.older { margin-top: 64px; }
.older > h3 { margin-bottom: 24px; }
.gens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gen { padding: 24px; border-radius: 24px; background: var(--s1); display: grid; gap: 16px; align-content: start; }
.gen .units { color: var(--dim); font-size: 14px; line-height: 20px; margin-top: -8px; }
.gen .steps { padding: 0; background: none; }
.gen .btn { justify-self: start; }
@media (max-width: 860px) { .easy, .gens { grid-template-columns: minmax(0, 1fr); } }

/* table */
.table-wrap { overflow-x: auto; border-radius: 16px; background: var(--s1); }
table.specs { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.specs th, .specs td { text-align: left; padding: 16px 24px; vertical-align: top; }
.specs tr + tr th, .specs tr + tr td { border-top: 1px solid var(--s3); }
.specs thead th { color: var(--dim); font-weight: 500; }
.specs tbody th { color: var(--muted); font-weight: 400; }
.specs td.yes { color: var(--accent); font-weight: 600; }

/* faq */
.faq { display: grid; gap: 8px; max-width: 760px; }
.faq details { border-radius: 16px; background: var(--s1); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 500; font-size: 18px; line-height: 28px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; margin-top: 8px; border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim);
  transform: rotate(45deg); transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq .a { padding: 0 24px 24px; color: var(--muted); display: grid; gap: 12px; }

/* closing */
.closing { margin-top: 32px; padding: 64px 48px; border-radius: 24px; background: var(--s1); display: grid; gap: 16px; justify-items: start; }
.closing p { color: var(--muted); max-width: 560px; }
@media (max-width: 720px) { .closing { padding: 40px 24px; } }
