:root {
  --lime: #d6ff3f;
  --ink: #12150f;
  --ink-2: #1c2016;
  --paper: #fbfbf7;
  --muted: #6b705f;
  --line: rgba(18, 21, 15, .14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 500 16px/1.55 var(--sans); background: var(--paper); color: var(--ink); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 5vw; }
.wrap.narrow { max-width: 640px; }
section { position: relative; }

/* loader */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--lime); display: grid; place-items: center; align-content: center; gap: 18px;
  transition: transform .8s cubic-bezier(.7, 0, .2, 1), visibility 0s .8s; }
.loader-mark { font: 900 4rem/1 var(--sans); animation: pulse 1s ease-in-out infinite alternate; }
.loader-label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 800; }
body:not(.is-loading) .loader { transform: translateY(-100%); visibility: hidden; }
@keyframes pulse { to { transform: scale(1.15) rotate(-4deg); } }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 16px 5vw; pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav nav { display: flex; align-items: center; gap: 10px; }
.logo { display: flex; flex-direction: column; font: 800 1.15rem/.9 var(--serif); letter-spacing: -.01em; text-transform: uppercase; color: var(--ink);
  background: rgba(251, 251, 247, .85); padding: 8px 10px; border-radius: 10px; backdrop-filter: blur(8px); transition: color .3s, background .3s; }
.logo b { font-family: var(--sans); font-weight: 900; }
body.nav-dark .logo { color: var(--paper); background: rgba(18, 21, 15, .75); }
.pill { display: inline-block; padding: 12px 20px; border-radius: 12px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink);
  font: 800 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; transition: transform .2s; }
.pill:hover { transform: translateY(-2px) rotate(-1deg); }
.pill.big { padding: 18px 30px; font-size: .9rem; border-radius: 14px; }
.pill.dark-btn { background: var(--ink); color: var(--lime); }
.menu { width: 48px; height: 44px; border-radius: 12px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer;
  display: grid; place-content: center; gap: 6px; padding: 0; }
.menu i { display: block; height: 2px; width: 20px; background: var(--ink); transition: transform .25s, width .25s; }
.menu i:last-child { width: 12px; margin-left: auto; }
.menu[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); width: 20px; }
.drawer { position: fixed; inset: 0; z-index: 55; background: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 5vw; }
.drawer[hidden] { display: none; }
.drawer a { font: 900 clamp(2.6rem, 11vw, 6rem)/1.05 var(--sans); text-transform: uppercase; letter-spacing: -.03em; color: var(--paper); }
.drawer a:hover { color: var(--lime); }
body.menu-open { overflow: hidden; }
body.menu-open .logo { color: var(--paper); background: transparent; }

/* contour lines */
.contours { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: repeating-radial-gradient(ellipse at 30% 40%, transparent 0 38px, rgba(18, 21, 15, .09) 38px 39px),
                    repeating-radial-gradient(ellipse at 80% 70%, transparent 0 52px, rgba(18, 21, 15, .06) 52px 53px); }
.contours.dark { opacity: .7; background-image: repeating-radial-gradient(ellipse at 30% 40%, transparent 0 38px, rgba(214, 255, 63, .09) 38px 39px),
                    repeating-radial-gradient(ellipse at 80% 70%, transparent 0 52px, rgba(214, 255, 63, .06) 52px 53px); }

/* hero: giant wordmark with the robot in front */
.hero { min-height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 96px 0 28px; isolation: isolate; }
.hero > * { position: relative; }
.hero-top { z-index: 2; grid-row: 1; text-align: center; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin: 0; }
.giant { position: absolute !important; z-index: -1; top: 12%; left: 0; right: 0; margin: 0; text-align: center; text-transform: uppercase;
  font: 900 clamp(4rem, 19.5vw, 20rem)/.78 var(--sans); letter-spacing: -.06em; color: var(--ink); display: grid; }
.giant span:last-child { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.04em; text-transform: none; color: var(--lime);
  -webkit-text-stroke: 2px var(--ink); font-size: .92em; }
.hero-robot { grid-row: 2; align-self: end; justify-self: center; margin: 0; width: min(680px, 88vw); position: relative; }
.hero-robot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 62%;
  -webkit-mask-image: radial-gradient(ellipse 52% 50% at 50% 52%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 52% 50% at 50% 52%, #000 62%, transparent 100%); filter: contrast(1.04) saturate(1.05); }
.hero-foot { grid-row: 3; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 5vw; margin-top: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 14px; background: var(--paper);
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: #3fbf3f; box-shadow: 0 0 0 3px rgba(63, 191, 63, .25); }
.hero-line { max-width: 360px; margin: 0; font-size: 1.05rem; line-height: 1.35; }
.hero-line em { color: var(--ink); background: linear-gradient(transparent 55%, var(--lime) 55%); }
.scroll-hint { margin: 0; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 800; }
.scroll-hint::after { content: "↓"; margin-left: 8px; display: inline-block; animation: bob 1.2s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(4px); } }

/* shared */
.dark { background: var(--ink); color: var(--paper); }
.light { background: var(--paper); }
.lime-bg { background: var(--lime); color: var(--ink); }
.eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; margin: 0 0 16px; opacity: .7; }
.blockhead { font: 900 clamp(2.4rem, 8vw, 5.6rem)/1 var(--sans); text-transform: uppercase; letter-spacing: -.03em; margin: 0 0 48px; }
.blockhead span { display: inline-block; background: var(--lime); color: var(--ink); padding: .04em .18em; margin: 0 .1em .1em 0; }
.blockhead.dark-text span { background: var(--ink); color: var(--lime); }
.how, .specs { padding: 120px 0; }

/* marquee */
.marquee { height: 280vh; background: var(--ink); }
.marquee-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4vh; }
.row { display: flex; gap: 4vw; white-space: nowrap; font: 900 clamp(3.5rem, 13vw, 11rem)/1 var(--sans); text-transform: uppercase; letter-spacing: -.04em; color: var(--paper); will-change: transform; position: relative; }
.row .serif { color: var(--lime); font-size: .95em; }
.marquee-img { position: relative; margin: 0 auto; width: min(320px, 60vw); border-radius: 14px; overflow: hidden; border: 2px solid var(--lime); transform: rotate(-3deg); z-index: 2; background: #f4f4f0; }
.marquee-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* how it works */
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(251, 251, 247, .25); }
.lines li { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 20px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid rgba(251, 251, 247, .25); transition: padding .3s, color .3s; }
.lines li:hover { padding-left: 14px; color: var(--lime); }
.lines b { font: 900 1rem/1 var(--sans); color: var(--lime); }
.lines h3 { margin: 0; font: 900 clamp(1.6rem, 4.4vw, 3rem)/1 var(--sans); text-transform: uppercase; letter-spacing: -.03em; }
.lines p { margin: 0; color: rgba(251, 251, 247, .7); }
.lines li:hover p { color: var(--paper); }

/* gallery: pinned, cards slide sideways with scroll */
.gallery { height: 320vh; background: var(--lime); color: var(--ink); }
.gallery-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.gallery-head { width: 100%; }
.gallery .blockhead { margin: 0; font-size: clamp(2rem, 6vw, 4.4rem); }
.gallery .blockhead span { background: var(--ink); color: var(--lime); }
.track { list-style: none; display: flex; gap: 22px; padding: 0 5vw; margin: 0; width: max-content; will-change: transform; }
.card { width: clamp(260px, 30vw, 400px); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 2px solid var(--ink); border-radius: 18px; background-color: #f2f2ee; box-shadow: 8px 8px 0 var(--ink); }
.card p { margin: 18px 0 0; font: 900 1.15rem/1.1 var(--sans); text-transform: uppercase; letter-spacing: -.01em; }
.card p b { background: var(--ink); color: var(--lime); padding: 2px 7px; border-radius: 6px; font-size: .75rem; margin-right: 6px; vertical-align: 2px; }
.card p span { display: block; margin-top: 6px; font: 500 .9rem/1.3 var(--sans); text-transform: none; letter-spacing: 0; }

/* specs */
.bignums { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 0 0 56px; border-top: 2px solid var(--ink); }
.bignums > div { padding: 28px 0; border-bottom: 2px solid var(--ink); }
.bignums dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.bignums dd { margin: 4px 0 0; font: 900 clamp(2.6rem, 6vw, 4.4rem)/1 var(--sans); letter-spacing: -.04em; }
.bignums small { font-size: .35em; letter-spacing: 0; font-weight: 700; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 24px; max-width: 560px; }

/* waitlist */
.waitlist { padding: 120px 0; }
.lead { font-size: 1.15rem; margin: 0 0 32px; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
input, textarea, select { font: inherit; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; }
input:focus-visible, textarea:focus-visible, select:focus-visible, .pill:focus-visible, .menu:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.drawer a:focus-visible { outline-color: var(--lime); }
#form-status { margin: 0; font-weight: 800; min-height: 1.5em; }

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: 60px 5vw 28px; overflow: hidden; }
.wordmark { font: 900 clamp(2.4rem, 11.2vw, 12rem)/.85 var(--sans); text-transform: uppercase; letter-spacing: -.05em; color: var(--lime); margin: 0 0 32px; }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; opacity: .7; }
.foot-row p { margin: 0; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease, padding .3s, color .3s; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .how, .specs, .waitlist { padding: 80px 0; }
  .lines li { grid-template-columns: 44px 1fr; }
  .lines p { grid-column: 2; }
  .spec-table th { width: 44%; }
  .pill:not(.big) { padding: 12px 14px; }
  .giant { top: 14%; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader-mark, .scroll-hint::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee, .gallery { height: auto; }
  .marquee-sticky, .gallery-sticky { position: static; height: auto; padding: 60px 0; }
  .track { overflow-x: auto; width: auto; }
}

/* wide screens: put the two halves of the wordmark on one line so the robot never hides the name */
@media (min-aspect-ratio: 11/10) {
  .giant { display: flex; justify-content: center; align-items: baseline; gap: .06em; top: 13%; font-size: clamp(4rem, 14.5vw, 17rem); line-height: .85; }
  .giant span:last-child { font-size: 1em; }
  .hero-robot { width: min(560px, 42vw); }
}
