:root {
  color-scheme: dark;
  --bg: #06100e;
  --bg-deep: #030908;
  --surface: #0b1714;
  --surface-strong: #111c18;
  --surface-soft: #17201c;
  --ink: #eef3ec;
  --muted: #9daaa4;
  --line: rgba(214, 232, 222, 0.15);
  --line-strong: rgba(214, 232, 222, 0.28);
  --accent: #49e1b1;
  --accent-dark: #082e24;
  --amber: #e2b861;
  --coral: #d77a62;
  --max-width: 1320px;
  --header-height: 76px;
  --hero-background-image: url("./assets/hero/live-foh-background.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: clip;
}

body.preview-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--accent);
  color: #02120d;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 10px max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(3, 12, 10, 0.94);
  backdrop-filter: blur(16px);
  min-width: 0;
  max-width: 100vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  width: fit-content;
  min-width: 0;
}

.brand img {
  width: 190px;
  height: 42px;
}

.brand span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.main-nav a {
  padding: 10px 14px;
  color: #b6c2bc;
  font-size: 0.88rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.language-switch {
  display: flex;
  gap: 2px;
  margin-left: 18px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.language-switch button {
  width: 42px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
}

.language-switch button.active {
  background: var(--accent);
  color: #02120d;
}

.hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - 118px);
  min-height: 650px;
  max-height: 840px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--hero-background-image) 64% center / cover no-repeat;
  content: "";
  filter: contrast(1.08) saturate(0.92);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 11, 9, 0.98) 0%, rgba(3, 11, 9, 0.86) 36%, rgba(3, 11, 9, 0.22) 70%, rgba(3, 11, 9, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 11, 9, 0.76) 0%, transparent 34%, rgba(3, 11, 9, 0.1) 100%);
  content: "";
}

.hero-inner {
  display: flex;
  align-items: center;
  width: min(var(--max-width), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.hero-copy {
  width: min(700px, 60%);
  padding: 54px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: 4.3rem;
  font-weight: 800;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.55rem;
  font-weight: 780;
  line-height: 1.07;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.18;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #c4cdc8;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.2;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #02120d;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #6de9c2;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(7, 18, 15, 0.72);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(73, 225, 177, 0.55);
  background: var(--surface-strong);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 680px;
  margin: 40px 0 0;
}

.hero-stats div {
  padding-top: 12px;
  border-top: 2px solid var(--accent);
}

.hero-stats dt {
  font-size: 1.18rem;
  font-weight: 850;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: 96px max(24px, calc((100vw - var(--max-width)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
}

.workflow-section {
  background: #091512;
}

.signal-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 204px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.signal-flow li::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -18px;
  width: 24px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.signal-flow li:last-child::after {
  display: none;
}

.signal-flow .flow-highlight {
  border-color: rgba(73, 225, 177, 0.42);
  background: #0c201a;
}

.flow-index {
  margin-bottom: auto;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.flow-brand {
  display: flex;
  align-items: flex-end;
  width: fit-content;
  height: 40px;
  margin-top: 14px;
  opacity: 0.82;
  transition: opacity 150ms ease;
}

.flow-brand:hover,
.flow-brand:focus-visible {
  opacity: 1;
}

.flow-brand img {
  width: auto;
  max-width: 128px;
  max-height: 40px;
  object-fit: contain;
  object-position: left bottom;
}

.flow-brand-liveprofessor img {
  width: 40px;
  height: 40px;
}

.flow-brand-lacoustics img {
  width: 128px;
  height: auto;
}

.signal-flow strong {
  display: block;
  margin: 10px 0 5px;
  font-size: 1rem;
}

.signal-flow small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.workflow-links {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.workflow-links a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.workflow-partner-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.workflow-links a:hover,
.text-link:hover {
  color: #82edcb;
}

.workflow-links p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.lisa-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101613;
}

.lisa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr);
  gap: 90px;
  align-items: center;
}

.lisa-copy p:not(.eyebrow) {
  max-width: 760px;
  color: #b8c3bd;
}

.lisa-brand {
  display: block;
  width: min(260px, 68%);
  margin-bottom: 24px;
  opacity: 0.86;
  transition: opacity 150ms ease;
}

.lisa-brand:hover,
.lisa-brand:focus-visible {
  opacity: 1;
}

.lisa-brand img {
  width: 100%;
  height: auto;
}

.lisa-copy .text-link {
  margin-top: 15px;
}

.lisa-routing {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #07100e;
}

.routing-header,
.routing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.routing-header span,
.routing-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.routing-header strong {
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.routing-row b {
  font-size: 0.85rem;
}

.routing-row.routing-active {
  background: var(--accent-dark);
}

.routing-row.routing-active b {
  color: var(--accent);
}

.lisa-routing > p {
  margin: 0;
  padding: 18px 20px;
  color: #77847e;
  font-size: 0.72rem;
}

.plugins-section {
  background: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.product-preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #020706;
  cursor: zoom-in;
}

.product-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease, opacity 220ms ease;
}

.product-preview:hover img,
.product-preview:focus-visible img {
  opacity: 0.82;
  transform: scale(1.015);
}

.preview-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(2, 8, 7, 0.86);
  color: var(--ink);
  opacity: 0;
  transition: opacity 150ms ease;
}

.product-preview:hover .preview-hint,
.product-preview:focus-visible .preview-hint {
  opacity: 1;
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-heading h3 {
  margin-bottom: 5px;
  font-size: 1.4rem;
}

.product-category {
  margin: 0;
  color: var(--product-accent, var(--accent));
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.channel-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #c6d0ca;
  font-size: 0.72rem;
  font-weight: 800;
}

.product-description {
  margin: 17px 0 10px;
  color: #b8c3bd;
}

.product-purpose {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.86rem;
}

.product-purpose strong {
  color: var(--ink);
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 17px;
  color: #aeb9b3;
  font-size: 0.83rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 2px;
  background: var(--product-accent, var(--accent));
  content: "";
}

.product-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.product-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-size: 0.76rem;
  font-weight: 800;
}

.product-actions a:hover,
.product-actions a:focus-visible {
  border-color: rgba(73, 225, 177, 0.52);
  color: var(--accent);
}

.download-section {
  border-top: 1px solid var(--line);
  background: #081814;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  gap: 100px;
  align-items: center;
}

.download-copy > p:not(.eyebrow, .license-note) {
  max-width: 680px;
  color: var(--muted);
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
}

.release-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #b8c3bd;
  font-size: 0.74rem;
  font-weight: 750;
}

.release-meta .release-verified {
  border-color: rgba(80, 224, 178, 0.42);
  color: var(--accent);
}

.download-button {
  min-height: 58px;
}

.download-button small {
  margin-left: 5px;
  padding-left: 12px;
  border-left: 1px solid rgba(2, 18, 13, 0.25);
  font-size: 0.7rem;
  font-weight: 750;
}

.license-note {
  max-width: 650px;
  margin: 15px 0 0;
  color: #718079;
  font-size: 0.75rem;
}

.archive-contents {
  border-top: 1px solid var(--line-strong);
}

.archive-contents article {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 94px;
  border-bottom: 1px solid var(--line-strong);
}

.archive-number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.archive-contents h3,
.archive-contents p {
  margin: 0;
}

.archive-contents h3 {
  font-size: 1rem;
}

.archive-contents p {
  color: var(--muted);
  font-size: 0.8rem;
}

.archive-contents svg {
  color: var(--accent);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 58px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  background: #121a17;
}

.contact-band h2 {
  max-width: 740px;
  margin: 0;
  font-size: 2rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 120px;
  padding: 26px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-brand img {
  width: 150px;
}

.site-footer p {
  margin: 0;
  color: #728079;
  font-size: 0.78rem;
}

.site-footer > div {
  display: flex;
  gap: 18px;
}

.site-footer > div a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(73, 225, 177, 0.6);
  color: var(--accent);
}

.media-lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 5, 4, 0.9);
  backdrop-filter: blur(10px);
}

.media-lightbox.is-open {
  display: flex;
}

.media-lightbox-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1500px, 96vw);
  max-height: 94vh;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #07100e;
}

.media-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 0 2px 14px;
}

.media-lightbox-header .eyebrow,
.media-lightbox-header h2 {
  margin: 0;
}

.media-lightbox-header h2 {
  font-size: 1.25rem;
}

.media-lightbox-frame {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: auto;
  background: #010403;
}

.media-lightbox-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(94vh - 110px);
  object-fit: contain;
}

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

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    order: 3;
    padding-top: 4px;
    border-top: 1px solid var(--line);
  }

  .brand span {
    display: none;
  }

  .hero {
    height: calc(100svh - 150px);
    min-height: 610px;
  }

  .hero-copy {
    width: min(720px, 76%);
  }

  h1 {
    font-size: 3.6rem;
  }

  .signal-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signal-flow li::after {
    display: none;
  }

  .lisa-layout,
  .download-layout {
    gap: 52px;
  }
}

@media (max-width: 820px) {
  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(3, 11, 9, 0.97) 0%, rgba(3, 11, 9, 0.82) 62%, rgba(3, 11, 9, 0.35) 100%);
  }

  .hero-copy {
    width: min(660px, 88%);
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .section-heading,
  .lisa-layout,
  .download-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .workflow-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .lisa-routing,
  .archive-contents {
    width: 100%;
    max-width: 650px;
  }

  .contact-band,
  .site-footer {
    align-items: flex-start;
  }

  .contact-band {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 108px;
  }

  .site-header {
    padding: 8px 16px 0;
  }

  .brand img {
    width: 156px;
    height: 34px;
  }

  .language-switch {
    margin-left: 10px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 0;
    margin: 0 -16px;
    padding: 4px 12px;
    overflow-x: auto;
    scrollbar-width: none;
    width: calc(100% + 32px);
    max-width: 100vw;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .hero {
    height: calc(100svh - 142px);
    min-height: 525px;
    max-height: 680px;
  }

  .hero::before {
    background-position: 61% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(3, 11, 9, 0.94) 0%, rgba(3, 11, 9, 0.74) 80%, rgba(3, 11, 9, 0.44) 100%),
      linear-gradient(0deg, rgba(3, 11, 9, 0.82) 0%, transparent 55%);
  }

  .hero-inner {
    width: calc(100% - 32px);
    align-items: flex-end;
  }

  .hero-copy {
    width: 100%;
    padding: 34px 0 30px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }

  h1 {
    margin-bottom: 17px;
    font-size: 2.35rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero-stats {
    gap: 10px;
    margin-top: 25px;
  }

  .hero-stats div {
    padding-top: 8px;
  }

  .hero-stats dt {
    font-size: 0.9rem;
  }

  .hero-stats dd {
    font-size: 0.66rem;
  }

  .section {
    padding: 58px 16px;
  }

  .signal-flow {
    grid-template-columns: 1fr;
  }

  .signal-flow li {
    min-height: 116px;
  }

  .product-body {
    padding: 19px;
  }

  .product-heading h3 {
    font-size: 1.2rem;
  }

  .product-actions {
    justify-content: flex-start;
  }

  .release-meta {
    margin: 20px 0;
  }

  .download-button {
    width: 100%;
  }

  .archive-contents article {
    grid-template-columns: 34px 1fr auto;
  }

  .contact-band {
    padding: 45px 16px;
  }

  .contact-band h2 {
    font-size: 1.6rem;
  }

  .site-footer {
    padding: 30px 16px;
  }

  .site-footer > div {
    flex-wrap: wrap;
  }

  .media-lightbox {
    padding: 8px;
  }

  .media-lightbox-panel {
    width: 100%;
    padding: 10px;
  }

  .media-lightbox-header h2 {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
