:root {
  color-scheme: dark;
  --ink: #f6f3e8;
  --muted: #aab2a8;
  --night: #080d0a;
  --night-2: #0d1510;
  --panel: #121b14;
  --line: rgba(230, 242, 221, 0.14);
  --accent: #d8ff5f;
  --accent-2: #ffb84d;
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.28);
}

::selection {
  background: var(--accent);
  color: var(--night);
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

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

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--night);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), 1240px);
  min-height: 70px;
  margin: 16px auto 0;
  padding: 10px 12px 10px 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  background: rgba(8, 13, 10, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark__mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.34));
}

.wordmark__type {
  display: grid;
  line-height: 1;
}

.wordmark__kicker {
  color: var(--lime);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wordmark__title {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: rgba(246, 243, 232, 0.8);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.site-nav .nav-support {
  min-width: 104px;
  margin-left: 6px;
  background: var(--accent);
  color: var(--night);
  text-align: center;
  white-space: nowrap;
}

.site-nav .nav-support:hover,
.site-nav .nav-support:focus-visible {
  background: #e5ff8b;
  color: var(--night);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero__background,
.hero__grain {
  position: absolute;
  inset: 0;
}

.hero__background {
  z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(5, 9, 6, 0.18) 0%, rgba(5, 9, 6, 0.12) 40%, var(--night) 100%),
    linear-gradient(90deg, rgba(4, 8, 5, 0.68), rgba(4, 8, 5, 0.04) 58%),
    url("assets/forest-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: radial-gradient(circle at 76% 30%, rgba(255, 180, 55, 0.16), transparent 30%);
  mix-blend-mode: screen;
}

.hero__grain {
  z-index: -1;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

.hero__content {
  width: min(calc(100% - 40px), 1100px);
  padding: 120px 0 150px;
  text-align: center;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__logo {
  width: min(720px, 84vw);
  margin: 0 auto 72px;
  filter: drop-shadow(0 24px 35px rgba(0, 0, 0, 0.5));
}

.hero__lead {
  width: min(680px, 100%);
  margin: 0 auto 24px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(5, 10, 7, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  color: #fffdf4;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  text-shadow: none;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: var(--night);
  box-shadow: 0 12px 34px rgba(191, 235, 71, 0.2);
}

.button--primary:hover {
  background: #e5ff8b;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(6, 10, 7, 0.36);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(6, 10, 7, 0.62);
}

.hero__facts {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  gap: 9px;
}

.hero__facts span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 13, 10, 0.78);
  color: rgba(246, 243, 232, 0.76);
  font-size: 0.76rem;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  right: 30px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 243, 232, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  animation: arrow-bob 1.8s ease-in-out infinite;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 36px 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-heading > p:last-child,
.world__content > p,
.support__inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro {
  padding-top: 150px;
}

.feature-grid {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(170px, 0.58fr) minmax(260px, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: baseline;
  padding: 28px 8px;
  border-top: 1px solid var(--line);
  transition: padding-left 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  border-color: rgba(216, 255, 95, 0.3);
  padding-left: 18px;
}

.feature-card__number {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

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

.world {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
  width: min(calc(100% - 24px), 1360px);
  padding-top: 70px;
  padding-bottom: 150px;
}

.world__image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: #070b08;
  box-shadow: var(--shadow);
}

.world__image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 -140px 130px rgba(3, 7, 4, 0.7);
  pointer-events: none;
}

.world__image-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter 300ms ease;
}

.world__image-wrap:hover img {
  filter: saturate(1.06);
}

.image-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: rgba(246, 243, 232, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
}

.world__content h2 {
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.world__list {
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.world__list li {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.world__list strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.world__list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.world__footnote {
  margin-top: 24px !important;
  font-size: 0.78rem !important;
  font-style: italic;
}

.screenshots {
  width: min(calc(100% - 24px), 1360px);
  padding-top: 70px;
}

.screenshots__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.screenshots__heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.screenshots__heading h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #111811;
  box-shadow: var(--shadow);
}

.screenshot-card--wide {
  grid-column: 1 / -1;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #050806;
  transition: filter 300ms ease;
}

.screenshot-card:hover img {
  filter: saturate(1.08);
}

.screenshot-card figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  min-height: 118px;
  padding: 24px 26px 26px;
  border-top: 1px solid var(--line);
  background: #101711;
}

.screenshot-card figcaption strong {
  max-width: 360px;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.screenshot-card figcaption span {
  max-width: 340px;
  color: rgba(246, 243, 232, 0.72);
  font-size: 0.88rem;
  text-align: right;
}

.forest-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(calc(100% - 40px), var(--max));
  margin: 30px auto 0;
  padding: 26px 30px;
  border: 1px solid rgba(216, 255, 95, 0.5);
  border-radius: 20px;
  background: var(--accent);
  color: var(--night);
  transform: rotate(-0.45deg);
}

.forest-warning span {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.forest-warning p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-align: right;
}

.creator {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.creator__copy h2 {
  margin: 0 0 26px;
  font-size: clamp(2.7rem, 5.8vw, 5.2rem);
}

.creator__copy > p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.creator__signature {
  display: grid;
  gap: 5px;
  margin-top: 34px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.creator__signature span {
  color: rgba(246, 243, 232, 0.58);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.creator__signature strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.creator__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #050806;
  box-shadow: var(--shadow);
}

.creator__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.support {
  display: grid;
  min-height: 720px;
  place-items: center;
  text-align: center;
}

.support__inner {
  width: min(860px, 100%);
}

.support__inner h2 {
  margin: 0 auto 28px;
}

.support__inner > p {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.support__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 42px;
  padding: 8px 8px 8px 24px;
  border: 1px solid rgba(216, 255, 95, 0.24);
  border-radius: 18px;
  background: rgba(216, 255, 95, 0.06);
}

.support__contact > a {
  overflow: hidden;
  color: var(--accent);
  font-size: clamp(0.86rem, 2.5vw, 1.05rem);
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
}

.support__contact > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copy-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--night);
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
}

.copy-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support__response {
  margin-top: 16px !important;
  font-size: 0.82rem !important;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: 34px;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: #7f8881;
  font-size: 0.76rem;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  text-align: center;
}

.site-footer > span {
  text-align: right;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  padding: 12px 16px;
  border: 1px solid rgba(216, 255, 95, 0.3);
  border-radius: 13px;
  background: #172119;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 750;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(2) {
  transition-delay: 90ms;
}

.feature-card:nth-child(3) {
  transition-delay: 180ms;
}

@keyframes hero-drift {
  to { transform: scale(1.08) translate3d(-0.6%, -0.8%, 0); }
}

@keyframes arrow-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 13, 10, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .nav-support {
    margin: 4px 0 0;
    text-align: center;
  }

  .section-heading,
  .screenshots__heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading .kicker {
    margin-bottom: -10px;
  }

  .world {
    grid-template-columns: 1fr;
  }

  .creator {
    grid-template-columns: 1fr;
  }

  .screenshot-card figcaption {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .screenshot-card figcaption span {
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer > span {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding-left: 14px;
  }

  .wordmark {
    gap: 9px;
  }

  .wordmark__mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .wordmark__kicker {
    font-size: 0.52rem;
  }

  .wordmark__title {
    font-size: 0.88rem;
  }

  .hero__content {
    width: min(calc(100% - 32px), 1100px);
    padding-top: 110px;
  }

  .hero .eyebrow {
    width: min(340px, 92%);
    margin: 0 auto 18px;
    font-size: 0.7rem;
    line-height: 1.5;
    letter-spacing: 0.13em;
  }

  .hero__logo {
    width: min(620px, 108vw);
    margin: 0 -4vw 28px;
    max-width: none;
  }

  .hero__lead {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__facts {
    right: 16px;
    bottom: 20px;
    left: 16px;
    justify-content: center;
  }

  .hero__facts span {
    padding: 7px 9px;
    font-size: 0.65rem;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    width: min(calc(100% - 32px), var(--max));
    padding: 86px 0;
  }

  h2 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 44px 1fr;
    gap: 8px 18px;
    padding: 24px 0;
  }

  .feature-card:hover {
    padding-left: 8px;
  }

  .feature-card p {
    grid-column: 2;
  }

  .world {
    width: calc(100% - 16px);
  }

  .world__list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card,
  .screenshot-card--wide {
    grid-column: auto;
  }

  .screenshot-card figcaption {
    min-height: 0;
  }

  .creator__visual {
    border-radius: 20px;
  }

  .forest-warning {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100% - 32px);
    padding: 24px;
  }

  .forest-warning p {
    text-align: left;
  }

  .support {
    min-height: 650px;
  }

  .support__contact {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 14px;
  }

  .copy-button {
    width: 100%;
    justify-content: center;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
