:root {
  color-scheme: dark;
  --page: #07090d;
  --ink: rgba(255, 255, 255, .92);
  --muted: rgba(244, 239, 230, .72);
  --faint: rgba(244, 239, 230, .48);
  --line: rgba(255, 255, 255, .14);
  --panel: rgba(18, 22, 27, .78);
  --panel-solid: #12161b;
  --ember: #ffb25d;
  --coral: #ff6f61;
  --teal: #64d7c6;
  --violet: #8f7aff;
  --shadow: 0 28px 70px rgba(0, 0, 0, .36);
  font: 100%/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 9, 13, .82), var(--page) 34%),
    #07090d;
}
body.legal-body { background: linear-gradient(180deg, #111017, #07090d 360px); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(7, 9, 13, .75);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(143, 122, 255, .25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  color: var(--muted);
  font-size: .92rem;
  font-weight: 750;
}

.nav-links a {
  padding: 10px 0;
  transition: color .18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.hero {
  position: relative;
  min-height: max(680px, calc(92svh - 74px));
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, .86) 0%, rgba(7, 9, 13, .62) 43%, rgba(7, 9, 13, .28) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, .22), var(--page) 95%),
    url("assets/hero-stage-background.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 44%;
  background: linear-gradient(180deg, transparent, var(--page));
  pointer-events: none;
}

.hero-grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(280px, .72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: 54px 0 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0 0 22px;
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: .88;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.75;
}

.hero-copy {
  align-self: end;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .3);
}

.button-primary {
  border-color: transparent;
  color: #12100a;
  background: var(--ember);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .07);
}

.hero-facts {
  grid-column: 1;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 42px 0 0;
}

.hero-facts div,
.feature-item,
.safety-item,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
}

.hero-facts div { padding: 16px; }
.hero-facts dt {
  color: var(--ember);
  font-size: 1.32rem;
  font-weight: 900;
}
.hero-facts dd {
  margin: 4px 0 0;
  color: var(--faint);
  font-size: .9rem;
}

.hero-device {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: center;
  width: min(306px, 100%);
  filter: drop-shadow(22px 34px 60px rgba(0, 0, 0, .48));
}

.hero-device img {
  width: 100%;
  border-radius: 32px;
}

.section { padding: 104px 0; }
.experience-section { padding-top: 36px; }
.experience-section .split { align-items: start; }
.section-head { max-width: 620px; }
.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.78;
}
.section-head.centered {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.split,
.product-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-item,
.safety-item,
.contact-panel {
  padding: 26px;
}

.feature-index {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: .82rem;
  font-weight: 900;
}

.feature-item p,
.safety-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.worlds-section {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent);
}

.world-carousel {
  position: relative;
}

.world-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 260px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 2px 24px;
}

.world-track::-webkit-scrollbar { display: none; }

.world-card {
  position: relative;
  min-height: 388px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  scroll-snap-align: center;
  box-shadow: var(--shadow);
}

.world-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.world-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78));
}

.world-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  font-weight: 850;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  color: var(--ink);
  background: rgba(7, 9, 13, .78);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-button svg {
  width: 20px;
  height: 20px;
}

.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }

.memory-section {
  background: linear-gradient(180deg, transparent, rgba(100, 215, 198, .05), transparent);
}

.product-media {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.product-media > img {
  width: min(360px, 72vw);
  filter: drop-shadow(22px 32px 60px rgba(0, 0, 0, .48));
}

.avatar-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.avatar-field img {
  position: absolute;
  width: clamp(58px, 8vw, 96px);
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .38);
}

.avatar-field img:nth-child(1) { top: 13%; left: 7%; }
.avatar-field img:nth-child(2) { top: 25%; right: 5%; }
.avatar-field img:nth-child(3) { bottom: 22%; left: 3%; }
.avatar-field img:nth-child(4) { bottom: 9%; right: 15%; }

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(100, 215, 198, .4);
}

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

.contact-section {
  background:
    linear-gradient(180deg, transparent, rgba(255, 178, 93, .07)),
    #090b0f;
}

.contact-panel {
  background: linear-gradient(155deg, rgba(255, 178, 93, .13), rgba(100, 215, 198, .06));
}

.contact-label {
  margin: 0 0 10px;
  color: var(--faint);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-email {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 900;
}

.site-footer {
  padding: 58px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--faint);
  background: #040507;
  font-size: .9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(150px, .7fr) minmax(190px, .7fr);
  gap: clamp(28px, 6vw, 78px);
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--ink);
}

.footer-grid p {
  max-width: 520px;
  margin: 8px 0 0;
  line-height: 1.75;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  transition: color .18s ease;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--ink); }

.footer-contact p {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}

.footer-bottom p {
  margin: 8px 0 0;
  line-height: 1.7;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(18, 22, 27, .94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.legal-main {
  padding: 70px 0 110px;
}

.legal-layout {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  color: var(--faint);
  font-size: .9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.legal-hero {
  margin-bottom: 40px;
}

.legal-title {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1;
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px clamp(20px, 5vw, 54px);
  background: linear-gradient(155deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
}

.legal-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child { border-bottom: 0; }

.legal-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.22;
}

.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 1.1rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.legal-section p { margin: 0 0 14px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul,
.legal-section ol {
  margin: 12px 0 0;
  padding-left: 22px;
}
.legal-section li + li { margin-top: 9px; }
.legal-section strong { color: var(--ink); }
.legal-section a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table-wrap {
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-table-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

.legal-table-wrap th,
.legal-table-wrap td {
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table-wrap th:last-child,
.legal-table-wrap td:last-child { border-right: 0; }
.legal-table-wrap tr:last-child td { border-bottom: 0; }
.legal-table-wrap th {
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .product-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 58px 0 12px;
    gap: 26px;
  }

  .hero-device {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    width: min(270px, 74vw);
    max-height: 245px;
    overflow: hidden;
    border-radius: 8px;
  }

  .hero-device img {
    border-radius: 8px;
    transform: translateY(-12px);
  }

  .hero-facts,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .product-grid .section-head {
    order: -1;
  }

  .product-media {
    min-height: 480px;
  }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 66px; }
  .wrap,
  .legal-layout { width: min(100% - 28px, 1180px); }
  .site-header { position: sticky; }
  .nav-row {
    min-height: 66px;
    gap: 14px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .nav-links {
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-end;
    font-size: .82rem;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3) { display: none; }
  h1 { font-size: clamp(3.4rem, 19vw, 5rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-facts { display: none; }
  .hero-actions,
  .contact-actions {
    display: grid;
  }
  .button {
    width: 100%;
  }
  .section { padding: 76px 0; }
  .experience-section { padding-top: 8px; }
  .section-head.centered {
    text-align: left;
  }
  .world-track {
    grid-auto-columns: minmax(188px, 72vw);
  }
  .carousel-button {
    width: 42px;
    height: 42px;
  }
  .carousel-prev { left: 2px; }
  .carousel-next { right: 2px; }
  .product-media {
    min-height: 430px;
  }
  .product-media > img {
    width: min(286px, 78vw);
  }
  .avatar-field img:nth-child(1) { left: 0; }
  .avatar-field img:nth-child(2) { right: 0; }
  .avatar-field img:nth-child(3) { left: 0; bottom: 16%; }
  .avatar-field img:nth-child(4) { right: 8%; bottom: 2%; }
  .contact-email {
    font-size: 1.28rem;
  }
  .legal-main {
    padding: 42px 0 76px;
  }
  .legal-card {
    padding-inline: 20px;
  }
  .legal-section {
    padding: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
