:root {
  --bg: #0e1116;
  --panel: #151a22;
  --panel-2: #1b212b;
  --line: #262e3a;
  --text: #f4f1ea;
  --muted: #a3a9b5;
  --accent: #ffb547;
  --accent-ink: #1a1305;
  --code: #9fe0b8;
  --radius: 18px;
  --max: 1080px;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
code, pre { font-family: var(--mono); }
p code, li code, summary code {
  font-size: 0.86em;
  color: var(--code);
  background: rgba(159, 224, 184, 0.08);
  padding: 0.08em 0.36em;
  border-radius: 6px;
  overflow-wrap: break-word;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 4.4vw, 40px); text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 12px auto 0; max-width: 620px; }

main > section { max-width: var(--max); margin: 0 auto; padding: 88px 16px 0; }

/* nav */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  width: min(var(--max), calc(100% - 24px));
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 18px;
  background: rgba(21, 26, 34, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 650; text-decoration: none;
  border: 1px solid var(--accent);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }

/* hero */
.hero { padding-top: 140px !important; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 0 18px;
  color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(36px, 7vw, 68px); max-width: 860px; margin: 0 auto; }
.lede { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 700px; margin: 22px auto 0; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-video { margin: 52px auto 0; }
.hero-video video {
  width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero-video figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.cmd {
  margin: 28px auto 0; max-width: 760px;
  padding: 14px 18px; text-align: left;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  color: var(--code); font-size: 14px;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.cmd .p { color: var(--muted); user-select: none; }

/* strip */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding-top: 56px !important; color: var(--muted); }
.strip > span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.strip li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--text); font-size: 15px; }

/* rules */
.cards { display: grid; gap: 16px; margin-top: 36px; }
.cards.five { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* tour */
.tour h2 { margin-bottom: 40px; }
.tour-item {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: center;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.tour-item.flip .tour-text { order: 2; }
.tour-item video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; border-radius: 14px; border: 1px solid var(--line); }
.tour-text h3 { font-size: 26px; margin-bottom: 12px; }
.tour-text p { color: var(--muted); margin: 0; }
.step-tag { font-family: var(--mono); color: var(--accent) !important; font-size: 14px; margin-bottom: 8px !important; }

/* how */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps h3 { font-size: 22px; margin: 14px 0 10px; }
.steps p { margin: 0; color: var(--muted); }
.num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
}

/* explore grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 36px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tile video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.tile div { padding: 12px 14px 14px; }
.tile h3 { font-family: var(--mono); font-size: 14px; color: var(--code); font-weight: 600; letter-spacing: 0; }
.tile p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* faq */
.faq { max-width: 780px !important; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 4px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* cta */
.cta { text-align: center; }
.cta > * { margin-left: auto; margin-right: auto; }
.cta {
  background: radial-gradient(120% 140% at 50% 0%, #2a2216 0%, var(--panel) 55%);
  border: 1px solid var(--line); border-radius: 28px;
  margin-top: 96px !important; padding: 56px 24px !important;
  width: min(var(--max), calc(100% - 32px));
}
.cta h2 { margin-top: 18px; }
.cta p { color: var(--muted); max-width: 520px; margin: 14px auto 28px; }

/* chips */
.chips { text-align: center; }
.chips h2 { font-size: 22px; color: var(--muted); font-weight: 600; }
.chips ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 15px; }

/* footer */
.foot {
  max-width: var(--max); margin: 96px auto 0; padding: 28px 16px 40px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: var(--muted); font-size: 15px;
}
.foot p { margin: 0; }
.foot nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--text); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  main > section { padding-top: 64px; }
  .hero { padding-top: 112px !important; }
  .tour-item { grid-template-columns: 1fr; gap: 18px; }
  .tour-item.flip .tour-text { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .foot nav { margin-left: 0; }
}
