:root {
  --forest: #173d2c;
  --forest-dark: #0a251c;
  --forest-soft: #dcebdc;
  --leaf: #68a63f;
  --sky: #2e7fd8;
  --mower: #df4935;
  --sun: #f2c94c;
  --cream: #f7f4e8;
  --paper: #fffef9;
  --ink: #18221d;
  --muted: #5b6961;
  --line: #cbd8cf;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 37, 28, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--sun);
  color: var(--forest-dark);
  font-weight: 800;
}

.skip-link:focus { top: 12px; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 37, 28, 0.97);
  border-bottom: 3px solid var(--sun);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); }

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  background: var(--sun);
}

.nav-links .download-link {
  margin-left: 8px;
  padding-inline: 18px;
  color: var(--forest-dark);
  background: var(--sun);
  border-radius: 6px;
}

.nav-links .download-link::after { display: none; }
.nav-links .download-link:hover { background: #ffe07d; color: var(--forest-dark); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
  color: var(--white);
  background: transparent;
  font-size: 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 850;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}

h1 { margin-bottom: 24px; font-size: 76px; }
h2 { margin-bottom: 20px; font-size: 52px; }
h3 { margin-bottom: 10px; font-size: 25px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid var(--sun);
  border-radius: 6px;
  color: var(--forest-dark);
  background: var(--sun);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.button:hover { background: #ffe17b; border-color: #ffe17b; }
.button:active { transform: translateY(1px); }
.button.secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.7); }
.button.secondary:hover { background: rgba(255,255,255,.1); }
.button.dark { color: var(--white); background: var(--forest); border-color: var(--forest); }
.button.dark:hover { background: var(--forest-dark); border-color: var(--forest-dark); }
.button[disabled] { cursor: not-allowed; opacity: .55; transform: none; }

.band { padding: 104px 0; }
.band.compact { padding: 72px 0; }
.band.cream { background: var(--cream); }
.band.green { color: var(--white); background: var(--forest); }
.band.dark { color: var(--white); background: var(--forest-dark); }
.band.skyline { background: linear-gradient(180deg, #eaf5f7 0%, #fffef9 100%); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-head > div { max-width: 700px; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.green .section-head p:last-child, .dark .section-head p:last-child { color: rgba(255,255,255,.72); }

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.split.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.split.reverse .split-media { order: -1; }
.lede { color: var(--muted); font-size: 18px; }

.story-media {
  min-height: 480px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-media img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-height: 225px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.feature:last-child { border-right: 0; }
.feature-number { color: var(--mower); font-weight: 900; }
.feature p { margin-bottom: 0; color: var(--muted); }

.route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}

.route article {
  position: relative;
  padding: 30px 28px 34px;
  border-top: 1px solid rgba(255,255,255,.22);
  border-right: 1px solid rgba(255,255,255,.22);
  counter-increment: step;
}

.route article:last-child { border-right: 0; }
.route article::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--sun);
  font-weight: 900;
}
.route p { margin-bottom: 0; color: rgba(255,255,255,.68); }

.screenshot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(390px, 47%);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 4px 4px 22px;
}

.screenshot-strip figure { margin: 0; scroll-snap-align: start; }
.screenshot-strip img {
  width: 100%;
  aspect-ratio: 20 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(10,37,28,.12);
}

.screenshot-strip figcaption { padding-top: 12px; color: var(--muted); font-size: 14px; }
.swipe-note { margin: 18px 0 0; color: var(--forest); font-weight: 800; }
.swipe-note span { display: inline-block; margin-left: 8px; color: var(--mower); }
.dark .screenshot-strip figcaption { color: rgba(255,255,255,.72); }
.dark .swipe-note { color: var(--white); }
.dark .swipe-note span { color: var(--sun); }

.page-hero {
  padding: 104px 0 80px;
  background: var(--forest-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: 64px; }
.page-hero p:not(.eyebrow) { max-width: 700px; margin: 0; color: var(--muted); font-size: 18px; }

.game-intro {
  background:
    linear-gradient(90deg, rgba(10,37,28,.94) 0%, rgba(10,37,28,.72) 45%, rgba(10,37,28,.1) 80%),
    url("assets/highlight-2.png") center / cover no-repeat;
  color: var(--white);
}

.game-intro .page-hero p:not(.eyebrow) { color: rgba(255,255,255,.8); }
.game-intro.page-hero { padding: 128px 0 104px; border: 0; }

.detail-list { border-top: 1px solid var(--line); }
.detail-list article {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.detail-list strong { color: var(--forest); text-transform: uppercase; font-size: 13px; }
.detail-list p { margin: 0; color: var(--muted); }

.download-band { background: var(--forest-soft); }
.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 44px;
}
.download-panel h2 { margin-bottom: 12px; }
.download-panel p { margin: 0; color: var(--muted); }
.download-meta { margin-top: 14px !important; font-size: 13px; }

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 108px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}
.legal-toc strong { display: block; margin-bottom: 10px; font-size: 13px; text-transform: uppercase; }
.legal-toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal-toc a:hover { color: var(--forest); text-decoration: underline; }
.legal-toc a[aria-current="location"] { color: var(--forest); font-weight: 800; background: var(--forest-soft); border-radius: 6px; box-shadow: -8px 0 0 var(--forest-soft), 8px 0 0 var(--forest-soft); }

.legal-content { max-width: 780px; }
.legal-content section { padding: 0 0 48px; }
.legal-content section.is-current { background: #edf4e6; border-radius: 12px; box-shadow: 0 0 0 14px #edf4e6; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.legal-content h2 { font-size: 38px; }
.legal-content h3 { margin-top: 28px; font-family: inherit; font-size: 19px; line-height: 1.35; }
.legal-content p, .legal-content li { color: #3e4b44; }
.dot-list { padding: 0; list-style: none; }
.dot-list li { position: relative; padding: 5px 0 5px 24px; }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}
.dot-list li:nth-child(3n+2)::before { background: var(--sky); }
.dot-list li:nth-child(3n)::before { background: var(--mower); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
  gap: 72px;
  align-items: start;
}
.contact-copy { position: sticky; top: 118px; }
.contact-copy h2 { font-size: 48px; }
.contact-copy ul { padding-left: 20px; color: var(--muted); }
.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 7px; font-weight: 800; }
.field label span { color: var(--mower); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #9fb2a7;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}
.field input, .field select { min-height: 48px; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(104,166,63,.28); border-color: var(--forest); }
.field-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; color: var(--muted); font-size: 13px; }
.field-error { min-height: 22px; margin: 5px 0 0; color: #a82d21; font-size: 13px; font-weight: 750; }
.field [aria-invalid="true"] { border-color: #a82d21; box-shadow: 0 0 0 2px rgba(168,45,33,.15); }
.form-note { margin: 18px 0; color: var(--muted); font-size: 13px; }
.form-status { margin-top: 14px; font-weight: 750; }
.contact-card .field { margin-bottom: 16px; }
.contact-card .field label { margin-bottom: 6px; }
.contact-card .field textarea { min-height: 120px; }
.contact-card .field-error:empty, .contact-card .form-status:empty { display: none; }
.contact-card .form-note { margin: 14px 0 16px; }

.site-footer {
  padding: 62px 0 26px;
  color: rgba(255,255,255,.76);
  background: var(--forest-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 54px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 850; }
.footer-brand img { width: 48px; height: 48px; border-radius: 8px; }
.site-footer h3 { margin: 0 0 14px; color: var(--sun); font-family: inherit; font-size: 12px; text-transform: uppercase; }
.site-footer a { display: block; padding: 4px 0; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { max-width: 320px; font-size: 14px; }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.17); font-size: 13px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(4,14,10,.9);
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 84vh; border-radius: 8px; }
.lightbox button {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

/* Native spider fallback remains available until the following character is ready. */
@media (hover: hover) and (pointer: fine) {
  html.spider-cursor-enabled,
  html.spider-cursor-enabled body,
  html.spider-cursor-enabled body * {
    cursor: url("assets/spider-cursor.svg?v=20261021-1") 16 20, auto !important;
  }
  html.spider-cursor-active,
  html.spider-cursor-active body,
  html.spider-cursor-active body * { cursor: none !important; }
  html.spider-cursor-enabled body :is(textarea, [contenteditable]:not([contenteditable="false"]), input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"])) {
    cursor: text !important;
  }
  html.spider-cursor-enabled body :is(iframe, select, input[type="range"], input[type="color"]) { cursor: auto !important; }
  html.spider-cursor-enabled body :is(:disabled, [aria-disabled="true"]) { cursor: not-allowed !important; }
}
.spider-cursor-layer { position: fixed; inset: 0; z-index: 10000; pointer-events: none; overflow: hidden; user-select: none; }
.spider-cursor-layer[hidden] { display: none; }
.spider-cursor-layer * { pointer-events: none; }
.spider-cursor-silk { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.spider-pointer { position: absolute; top: 0; left: 0; width: 32px; height: 40px; visibility: hidden; will-change: transform; }
.spider-cursor-active .spider-pointer.is-moving { visibility: visible; }
.spider-pointer img { width: 32px; height: 40px; max-width: none; transform-origin: 16px 20px; }
.spider-pointer.is-hovering img { filter: drop-shadow(0 0 3px #f2c94c90); }
.spider-trail-shadow, .spider-trail-thread { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spider-trail-shadow { stroke: #173d2c; stroke-width: 2.5; stroke-opacity: .45; }
.spider-trail-thread { stroke: #fff5d8; stroke-width: 1; }
.spider-web-shadow, .spider-web-thread { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spider-web-shadow { stroke: #173d2c; stroke-width: 1.9; stroke-opacity: .55; }
.spider-web-thread { stroke: #fff5d8; stroke-width: .8; }
.spider-web-bloom { animation: spider-web-stick 1400ms ease-out both; }
@keyframes spider-web-stick {
  0% { opacity: 0; transform: scale(.2) rotate(-10deg); }
  14% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  24%, 72% { opacity: 1; transform: scale(1) rotate(0); }
  100% { opacity: 0; transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .spider-web-bloom { animation: none; }
  .spider-trail-shadow, .spider-trail-thread { display: none; }
}
@media (forced-colors: active), (hover: none), (pointer: coarse) {
  .spider-cursor-layer { display: none; }
}

@media (max-width: 900px) {
  h1 { font-size: 58px; }
  h2 { font-size: 44px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed;
    inset: 79px 0 auto;
    display: none;
    padding: 18px 20px 26px;
    background: var(--forest-dark);
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 12px; }
  .nav-links .download-link { margin: 8px 0 0; text-align: center; }
  .split, .split.reverse, .download-panel, .contact-layout, .legal-layout { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-copy, .legal-toc { position: static; }
  .legal-toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 22px; }
  .legal-toc strong { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .route { grid-template-columns: repeat(2, 1fr); }
  .route article:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  h1, .page-hero h1 { font-size: 44px; }
  h2, .contact-copy h2 { font-size: 36px; }
  .band { padding: 72px 0; }
  .page-hero { padding: 74px 0 58px; }
  .section-head { display: block; }
  .section-head .button { margin-top: 18px; }
  .route { grid-template-columns: 1fr; }
  .route article { border-right: 0; }
  .screenshot-strip { grid-auto-columns: 86%; }
  .detail-list article { grid-template-columns: 1fr; gap: 4px; }
  .contact-layout { gap: 42px; }
  .contact-card { padding: 22px; }
  .legal-toc { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
