:root {
  --bg: #050608;
  --bg-2: #0b0e13;
  --panel: #10141b;
  --line: #1c222c;
  --line-2: #2a313d;
  --text: #f3f5f8;
  --dim: #7b8494;
  --dim-2: #5a6272;
  --up: #4cc38a;
  --warn: #e8b04a;
  --crit: #f0616d;
  --info: #8fb3ff;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
code { font: 500 .88em var(--mono); background: #151a22; border: 1px solid var(--line-2); border-radius: 5px; padding: .08em .38em; }
.dim { color: var(--dim); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 8, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.links { display: flex; gap: 26px; font-size: 15px; color: #b9c0cc; }
.links a:hover, .foot-cols a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; color: #b9c0cc; }
.gh { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.gh:hover, .x:hover { color: var(--text); border-color: #3a4352; }
.x { display: flex; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 600 15.5px var(--sans); white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--text); color: #07090c; }
.btn-light:hover { background: #ffffff; }
.btn-glass { background: rgba(170, 178, 192, .2); color: var(--text); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(170, 178, 192, .3); }
.btn-line { border: 1px solid var(--line-2); color: var(--text); }
.btn-line:hover { border-color: #4a5466; }
.btn.wide { width: 100%; }
.btn.mine { box-shadow: 0 0 0 3px rgba(76, 195, 138, .35); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 108px 24px 0; text-align: center; isolation: isolate; }
.ports { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 82%);
          mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 82%); }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 40px; width: min(1100px, 100%); height: 720px; transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 45%, rgba(5, 6, 8, .96) 0%, rgba(5, 6, 8, .86) 45%, rgba(5, 6, 8, 0) 80%); pointer-events: none; }
.hero-in { max-width: 900px; margin: 0 auto; }
h1 { font: 600 clamp(44px, 7.4vw, 86px)/1.02 var(--sans); letter-spacing: -.035em; margin: 0; }
.hero-sub { font: 500 clamp(19px, 2.4vw, 27px)/1.3 var(--sans); letter-spacing: -.015em; margin: 22px 0 0; }
.lead { color: #a7afbd; font-size: 18px; max-width: 690px; margin: 26px auto 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }
.fine { font: 400 12.5px var(--mono); color: var(--dim-2); margin: 22px 0 0; letter-spacing: .01em; }

.stage { margin: 72px auto 0; max-width: 1240px; padding: 44px 44px 0; border-radius: 22px 22px 0 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(76, 195, 138, .12), transparent 60%),
    linear-gradient(180deg, #121821 0%, #0a0d12 100%);
  border: 1px solid var(--line); border-bottom: 0; position: relative; }
.window { border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid #2c3442; border-bottom: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02); background: #1b212b; }
.titlebar { height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #161b23; border-bottom: 1px solid #262d39; position: relative; }
.titlebar i { width: 11px; height: 11px; border-radius: 50%; background: #f0616d; }
.titlebar i:nth-child(2) { background: #e8b04a; }
.titlebar i:nth-child(3) { background: #4cc38a; }
.titlebar span { position: absolute; left: 0; right: 0; text-align: center; font: 500 12px var(--sans); color: var(--dim); pointer-events: none; }

/* ---------- section divider ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 110px 24px 0; }
.divider::before, .divider::after { content: ""; height: 1px; width: min(160px, 22vw); background: linear-gradient(90deg, transparent, var(--line-2)); }
.divider::after { transform: scaleX(-1); }
.divider span { font: 500 12px var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--dim); }

/* ---------- features ---------- */
.feature { max-width: var(--wrap); margin: 0 auto; padding: 110px 24px 0; text-align: center; }
.feature + .feature { border-top: 1px solid var(--line); margin-top: 110px; }
.divider + .feature { padding-top: 56px; }
.eyebrow { font: 500 12.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim-2); margin: 0 0 22px; }
h2 { font: 600 clamp(32px, 4.4vw, 52px)/1.1 var(--sans); letter-spacing: -.03em; margin: 0 auto; max-width: 820px; }
.body { color: #a7afbd; max-width: 660px; margin: 22px auto 0; }
.shot { margin: 52px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid #262d39; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }

.trio, .duo { display: grid; gap: 18px; margin-top: 18px; }
.trio { grid-template-columns: repeat(3, 1fr); }
.duo { grid-template-columns: repeat(2, 1fr); margin-top: 52px; }
.trio figure, .duo figure { margin: 0; }
.trio img, .duo img { border-radius: 10px; border: 1px solid #262d39; }
figcaption { font: 500 12px var(--mono); color: var(--dim-2); text-transform: uppercase; letter-spacing: .14em; margin-top: 12px; }

.points { list-style: none; padding: 0; margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; text-align: left; }
.points li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; color: #a7afbd; font-size: 15.5px; }
.points b { color: var(--text); display: block; margin-bottom: 4px; font-weight: 600; }

.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 52px; text-align: left; }
.check { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.check p { margin: 12px 0 0; color: #a7afbd; font-size: 15.5px; }
.tag { display: inline-block; font: 500 12px var(--mono); padding: 3px 10px; border-radius: 6px; letter-spacing: .02em; }
.tag.crit { color: var(--crit); background: rgba(240, 97, 109, .12); }
.tag.warn { color: var(--warn); background: rgba(232, 176, 74, .12); }
.tag.info { color: var(--info); background: rgba(143, 179, 255, .12); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 52px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts div { background: var(--bg-2); padding: 28px 18px; }
.facts b { display: block; font: 600 22px var(--sans); letter-spacing: -.02em; }
.facts span { display: block; color: var(--dim); font-size: 14.5px; margin-top: 6px; }

/* ---------- families ---------- */
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; text-align: left; }
.fam { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.fam-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fam-head b { font-size: 19px; font-weight: 600; }
.fam p { color: #a7afbd; margin: 12px 0 0; font-size: 15.5px; }
.pill { font: 500 11.5px var(--mono); padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
.pill.ok { color: var(--up); background: rgba(76, 195, 138, .12); }
.pill.part { color: var(--warn); background: rgba(232, 176, 74, .12); }

/* ---------- platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 52px; text-align: left; }
.plat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.plat.mine { border-color: rgba(76, 195, 138, .45); box-shadow: 0 0 0 1px rgba(76, 195, 138, .25), 0 20px 60px rgba(76, 195, 138, .06); }
.plat-head { display: flex; align-items: center; gap: 12px; height: 30px; }
.plat-head b { font-size: 20px; font-weight: 600; }
.plat dl { display: grid; grid-template-columns: 82px 1fr; gap: 10px 12px; margin: 22px 0 24px; font-size: 14.5px; }
.plat dt { font: 500 11.5px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim-2); }
.plat dd { margin: 0; color: #c8ced8; overflow-wrap: anywhere; }
.plat .btn { margin-top: auto; }
.note { font-size: 13px; color: var(--dim); margin: 14px 0 0; }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 40px; }
details { text-align: left; border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 4px; font-size: 18px; font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 300 26px var(--sans); color: var(--dim); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: -6px 0 24px; padding: 0 4px; color: #a7afbd; }
details a { color: var(--info); }

/* ---------- footer ---------- */
.foot { margin-top: 140px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 36px; display: flex; gap: 60px; justify-content: space-between; flex-wrap: wrap; }
.foot-brand p { color: var(--dim); margin: 14px 0 18px; font-size: 15px; }
.clihero { display: inline-block; opacity: .8; }
.clihero:hover { opacity: 1; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: #a7afbd; }
.foot-cols b { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--dim-2); margin-bottom: 4px; }
.legal { max-width: var(--wrap); margin: 0 auto; padding: 20px 24px 40px; font-size: 13px; color: var(--dim-2); border-top: 1px solid var(--line); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .checks, .families, .platforms { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 72px; }
  .stage { padding: 18px 12px 0; margin-top: 52px; border-radius: 16px 16px 0 0; }
  .titlebar { height: 24px; }
  .titlebar i { width: 8px; height: 8px; }
  .checks, .families, .platforms, .duo, .trio { grid-template-columns: 1fr; }
  .feature { padding-top: 80px; }
  .feature + .feature { margin-top: 80px; }
  .divider { padding-top: 80px; }
  .btn { width: 100%; }
  .cta { flex-direction: column; }
  .foot-cols { gap: 40px; }
  .gh .stars { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
