:root {
  --ink: #11110f;
  --paper: #f4f1e8;
  --orange: #ff5a1f;
  --graphite: #292b29;
  --pixel: #b7e36b;
  --grey: #6f6d66;
  --deep: #1b1c1a;
  --line: #d8d3c8;
  --white: #fffaf0;
  --font-display: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow: 0 24px 70px rgb(17 17 15 / 18%);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

section,
[id] {
  scroll-margin-top: 92px;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(16px, 4vw, 48px);
  background: rgb(244 241 232 / 92%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: 170px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav a,
.header-cta,
.site-footer a {
  text-decoration: none;
}

.nav a,
.header-cta,
.button,
.biome-card {
  transition:
    transform 160ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 160ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
}

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

.section,
.section-band {
  padding: clamp(64px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--grey);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.3rem, 10vw, 8.4rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 5vw, 4.9rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  max-width: 64ch;
}

.lede {
  max-width: 40rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.hero-actions,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}

.button.primary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--ink);
}

.button.secondary {
  background: transparent;
}

.button.secondary:hover {
  background: rgb(17 17 15 / 5%);
}

.hero-object {
  justify-self: center;
  width: min(100%, 760px);
}

.product-render {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
}

.hero-render {
  filter: drop-shadow(0 28px 48px rgb(17 17 15 / 20%));
}

.media-note {
  margin: 14px 0 0;
  color: var(--grey);
  font-size: 0.88rem;
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading p {
  font-size: 1.08rem;
}

.section-click {
  background: var(--white);
}

.click-lab {
  display: grid;
  justify-items: center;
  gap: 18px;
  align-items: start;
}

.sim-device {
  width: min(100%, 300px);
  min-height: 500px;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-content: start;
  gap: 70px;
  padding: 58px 32px 44px;
  border: 2px solid #121311;
  border-radius: 56px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 10%), transparent 18%),
    linear-gradient(145deg, #5d605b, #343734 58%, #20221f);
  box-shadow:
    0 18px 0 #151513,
    0 30px 70px rgb(17 17 15 / 26%),
    inset 0 0 0 9px rgb(255 255 255 / 5%),
    inset 0 -22px 34px rgb(0 0 0 / 22%);
}

.oled {
  width: 100%;
  display: grid;
  place-items: center;
  color: var(--paper);
}

.oled img {
  width: 100%;
}

.oled p {
  min-height: 2.6em;
  margin: 20px 0 0;
  font-family: var(--font-display);
  color: #f4f1e8;
  text-align: center;
}

.pixel-frame {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.clix-button {
  width: 126px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 7px solid #11110f;
  background:
    radial-gradient(circle at 34% 28%, #ffb15d 0 18%, transparent 19%),
    linear-gradient(145deg, #ff8d2a, var(--orange) 58%, #d43b08);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 3.7rem);
  font-weight: 700;
  box-shadow:
    0 12px 0 var(--ink),
    0 0 0 9px rgb(0 0 0 / 22%),
    inset -12px -16px 0 rgb(0 0 0 / 15%);
  cursor: pointer;
  transition: transform 80ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 80ms cubic-bezier(0.16, 1, 0.3, 1);
}

.clix-button:hover {
  box-shadow:
    0 14px 0 var(--ink),
    0 0 0 9px rgb(0 0 0 / 22%),
    inset -9px -13px 0 rgb(0 0 0 / 13%);
}

.clix-button span {
  display: none;
}

.clix-button:focus-visible {
  outline: 3px solid #f4f1e8;
  outline-offset: 8px;
}

.clix-button.is-pressed,
.clix-button:active {
  transform: translateY(9px);
  box-shadow:
    0 3px 0 var(--ink),
    0 0 0 9px rgb(0 0 0 / 22%),
    inset -8px -10px 0 rgb(0 0 0 / 16%);
}

.demo-stats {
  font-family: var(--font-display);
  text-align: center;
}

.demo-stats p {
  margin: 0 auto;
}

.demo-disclaimer,
.secondary-copy {
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

#click-count {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.9;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.callout {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

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

.evolution-strip img,
.biome-card img,
.pixel-scene {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #070807;
}

.evolution-strip {
  position: relative;
}

.evolution-strip::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgb(17 17 15 / 0), rgb(17 17 15 / 32%), rgb(17 17 15 / 0));
}

.evolution-strip figure {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  gap: 8px;
}

.evolution-strip figcaption {
  color: var(--grey);
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.device-screenshot {
  aspect-ratio: 2 / 1;
  object-fit: fill;
}

.pixel-scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.pixel-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: fill;
}

.scene-clouds {
  width: 200% !important;
  height: 25% !important;
  object-fit: fill;
  transform: translateX(var(--cloud-x, 0%));
}

.scene-static-img,
.scene-pix,
.scene-flourish {
  pointer-events: none;
}

.screen-readout {
  position: absolute;
  bottom: 1px;
  z-index: 6;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(9px, 2.6vw, 15px);
  line-height: 1;
  text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000;
  pointer-events: none;
}

.screen-level {
  left: 4px;
}

.screen-clicks {
  right: 4px;
}

.progress-tick {
  position: absolute;
  left: var(--progress-x, 26.5625%);
  top: 82.8125%;
  z-index: 5;
  width: 3.125%;
  height: 21.875%;
  background: #fff;
  pointer-events: none;
}

.scene-flourish {
  opacity: var(--flourish-opacity, 1);
}

.demo-screen {
  width: 100%;
  border-color: #0a0a09;
  border-radius: 10px;
  box-shadow:
    0 0 0 8px #191a18,
    0 0 0 10px #050605,
    inset 0 0 0 1px rgb(255 255 255 / 12%);
}

.demo-screen .scene-flourish {
  opacity: var(--demo-flourish-opacity, 0);
}

.demo-screen.is-transform .scene-bg,
.demo-screen.is-transform .scene-flourish,
.demo-screen.is-transform .scene-static-img,
.demo-screen.is-transform .progress-tick,
.demo-screen.is-transform .screen-readout {
  opacity: 0;
}

.section-dark {
  background: var(--deep);
  color: var(--paper);
}

.section-dark .eyebrow,
.section-dark p {
  color: #d6d1c5;
}

.journey-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(54px, 7vw, 96px);
}

.journey-section .section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.journey-section .section-heading h2 {
  max-width: 15ch;
}

.biome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.biome-grid {
  position: relative;
  gap: clamp(16px, 2.5vw, 30px);
}

.biome-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 38%;
  height: 1px;
  background: linear-gradient(90deg, rgb(244 241 232 / 0), rgb(244 241 232 / 22%), rgb(244 241 232 / 0));
}

.biome-card {
  padding: 18px;
  border: 1px solid rgb(244 241 232 / 20%);
  border-radius: var(--radius-md);
}

.biome-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 14px 14px 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(244 241 232 / 8%), rgb(244 241 232 / 2%)),
    #10110f;
  box-shadow: 0 22px 60px rgb(0 0 0 / 24%);
}

.biome-card::before {
  content: attr(data-step);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 7px;
  border: 1px solid rgb(244 241 232 / 26%);
  background: rgb(7 8 7 / 82%);
  color: #f4f1e8;
  font-family: var(--font-display);
  font-size: 0.68rem;
}

.biome-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.biome-card:hover {
  transform: translateY(-4px);
  border-color: rgb(244 241 232 / 42%);
  box-shadow: 0 28px 78px rgb(0 0 0 / 34%);
}

.biome-card p {
  margin-bottom: 0;
}

.journey-levels {
  margin-top: clamp(30px, 5vw, 54px);
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid rgb(244 241 232 / 16%);
}

.journey-levels > p {
  margin: 0;
  color: #f4f1e8;
  font-size: 1.08rem;
}

.journey-section .level-rail li {
  border-color: rgb(244 241 232 / 20%);
  background: rgb(244 241 232 / 96%);
  color: var(--ink);
}

.journey-section .level-rail li::after {
  background: rgb(244 241 232 / 22%);
}

.journey-section .level-rail .locked {
  background:
    linear-gradient(45deg, transparent 46%, rgb(17 17 15 / 10%) 47%, rgb(17 17 15 / 10%) 53%, transparent 54%),
    rgb(244 241 232 / 82%);
}

.journey-section .level-rail .secret {
  background: #070807;
  color: var(--paper);
}

.level-rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(11, minmax(130px, 1fr));
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  overflow-x: auto;
  counter-reset: level-step;
}

.level-rail li {
  position: relative;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.level-rail li::after {
  content: "";
  position: absolute;
  left: calc(100% + 1px);
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--line);
}

.level-rail li:last-child::after {
  display: none;
}

.level-rail span {
  color: var(--grey);
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.level-rail strong {
  font-family: var(--font-display);
}

.level-rail .locked {
  background:
    linear-gradient(45deg, transparent 46%, rgb(17 17 15 / 12%) 47%, rgb(17 17 15 / 12%) 53%, transparent 54%),
    var(--paper);
}

.level-rail .secret {
  background: var(--ink);
  color: var(--paper);
}

.prototype-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.prototype-photo {
  margin: 0;
}

.prototype-photo img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.prototype-photo figcaption {
  margin-top: 10px;
  color: var(--grey);
  font-size: 0.9rem;
}

.product-section {
  background: var(--white);
}

.product-proof {
  display: grid;
  gap: 18px;
}

.product-proof .product-render {
  border: 1px solid var(--line);
  background: #fff;
}

.product-drawing {
  object-fit: contain;
}

.production-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.production-roadmap {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.production-roadmap li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.production-roadmap span {
  grid-row: span 2;
  display: inline-grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.78rem;
}

.production-roadmap strong {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.production-roadmap em {
  color: var(--grey);
  font-style: normal;
}

.production-roadmap .is-current {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgb(17 17 15 / 12%);
}

.production-roadmap .is-current span {
  background: var(--orange);
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--orange);
}

.waitlist-form {
  padding: clamp(18px, 4vw, 32px);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--ink);
}

.waitlist-form label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
}

input[type="email"] {
  min-height: 52px;
  flex: 1 1 240px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.hp {
  position: absolute;
  left: -100vw;
}

.form-note,
.form-status {
  margin-bottom: 0;
  color: #3b3a36;
}

.form-status[data-state="error"] {
  color: #8b1e00;
}

.form-status[data-state="success"] {
  color: #205315;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.site-footer img {
  width: 150px;
}

.site-footer p {
  margin: 0;
  color: #d6d1c5;
}

.legal-page {
  max-width: 820px;
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.legal-page h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .waitlist,
  .click-lab {
    grid-template-columns: 1fr;
  }

  .click-lab {
    justify-items: center;
  }

  .demo-stats {
    text-align: center;
  }

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

  .biome-grid::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgb(244 241 232 / 0), rgb(244 241 232 / 22%), rgb(244 241 232 / 0));
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand img {
    width: 135px;
  }

  .header-cta {
    font-size: 0.68rem;
    padding-inline: 10px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .sim-device {
    width: min(100%, 282px);
    min-height: 450px;
    gap: 54px;
    padding: 46px 26px 36px;
    border-radius: 44px;
  }

  .clix-button {
    width: 108px;
  }

  .evolution-strip {
    grid-template-columns: 1fr;
  }

  .form-row .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
