:root { color-scheme: dark; --bg: #10171d; --text: #e8f0f4; --muted: #a6b4bc; --line: #2a3740; --amber: #f6b94d; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 6px; }
.skip-link { position: absolute; left: 20px; top: -80px; padding: 10px 18px; background: var(--amber); color: var(--bg); z-index: 2; }
.skip-link:focus { top: 15px; }
.site-header, main, footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; font-size: 19px; letter-spacing: .13em; }
.brand-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--amber); border-radius: 6px; color: var(--amber); font-size: 23px; letter-spacing: 0; }
nav { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
nav a:hover, footer a:hover { color: var(--amber); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; padding: 90px 0 100px; }
.eyebrow { margin: 0 0 21px; color: var(--amber); text-transform: uppercase; font-size: 11px; font-weight: 750; letter-spacing: .17em; }
.eyebrow > span { display: inline-block; width: 7px; height: 7px; background: var(--amber); margin-right: 7px; border-radius: 50%; }
h1 { margin: 0; font-size: clamp(46px, 5.1vw, 66px); line-height: 1.08; letter-spacing: -.055em; font-weight: 800; }
h1 em { color: var(--amber); font-style: normal; }
.hero-description { max-width: 400px; margin: 25px 0 32px; font-size: 18px; color: var(--muted); }
.play-button { display: flex; align-items: center; justify-content: center; gap: 20px; width: min(310px, 100%); min-height: 82px; background: var(--amber); color: #172027; border: 0; border-radius: 8px; box-shadow: 0 5px 0 #986a25; font-size: 27px; font-weight: 850; letter-spacing: .1em; }
.play-button span { font-size: 22px; }
.play-button:hover { background: #ffca67; }
.play-button:active { transform: translateY(3px); box-shadow: 0 2px 0 #986a25; }
button:disabled { cursor: default; opacity: 1; }
.button-note { color: var(--muted); margin: 13px 0 0; font-size: 12px; }
.factory { overflow: hidden; background: #141f27; border: 1px solid #34434e; border-radius: 12px; box-shadow: 0 24px 70px #0004; transform: rotate(2deg); }
.factory-heading { display: flex; align-items: center; justify-content: space-between; padding: 15px 19px; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 650; letter-spacing: .15em; color: var(--muted); }
.live-dot, .signal { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #77d49b; }
.factory-board { display: block; width: 100%; height: auto; }
.component-letter { font: 800 19px system-ui, sans-serif; text-anchor: middle; }
.small-label { font: 600 11px system-ui, sans-serif; text-anchor: middle; letter-spacing: .03em; }
.belt-travel { animation: tread 1.8s linear infinite; }
@keyframes tread { to { stroke-dashoffset: -32; } }
.factory-caption { display: flex; align-items: center; gap: 9px; padding: 12px 19px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.game-section, .updates-section, .about-section { display: grid; grid-template-columns: .9fr 1.3fr; gap: 80px; border-top: 1px solid var(--line); padding: 60px 0; }
h2 { margin: 0; font-size: clamp(26px, 3vw, 35px); line-height: 1.2; letter-spacing: -.035em; }
.game-details p, .about-copy p { margin: 0 0 18px; color: var(--muted); }
.game-details p:first-child { color: var(--text); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.feature-tags span { font-size: 11px; color: #c5d0d6; border: 1px solid var(--line); padding: 5px 11px; border-radius: 4px; }
.updates-content > p { margin: 0 0 22px; color: var(--muted); }
.updates-form { max-width: 560px; }
.updates-form .formkit-fields { display: flex; align-items: end; gap: 12px; }
.updates-form .formkit-field { flex: 1; min-width: 0; }
.updates-form label { display: block; margin-bottom: 7px; color: var(--text); font-size: 13px; font-weight: 650; }
.updates-form input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #637a88; border-radius: 6px; background: #e8f0f4; color: #10171d; font: inherit; }
.updates-form input:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.updates-form .formkit-submit { min-height: 50px; padding: 12px 22px; border: 0; border-radius: 6px; background: var(--amber); color: var(--bg); font: inherit; font-weight: 750; cursor: pointer; }
.updates-form .formkit-submit:hover { background: #ffca67; }
.updates-form .formkit-alert:empty { display: none; }
.updates-form .formkit-alert { margin: 0 0 14px; padding: 10px 14px; border-radius: 6px; background: #4d2524; color: #fff; list-style: none; }
.updates-form .formkit-powered-by-convertkit-container { margin-top: 12px; color: var(--muted); font-size: 12px; }
.updates-form .formkit-powered-by-convertkit:hover { color: var(--amber); }
.about-copy .signature { color: var(--amber); }
.about-copy .disclosure { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.community { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: #19252d; padding: 36px; margin: 12px 0 60px; border: 1px solid var(--line); border-radius: 10px; }
.community .eyebrow { margin-bottom: 10px; }
.community p:not(.eyebrow):not(.button-note) { color: var(--muted); margin: 10px 0 0; }
.community-action { flex-shrink: 0; }
.discord-button { display: flex; align-items: center; gap: 28px; background: transparent; color: var(--text); border: 1px solid #637a88; border-radius: 6px; padding: 14px 20px; font-size: 14px; font-weight: 650; }
.discord-button:hover { border-color: var(--amber); color: var(--amber); }
footer { display: flex; align-items: center; gap: 25px; border-top: 1px solid var(--line); padding: 25px 0 35px; color: var(--muted); font-size: 12px; }
footer .brand { color: var(--text); font-size: 14px; }
footer > a:last-child { margin-left: auto; }
@media (max-width: 800px) {
  .hero { gap: 32px; padding: 65px 0; }
  h1 { font-size: 46px; }
  .hero-description { font-size: 16px; }
  .game-section, .updates-section, .about-section { gap: 35px; }
}
@media (max-width: 620px) {
  .site-header, main, footer { width: calc(100% - 40px); }
  .site-header { padding: 20px 0; }
  nav { gap: 12px; }
  .hero { grid-template-columns: 1fr; padding: 50px 0; gap: 40px; }
  h1 { font-size: clamp(43px, 10vw, 60px); }
  .factory { transform: none; }
  .game-section, .updates-section, .about-section { grid-template-columns: 1fr; padding: 40px 0; gap: 25px; }
  .updates-form .formkit-fields { align-items: stretch; flex-direction: column; }
  .updates-form .formkit-field, .updates-form .formkit-submit { width: 100%; }
  .section-heading .eyebrow { margin-bottom: 14px; }
  .community { align-items: flex-start; flex-direction: column; padding: 25px; margin-bottom: 40px; }
  footer { flex-wrap: wrap; gap: 14px 20px; }
  footer > a:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .belt-travel { animation: none; }
}
