:root {
  --bg-0: #0b0d12;
  --bg-1: #10131a;
  --bg-2: #151923;
  --line: #ffffff14;
  --text-0: #f4f5f8;
  --text-1: #c9cdd8;
  --text-2: #8d93a5;
  --accent: #ff5a5f;
  --accent-grad: linear-gradient(135deg, #ff7a45, #ff3d77);
  --teal: #2ee6c5;
  --blue: #3d8bff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  color: var(--text-0);
  margin: 0;
  letter-spacing: -0.02em;
}
section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
}
section h2 {
  font-size: clamp(26px, 4vw, 38px);
  text-align: center;
  margin-bottom: 12px;
}
.sub {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text-2);
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(11, 13, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text-0);
  text-decoration: none;
}
.nav nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav nav a {
  text-decoration: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
}
.nav nav a:hover {
  color: var(--text-0);
}
.nav .cta {
  color: #fff !important;
  background: var(--accent-grad);
  padding: 7px 14px;
  border-radius: 9px;
}

/* hero */
.hero {
  position: relative;
  text-align: center;
  padding-top: 72px;
}
.glow {
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background: radial-gradient(600px 300px at 50% 20%, rgba(255, 90, 95, 0.22), transparent 70%);
  pointer-events: none;
}
.hero .logo {
  position: relative;
  filter: drop-shadow(0 20px 50px rgba(255, 70, 100, 0.35));
}
.hero h1 {
  position: relative;
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 14px;
}
.hero h1 span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.claim {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text-1);
  margin: 14px 0 6px;
}
.lead {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 17px;
}
.lead b {
  color: var(--text-0);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0;
}
.pill {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  color: var(--text-2);
}
.pill.engine {
  color: #ff8a84;
  border-color: #e2231a88;
  background: #e2231a22;
}
.pill.rb {
  color: #8fb8ff;
  border-color: #3d8bff88;
  background: #3d8bff22;
}
.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text-0);
  background: var(--bg-2);
}
.btn.primary {
  background: var(--accent-grad);
  border: none;
  color: #fff;
  box-shadow: 0 12px 34px rgba(255, 70, 100, 0.35);
}
.shot {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* features */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.grid article {
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.grid .ic {
  font-size: 26px;
}
.grid h3 {
  font-size: 18px;
  margin: 8px 0 6px;
}
.grid p {
  margin: 0;
  color: var(--text-2);
}

/* screenshots */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}
figcaption {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 6px;
}
figcaption b {
  color: var(--text-0);
}

/* how */
.how ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.how li {
  counter-increment: step;
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.how li::before {
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--accent-grad);
}
.how b {
  color: var(--text-0);
  font-size: 17px;
}
.how span {
  color: var(--text-2);
}

/* compat */
.table {
  overflow-x: auto;
  margin-top: 26px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th {
  color: var(--text-0);
}
th small {
  color: var(--text-2);
  font-weight: 500;
}
td:first-child {
  color: var(--text-0);
  font-weight: 600;
}
.note {
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
  margin-top: 16px;
}

/* local */
.local {
  text-align: center;
}
.local p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 17px;
}

/* download */
.dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.dl .card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  border-radius: 16px;
  text-decoration: none;
  background: var(--bg-1);
  border: 1px solid var(--line);
  transition: border-color 0.15s, transform 0.15s;
}
.dl .card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.dl b {
  color: var(--text-0);
  font-size: 20px;
}
.dl span {
  color: var(--text-2);
}
.dl .soon b::after {
  content: ' beta';
  font-size: 12px;
  color: var(--teal);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px 50px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
}
footer small {
  flex-basis: 100%;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .nav nav a:not(.cta) {
    display: none;
  }
  section {
    padding: 56px 18px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
}
