:root {
  --bg: #08090d;
  --bg-raise: #11141b;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f5f8;
  --muted: #a3adbd;
  --live: #3ee0a2;
  --progress: #8eb6ff;
  --web: #c9a6ff;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(90, 140, 255, 0.16), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 22px;
  background: rgba(8, 9, 13, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.02rem;
}
.logo i { font-style: italic; font-family: var(--serif); font-weight: 400; }
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a[aria-current="page"],
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font: inherit;
  font-size: 0.88rem;
}

.home {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0 12px;
}
.kicker {
  margin: 0 0 12px;
  color: var(--live);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 6vw, 5.4rem);
  letter-spacing: -0.035em;
  line-height: 0.92;
}
h1 em { font-style: italic; }
.home h1 {
  font-size: clamp(2.35rem, 3.6vw, 3.5rem);
  line-height: 1.02;
}
.lead {
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.stats {
  display: flex;
  gap: 22px;
  margin-top: 26px;
}
.stats b {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.stats span { color: var(--muted); font-size: 0.8rem; }

.preview {
  margin-top: 28px;
  min-height: 7.5rem;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.preview h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.preview p { margin: 6px 0 0; color: var(--muted); }

.directory {
  width: min(1120px, calc(100% - 40px));
  margin: 4px auto 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.directory h2,
.directory h3 {
  margin: 22px 0 8px;
  letter-spacing: -0.03em;
}
.directory h2 { font-size: 1.35rem; }
.directory h3 { font-size: 1.05rem; }
.directory p {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
}
.directory a {
  color: var(--text);
  text-underline-offset: 3px;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tile {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "mark name" "mark pill";
  gap: 2px 12px;
  align-items: center;
  min-height: 64px;
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.tile:hover,
.tile:focus-visible,
.tile.is-active {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--c1) 22%, #12141b);
  border-color: color-mix(in srgb, var(--c1) 55%, transparent);
}
.mark {
  grid-area: mark;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #11141b;
  overflow: hidden;
}
.mark svg,
.mark img {
  width: 100%;
  height: 100%;
  display: block;
}
.mark img { object-fit: cover; }
.tile-name {
  grid-area: name;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pill {
  grid-area: pill;
  justify-self: start;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}
.pill.store, .pill.headset { color: var(--live); }
.pill.progress { color: var(--progress); }
.pill.web { color: var(--web); }

.product {
  position: relative;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100dvh - 108px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
  padding: 28px 0 18px;
}
.orb {
  position: absolute;
  width: min(460px, 70vw);
  height: min(460px, 70vw);
  right: -80px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 70%, transparent), transparent 68%);
  filter: blur(6px);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-28px, 24px, 0) scale(1.06); }
}
.back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.back:hover { color: var(--text); }
.product-id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.product-id .mark { width: 64px; height: 64px; border-radius: 18px; }
.product-id .mark svg,
.product-id .mark img { width: 100%; height: 100%; }
.product h1 { font-size: clamp(2.7rem, 5vw, 4.1rem); }
.product .lead { margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: #c5cedb;
  font-size: 0.78rem;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: #101218;
  text-decoration: none;
  font-weight: 700;
}
.btn:hover { background: #fff; }
.facts {
  list-style: none;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(10px);
}
.facts li {
  padding: 14px 14px 12px;
  border-top: 1px solid var(--line);
}
.facts li:first-child { border-top: 0; }
.facts b { display: block; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 0.92rem; }
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.pager a {
  display: flex;
  flex-direction: column;
  min-height: 58px;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}
.pager a:last-child { text-align: right; }
.pager span { color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.pager .empty { display: none; }
.pager a:only-of-type { grid-column: 1 / -1; text-align: left; }

.about {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100dvh - 108px);
  display: grid;
  align-content: center;
  padding: 36px 0;
}
.about .lead + .lead { margin-top: 14px; }
.about .btn { margin-top: 8px; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
  align-items: center;
  padding: 0 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

@view-transition { navigation: auto; }

@media (max-width: 860px) {
  .home, .product { grid-template-columns: 1fr; min-height: 0; align-items: start; }
  .preview { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .product { padding-top: 22px; }
  .orb { right: -120px; top: 20px; opacity: 0.4; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    padding: 8px 16px 14px;
    background: #0c0e14;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 30;
    background: #0e1118;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  }
  .nav-links a { display: flex; align-items: center; min-height: 48px; }
  h1 { font-size: 3.3rem; }
  .home h1 { font-size: 2.35rem; }
  .home, .product, .about { width: min(100% - 32px, 1120px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
