@font-face {
  font-family: "Lato";
  src: url("../../fonts/Lato/Lato Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../../fonts/Lato/Lato Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../../fonts/Lato/Lato Heavy.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink-950: #030713;
  --ink-900: #071126;
  --ink-850: #0a1730;
  --ink-800: #0d1d3a;
  --surface: rgba(8, 20, 45, 0.72);
  --surface-strong: rgba(8, 19, 40, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);
  --text: #f7f9ff;
  --muted: #b6c3dc;
  --subtle: #8595b3;
  --blue: #1976ff;
  --blue-bright: #45a3ff;
  --cyan: #49dcff;
  --accent: #3b82f6;
  --danger: #ff6b7d;
  --success: #57e2b2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shell: min(1180px, calc(100vw - 48px));
  --header-h: 78px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink-950);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(24, 101, 255, 0.2), transparent 34rem),
    var(--ink-950);
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: white;
  background: rgba(25, 118, 255, 0.72);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--ink-950);
  background: white;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #dbe9ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  border-color: var(--line-soft);
  background: rgba(3, 8, 22, 0.82);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.brand__mark {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 11px;
  background: url("../playluma-icon-96.png") center / cover no-repeat;
  box-shadow: 0 0 25px rgba(69, 163, 255, 0.34);
}

.brand__mark::before,
.brand__mark::after {
  display: none;
}

.brand__text {
  display: grid;
  gap: 4px;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: #dce7fa;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, 0.09);
}

.header-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.header-action:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(6, 17, 38, 0.78);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 10px;
  background: white;
  transition: transform 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.library {
  position: relative;
  display: flex;
  min-height: 100svh;
  isolation: isolate;
  align-items: flex-end;
  overflow: hidden;
}

.library-backdrop {
  position: absolute;
  z-index: -4;
  inset: 0;
  overflow: hidden;
  background: #061027;
}

.library-backdrop__layer {
  position: absolute;
  inset: -3%;
  background-position: center;
  background-size: cover;
  filter: saturate(1.04) contrast(1.02);
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 700ms var(--ease-out),
    transform 7s ease;
}

.library-backdrop__layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.library-backdrop::after {
  position: absolute;
  content: "";
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 19, 0.98) 0%, rgba(3, 7, 19, 0.72) 42%, rgba(3, 7, 19, 0.26) 72%, rgba(3, 7, 19, 0.58) 100%),
    linear-gradient(180deg, rgba(3, 7, 19, 0.22) 0%, rgba(3, 7, 19, 0.12) 44%, rgba(3, 7, 19, 0.94) 100%);
}

.library-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(109, 168, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 168, 255, 0.15) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, transparent, black 65%, transparent);
}

.library-orb {
  position: absolute;
  z-index: -1;
  right: -11rem;
  bottom: 14%;
  width: 36rem;
  aspect-ratio: 1;
  border: 1px solid rgba(73, 220, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px rgba(25, 118, 255, 0.08),
    0 0 100px rgba(25, 118, 255, 0.08);
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.library-orb::before,
.library-orb::after {
  position: absolute;
  border: 1px solid rgba(73, 220, 255, 0.13);
  border-radius: inherit;
  content: "";
  inset: 15%;
}

.library-orb::after {
  inset: 31%;
}

.library__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--shell);
  min-width: 0;
  gap: 34px;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 34px;
}

.library-copy {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 690px;
  gap: 18px;
}

.library-copy__type {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #d8e8ff;
  background: rgba(2, 8, 22, 0.4);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.library-copy__title {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.library-copy__summary {
  max-width: 58ch;
  margin: 0;
  color: #d5e0f2;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.library-copy__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  color: #c6d4e9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.library-copy__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 3px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 21px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #0759d9);
  box-shadow: 0 12px 34px rgba(10, 91, 230, 0.34);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.button::before {
  position: absolute;
  width: 45%;
  height: 200%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-260%) rotate(18deg);
  transition: transform 650ms var(--ease-out);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(10, 91, 230, 0.46);
}

.button:hover::before {
  transform: translateX(310%) rotate(18deg);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(5, 14, 33, 0.58);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.button__arrow {
  font-size: 1.08rem;
  transition: transform 180ms ease;
}

.button:hover .button__arrow {
  transform: translateX(3px);
}

.catalogue-panel {
  display: grid;
  min-width: 0;
  gap: 17px;
}

.catalogue-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.catalogue-tabs {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(4, 12, 29, 0.66);
  backdrop-filter: blur(16px);
}

.catalogue-tab {
  min-height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.catalogue-tab:hover {
  color: white;
}

.catalogue-tab[aria-pressed="true"] {
  color: white;
  background: rgba(42, 121, 255, 0.9);
  box-shadow: 0 8px 22px rgba(15, 92, 229, 0.32);
}

.catalogue-search {
  position: relative;
  display: flex;
  width: min(310px, 42vw);
  align-items: center;
}

.catalogue-search::before {
  position: absolute;
  left: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid #afbdd4;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.catalogue-search::after {
  position: absolute;
  bottom: 12px;
  left: 29px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: #afbdd4;
  pointer-events: none;
  transform: rotate(45deg);
}

.catalogue-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 46px 0 43px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  color: white;
  background: rgba(4, 12, 29, 0.66);
  backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.catalogue-search input::placeholder {
  color: #91a1bb;
}

.catalogue-search input:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(73, 220, 255, 0.16);
}

.catalogue-search__clear {
  position: absolute;
  right: 8px;
  display: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #d5def0;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1;
}

.catalogue-search__clear.is-visible {
  display: grid;
  place-items: center;
}

.catalogue-rail-wrap {
  position: relative;
  min-width: 0;
  min-height: 174px;
}

.catalogue-rail {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin: -8px;
  padding: 8px;
}

.catalogue-card {
  --card-accent: var(--blue);
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 184px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  outline: none;
  background: #0b1730;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(12px);
  opacity: 0;
  transition:
    transform 400ms var(--ease-out),
    opacity 400ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.catalogue-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.catalogue-card[hidden] {
  display: none;
}

.catalogue-card::after {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--card-accent);
  pointer-events: none;
  transition: box-shadow 220ms ease;
}

.catalogue-card:hover,
.catalogue-card:focus-visible,
.catalogue-card.is-selected {
  border-color: color-mix(in srgb, var(--card-accent), white 32%);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.38),
    0 0 28px color-mix(in srgb, var(--card-accent), transparent 72%);
  transform: translateY(-5px) scale(1.018);
}

.catalogue-card:hover::after,
.catalogue-card:focus-visible::after,
.catalogue-card.is-selected::after {
  box-shadow: inset 0 0 0 2px var(--card-accent);
}

.catalogue-card__media {
  position: absolute;
  inset: 0;
}

.catalogue-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 750ms var(--ease-out);
}

.catalogue-card:hover .catalogue-card__media img,
.catalogue-card.is-selected .catalogue-card__media img {
  transform: scale(1.08);
}

.catalogue-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 20, 0.02) 15%, rgba(3, 8, 20, 0.2) 48%, rgba(3, 8, 20, 0.96) 100%);
}

.catalogue-card__content {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.catalogue-card__icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  object-fit: cover;
  background: #101b33;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.catalogue-card__copy {
  min-width: 0;
}

.catalogue-card__kind {
  display: block;
  margin-bottom: 2px;
  color: #c5d6ef;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.catalogue-card__title {
  display: block;
  overflow: hidden;
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalogue-empty,
.catalogue-error {
  display: none;
  min-height: 130px;
  align-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 17, 38, 0.8);
}

.catalogue-empty.is-visible,
.catalogue-error.is-visible {
  display: grid;
}

.catalogue-empty h2,
.catalogue-error h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.catalogue-empty p,
.catalogue-error p {
  margin: 0;
  color: var(--muted);
}

.catalogue-error {
  border-color: rgba(255, 107, 125, 0.4);
}

.catalogue-status {
  min-height: 18px;
  margin: 0;
  color: #aebbd0;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #030713;
}

.site-footer__inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--subtle);
  font-size: 0.82rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__links a {
  transition: color 180ms ease;
}

.site-footer__links a:hover {
  color: white;
}

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 700ms var(--ease-out),
    opacity 700ms ease;
}

.reveal.is-revealed {
  transform: translateY(0);
  opacity: 1;
}

@keyframes orb-drift {
  from {
    transform: translate3d(0, -12px, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-30px, 16px, 0) rotate(18deg);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
    --shell: min(100% - 32px, 760px);
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: var(--header-h);
    right: 16px;
    left: 16px;
    display: grid;
    max-height: 0;
    gap: 4px;
    padding: 0 8px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 22px;
    background: rgba(4, 12, 29, 0.96);
    opacity: 0;
    box-shadow: var(--shadow);
    transition:
      max-height 300ms var(--ease-out),
      opacity 200ms ease,
      padding 300ms var(--ease-out),
      border-color 200ms ease;
    backdrop-filter: blur(24px);
  }

  .mobile-menu.is-open {
    max-height: 420px;
    padding: 10px 8px;
    border-color: var(--line);
    opacity: 1;
  }

  .mobile-menu a {
    padding: 12px 14px;
    border-radius: 12px;
    color: #dbe6f9;
    font-weight: 700;
  }

  .mobile-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
  }

  .library-backdrop::after {
    background:
      linear-gradient(90deg, rgba(3, 7, 19, 0.93), rgba(3, 7, 19, 0.44)),
      linear-gradient(180deg, rgba(3, 7, 19, 0.08), rgba(3, 7, 19, 0.96) 74%);
  }

  .library__inner {
    padding-top: calc(var(--header-h) + 84px);
  }

  .library-copy__title {
    max-width: 11ch;
  }

  .catalogue-tools {
    align-items: stretch;
  }

  .catalogue-search {
    width: min(280px, 48vw);
  }

  .catalogue-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 26px);
  }

  .brand__text small {
    display: none;
  }

  .library {
    min-height: 100svh;
  }

  .library__inner {
    gap: 26px;
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: 22px;
  }

  .library-copy {
    gap: 14px;
  }

  .library-copy__title {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .library-copy__summary {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.96rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .library-copy__meta {
    font-size: 0.68rem;
  }

  .library-copy__actions .button {
    min-height: 44px;
    padding: 0 17px;
  }

  .catalogue-tools {
    display: grid;
    gap: 10px;
  }

  .catalogue-tabs {
    width: 100%;
  }

  .catalogue-tab {
    flex: 1;
  }

  .catalogue-search {
    width: 100%;
  }

  .catalogue-card {
    min-height: 172px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 28px;
  }
}

@media (max-width: 520px) {
  .catalogue-rail {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .library-backdrop__layer,
  .catalogue-card__media img {
    transform: none !important;
  }
}

/* Product detail and legal surfaces */
.page-detail,
.page-legal {
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent), transparent 83%), transparent 35rem),
    var(--ink-950);
}

.page-detail .site-header,
.page-legal .site-header {
  background: rgba(3, 7, 19, 0.3);
}

.detail-hero {
  position: relative;
  display: grid;
  min-height: min(900px, 92svh);
  isolation: isolate;
  align-items: end;
  overflow: hidden;
}

.detail-hero__media,
.detail-hero__media img {
  position: absolute;
  z-index: -4;
  width: 100%;
  height: 100%;
  inset: 0;
}

.detail-hero__media img {
  object-fit: cover;
  object-position: center;
  animation: hero-breathe 14s ease-out both;
}

.detail-hero__veil {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 19, 0.97) 0%, rgba(3, 7, 19, 0.72) 43%, rgba(3, 7, 19, 0.23) 76%, rgba(3, 7, 19, 0.5) 100%),
    linear-gradient(180deg, rgba(3, 7, 19, 0.15) 35%, rgba(3, 7, 19, 0.97) 100%);
}

.detail-hero__noise {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.08) 20.5%, transparent 21%),
    linear-gradient(rgba(80, 149, 255, 0.1) 1px, transparent 1px);
  background-size: 420px 100%, 100% 72px;
  mask-image: linear-gradient(to right, black, transparent 76%);
}

.detail-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
  padding-top: calc(var(--header-h) + 120px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.detail-hero__copy {
  display: grid;
  max-width: 760px;
  gap: 18px;
}

.detail-hero__badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent), white 25%);
  border-radius: 999px;
  color: #edf6ff;
  background: color-mix(in srgb, var(--accent), transparent 82%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.detail-hero__title {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-wrap: balance;
}

.detail-hero__tagline {
  margin: -5px 0 0;
  color: color-mix(in srgb, var(--accent), white 65%);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-hero__lead {
  max-width: 58ch;
  margin: 0;
  color: #d0dcef;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.platform-list li {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #c7d6ec;
  background: rgba(4, 12, 29, 0.4);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-hero__actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.store-link {
  display: inline-flex;
  min-width: 166px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 8px 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  color: white;
  background: rgba(5, 13, 31, 0.74);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition:
    transform 200ms var(--ease-out),
    border-color 200ms ease,
    background 200ms ease;
  backdrop-filter: blur(16px);
}

.store-link:hover {
  border-color: color-mix(in srgb, var(--accent), white 40%);
  background: rgba(12, 29, 60, 0.88);
  transform: translateY(-3px);
}

.store-link img {
  width: auto;
  height: 34px;
}

.store-link__glyph {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  color: var(--ink-950);
  background: white;
  font-size: 0.75rem;
  font-weight: 800;
}

.store-link__text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.store-link__text small {
  color: #aebdd5;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-link__text strong {
  font-size: 0.9rem;
}

.store-link.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.detail-hero__app {
  display: grid;
  width: min(250px, 22vw);
  gap: 14px;
  justify-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 30px;
  background: rgba(5, 14, 33, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.detail-hero__app img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24%;
  object-fit: cover;
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.45),
    0 0 36px color-mix(in srgb, var(--accent), transparent 70%);
}

.detail-hero__app span {
  color: #b9c8df;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.content-section {
  position: relative;
  padding-block: clamp(78px, 10vw, 132px);
  overflow: hidden;
}

.content-section--compact {
  padding-block: clamp(58px, 7vw, 92px);
}

.content-section--tint {
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--accent), transparent 89%), transparent 28rem),
    rgba(8, 18, 39, 0.56);
}

.section-heading {
  display: grid;
  max-width: 750px;
  gap: 13px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-self: center;
}

.section-title {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16, 35, 70, 0.72), rgba(6, 16, 36, 0.78));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition:
    border-color 220ms ease,
    transform 220ms var(--ease-out),
    box-shadow 220ms ease;
}

.feature-card::before {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 72%);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent), transparent 87%);
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--accent), white 15%);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px);
}

.feature-card__number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 52px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent), white 20%);
  border-radius: 13px;
  color: white;
  background: color-mix(in srgb, var(--accent), transparent 78%);
  font-size: 0.72rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 9px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(38px, 7vw, 90px);
}

.showcase-grid--reverse .showcase-media {
  order: 2;
}

.showcase-copy {
  display: grid;
  gap: 18px;
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.showcase-list {
  display: grid;
  gap: 12px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #dbe6f7;
}

.showcase-list li::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 9px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.showcase-media {
  position: relative;
  display: grid;
  place-items: center;
}

.showcase-media::before {
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: color-mix(in srgb, var(--accent), transparent 76%);
  filter: blur(80px);
}

.showcase-media > img {
  max-height: 670px;
  border-radius: 28px;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.38));
}

.video-launch {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #071126;
  box-shadow: var(--shadow);
  place-items: center;
}

.video-launch > img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.64;
  transition:
    opacity 250ms ease,
    transform 600ms var(--ease-out);
}

.video-launch::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 19, 0.55));
}

.video-launch:hover > img {
  opacity: 0.8;
  transform: scale(1.035);
}

.video-launch__play {
  position: relative;
  z-index: 1;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: white;
  background: rgba(4, 12, 29, 0.72);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(12px);
  transition:
    transform 220ms var(--ease-out),
    background 220ms ease;
}

.video-launch:hover .video-launch__play {
  background: var(--accent);
  transform: scale(1.08);
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-lg);
  background: #030713;
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  min-height: 230px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #081329;
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms ease;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(2) {
  grid-column: span 6;
  min-height: 310px;
}

.gallery-item:hover {
  border-color: color-mix(in srgb, var(--accent), white 15%);
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  content: "+";
  background: rgba(4, 12, 29, 0.74);
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.lightbox {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  color: white;
  background: #030713;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(1, 4, 12, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox__body {
  display: grid;
  max-height: calc(100svh - 32px);
  grid-template-rows: 1fr auto;
}

.lightbox__stage {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
}

.lightbox__stage img {
  width: 100%;
  max-height: calc(100svh - 110px);
  object-fit: contain;
}

.lightbox__controls {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  background: #071126;
}

.lightbox__controls button {
  min-width: 44px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.lightbox__controls button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
  padding: clamp(32px, 6vw, 66px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 64%);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent), #071126 76%), rgba(5, 14, 33, 0.96)),
    #071126;
  box-shadow: var(--shadow);
}

.download-panel::after {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 330px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 55%);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 90px color-mix(in srgb, var(--accent), transparent 87%);
}

.download-panel__copy {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 640px;
  gap: 13px;
}

.download-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.download-panel p {
  margin: 0;
  color: #c5d3e8;
}

.download-panel .store-links {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
}

.language-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.language-tabs button {
  min-width: 48px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.language-tabs button:hover,
.language-tabs button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent), white 20%);
  color: white;
  background: color-mix(in srgb, var(--accent), transparent 72%);
}

.localized-copy [data-lang-panel] {
  display: none;
}

.localized-copy [data-lang-panel].is-active {
  display: block;
}

.legal-hero {
  position: relative;
  display: grid;
  min-height: 430px;
  isolation: isolate;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--accent), transparent 70%), transparent 22rem),
    linear-gradient(135deg, #071126, #030713);
}

.legal-hero::after {
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -18rem;
  width: 38rem;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 60%);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 100px color-mix(in srgb, var(--accent), transparent 90%);
}

.legal-hero__inner {
  display: grid;
  max-width: 860px;
  gap: 16px;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 72px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.legal-hero p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: 64px;
  padding-block: clamp(64px, 9vw, 116px);
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(8, 20, 45, 0.48);
  font-size: 0.82rem;
}

.legal-aside strong {
  display: block;
  margin-bottom: 5px;
  color: white;
}

.legal-copy {
  min-width: 0;
  color: #c7d2e5;
  font-size: 1rem;
  line-height: 1.85;
}

.legal-copy h2,
.legal-copy h3,
.legal-copy h4 {
  color: white;
  line-height: 1.2;
}

.legal-copy h2 {
  margin: 2.2em 0 0.7em;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.legal-copy h3,
.legal-copy h4 {
  margin: 1.8em 0 0.55em;
  font-size: 1.2rem;
}

.legal-copy p,
.legal-copy ul {
  margin-block: 0 1.1em;
}

.legal-copy a {
  color: #75b7ff !important;
  text-decoration: underline;
  text-decoration-color: rgba(117, 183, 255, 0.42);
  text-underline-offset: 3px;
}

.legal-copy a:hover {
  color: white !important;
}

@keyframes hero-breathe {
  from {
    transform: scale(1.055);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .detail-hero__inner {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 34px;
  }

  .detail-hero__app {
    width: 180px;
    padding: 14px;
    border-radius: 24px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 40px;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2) {
    grid-column: span 6;
    min-height: 250px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-panel .store-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .detail-hero {
    min-height: 860px;
  }

  .detail-hero__veil {
    background:
      linear-gradient(180deg, rgba(3, 7, 19, 0.18), rgba(3, 7, 19, 0.75) 48%, rgba(3, 7, 19, 0.98) 78%),
      linear-gradient(90deg, rgba(3, 7, 19, 0.78), transparent);
  }

  .detail-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: calc(var(--header-h) + 190px);
    padding-bottom: 50px;
  }

  .detail-hero__app {
    display: none;
  }

  .detail-hero__title {
    font-size: clamp(3.2rem, 16vw, 5.6rem);
  }

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

  .feature-card {
    min-height: 220px;
  }

  .feature-card__number {
    margin-bottom: 34px;
  }

  .showcase-grid,
  .showcase-grid--reverse {
    grid-template-columns: 1fr;
  }

  .showcase-grid--reverse .showcase-media {
    order: initial;
  }

  .showcase-media > img {
    max-height: 560px;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2) {
    grid-column: span 12;
    min-height: 220px;
  }

  .download-panel {
    padding: 30px 22px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .detail-hero {
    min-height: 830px;
  }

  .detail-hero__inner {
    padding-top: calc(var(--header-h) + 150px);
  }

  .detail-hero__title {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }

  .store-links,
  .detail-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-link,
  .detail-hero__actions .button {
    width: 100%;
  }

  .gallery-grid {
    display: flex;
    margin-inline: -13px;
    padding-inline: 13px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2) {
    width: 82vw;
    min-width: 82vw;
    min-height: 210px;
    scroll-snap-align: center;
  }
}
