:root {
  --bg: #07080c;
  --text: #eef2f7;
  --muted: #8b95a8;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ff7a1a;
  --ct: #6cb6ff;
  color-scheme: dark;
  font-family: Manrope, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(255, 122, 26, 0.14), transparent 60%),
    var(--bg);
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.glow {
  position: fixed;
  width: 560px;
  height: 560px;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.2), transparent 68%);
  filter: blur(8px);
  animation: glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.sparks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sparks span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffd089;
  opacity: 0.35;
  animation: float 4.8s ease-in-out infinite alternate;
}

.sparks span:nth-child(1) { left: 14%; top: 18%; }
.sparks span:nth-child(2) { left: 78%; top: 22%; animation-delay: 0.6s; }
.sparks span:nth-child(3) { left: 8%; top: 62%; animation-delay: 1.1s; }
.sparks span:nth-child(4) { left: 88%; top: 70%; animation-delay: 0.3s; }
.sparks span:nth-child(5) { left: 42%; top: 12%; animation-delay: 1.4s; }
.sparks span:nth-child(6) { left: 64%; top: 84%; animation-delay: 0.8s; }
.sparks span:nth-child(7) { left: 24%; top: 88%; animation-delay: 1.7s; }

.nav {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 -1px 0 var(--line);
}

.word {
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.nav-dl {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #1a0d04 !important;
  font-weight: 800;
}

.lang {
  display: flex;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.lang button.on {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

main {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 0 72px;
  text-align: center;
}

.mark { width: 64px; height: 64px; }

.draw {
  stroke: #ff9a3c;
  stroke-width: 1.6;
  fill: none;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw 1.2s ease forwards;
}

.draw.delay { animation-delay: 0.2s; }
.draw.delay2 { animation-delay: 0.4s; fill: rgba(255, 122, 26, 0.28); }

h1 {
  margin: 14px 0 0;
  font-size: clamp(64px, 10vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
}

h1 span {
  display: inline-block;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 span:nth-child(2) { animation-delay: 0.04s; }
h1 span:nth-child(3) { animation-delay: 0.08s; }
h1 span:nth-child(4) { animation-delay: 0.12s; }
h1 span:nth-child(5) { animation-delay: 0.16s; }
h1 span:nth-child(6) { animation-delay: 0.2s; }
h1 span:nth-child(7) { animation-delay: 0.24s; }

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero p {
  max-width: 38em;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  animation: rise 0.7s 0.28s both;
}

.download {
  display: inline-flex;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--accent);
  color: #1a0d04;
  font-weight: 800;
  text-decoration: none;
  animation: rise 0.7s 0.4s both;
}

.download:hover { filter: brightness(1.08); }

.hero small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  animation: rise 0.7s 0.5s both;
}

.row {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) 1.18fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
}

.row.flip { grid-template-columns: 1.18fr minmax(240px, 0.82fr); }
.row.flip .copy { order: 2; }

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.copy p, .end p, .faq p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.copy p { margin: 14px 0 0; }

.copy ol {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.copy li {
  counter-increment: step;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.copy li::before {
  content: counter(step) ".";
  margin-right: 8px;
  color: var(--text);
  font-weight: 700;
}

.note { color: var(--text) !important; font-size: 15px !important; }

.shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0e1118;
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 24px 70px rgba(0, 0, 0, 0.35);
}

.shot img { width: 100%; height: auto; }

.beat {
  display: flex;
  justify-content: center;
  padding: 12px 0 24px;
}

.narrow { width: min(560px, 100%); }

.faq { padding: 88px 0 24px; max-width: 720px; }

.list { margin-top: 28px; }

details {
  border-top: 1px solid var(--line);
}

details:last-child { border-bottom: 1px solid var(--line); }

summary {
  padding: 18px 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

details p { margin: 0 0 18px; }

.end {
  padding: 96px 0 48px;
  max-width: 640px;
}

.end .download { animation: none; }

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links { display: flex; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes glow {
  from { opacity: 0.65; }
  to { opacity: 1; }
}
@keyframes float {
  from { transform: translateY(0); opacity: 0.2; }
  to { transform: translateY(-16px); opacity: 0.75; }
}

@media (max-width: 860px) {
  .nav-links a:not(.nav-dl) { display: none; }
  .row, .row.flip {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 56px 0;
  }
  .row.flip .copy { order: 0; }
  .hero { min-height: auto; padding-top: 120px; }
  footer { display: block; }
  .footer-links { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .draw { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}
