:root { color-scheme: dark; --bg: #070c16; --text: #f3f6fc; --muted: #b4c0d3; --line: #2c3a4d; --green: #18e891; --cyan: #12cad6; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 'Segoe UI', Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #c18aff; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; background: var(--green); padding: 10px; color: #031c13; }
.skip-link:focus { top: 10px; }
header { min-height: 80px; padding: 16px 4%; display: flex; align-items: center; gap: 26px; border-bottom: 1px solid var(--line); background: #070c16; }
nav { display: flex; gap: 24px; margin-left: auto; }
nav a { color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--green); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 750; white-space: nowrap; }
.brand img { object-fit: contain; }
.menu-toggle { display: none; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; min-height: 44px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 24px; background: var(--green); color: #031c13; border: 0; border-radius: 8px; font-weight: 750; text-align: center; }
.button:hover { background: #77f4ba; }
.small { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.hero { min-height: 650px; display: flex; align-items: center; background: linear-gradient(90deg, rgba(7,12,22,.94), rgba(7,12,22,.68) 43%, rgba(7,12,22,.04) 75%), url('assets/hero.png') center/cover; }
.hero-content { width: 100%; max-width: 1440px; margin: auto; padding: 64px 5% 78px; }
.eyebrow { font-size: 14px; color: var(--green); font-weight: 750; letter-spacing: 0; }
.hero h1 { font-size: 80px; line-height: 1.05; margin: 18px 0; overflow-wrap: anywhere; }
.hero h2 { max-width: 620px; font-size: 32px; line-height: 1.25; margin: 12px 0; }
.hero-content > p:not(.eyebrow):not(.caption) { max-width: 535px; font-size: 20px; color: #e3eaf6; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.secondary { border-bottom: 1px solid var(--muted); }
.secondary:hover { color: var(--green); }
.caption { font-size: 14px; color: var(--muted); }
.hero .caption { max-width: 500px; }
.section { max-width: 1240px; margin: auto; padding: 80px 40px; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 36px; }
h2 { font-size: 42px; line-height: 1.2; margin: 10px 0 18px; }
h3 { font-size: 22px; line-height: 1.3; margin: 12px 0; }
p { color: var(--muted); }
.intro, .safety { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.intro > div > p:first-child { margin-top: 0; }
.preview-band { background: #0b1422; border-block: 1px solid #1d2d40; }
.screenshot-button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; }
.screenshot { display: block; width: 100%; height: auto; border: 1px solid #42546c; border-radius: 8px; }
.preview-caption { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; margin-top: 42px; }
.steps article { border-top: 1px solid var(--line); padding-top: 20px; }
.steps span { color: var(--green); font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px 40px; }
.features article { border-top: 2px solid var(--cyan); padding: 16px 0; }
.features article:nth-child(3n + 2) { border-color: var(--green); }
.features article:nth-child(3n) { border-color: #bd8cf5; }
.crafty-band { background: #101222; border-block: 1px solid #332348; }
.crafty { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.crafty-intro > img { display: block; width: 112px; height: 112px; margin-bottom: 24px; }
.purple { color: #cf9bff; }
.guide { padding: 28px; background: #101a2a; border: 1px solid #63417b; border-radius: 8px; min-height: 444px; }
.guide-header { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #334155; }
.guide-name { color: #cf9bff; font-weight: 750; margin: 0; }
#guide-message { color: var(--text); min-height: 72px; font-size: 20px; line-height: 1.55; font-weight: 500; margin: 24px 0; }
#guide-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#guide-options button { padding: 12px; min-height: 56px; background: #1e293b; color: var(--text); border: 1px solid #40516a; border-radius: 6px; text-align: left; font-size: 16px; }
#guide-options button:hover { border-color: #c391ff; background: #253249; }
.reset { margin-top: 22px; padding: 8px 0; background: transparent; border: 0; color: #d7b6ff; text-decoration: underline; }
.safety-list article { border-top: 1px solid var(--line); padding: 8px 0 16px; }
.safety-list article:first-child { border-top-color: var(--green); }
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 650; padding-right: 20px; }
.faq details > p { margin-bottom: 0; }
.creator-band { background: #0b1422; border-top: 1px solid var(--line); }
.creator-story { max-width: 840px; }
.creator-story > p { margin: 24px 0; }
.creator-story .eyebrow { margin-top: 0; }
.story-lead { font-size: 22px; line-height: 1.55; color: var(--text); }
.creator-story blockquote { margin: 30px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--green); font-size: 28px; line-height: 1.4; color: var(--text); }
.creator-story .story-signature { color: var(--green); font-weight: 650; }
.download { text-align: center; border-top: 1px solid var(--line); }
.download > img { display: block; margin: auto auto 24px; }
.download .actions { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 36px 5%; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
footer > span { margin-right: auto; }
footer p { width: 100%; margin: 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.text-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.footer-links a:hover, .text-link:hover { text-decoration: underline; }
dialog { width: min(560px,calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 32px; border: 1px solid #475d72; border-radius: 8px; background: #101929; color: var(--text); }
dialog::backdrop { background: #000c; backdrop-filter: blur(5px); }
dialog h2 { font-size: 30px; }
dialog .button { margin-top: 16px; width: 100%; }
.download-meta { text-align: center; }
.release-notes { display: inline-block; margin-top: 8px; color: var(--muted); text-decoration: underline; font-size: 14px; }
#download-status { padding: 12px 0; border-block: 1px solid var(--line); }
dialog form { display: flex; justify-content: flex-end; }
.close { background: #1e293b; border: 1px solid #40516a; color: white; font-size: 14px; padding: 8px 12px; border-radius: 6px; min-height: 44px; }
#preview-dialog { width: min(1480px,calc(100% - 24px)); padding: 12px; }
#preview-dialog img { width: 100%; height: auto; display: block; margin-top: 12px; }
@media(min-width:1600px) { .hero { min-height: 690px; } }
@media(max-width:1100px) { header { gap: 18px; } nav { gap: 16px; } .brand { font-size: 20px; } .header-download { display: none; } .intro,.safety,.crafty { gap: 40px; } }
@media(max-width:800px) { .hero h1 { font-size: 64px; } .features { grid-template-columns: 1fr 1fr; } .crafty { grid-template-columns: 1fr; } .crafty-intro { max-width: 600px; } .hero { min-height: 610px; } .faq { gap: 30px; } .intro,.safety { grid-template-columns: 1fr; gap: 20px; } .guide { min-height: 410px; } }
@media(max-width:640px) {
  header { padding: 12px 20px; gap: 12px; flex-wrap: wrap; min-height: 70px; }
  .brand { font-size: 20px; } .menu-toggle { display: block; margin-left: auto; }
  nav { display: none; width: 100%; margin: 0; gap: 0; }
  nav.is-open { display: flex; flex-direction: column; }
  nav a { padding: 12px 0; font-size: 16px; }
  .hero { min-height: 600px; background-position: 62% center; background-image: linear-gradient(90deg,rgba(7,12,22,.9),rgba(7,12,22,.67)),url('assets/hero.png'); }
  .hero-content { padding: 52px 22px 60px; }
  .hero h1 { font-size: 48px; } .hero h2 { font-size: 26px; }
  .hero-content > p:not(.eyebrow):not(.caption) { font-size: 18px; }
  .section { padding: 52px 22px; } h2 { font-size: 32px; }
  .steps,.faq { grid-template-columns: 1fr; gap: 20px; } .features { gap: 20px; }
  .features h3 { font-size: 20px; } .crafty-intro > img { width: 96px; height: 96px; }
  .guide { padding: 20px; min-height: 470px; } #guide-options { grid-template-columns: 1fr; } #guide-message { min-height: 64px; }
  footer { gap: 18px; } footer > span { width: 100%; } .actions { gap: 20px; }
  .hero .button { width: 100%; } dialog { padding: 24px; }
}
@media(max-width:360px) { .hero h1 { font-size: 42px; } .features { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
