:root {
  --bg: #09090b;
  --surface: #111113;
  --text: #fafafa;
  --muted: #a1a1aa;
  --line: rgba(255,255,255,.12);
  --soft: rgba(255,255,255,.04);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  font-size: 16.5px;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input { font: inherit; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9,9,11,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 22px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand strong { font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.nav-links {
  display: flex; gap: 18px; margin-left: auto;
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
  font-size: 13.5px; color: var(--muted);
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { padding: 22px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); border-bottom-color: #fff; }
.menu-btn {
  display: none; margin-left: auto;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; cursor: pointer;
}

.hero { padding: 56px 0 12px; }
.kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: .98; letter-spacing: -.045em; font-weight: 620;
}
.lead { margin: 0; max-width: 640px; color: #e4e4e7; font-size: 18px; }
.muted { color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid #fff; background: #fff; color: #09090b;
  font-weight: 650; font-size: 14px;
}
.btn:hover { background: #e4e4e7; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: #fff; background: transparent; }
.platform {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: 12px;
}

.frame {
  margin: 28px 0 0;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: #000;
}
.frame img, .frame video { width: 100%; }
.caption { margin: 10px 2px 0; color: var(--muted); font-size: 13px; }

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.03em; font-weight: 620; line-height: 1.05;
}
.intro { margin: 0 0 28px; max-width: 680px; color: var(--muted); }

.apps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.app {
  display: flex; flex-direction: column; gap: 14px;
  min-height: 230px; padding: 16px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--soft);
}
.app:hover { border-color: rgba(255,255,255,.4); }
.app img { width: 72px; height: 72px; border-radius: 16px; }
.app strong { display: block; font-size: 15px; line-height: 1.25; }
.app span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.split {
  display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: start;
}
.portrait {
  width: 180px; height: 230px; object-fit: cover; border-radius: 16px;
  border: 1px solid var(--line);
}
.product-head {
  display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center;
}
.product-head img { width: 92px; height: 92px; border-radius: 20px; }
.facts { display: grid; gap: 0; margin: 8px 0 0; }
.facts div {
  display: grid; grid-template-columns: 180px 1fr; gap: 18px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.facts strong { font-weight: 620; }
.facts span { color: var(--muted); }

.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px;
}
.gallery.wide { grid-template-columns: 1fr; }
figure { margin: 0; }
figure img { border-radius: 14px; border: 1px solid var(--line); background: #000; }
figcaption { margin-top: 8px; }
figcaption strong { display: block; font-size: 14px; font-weight: 640; }
figcaption span { display: block; color: var(--muted); font-size: 13.5px; }

.prose { max-width: 720px; }
.prose p { margin: 0 0 16px; color: #e4e4e7; }
.prose h2 { margin: 34px 0 12px; }
.channels { display: grid; gap: 10px; margin: 8px 0 20px; }
.channels div {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
}
.channels strong { display: block; }
.channels span { color: var(--muted); font-size: 14.5px; }
.sign { margin-top: 28px; color: var(--text); font-size: 18px; letter-spacing: -.02em; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: var(--muted); font-size: 13.5px;
}
.foot a:hover { color: var(--text); }
.publisher { display: flex; gap: 10px; align-items: center; color: var(--text); }
.publisher img { width: 32px; height: 32px; border-radius: 8px; }
.publisher strong { display: block; font-size: 14px; }
.publisher span { display: block; color: var(--muted); font-size: 12.5px; }

@media (max-width: 980px) {
  .apps { grid-template-columns: repeat(2, 1fr); }
  .split, .product-head, .facts div { grid-template-columns: 1fr; }
  .portrait { width: min(100%, 280px); height: auto; aspect-ratio: 4/5; }
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; white-space: normal;
    background: #09090b; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 0; }
}
@media (max-width: 640px) {
  .apps, .gallery { grid-template-columns: 1fr; }
  .wrap { width: min(1080px, calc(100% - 28px)); }
}
