:root {
  --bg: #08080c;
  --bg-alt: #0e0e15;
  --panel: #14141d;
  --line: #23232f;
  --text: #ecebf2;
  --muted: #9a98a8;
  --pink: #ff2d95;
  --orange: #ff8a00;
  --grad: linear-gradient(100deg, var(--pink), var(--orange));
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 8, 12, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; background: var(--grad); color: #12000a;
  font-weight: 900; font-size: 15px; letter-spacing: .5px;
}
.brand-text { font-weight: 800; letter-spacing: .4px; }
.brand-text em { color: var(--muted); font-style: normal; font-weight: 600; font-size: 12px; margin-left: 4px; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.top nav a:hover { color: var(--text); }

/* hero */
.hero {
  position: relative;
  padding: 96px 0 72px;
  background:
    radial-gradient(700px 380px at 18% 0%, rgba(255, 45, 149, .22), transparent 60%),
    radial-gradient(700px 380px at 82% 10%, rgba(255, 138, 0, .16), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 120px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  font-size: 12px; font-weight: 700; letter-spacing: .4px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: rgba(20, 20, 29, .7);
}
h1 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: .98; margin: 0 0 18px; letter-spacing: -2px; font-weight: 900;
}
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.meta { color: var(--muted); font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px; text-decoration: none;
  font-weight: 800; font-size: 16px; border: 1px solid transparent;
}
.btn.primary { background: var(--grad); color: #170010; box-shadow: 0 10px 40px rgba(255, 45, 149, .25); }
.btn.primary:hover { filter: brightness(1.08); }

.stats { display: flex; gap: 42px; margin-top: 44px; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: 24px; font-weight: 800; }
.stats span { color: var(--muted); font-size: 13px; }

/* sections */
.section { padding: 74px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; letter-spacing: -1px; }
.sub { color: var(--muted); margin: 0 0 30px; }
.section h3 { margin: 0 0 6px; font-size: 17px; }
.fine { color: #75737f; font-size: 13px; }

/* mirrors */
.mirrors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.mirror {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; transition: .18s ease;
}
.mirror:hover { border-color: #3a3a4c; transform: translateY(-2px); }
.mirror-top { display: flex; align-items: center; justify-content: space-between; }
.mirror-name { font-weight: 800; font-size: 18px; }
.mirror-speed { font-size: 12px; color: var(--orange); font-weight: 700; }
.mirror-note { color: var(--muted); font-size: 13px; }
.mirror-go { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--pink); }
.mirror.disabled { opacity: .55; pointer-events: none; }

.verify { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.verify pre { margin: 8px 0 0; white-space: pre-wrap; color: var(--muted); font-size: 13px; }
.tip {
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(255, 138, 0, .35); background: rgba(255, 138, 0, .07);
  color: #e9d3bb; font-size: 14px;
}

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 700px) { .shots { grid-template-columns: 1fr; } }
.shot {
  margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); position: relative;
  overflow: hidden; border: 1px solid var(--line);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px #000;
}
.s1 { background: linear-gradient(160deg, #2a0b2f 0%, #ff2d95 55%, #ff8a00 100%); }
.s2 { background: linear-gradient(160deg, #0b2233 0%, #2f8fbf 55%, #ffd28a 100%); }
.s3 { background: linear-gradient(160deg, #1c0b0b 0%, #b8342d 55%, #ff9a54 100%); }
.s4 { background: linear-gradient(160deg, #08140e 0%, #2f7a4f 55%, #c9e6a8 100%); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(0,0,0,.55));
}

/* steps */
.steps { list-style: none; padding: 0; margin: 30px 0 44px; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  background: var(--grad); color: #170010;
}
.steps p { margin: 2px 0 0; color: var(--muted); }
code { background: #1d1d28; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 13px; }

.requirements { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.requirements table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.requirements td { padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.requirements td:first-child { width: 90px; color: var(--muted); font-weight: 700; }

/* faq */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 2px; }

/* footer */
.foot { padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.foot strong { color: var(--text); }

@media (max-width: 640px) {
  .top nav { display: none; }
  .stats { gap: 26px; }
  .hero { padding: 64px 0 48px; }
}
