:root {
  --bg: #04090d;
  --bg-soft: #071219;
  --panel: #091820;
  --panel-2: #0c2029;
  --line: #17333f;
  --line-bright: #235367;
  --text: #e5f3f7;
  --muted: #7d9ba7;
  --green: #52ff8a;
  --green-deep: #0d6e38;
  --cyan: #55caff;
  --yellow: #ffd65e;
  --danger: #ff6b6b;
  --max: 1180px;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 0%, rgba(55, 161, 194, .08), transparent 32rem),
    var(--bg);
  font-family: var(--sans);
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(rgba(107, 204, 235, .15) 1px, transparent 1px);
  background-size: 100% 4px;
  z-index: 99;
}
a { color: inherit; }
code, pre, .eyebrow, .brand, .build-panel, .hero-meta, .terminal-card, .footer-meta { font-family: var(--mono); }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--green);
  color: #021108;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(55, 108, 127, .4);
  background: rgba(4, 9, 13, .88);
  backdrop-filter: blur(14px);
}
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-weight: 900; letter-spacing: .06em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--green); color: var(--green); transform: rotate(45deg); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .92rem; color: #a9c1ca; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-cta { border: 1px solid var(--line-bright); padding: 9px 13px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--panel); padding: 10px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--text); }
.mobile-nav { display: none; }

.hero { position: relative; overflow: hidden; padding: 104px 0 88px; border-bottom: 1px solid var(--line); }
.hero-grid, .download-grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(56, 139, 165, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 139, 165, .22) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(80px); opacity: .14; }
.hero-glow-one { width: 480px; height: 480px; background: var(--green); right: -180px; top: -160px; }
.hero-glow-two { width: 340px; height: 340px; background: var(--cyan); left: -170px; bottom: -100px; }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 16px; color: var(--cyan); font-size: .78rem; font-weight: 800; letter-spacing: .11em; }
.status-dot, .pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); margin-right: 8px; }
h1, h2, h3 { margin-top: 0; letter-spacing: -.03em; line-height: 1.05; }
h1 { font-size: clamp(3.1rem, 7vw, 6.6rem); margin-bottom: 28px; max-width: 860px; }
h1 span { color: var(--green); text-shadow: 0 0 34px rgba(82,255,138,.16); }
.hero-lede { max-width: 660px; color: #b4cbd3; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border: 1px solid transparent; text-decoration: none; font-family: var(--mono); font-size: .86rem; font-weight: 900; letter-spacing: .03em; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #031208; background: var(--green); border-color: var(--green); box-shadow: 0 0 28px rgba(82,255,138,.12); }
.button-secondary { background: rgba(10, 30, 39, .75); border-color: var(--line-bright); color: var(--text); }
.button-large { min-height: 58px; padding-inline: 28px; }
.button.is-disabled { cursor: not-allowed; color: #6f8b96; background: #0a1a21; border-color: #16333f; box-shadow: none; transform: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; }
.hero-meta div { display: grid; gap: 2px; border-left: 1px solid var(--line-bright); padding-left: 12px; }
.hero-meta strong { color: var(--text); font-size: .98rem; }
.hero-meta span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }

.terminal-card { border: 1px solid var(--line-bright); background: rgba(4, 13, 18, .9); box-shadow: 0 28px 70px rgba(0,0,0,.38); }
.terminal-topbar { min-height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .7rem; }
.terminal-topbar span { width: 8px; height: 8px; border: 1px solid #39545d; border-radius: 50%; }
.terminal-topbar b { margin-left: auto; font-weight: 500; }
.terminal-card pre { margin: 0; min-height: 235px; padding: 29px 26px; color: #d9e6ea; font-size: clamp(.85rem, 1.6vw, 1.06rem); line-height: 1.75; overflow-x: auto; }
.code-muted { color: #54717b; }
.code-var { color: #8ad6ff; }
.code-bool, .code-keyword { color: #d29bff; }
.code-fn { color: #66ff9b; }
.code-string { color: #f7df79; }
.terminal-response { display: flex; align-items: flex-start; gap: 10px; padding: 18px 22px; border-top: 1px solid var(--line); background: rgba(25, 94, 56, .1); }
.terminal-response .pulse-dot { margin-top: 7px; flex: 0 0 auto; }
.terminal-response div { display: grid; }
.terminal-response small { color: var(--muted); font-size: .66rem; }
.terminal-response strong { color: var(--green); font-size: .86rem; }
.terminal-response span { color: #9cb3bb; font-size: .72rem; }

.proof-strip { border-bottom: 1px solid var(--line); background: #061017; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 116px; display: grid; align-content: center; border-right: 1px solid var(--line); padding: 16px 24px; }
.proof-grid div:first-child { border-left: 1px solid var(--line); }
.proof-grid span { color: var(--cyan); font-family: var(--mono); font-size: .68rem; }
.proof-grid strong { margin: 4px 0 2px; }
.proof-grid small { color: var(--muted); }

.section { padding: 98px 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.section-heading.narrow { max-width: 760px; }
.section h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4.5vw, 4.3rem); }
.section-heading p:not(.eyebrow), .screenshot-copy > p:not(.eyebrow), .build-copy > p:not(.eyebrow), .download-card p { color: #9eb6bf; font-size: 1.05rem; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step-card { min-height: 280px; padding: 29px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 29, 37, .56), rgba(4, 12, 17, .35)); }
.step-number { color: var(--cyan); font-family: var(--mono); font-size: .73rem; }
.step-card h3 { margin: 56px 0 12px; font-size: 1.45rem; }
.step-card p { color: #8da7b0; }

.screenshot-section { background: linear-gradient(180deg, #061119, #04090d); }
.screenshot-layout { display: grid; grid-template-columns: .75fr 1.35fr; gap: 56px; align-items: center; }
.screenshot-copy h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.feature-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 11px; color: #a9c0c8; }
.feature-list li { position: relative; padding-left: 24px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-family: var(--mono); font-weight: 900; }
.screen-frame { border: 1px solid var(--line-bright); background: #020709; padding: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.screen-label { display: flex; justify-content: space-between; gap: 20px; padding: 6px 4px 10px; color: #698995; font-family: var(--mono); font-size: .64rem; }
.game-shot figcaption { margin-top: 10px; color: #5f7d88; font-size: .76rem; }

.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.skill-grid article { min-height: 230px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skill-grid article > span { color: var(--green); font-family: var(--mono); font-size: .72rem; font-weight: 900; letter-spacing: .05em; }
.skill-grid h3 { margin: 42px 0 10px; font-size: 1.32rem; }
.skill-grid p { margin: 0; color: #839ea8; }
.skill-grid code { color: var(--cyan); }

.beginner-section { background: #061117; }
.beginner-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; }
.beginner-layout h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); }
.support-ladder { border-top: 1px solid var(--line); }
.support-ladder > div { display: flex; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.support-ladder b { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; border: 1px solid var(--line-bright); color: var(--cyan); font-family: var(--mono); }
.support-ladder span { display: grid; }
.support-ladder strong { font-family: var(--mono); color: var(--text); font-size: .86rem; }
.support-ladder small { color: var(--muted); }

.build-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.build-copy h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.build-panel { border-top: 1px solid var(--line-bright); }
.build-panel div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.build-panel span { color: #688590; font-size: .7rem; }
.build-panel strong { color: #cfe3e9; font-size: .8rem; }

.download-section { position: relative; overflow: hidden; padding-top: 80px; padding-bottom: 80px; }
.download-grid { mask-image: none; opacity: .14; }
.download-card { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; border: 1px solid var(--line-bright); padding: 44px; background: rgba(6, 20, 27, .9); }
.download-card h2 { margin-bottom: 12px; font-size: clamp(2.25rem, 4vw, 4rem); }
.download-action { display: grid; gap: 11px; text-align: center; }
.download-action small { color: #62808b; font-family: var(--mono); font-size: .7rem; }

.site-footer { padding: 48px 0 60px; }
.footer-layout { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand { margin-bottom: 12px; }
.footer-layout p { max-width: 560px; margin: 0; color: #6e8993; }
.footer-meta { display: grid; gap: 8px; align-content: start; color: #5f7a84; font-size: .67rem; }
.footer-meta b { color: #9bb5be; }

@media (max-width: 980px) {
  .hero-layout, .screenshot-layout, .beginner-layout, .build-layout, .download-card { grid-template-columns: 1fr; }
  .hero-layout { gap: 48px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(3) { border-left: 1px solid var(--line); }
  .download-action { text-align: left; justify-items: start; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-links { display: none; }
  .menu-button { display: block; }
  .mobile-nav { border-top: 1px solid var(--line); background: #061017; }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav a { min-height: 48px; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: #a6bec7; }
  .hero { padding-top: 74px; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-meta { gap: 18px; }
  .proof-grid, .steps-grid, .skill-grid { grid-template-columns: 1fr; }
  .proof-grid div, .proof-grid div:nth-child(3) { border-left: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .step-card { min-height: 220px; }
  .step-card h3 { margin-top: 30px; }
  .download-card { padding: 28px 20px; }
  .footer-layout { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
