:root {
  --bg: #061a12;
  --bg-2: #09251a;
  --panel: #0c2c1f;
  --panel-2: #103726;
  --line: #1b5a3e;
  --line-bright: #4ba966;
  --lime: #b9ff37;
  --lime-2: #78e84d;
  --mint: #d8ffad;
  --cream: #f8f6e8;
  --muted: #a9c2b2;
  --gold: #f1c45b;
  --purple: #4f2475;
  --pink: #f03f87;
  --danger: #ff645c;
  --shadow: #02100b;
  --max: 1180px;
  --radius: 18px;
  --hard-shadow: 0 8px 0 rgba(1, 14, 9, 0.74);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    linear-gradient(rgba(113, 255, 145, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 255, 145, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 15% 5%, rgba(122, 232, 77, 0.13), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(79, 36, 117, 0.15), transparent 26rem),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99;
  padding: 10px 14px;
  color: #061a12;
  background: var(--lime);
  transform: translateY(-180%);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(98, 221, 128, 0.18);
  background: rgba(6, 26, 18, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 14px;
  height: 14px;
  background: var(--lime);
  box-shadow: 5px 0 0 #55c849, 0 5px 0 #8cf060;
}

.nav-links {
  display: none;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--lime);
}

.hero {
  position: relative;
  padding: 58px 0 76px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(185, 255, 55, 0.14);
  transform: rotate(18deg);
}

.hero::before {
  top: 9%;
  left: -90px;
}

.hero::after {
  right: -100px;
  bottom: 12%;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.logo-plate {
  width: clamp(150px, 24vw, 260px);
  margin: 0 auto 18px;
}


.logo-plate img {
  width: 100%;
  image-rendering: auto;
}


h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 8vw, 4.7rem);
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 720px;
  margin: 0 0 14px;
  color: #f8ffe9;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 750;
  line-height: 1.4;
}

.hero-note {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.play-button {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  color: #061a12;
  background: var(--lime);
  border: 2px solid #dfff78;
  border-radius: 12px;
  box-shadow: 0 5px 0 #378a35;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.play-button:hover,
.play-button:focus-visible {
  transform: translateY(-2px);
  background: #c8ff59;
  box-shadow: 0 7px 0 #378a35;
}

.play-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #378a35;
}

.play-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.play-icon svg {
  width: 100%;
  height: 100%;
}

.play-button small,
.play-button strong {
  display: block;
}

.play-button small {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.play-button strong {
  font-size: 1rem;
  line-height: 1.05;
}

.text-link {
  color: var(--cream);
  font-weight: 850;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.hero-chips {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.hero-chips li {
  padding: 8px 11px;
  color: var(--mint);
  background: rgba(16, 55, 38, 0.72);
  border: 1px solid rgba(110, 225, 127, 0.28);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 330px);
  padding: 10px;
  background: linear-gradient(145deg, #1f2723, #060a08 70%);
  border: 1px solid #536159;
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36), 0 8px 0 rgba(0, 0, 0, 0.42);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #050807;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px #262e2a;
}

.phone-frame img {
  width: 100%;
  border-radius: 25px;
}

.hero-phone {
  width: min(78vw, 350px);
  transform: rotate(1.5deg);
}

.snake-accent {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: min(78%, 420px);
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.pixel-orbit {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 5px solid var(--lime);
  opacity: 0.75;
}

.orbit-one {
  top: 8%;
  right: 8%;
}

.orbit-two {
  left: 7%;
  bottom: 18%;
  width: 14px;
  height: 14px;
  border-color: var(--pink);
}

section {
  scroll-margin-top: 86px;
}

.item-strip,
.features,
.screenshots,
.about,
.download {
  padding: 72px 0;
}

.item-strip {
  border-block: 1px solid rgba(107, 226, 133, 0.12);
  background: rgba(9, 37, 26, 0.7);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-copy h2,
.download-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 6vw, 3.65rem);
  letter-spacing: -0.045em;
}

.section-heading > p:not(.eyebrow),
.split-heading > p,
.download-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.compact-heading {
  margin-bottom: 24px;
}

.item-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.item-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(16, 55, 38, 0.95), rgba(10, 42, 29, 0.95));
  border: 1px solid rgba(120, 232, 77, 0.26);
  border-radius: 14px;
  box-shadow: 0 5px 0 rgba(1, 14, 9, 0.42);
}

.item-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 44, 31, 0.18);
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(12, 44, 31, 0.05);
}

.item-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.item-card h3 {
  margin: 0 0 3px;
  color: var(--cream);
  font-size: 1rem;
}

.item-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.features {
  position: relative;
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(16, 55, 38, 0.9), rgba(8, 33, 23, 0.97));
  border: 1px solid rgba(106, 222, 129, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 7px 0 rgba(2, 16, 11, 0.55);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 84px;
  height: 84px;
  background: rgba(185, 255, 55, 0.05);
  transform: rotate(45deg);
}

.feature-index {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
  font-size: 0.78rem;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.screenshots {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 26, 18, 0), rgba(11, 45, 31, 0.7)),
    radial-gradient(circle at 90% 15%, rgba(240, 63, 135, 0.08), transparent 22rem);
}

.split-heading {
  max-width: none;
  display: grid;
  gap: 12px;
}

.shot-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 80vw);
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-bright) var(--panel);
}

.shot-card {
  margin: 0;
  min-width: 0;
  scroll-snap-align: start;
}

.shot-card .phone-frame {
  width: 100%;
  max-width: none;
}

.shot-card figcaption {
  padding: 18px 5px 0;
}

.shot-card figcaption strong,
.shot-card figcaption span {
  display: block;
}

.shot-card figcaption strong {
  color: var(--cream);
  font-size: 1.02rem;
}

.shot-card figcaption span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.about {
  border-top: 1px solid rgba(105, 223, 132, 0.1);
}

.about-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.about-badge {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--lime);
  background:
    linear-gradient(rgba(185, 255, 55, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 255, 55, 0.06) 1px, transparent 1px),
    var(--panel);
  background-size: 24px 24px;
  border: 1px solid rgba(120, 232, 77, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--hard-shadow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.45rem, 8vw, 2.6rem);
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0.08em;
}

.pixel-heart {
  color: var(--pink);
  font-size: 3.2rem;
  line-height: 1;
  text-shadow: 5px 5px 0 #280d39;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-copy .about-signoff {
  margin-top: 24px;
  color: var(--mint);
  font-weight: 900;
}

.download {
  padding-top: 32px;
  padding-bottom: 84px;
}

.download-panel {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 6vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 15%, rgba(185, 255, 55, 0.14), transparent 18rem),
    linear-gradient(145deg, #103726, #0a2a1d);
  border: 1px solid rgba(116, 226, 135, 0.36);
  border-radius: 24px;
  box-shadow: 0 10px 0 rgba(1, 14, 9, 0.65);
}

.download-panel::before {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border: 22px solid rgba(185, 255, 55, 0.07);
  transform: rotate(45deg);
}

.download-copy {
  min-width: 0;
  max-width: 740px;
}

.play-button-large {
  width: fit-content;
}

.site-footer {
  padding: 42px 0 22px;
  color: var(--muted);
  background: #04110c;
  border-top: 1px solid rgba(108, 221, 132, 0.14);
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.footer-title {
  color: var(--cream);
  font-size: 1.05rem;
}

.footer-grid p {
  margin: 7px 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  width: fit-content;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(117, 219, 139, 0.09);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 560px) {
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot-gallery {
    grid-auto-columns: minmax(260px, 48vw);
  }
}

@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  .split-heading {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }

  .split-heading > p {
    max-width: 430px;
    justify-self: end;
    text-align: right;
  }

  .about-grid {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer-links {
    align-items: flex-end;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 78px 0 100px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: 68px;
  }

  .hero-visual {
    min-height: 650px;
  }

  .hero-phone {
    width: min(100%, 360px);
  }

  .item-strip,
  .features,
  .screenshots,
  .about,
  .download {
    padding-block: 92px;
  }

  .item-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shot-gallery {
    grid-auto-flow: initial;
    grid-auto-columns: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    gap: 22px;
  }

  .download-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
