:root {
  --bg: #111315;
  --bg-2: #17191c;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f4f5f2;
  --muted: rgba(244, 245, 242, 0.62);
  --green: #3ddc6a;
  --green-deep: #2fa84f;
  --gold: #f2b632;
  --red: #ff5a5f;
  --paper: #fff8e7;
  --hazard: #ffe14d;
  --ink: #2b2150;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .btn, .eyebrow, .brand { font-family: var(--round); }
h1 { font-size: clamp(52px, 8vw, 92px); line-height: 0.98; font-weight: 900; margin: 0 0 22px; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.05; font-weight: 900; margin: 0 0 16px; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 800; margin: 14px 0 6px; }
.gold { color: var(--gold); }
.center { text-align: center; }
.eyebrow { color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 640px; margin: 0 auto 28px; font-size: 18px; }
.sub.left { margin-left: 0; }
.fine { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.muted { color: var(--muted); }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card); padding: 1px 6px; border-radius: 5px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #0c1a10; text-decoration: none;
  font-weight: 900; font-size: 17px; padding: 14px 24px; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(61, 220, 106, 0.5), 0 8px 24px rgba(61, 220, 106, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); background: #52e57c; box-shadow: 0 0 0 4px rgba(61, 220, 106, 0.18), 0 10px 28px rgba(61, 220, 106, 0.32); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:focus-visible, .sign-btn:focus-visible, summary:focus-visible, .nav a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3); }
.btn-small { padding: 9px 16px; font-size: 15px; }
.btn-big { font-size: 19px; padding: 17px 30px; }

/* Release switch (see the comment on <html>) */
[data-release="soon"] .when-live, [data-release="live"] .when-soon { display: none !important; }
.btn-soon { background: var(--card); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); cursor: default; }
.btn-soon:hover { transform: none; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100% - 1160px) / 2));
  background: rgba(17, 19, 21, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 19px; text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  max-width: 1160px; margin: 0 auto; padding: 64px 16px 40px;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(61, 220, 106, 0.22), transparent 70%);
  pointer-events: none; z-index: -1;
}
.lede { font-size: 20px; color: var(--muted); max-width: 520px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.stage { margin: 0; display: flex; flex-direction: column; align-items: center; min-height: 560px; justify-content: flex-end; }
.sign {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: var(--paper); color: var(--ink);
  border: 5px solid var(--ink); border-radius: 26px;
  padding: 26px 26px 34px; text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  transform-origin: 50% 100%;
  animation: sway 4s ease-in-out infinite;
  transition: background 0.3s ease;
}
.sign.panic { background: var(--hazard); }
.sign p { font-family: var(--round); font-weight: 900; font-size: 25px; line-height: 1.22; margin: 0 0 18px; min-height: 3.66em; display: flex; align-items: center; justify-content: center; }
.sign-btn {
  font-family: var(--round); font-weight: 900; font-size: 15px;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer;
  transition: transform 0.12s ease;
}
.sign-btn:hover { transform: scale(1.04); }
.sign-btn:active { transform: scale(0.96); }
.chip { width: 230px; margin-top: -42px; position: relative; z-index: 2; pointer-events: none; }
.sign.pop { animation: pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), sway 4s ease-in-out 0.55s infinite; }
.chip.pop { animation: hop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes pop { 0% { transform: translateY(40px) scale(0.92); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
@keyframes hop { 0% { transform: translateY(24px); } 100% { transform: none; } }

/* Ad */
.ad { max-width: 1060px; margin: 40px auto 0; padding: 0 16px; }
.ad video { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 120px rgba(61, 220, 106, 0.10); background: #000; }

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: 110px 16px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 28px; }
.step img { width: 96px; height: auto; margin-bottom: 6px; }
.step p, .modes p { color: var(--muted); margin: 0; font-size: 16px; }

.panel-row { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; margin-top: 80px; }
.panel-shot { width: 340px; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.big { font-size: clamp(26px, 3vw, 34px); font-weight: 900; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li strong { color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(61, 220, 106, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%233ddc6a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 10px 0 34px; }
.cards figure { margin: 0; }
.cards img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); transition: transform 0.25s ease; }
.cards figure:nth-child(1) img { transform: rotate(-2deg); }
.cards figure:nth-child(3) img { transform: rotate(2deg); }
.cards img:hover { transform: rotate(0) translateY(-6px); }
.cards figcaption { text-align: center; margin-top: 14px; font-family: var(--round); font-weight: 800; color: var(--gold); }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 30px; }
.modes article { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.emoji { font-size: 34px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.stats div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; }
.stats strong { display: block; font-family: var(--round); font-size: 36px; font-weight: 900; color: var(--green); }
.stats span { color: var(--muted); font-size: 15px; }

.download { text-align: center; display: flex; flex-direction: column; align-items: center; }
.download > img { width: 150px; margin-bottom: 10px; filter: drop-shadow(0 10px 40px rgba(61, 220, 106, 0.35)); }
.install { text-align: left; max-width: 620px; width: 100%; margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px 26px 18px; }
.install ol { color: var(--muted); padding-left: 22px; }
.install li { margin: 6px 0; }
.install li strong { color: var(--text); }

details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
.install details { border-bottom: 0; }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; font-weight: 400; transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 18px; }
.faq { max-width: 780px; padding-bottom: 40px; }

.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  padding: 60px 16px 50px; margin-top: 70px; border-top: 1px solid var(--line);
  font-family: var(--round); font-weight: 800;
}
.footer a { color: var(--green); text-decoration: none; }

/* Narrow screens */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 10px; text-align: center; }
  .hero::before { inset: 20% -30% auto -30%; width: auto; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .stage { min-height: 0; margin-top: 30px; }
  .sign p { font-size: 21px; }
  .chip { width: 180px; margin-top: -34px; }
  .steps, .modes, .cards { grid-template-columns: 1fr; }
  .cards { max-width: 420px; margin-left: auto; margin-right: auto; }
  .panel-row { grid-template-columns: 1fr; gap: 30px; justify-items: center; }
  .panel-shot { width: min(340px, 100%); }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 80px; }
}
@media (max-width: 420px) {
  .stats strong { font-size: 28px; }
  .btn { font-size: 16px; padding: 13px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sign, .sign.pop, .chip.pop { animation: none; }
  .btn, .cards img { transition: none; }
}
