:root {
  color-scheme:dark;
  --bg:#141614;
  --ink:#f2f0e7;
  --muted:#b2b6a9;
  --accent:#e3f38a;
  --line:#373c32;
  font-family:Arial,Helvetica,sans-serif;
  font-synthesis:none
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink)
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit
}
a:focus-visible,button:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:6px
}
::selection {
  background:var(--accent);
  color:var(--bg)
}

.skip {
  position:fixed;
  top:-100px;
  left:20px;
  background:var(--accent);
  color:var(--bg);
  padding:15px;
  z-index:10
}
.skip:focus {
  top:10px
}
.header {
  height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5vw;
  border-bottom:1px solid var(--line)
}
.wordmark {
  font-weight:800;
  letter-spacing:-.04em;
  font-size:19px;
  white-space:nowrap
}
.mark {
  color:var(--accent);
  font-size:28px;
  vertical-align:middle;
  margin-right:9px
}
.header nav {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14px
}
.header nav a:hover,.text-link:hover,.footer a:hover {
  color:var(--accent)
}
.github {
  border-left:1px solid var(--line);
  padding-left:30px
}

.hero {
  position:relative;
  min-height:min(880px,calc(100svh - 90px));
  isolation:isolate;
  overflow:hidden;
  display:flex;
  align-items:center
}
.hero-image {
  position:absolute;
  width:82%;
  height:100%;
  right:-10%;
  top:0;
  object-fit:cover;
  object-position:center;
  z-index:-3;
  opacity:.78;
  animation:arrive-image 1.2s ease-out both
}
.hero-shade {
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(90deg,#141614 8%,rgba(20,22,20,.96) 24%,rgba(20,22,20,.7) 46%,rgba(20,22,20,.05) 100%),linear-gradient(0deg,#141614,transparent 28%)
}
.hero-copy {
  padding:65px 5vw 90px;
  width:100%;
  animation:arrive .8s ease-out both
}
.eyebrow {
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 26px
}
h1 {
  font-size:clamp(66px,8.7vw,132px);
  line-height:.85;
  letter-spacing:-.065em;
  margin:0 0 30px;
  font-weight:900;
  max-width:850px
}
.dot {
  color:var(--accent)
}
.hero-promise {
  font-size:clamp(25px,3vw,42px);
  line-height:1.1;
  font-weight:700;
  letter-spacing:-.04em;
  margin:0 0 22px
}
.intro {
  font-size:16px;
  line-height:1.6;
  color:#d3d6ca;
  max-width:440px
}
.actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:30px
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:35px;
  background:var(--accent);
  color:var(--bg);
  padding:18px 25px;
  font-size:15px;
  font-weight:700;
  border:1px solid var(--accent);
  transition:transform .2s,background .2s
}
.button:hover {
  background:#f1ffb3;
  transform:translateY(-3px)
}
.text-link {
  font-size:14px;
  text-decoration:underline;
  text-underline-offset:6px
}
.hero-note {
  font-size:12px;
  color:var(--muted);
  margin-top:20px
}
.hero-caption {
  position:absolute;
  bottom:30px;
  right:5vw;
  font-size:11px;
  color:var(--muted)
}

.section {
  padding:105px 5vw;
  max-width:1600px;
  margin:auto
}
h2 {
  font-size:clamp(34px,4.3vw,65px);
  font-weight:700;
  line-height:1.04;
  letter-spacing:-.05em;
  margin:0
}
h3 {
  letter-spacing:-.035em
}
.how {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8vw;
  border-bottom:1px solid var(--line)
}
.steps {
  list-style:none;
  margin:0;
  padding:0
}
.steps li {
  display:flex;
  gap:28px;
  padding:0 0 24px;
  margin:0 0 25px;
  border-bottom:1px solid var(--line)
}
.steps li:last-child {
  margin:0;
  padding:0;
  border:0
}
.steps li>span {
  color:var(--accent);
  font-size:13px;
  padding-top:6px
}
.steps h3 {
  font-size:22px;
  margin:0 0 10px
}
.steps p {
  font-size:15px;
  color:var(--muted);
  line-height:1.6;
  margin:0;
  max-width:440px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:55px
}
.section-heading>p {
  font-size:15px;
  line-height:1.6;
  color:var(--muted);
  margin:0
}
.game-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px 32px
}
.screenshot {
  display:block;
  position:relative;
  overflow:hidden;
  background:#1d201c
}
.screenshot img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:contain;
  transition:transform .45s
}
.screenshot span {
  position:absolute;
  bottom:14px;
  right:14px;
  padding:10px 14px;
  background:var(--bg);
  font-size:12px;
  opacity:0;
  transform:translateY(5px);
  transition:opacity .2s,transform .2s
}
.screenshot:hover img {
  transform:scale(1.025)
}
.screenshot:hover span,.screenshot:focus-visible span {
  opacity:1;
  transform:none
}
.game-heading {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:15px;
  margin-top:22px
}
.game h3 {
  font-size:27px;
  margin:0
}
.game-heading>span {
  font-size:12px;
  color:var(--accent)
}
.game p {
  font-size:15px;
  line-height:1.6;
  color:var(--muted);
  max-width:470px;
  margin:12px 0 0
}
.catalog-link {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  border-top:1px solid var(--line);
  padding-top:30px;
  margin-top:55px
}
.catalog-link p {
  font-size:15px;
  color:var(--muted);
  margin:0
}
.caption {
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
  margin:25px 0 0
}

.play {
  background:var(--accent);
  color:var(--bg);
  max-width:none
}
.play>.eyebrow {
  color:#45502e
}
.play-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8vw;
  margin:60px 0 45px
}
.option-number {
  font-size:12px;
  letter-spacing:.12em
}
.play h3 {
  font-size:36px;
  margin:22px 0 15px
}
.play-options p {
  font-size:16px;
  line-height:1.6;
  max-width:480px
}
.play .button {
  margin-top:12px;
  background:var(--bg);
  color:var(--ink);
  border-color:var(--bg)
}
.play .button:hover {
  background:#353b2c
}
.play .secondary {
  color:var(--bg);
  background:transparent
}
.play .secondary:hover {
  background:#cedd7a
}
.play-options .small {
  font-size:12px;
  line-height:1.7;
  margin-top:22px;
  max-width:430px
}
.small a,.alpha-note a {
  text-decoration:underline;
  text-underline-offset:3px
}
.alpha-note {
  font-size:13px;
  line-height:1.8;
  border-top:1px solid #aebb6b;
  padding-top:25px;
  margin-bottom:0
}
.contribute h2 {
  max-width:850px;
  font-size:clamp(42px,6vw,90px)
}
.contribute-intro {
  font-size:18px;
  color:var(--muted);
  line-height:1.5;
  margin:25px 0 45px
}
.contribution-list {
  margin:0 0 40px
}
.contribution-list a {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:24px 0;
  border-top:1px solid var(--line);
  transition:padding .2s,color .2s
}
.contribution-list a:last-child {
  border-bottom:1px solid var(--line)
}
.contribution-list a:hover {
  color:var(--accent);
  padding-left:10px
}
.contribution-list a span:first-child {
  font-size:21px;
  letter-spacing:-.02em
}
.contribution-list a span:last-child {
  font-size:13px;
  align-self:center;
  color:var(--muted)
}
.footer {
  border-top:1px solid var(--line);
  padding:35px 5vw;
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:center
}
.footer p {
  font-size:13px;
  color:var(--muted)
}
.footer>div {
  display:flex;
  gap:22px;
  font-size:12px;
  color:var(--muted)
}

dialog {
  width:min(1320px,96vw);
  border:1px solid var(--line);
  padding:52px 12px 12px;
  background:var(--bg);
  max-width:96vw;
  max-height:96svh
}
dialog::backdrop {
  background:#000c
}
dialog>img {
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  max-height:calc(90svh - 60px);
  object-fit:contain
}
.close-preview {
  position:absolute;
  right:15px;
  top:12px;
  background:none;
  border:0;
  color:var(--ink);
  cursor:pointer;
  padding:7px
}
.reveal-ready {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .6s,transform .6s
}
.revealed {
  opacity:1;
  transform:none
}
@keyframes arrive {
  from {
  opacity:0;
  transform:translateY(20px)
}
to {
  opacity:1;
  transform:none
}

}
@keyframes arrive-image {
  from {
  opacity:0;
  transform:scale(1.04)
}
to {
  opacity:.78;
  transform:scale(1)
}

}

@media(min-width:1600px) {
  .play {
  padding-left:max(5vw,calc((100vw - 1440px)/2));
  padding-right:max(5vw,calc((100vw - 1440px)/2))
}

}

@media(max-width:900px) {
  .header nav {
  gap:18px
}
.header nav a:first-child {
  display:none
}
.github {
  padding-left:18px
}
.hero {
  min-height:740px
}
.hero-image {
  width:120%;
  right:-38%;
  opacity:.5
}
.hero-shade {
  background:linear-gradient(90deg,#141614 2%,#141614dc 50%,#14161440),linear-gradient(0deg,#141614,transparent 55%)
}
.how {
  gap:5vw
}
.section-heading {
  align-items:start;
  flex-direction:column
}
.game-heading {
  display:block
}
.game-heading>span {
  display:block;
  margin-top:7px
}
.footer {
  flex-wrap:wrap
}
.footer p {
  display:none
}

}

@media(max-width:600px) {
  .header {
  height:74px;
  padding:0 6vw
}
.wordmark {
  font-size:16px
}
.mark {
  font-size:24px;
  margin-right:4px
}
.header nav a {
  display:none
}
.header nav .github {
  display:block;
  border:0;
  padding:0;
  font-size:13px
}
.hero {
  min-height:calc(100svh - 74px);
  align-items:start
}
.hero-copy {
  padding:60px 6vw 85px
}
.hero-image {
  width:160%;
  right:-70%;
  object-position:center
}
.hero-shade {
  background:linear-gradient(90deg,#141614f5,#14161495),linear-gradient(0deg,#141614,transparent 60%)
}
h1 {
  font-size:clamp(63px,14.7vw,87px);
  margin-bottom:28px
}
.eyebrow {
  font-size:10px;
  letter-spacing:.12em;
  margin-bottom:24px
}
.hero-promise {
  font-size:31px
}
.intro {
  font-size:14px;
  max-width:310px
}
.intro br {
  display:none
}
.actions {
  align-items:start;
  flex-direction:column;
  gap:25px
}
.button {
  min-height:54px
}
.hero-caption {
  font-size:9px;
  right:6vw;
  bottom:20px
}
.section {
  padding:70px 6vw
}
.how {
  grid-template-columns:1fr;
  gap:40px
}
.steps li {
  gap:22px
}
.section-heading {
  margin-bottom:35px
}
.game-grid {
  grid-template-columns:1fr;
  gap:38px
}
.game-heading {
  display:flex
}
.game h3 {
  font-size:25px
}
.game-heading>span {
  font-size:11px;
  margin:0
}
.game p {
  font-size:14px
}
.catalog-link {
  align-items:start;
  flex-direction:column;
  line-height:1.6
}
.play-options {
  grid-template-columns:1fr;
  gap:45px;
  margin-top:45px
}
.play-options>div+div {
  padding-top:40px;
  border-top:1px solid #aebb6b
}
.play h3 {
  font-size:31px
}
.contribution-list a {
  flex-direction:column;
  gap:12px
}
.contribution-list a span:first-child {
  font-size:19px
}
.contribution-list a span:last-child {
  align-self:start
}
.footer {
  padding:30px 6vw;
  gap:25px
}
.footer>div {
  flex-wrap:wrap;
  gap:18px
}
.screenshot span {
  display:none
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
*,*::before,*::after {
  animation:none!important;
  transition:none!important
}
.reveal-ready {
  opacity:1;
  transform:none
}

}
