@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geist.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/geist-mono.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/instrument-serif.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  --paper: #f5f3ee;
  --paper-2: #efece5;
  --card: #fffdf9;
  --ink: #161513;
  --ink-2: #3a3833;
  --muted: #6d6962;
  --faint: #a29e95;
  --line: rgb(22 21 19 / 11%);
  --line-strong: rgb(22 21 19 / 22%);
  --vermilion: #e2582a;
  --vermilion-deep: #c9461b;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --frame: min(1200px, calc(100vw - 32px));
  --pad: clamp(20px, 4vw, 48px);
  --radius: 14px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: var(--vermilion);
}

::selection {
  background: var(--vermilion);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The page sits in a framed column with hairline guides, like a print layout. */

.page {
  position: relative;
  width: var(--frame);
  margin: 0 auto;
  border-inline: 1px solid var(--line);
}

.page > * {
  background: var(--paper);
}

/* Bar */

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgb(245 243 238 / 86%);
  backdrop-filter: saturate(1.4) blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-small {
  font-size: 11px;
}

.bar-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}

.bar-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 120ms ease;
}

.bar-nav a:hover {
  color: var(--ink);
}

/* Buttons: tactile, like a key you can press. */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgb(22 21 19 / 85%);
  border-radius: 12px;
  background: linear-gradient(#2a2925, var(--ink));
  color: #fffdf9;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 16%),
    0 1px 0 rgb(0 0 0 / 30%),
    0 6px 14px -6px rgb(22 21 19 / 45%);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease;
}

.btn:hover {
  background: linear-gradient(#33322d, #1d1c19);
}

.btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 10%),
    0 2px 6px -3px rgb(22 21 19 / 45%);
}

.btn-primary {
  border-color: var(--vermilion-deep);
  background: linear-gradient(#ec6a3c, var(--vermilion-deep));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 28%),
    0 1px 0 rgb(120 35 8 / 45%),
    0 8px 18px -8px rgb(201 70 27 / 70%);
}

.btn-primary:hover {
  background: linear-gradient(#f07446, #d24d1f);
}

.btn-small {
  height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 13px;
}

.btn-large {
  height: 50px;
  padding: 0 24px;
  font-size: 16px;
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.8;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: clamp(48px, 8vw, 104px) var(--pad);
  border-right: 1px solid var(--line);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0 3px rgb(226 88 42 / 18%);
}

.hero h1 {
  font-size: clamp(44px, 5.6vw, 74px);
}

.lede {
  max-width: 34rem;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
}

/* Waitlist forms */

.waitlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 34rem;
}

.field {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--card);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 80%) inset,
    0 10px 30px -18px rgb(22 21 19 / 35%);
  transition: border-color 120ms ease;
}

.field:focus-within {
  border-color: var(--vermilion);
}

.field input {
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 16px var(--sans);
  outline: none;
}

.field input::placeholder,
.input input::placeholder {
  color: var(--faint);
}

.form-note {
  min-height: 1.4em;
  font-size: 13px;
  color: var(--muted);
}

.form-note a {
  color: var(--ink-2);
}

.form-note[data-tone="ok"] {
  color: #2f7a3d;
}

.form-note[data-tone="error"] {
  color: var(--vermilion-deep);
}

/* Off-screen for people, still in the DOM for bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hero art: a playtest screen with a HUD. */

.hero-art {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: clamp(24px, 4vw, 48px);
  background: var(--paper-2);
}

.screen {
  position: relative;
  flex: 1;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, rgb(22 21 19 / 3%) 0 1px, transparent 1px 4px), var(--card);
  box-shadow: 0 30px 60px -40px rgb(22 21 19 / 55%);
}

.screen canvas {
  position: absolute;
  inset: 44px 24px;
  width: calc(100% - 48px);
  height: calc(100% - 88px);
  cursor: crosshair;
  touch-action: none;
}

.hud {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hud-tl {
  top: 14px;
  left: 16px;
}

.hud-tr {
  top: 14px;
  right: 16px;
}

.hud-bl {
  bottom: 14px;
  left: 16px;
}

.hud-br {
  bottom: 14px;
  right: 16px;
  color: var(--vermilion);
}

.rec {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vermilion);
}

.hero-art figcaption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

/* Agents strip */

.agents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 22px var(--pad);
  border-bottom: 1px solid var(--line);
}

.agents ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink-2);
}

/* Sections */

.section {
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: baseline;
  padding: clamp(56px, 8vw, 96px) var(--pad) 40px;
}

.section-head .index {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--vermilion);
}

.section-head h2 {
  grid-column: 2;
  max-width: 18ch;
  font-size: clamp(38px, 5vw, 64px);
}

.section-head p {
  grid-column: 2;
  max-width: 36rem;
  color: var(--muted);
  font-size: 17px;
}

/* Loop */

.loop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  border-top: 1px solid var(--line);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-right: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 26px var(--pad);
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.steps li:last-child {
  border-bottom: 0;
}

.steps li:hover {
  background: var(--card);
}

.step-n {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--vermilion);
}

.steps h3 {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.steps p {
  color: var(--muted);
  font-size: 15px;
}

.receipt-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 48px var(--pad);
  background: var(--paper-2);
}

.receipt {
  width: min(100%, 330px);
  padding: 26px 22px 30px;
  background: #fffefb;
  color: #2a2925;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  transform: rotate(-1.4deg);
  box-shadow:
    0 24px 40px -24px rgb(22 21 19 / 50%),
    0 2px 4px rgb(22 21 19 / 6%);
  /* A torn edge along the bottom. */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% /
    12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}

.receipt hr {
  margin: 10px 0;
  border: 0;
  border-top: 1px dashed rgb(42 41 37 / 35%);
}

.receipt dl {
  margin: 0;
}

.receipt dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.receipt dt {
  color: #6d6962;
}

.receipt dd {
  margin: 0;
  text-align: right;
}

.r-center {
  text-align: center;
}

.r-title {
  font-weight: 700;
  letter-spacing: 0.18em;
}

.r-note {
  margin: 2px 0 8px;
  color: #6d6962;
}

.r-total {
  font-size: 15px;
  font-weight: 700;
}

.r-total dd {
  color: var(--vermilion);
}

.r-small {
  font-size: 10.5px;
  color: #6d6962;
}

.barcode {
  height: 34px;
  margin-top: 12px;
  background: repeating-linear-gradient(
    90deg,
    #2a2925 0 2px,
    transparent 2px 4px,
    #2a2925 4px 5px,
    transparent 5px 8px,
    #2a2925 8px 11px,
    transparent 11px 12px
  );
}

.receipt-wrap figcaption {
  max-width: 22rem;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Studio shots */

.shots {
  position: relative;
  display: grid;
  padding: 8px var(--pad) clamp(56px, 8vw, 96px);
}

.window {
  grid-area: 1 / 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 40px 80px -48px rgb(22 21 19 / 60%);
}

.window-main {
  width: 86%;
}

.window-side {
  align-self: end;
  justify-self: end;
  width: 46%;
  transform: translateY(18%);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-bar i:first-child {
  background: var(--vermilion);
}

.window-bar span {
  margin-left: 8px;
}

/* Tool cartridges */

.carts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 8px var(--pad) clamp(56px, 8vw, 96px);
}

.cart {
  --cart: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px 16px 10px 10px;
  background: var(--card);
  box-shadow:
    inset 0 -3px 0 var(--paper-2),
    0 18px 30px -24px rgb(22 21 19 / 50%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.cart:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 -3px 0 var(--paper-2),
    0 26px 40px -26px rgb(22 21 19 / 55%);
}

.cart[data-cart="godot"] {
  --cart: #478cbf;
}

.cart[data-cart="blender"] {
  --cart: #e87d0d;
}

.cart[data-cart="three"] {
  --cart: #161513;
}

.cart[data-cart="export"] {
  --cart: #e2582a;
}

.cart-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 14px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 9%) 0 2px, transparent 2px 6px), var(--cart);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.cart h3 {
  padding: 0 4px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.05;
}

.cart p {
  padding: 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.cart ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 6px 4px 0;
  list-style: none;
}

.cart li {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-2);
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px var(--pad);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--vermilion);
  transition: transform 160ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 44rem;
  padding: 0 var(--pad) 24px;
  color: var(--muted);
}

/* Closing call to action */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.cta-fox {
  justify-self: center;
  width: min(80%, 300px);
  padding: 48px 0;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(48px, 7vw, 88px) var(--pad);
  border-left: 1px solid var(--line);
}

.cta h2 {
  font-size: clamp(44px, 6vw, 76px);
}

.cta-copy > p {
  color: var(--muted);
  max-width: 30rem;
}

.waitlist-full {
  max-width: 40rem;
  gap: 16px;
  margin-top: 6px;
}

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

.input {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.input i {
  font-style: normal;
  color: var(--faint);
  font-weight: 400;
}

.input input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: 16px var(--sans);
  outline: none;
  transition:
    border-color 120ms ease,
    background 120ms ease;
}

.input input:focus {
  border-color: var(--vermilion);
  background: #fff;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.roles legend {
  width: 100%;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
}

.roles label {
  position: relative;
}

.roles input {
  position: absolute;
  opacity: 0;
}

.roles span {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  cursor: pointer;
  transition: all 120ms ease;
}

.roles input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffdf9;
}

.roles input:focus-visible + span {
  outline: 2px solid var(--vermilion);
  outline-offset: 2px;
}

.cta-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 4px;
}

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--pad) 40px;
}

.foot nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.foot nav a {
  color: var(--muted);
  text-decoration: none;
}

.foot nav a:hover {
  color: var(--ink);
}

/* Privacy page */

.prose {
  max-width: 42rem;
  padding: clamp(56px, 8vw, 96px) var(--pad);
}

.prose h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 72px);
}

.prose h2 {
  margin: 36px 0 10px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose p + p {
  margin-top: 12px;
}

/* Responsive */

@media (max-width: 980px) {
  .hero,
  .loop,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .steps,
  .cta-copy {
    border: 0;
  }

  .hero-art {
    border-top: 1px solid var(--line);
  }

  .screen {
    min-height: 380px;
  }

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

  .cta-fox {
    display: none;
  }

  .window-main {
    width: 100%;
  }

  .window-side {
    display: none;
  }

  .bar-nav {
    display: none;
  }

  .bar .btn {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --frame: 100vw;
  }

  .page {
    border-inline: 0;
  }

  .field {
    flex-direction: column;
  }

  .field input {
    height: 44px;
  }

  .grid-2,
  .carts {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head .index {
    grid-row: auto;
  }

  .section-head h2,
  .section-head p {
    grid-column: 1;
  }

  .agents ul {
    font-size: 20px;
    gap: 6px 18px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
