/* ============================================================
   voulfi — site styles
   Palette: ink bg, paper text, safety-orange accent (brand system)
   Type: Poppins (display/body), Space Mono (micro labels)
   ============================================================ */

:root {
  --bg: #050608;
  --bg-2: #0e1015;
  --bg-3: #13161c;
  --paper: #f4f2ed;
  --ink: #131313;
  --muted: #9a968d;
  --muted-2: #6f6c66;
  --hair: rgba(244, 242, 237, 0.10);
  --hair-2: rgba(244, 242, 237, 0.18);
  --accent: #ff4d00;
  --accent-soft: rgba(255, 77, 0, 0.18);
  --glow: rgba(255, 140, 60, 0.35);
  --font: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --rail: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.small { font-size: 10px; }
.paren {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper); white-space: nowrap;
}
.paren::before { content: "( "; color: var(--muted); }
.paren::after  { content: " )"; color: var(--muted); }
.paren:hover::before, .paren:hover::after { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  padding: 14px 28px; border-radius: 999px;
  background: linear-gradient(180deg, #1d2027, #0f1116);
  border: 1px solid var(--hair-2);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6) inset, 0 10px 30px rgba(0,0,0,.5), 0 0 24px rgba(255,77,0,.08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,77,0,.6); box-shadow: 0 14px 40px rgba(0,0,0,.6), 0 0 40px rgba(255,77,0,.25); }
.btn-lg { padding: 18px 40px; font-size: 13px; }

/* ---------- HUD rails ---------- */
.rail {
  position: fixed; top: 0; bottom: 0; width: var(--rail); z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 110px 0 40px; pointer-events: none;
}
.rail-left { left: 0; }
.rail-right { right: 0; }
.rail-txt {
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--muted-2);
  writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
}
.rail-right .rail-txt { transform: none; }
.rail-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); opacity: .6; box-shadow: 0 0 10px var(--paper); }
.rail::before {
  content: ""; position: absolute; top: 100px; bottom: 30px; left: 50%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--hair) 20%, var(--hair) 80%, transparent);
}
@media (max-width: 900px) { .rail { display: none; } :root { --rail: 0px; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--pad); height: 72px;
  background: linear-gradient(180deg, rgba(5,6,8,.92), rgba(5,6,8,.6) 70%, transparent);
  backdrop-filter: blur(6px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.face { display: inline-flex; gap: 5px; align-items: center; justify-content: center; width: 32px; height: 26px; border-radius: 9px; background: var(--accent); box-shadow: 0 0 18px rgba(255,77,0,.35); flex: none; }
.face i { width: 4px; height: 11px; border-radius: 2px; background: #fff; }
.face.big { width: 64px; height: 52px; border-radius: 18px; gap: 10px; }
.face.big i { width: 8px; height: 22px; border-radius: 4px; }
.brand-name { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand-name.is-named { font-family: var(--font); font-size: 22px; letter-spacing: -0.02em; text-transform: none; color: var(--paper); font-weight: 500; }
.nav-status { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.leds { display: flex; gap: 6px; }
.leds i { width: 6px; height: 6px; background: var(--accent); border-radius: 1px; box-shadow: 0 0 8px var(--accent); animation: led 2.4s infinite; }
.leds i:nth-child(2) { animation-delay: .8s; }
.leds i:nth-child(3) { animation-delay: 1.6s; }
@keyframes led { 0%, 100% { opacity: .35 } 50% { opacity: 1 } }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.nav-toggle { display: flex; align-items: center; gap: 10px; }
.burger { display: flex; flex-direction: column; gap: 4px; }
.burger i { width: 18px; height: 1.5px; background: var(--paper); transition: transform .3s, width .3s; }
.nav-toggle[aria-expanded="true"] .burger i:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:last-child  { transform: translateY(-2.75px) rotate(-45deg); }
@media (max-width: 700px) { .nav-status { display: none; } .nav { grid-template-columns: 1fr 1fr; padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); } }

.menu {
  position: fixed; inset: 0; z-index: 35; background: rgba(5,6,8,.96); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
}
.menu[hidden] { display: none; }
.menu-inner { display: flex; flex-direction: column; gap: 6px; width: min(720px, 90vw); }
.menu-link {
  display: flex; align-items: baseline; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--hair);
  font-size: clamp(26px, 4vw, 40px); font-weight: 300; transition: padding-left .3s var(--ease), color .3s;
}
.menu-link .mono { color: var(--accent); }
.menu-link:hover { padding-left: 14px; color: var(--accent); }
.menu-foot { margin-top: 24px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  padding: 120px var(--pad) 0 calc(var(--pad) + var(--rail));
  width: min(100%, 1480px); margin: 0 auto; isolation: isolate;
}
.hero-frame {
  position: absolute; right: var(--pad); top: 110px; width: 40vw; max-width: 560px; height: 44vh;
  border: 1px solid var(--hair); border-radius: 22px 22px 0 0; border-bottom: 0;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.hero-frame::before {
  content: ""; position: absolute; inset: 14px; border-radius: 14px 14px 0 0;
  border: 1px solid var(--hair); border-bottom: 0;
}
.hero-badge {
  position: absolute; right: calc(var(--pad) + 12px); top: 128px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  box-shadow: 0 0 30px rgba(244,242,237,.35);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }
.hero-copy { position: relative; z-index: 2; max-width: 600px; min-width: 0; }
.hero > * { min-width: 0; }
.hero-title { font-size: clamp(40px, 5.6vw, 76px); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.glow { text-shadow: 0 0 24px rgba(244,242,237,.35), 0 0 60px rgba(244,242,237,.15); }
.hero-sub { margin-top: 28px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; line-height: 1.15; }
.hero-lead { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 440px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-sub em { font-style: italic; color: var(--accent); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-solid { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.btn-solid:hover { border-color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.hero-robot-wrap {
  position: absolute; right: -2%; bottom: 72px; width: clamp(520px, 58%, 900px); z-index: 1;
  /* lighten: the photo's pure blacks vanish into the page, so no rectangle edge can show */
  mix-blend-mode: lighten; isolation: isolate;
  mask-image: radial-gradient(95% 90% at 62% 58%, #000 45%, transparent 82%);
  -webkit-mask-image: radial-gradient(95% 90% at 62% 58%, #000 45%, transparent 82%);
  will-change: transform; cursor: pointer;
}
.hero-robot { display: block; width: 100%; filter: saturate(.95); }
#faceCanvas {
  position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none;
  mix-blend-mode: screen; clip-path: inset(0 round 18%); opacity: .96;
}
.bubble {
  position: absolute; left: 22%; top: 14%; max-width: 46%; z-index: 3; padding: 12px 16px; border-radius: 16px 16px 16px 4px;
  background: rgba(244,242,237,.96); color: var(--ink); font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .02em;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.bubble.is-on { opacity: 1; transform: none; }
.bubble::after { content: ""; position: absolute; right: -6px; bottom: 14px; width: 12px; height: 12px; background: rgba(244,242,237,.96); transform: rotate(45deg); border-radius: 2px; }
.bubble[hidden] { display: none; }
.face-console {
  position: absolute; z-index: 4; right: calc(var(--rail) + 18px); bottom: 18px; width: min(470px, 40vw);
}
.live-dot { position: absolute; left: 14px; top: -18px; font-size: 9px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 6px; }
.live-dot i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: led 1.6s infinite; }
.talk {
  display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 6px; border-radius: 999px;
  border: 1px solid var(--hair-2); background: rgba(5,6,8,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.talk:focus-within { border-color: rgba(255,77,0,.6); }
.skin-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255,255,255,.05); flex: none; }
.skin-toggle button {
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; padding: 7px 10px; border-radius: 999px; color: var(--muted);
  transition: color .25s, background .25s;
}
.skin-toggle button.is-on { color: #fff; background: var(--accent); }
.talk input { flex: 1; min-width: 0; font: inherit; font-size: 13.5px; color: var(--paper); background: transparent; border: 0; outline: none; padding: 8px 6px; }
.talk input::placeholder { color: var(--muted-2); }
.talk .send { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: rgba(255,255,255,.06); border: 1px solid var(--hair-2); transition: background .25s, border-color .25s; }
.talk .send:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.face-tools, .console-head { display: contents; }
/* nav logo eyes */
.nav .wordmark .o i { transition: transform .12s ease-out; }
.nav .wordmark .o i.blink { transform: scaleY(.15) !important; transition: transform .07s; }
@media (max-width: 900px) {
  .hero { padding-top: 110px; align-content: start; }
  .hero-robot-wrap { position: relative; right: auto; bottom: auto; width: calc(100% + 2 * var(--pad)); margin: 10px calc(-1 * var(--pad)) 0; overflow: hidden; }
  .hero-robot { width: 125%; max-width: none; margin-left: -14%; }
  .face-console { position: relative; right: auto; bottom: auto; width: 100%; max-width: 520px; margin: -20px 0 24px; }
  .hero-frame, .hero-badge { display: none; }
}

/* ---------- Backed by ---------- */
.backed { text-align: center; padding: 30px var(--pad) 10px; display: grid; gap: 10px; }
.backed b { color: var(--paper); font-weight: 400; }
.logo-row {
  list-style: none; margin: 18px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 42px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--muted-2);
}

/* ---------- Pills ---------- */
.pills {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 60px calc(var(--pad) + var(--rail));
}
.pill {
  border: 1px solid var(--hair); border-radius: 16px; padding: 22px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  display: grid; gap: 4px;
}
.pill b { font-weight: 400; font-size: 30px; letter-spacing: -0.02em; }
.pill span { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .pills { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sticky features ---------- */
.features {
  display: grid; grid-template-columns: 1.1fr 1fr;
  padding: 0 calc(var(--pad) + var(--rail));
}
.features-stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.stage-inner { position: relative; height: 84svh; aspect-ratio: 2 / 3; max-width: 100%; cursor: pointer; isolation: isolate; mix-blend-mode: lighten; }
#stageCanvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; mix-blend-mode: screen; clip-path: inset(0 round 16%); opacity: .96; }
.stage-robot { height: 100%; width: 100%; object-fit: cover;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 45%, transparent 95%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 45%, transparent 95%);
}
.callout {
  position: absolute; left: var(--cx); top: var(--cy);
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.callout span {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 14px; border: 1px solid rgba(255,77,0,.55); background: rgba(5,6,8,.85); border-radius: 6px;
  box-shadow: 0 0 20px rgba(255,77,0,.25);
}
.callout i { position: absolute; left: -40px; top: 50%; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.callout i::before { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.callout.is-on { opacity: 1; transform: none; }

.features-copy { padding: 10vh 0 10vh 40px; }
.feature { min-height: 90svh; display: flex; flex-direction: column; justify-content: center; max-width: 440px;
  opacity: .25; transition: opacity .6s var(--ease); }
.feature.is-on { opacity: 1; }
.kicker { color: var(--accent); font-size: 13px; margin-bottom: 8px; }
.feature h3 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 400; line-height: 1.05; margin-bottom: 18px; }
.feature p:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .features-stage { height: 60svh; }
  .stage-inner { height: 56svh; }
  .features-copy { padding: 0; }
  .feature { min-height: 60svh; }
}

/* ---------- Technical ---------- */
.tech { padding: 80px calc(var(--pad) + var(--rail)) 40px; }
.tech-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.tech-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 300; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 14px; }
.tile { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--hair); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75)); pointer-events: none; }
.tile figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: grid; gap: 8px;
  font-size: clamp(18px, 1.6vw, 24px); font-weight: 400; line-height: 1.15;
}
.tile figcaption .mono { color: var(--accent); font-size: 10px; }
.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; grid-column: 3; grid-row: 1 / span 2; }
@media (max-width: 900px) {
  .tech-head { flex-direction: column; align-items: start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .tile-wide { grid-column: span 2; }
  .tile-tall { grid-column: auto; grid-row: auto; }
}
.bigstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 70px; text-align: center; }
.bigstat { display: grid; gap: 6px; justify-items: center; padding: 34px 20px; }
.bigstat .ico { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); position: relative; margin-bottom: 14px; }
.bigstat .ico svg { width: 22px; height: 22px; }
.bigstat .ico::before, .bigstat .ico::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--muted-2);
}
.bigstat .ico::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.bigstat .ico::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.bigstat b { font-size: 30px; font-weight: 400; }
.bigstat span:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 700px) { .bigstats { grid-template-columns: 1fr; margin-top: 30px; } }

/* ---------- Spec sheet ---------- */
.specs { padding: 60px calc(var(--pad) + var(--rail)) 90px; border-top: 1px solid var(--hair); }
.specs-head { max-width: 640px; margin-bottom: 40px; display: grid; gap: 12px; }
.specs-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.05; }
.lead { color: var(--muted); font-size: 16px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec-group { border: 1px solid var(--hair); border-radius: 16px; padding: 22px 24px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.spec-group h4 { color: var(--accent); margin-bottom: 14px; }
.spec-group dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; font-size: 13.5px; }
.spec-group dt { color: var(--muted); }
.spec-group dd { margin: 0; }
.spec-group-wide { grid-column: span 3; }
.spec-group-wide dl { grid-template-columns: 110px 1fr; }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: 1fr 1fr; } .spec-group-wide { grid-column: span 2; } }
@media (max-width: 640px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } .spec-group-wide { grid-column: auto; } .spec-group dl { grid-template-columns: 1fr; gap: 2px 0; } .spec-group dd { margin-bottom: 8px; } }

/* ---------- Quote ---------- */
.quote { position: relative; padding: 40px calc(var(--pad) + var(--rail)) 100px; overflow: hidden; }
.quote-head { display: flex; align-items: center; gap: 28px; margin-bottom: 60px; }
.quote blockquote { margin: 0; max-width: 760px; }
.quote blockquote p { font-size: clamp(22px, 2.6vw, 36px); font-weight: 300; line-height: 1.25; }
.quote footer { margin-top: 30px; display: grid; gap: 2px; }
.quote footer b { font-weight: 400; }
.quote footer span { color: var(--muted); font-size: 13px; }
.avatars { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 10px; }
.av { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--hair-2); background: var(--bg-3); cursor: pointer; transition: border-color .3s, transform .3s; position: relative; overflow: hidden; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.av.is-on { color: var(--paper); }
.av.is-on { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 0 16px rgba(255,77,0,.4); }
.quote-note { margin-top: 26px; }
.quote-lines { position: absolute; right: -40px; bottom: 60px; width: 40vw; height: 140px; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, var(--hair-2)) 0 30px / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--hair)) 60px 70px / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--accent)) 200px 110px / 60% 2px no-repeat;
  transform: skewX(-40deg);
}

/* ---------- Where we are (timeline) ---------- */
.progress { display: grid; grid-template-columns: 340px 1fr; gap: 60px; padding: 40px calc(var(--pad) + var(--rail)) 90px; align-items: start; }
.progress-side { display: grid; gap: 12px; position: sticky; top: 100px; }
.progress-side h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; line-height: 1.05; }
.progress-side p { font-size: 14px; }
.progress-side img { margin-top: 14px; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--hair); }
.steps { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 34px; }
.steps::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--paper) 0, var(--paper) 38%, var(--accent) 38%, var(--accent) 44%, var(--hair-2) 44%); }
.step { position: relative; display: grid; gap: 6px; max-width: 560px; }
.step::before { content: ""; position: absolute; left: -28px; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--muted-2); background: var(--bg); }
.step.is-done::before { background: var(--paper); border-color: var(--paper); }
.step.is-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px var(--accent); animation: led 1.6s infinite; }
.step .mono { color: var(--muted); }
.step.is-now .mono { color: var(--accent); }
.step h3 { font-size: 24px; font-weight: 400; }
.step p { color: var(--muted); font-size: 14.5px; }
.step:not(.is-done):not(.is-now) { opacity: .7; }
@media (max-width: 900px) { .progress { grid-template-columns: minmax(0, 1fr); gap: 30px; } .progress-side { position: static; } }

/* ---------- Family ---------- */
.family { padding: 40px calc(var(--pad) + var(--rail)) 100px; border-top: 1px solid var(--hair); }
.family-head { display: grid; gap: 10px; margin-bottom: 34px; }
.family-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.05; }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.member { display: grid; gap: 8px; align-content: start; border: 1px solid var(--hair); border-radius: 18px; padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); transition: border-color .4s, transform .5s var(--ease); }
.member:hover { border-color: rgba(255,77,0,.5); transform: translateY(-4px); }
.member.is-featured { border-color: rgba(255,77,0,.35); }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; margin: 6px 0 10px; transform-origin: 50% 100%; }
.member .img-wrap { overflow: hidden; border-radius: 12px; margin: 6px 0 10px; }
.member .img-wrap img { margin: 0; border-radius: 0; }
.member h3 { font-size: 24px; font-weight: 400; }
.member b { font-size: 20px; font-weight: 400; }
.member p { color: var(--muted); font-size: 14px; }
.family > .small { margin-top: 20px; }
@media (max-width: 900px) { .family-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pre-order ---------- */
.preorder {
  position: relative; overflow: hidden; text-align: center;
  padding: 140px var(--pad) 0; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; justify-items: center; isolation: isolate;
  background: radial-gradient(60% 50% at 50% 100%, #10203a 0%, #0a0f1c 45%, var(--bg) 100%);
}
.preorder-glow { position: absolute; left: 50%; bottom: -10%; width: 70vw; height: 50vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,120,40,.22), transparent); filter: blur(30px); pointer-events: none; }
.preorder-lines { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, var(--hair-2) 40%, transparent) 0 22% / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255,77,0,.5) 50%, transparent) 0 26% / 100% 1px no-repeat;
  mask-image: linear-gradient(90deg, #000 20%, transparent 40%, transparent 60%, #000 80%);
}
.preorder-copy { position: relative; z-index: 2; max-width: 560px; width: 100%; display: grid; gap: 18px; justify-items: center; }
.blink { animation: led 1.6s infinite; }
.preorder h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.preorder-copy > p:not(.mono) { color: var(--muted); font-size: 15px; }
.preorder-robot { position: relative; z-index: 1; width: min(900px, 90vw); margin-top: 20px;
  mask-image: linear-gradient(180deg, transparent, #000 25%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%);
}

/* ---------- Footer ---------- */
.foot { padding: 70px calc(var(--pad) + var(--rail)) 40px; border-top: 1px solid var(--hair); display: grid; gap: 50px; }
.foot-top { display: grid; gap: 10px; max-width: 420px; }
.foot-top .brand { font-size: 28px; }
.foot-top p { font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 200px); gap: 30px; }
.foot-cols h5 { margin: 0 0 14px; color: var(--muted); }
.foot-cols a { display: block; padding: 5px 0; font-size: 14px; color: var(--paper); opacity: .8; }
.foot-cols a:hover { color: var(--accent); opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--hair); }
@media (max-width: 700px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge, .leds i, .blink { animation: none; }
}


/* ---------- beons wordmark (the o is the robot face) ---------- */
.wordmark { display: inline-flex; align-items: center; font-weight: 500; font-size: 24px; letter-spacing: -0.02em; line-height: 1; color: var(--paper); }
.wordmark .o { display: inline-grid; grid-auto-flow: column; place-items: center; gap: .14em; width: 1.02em; height: .92em; margin: 0 .05em; border-radius: .3em; background: var(--accent); box-shadow: 0 0 16px rgba(255,77,0,.35); transform: translateY(.03em); }
.wordmark .o i { width: .13em; height: .4em; border-radius: .08em; background: #fff; }
.nav-model { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--hair-2); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); display: inline-flex; align-items: baseline; gap: 8px; }
.nav-model .blank-inline { min-width: 2.6em; color: var(--accent); }
.nav-model .blank.is-named { color: var(--paper); font-family: var(--font); font-size: 14px; letter-spacing: 0; text-transform: none; }
.foot-top .wordmark { font-size: 30px; }
@media (max-width: 700px) { .nav-model { display: none; } .wordmark { font-size: 22px; } }

/* ---------- Name blanks ---------- */
.blank { display: inline-block; position: relative; vertical-align: baseline; border-bottom: 2px solid var(--accent); min-width: 2.2em; line-height: 1; padding: 0 .1em; }
.blank::after { content: ""; position: absolute; right: -.06em; bottom: .1em; width: 2px; height: .9em; background: var(--accent); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0 } }
.blank-hero { min-width: 3.4em; color: var(--accent); }
.blank-inline { min-width: 3.2em; border-bottom-width: 1.5px; }
.blank-inline::after { height: .8em; }
.blank.is-named { border-bottom: 0; min-width: 0; padding: 0; }
.blank.is-named::after { display: none; }
.blank-hero.is-named { color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .blank::after { animation: none; } }

/* ---------- Phase rail ---------- */
.phases { padding: 30px calc(var(--pad) + var(--rail)) 10px; }
.phase-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.phase { position: relative; padding: 20px 22px 20px 22px; border: 1px solid var(--hair); border-radius: 16px; display: grid; gap: 4px; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.phase .mono { color: var(--muted-2); }
.phase b { font-weight: 400; font-size: 20px; }
.phase > span:last-child { color: var(--muted); font-size: 13px; }
.phase::before { content: ""; position: absolute; top: 24px; right: 22px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted-2); }
.phase.is-now { border-color: rgba(255,77,0,.6); box-shadow: 0 0 30px rgba(255,77,0,.12); }
.phase.is-now .mono { color: var(--accent); }
.phase.is-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--accent); animation: led 1.6s infinite; }
.phase.is-done { opacity: .6; }
.phase.is-done::before { background: var(--paper); border-color: var(--paper); }
.phase-note { margin-top: 14px; }
@media (max-width: 900px) { .phase-track { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Prize box ---------- */
.prize { width: 100%; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 18px 20px; border: 1px solid rgba(255,77,0,.5); border-radius: 14px; background: rgba(255,77,0,.07); box-shadow: 0 0 40px rgba(255,77,0,.12); }
.prize b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; line-height: 1.1; }
.prize > span:last-child { color: var(--muted); font-size: 13px; }
.prize[hidden] { display: none; }

/* ---------- Sign-up form ---------- */
.signup .preorder-copy { max-width: 640px; width: 100%; min-width: 0; }
.signup-form, .signup-done { min-width: 0; max-width: 100%; }
.signup-form label, .field-row > label { min-width: 0; }
.signup-form input, .signup-form select, .signup-form textarea { min-width: 0; max-width: 100%; }
.signup-done[hidden], .signup-form[hidden], .form-msg[hidden], .signup-form label[hidden] { display: none; }
.signup-title { text-transform: none; }
.signup-form { width: 100%; display: grid; gap: 14px; text-align: left; margin-top: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signup-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.signup-form .opt { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-left: 4px; }
.signup-form input[type=text], .signup-form input[type=email], .signup-form input[type=tel], .signup-form select, .signup-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--paper); background: rgba(255,255,255,.04); border: 1px solid var(--hair-2);
  border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.signup-form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.signup-form select option { color: #111; }
.signup-form textarea { resize: vertical; min-height: 64px; }
.signup-form input:focus, .signup-form select:focus, .signup-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,77,0,.15); }
.signup-form input::placeholder, .signup-form textarea::placeholder { color: var(--muted-2); }
.consent { display: grid !important; grid-template-columns: auto 1fr; gap: 10px !important; align-items: start; font-size: 12px !important; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-form .btn { justify-self: center; margin-top: 6px; }
.form-msg { font-size: 13px; color: #ff7a4d; text-align: center; }
.form-msg.is-ok { color: #7bd88f; }
.signup-done { display: grid; gap: 12px; justify-items: center; padding: 30px 0 10px; }
.signup-done h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; }
.signup-done p { color: var(--muted); max-width: 440px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 10px; }
.preorder .small { margin-top: 10px; }

.consent-note { text-align: center; line-height: 1.6; }

/* ---------- Mobile pass ---------- */
@media (max-width: 700px) {
  :root { --pad: 20px; }
  .btn { width: 100%; padding: 17px 20px; font-size: 13px; }
  .btn-lg { padding: 19px 20px; }
  .hero-cta { flex-direction: column; gap: 10px; width: 100%; }
  .hero-title { font-size: clamp(40px, 12.5vw, 56px); }
  .hero-sub { font-size: clamp(22px, 6.8vw, 30px); }
  .hero-lead { font-size: 15px; }
  .hero-robot-wrap { width: calc(100% + 2 * var(--pad)); margin: 6px calc(-1 * var(--pad)) 0; overflow: hidden; }
  .hero-robot { width: 140%; max-width: none; margin-left: -22%; }
  .bubble { left: 26%; top: 8%; max-width: 40%; font-size: 11px; }
  .face-console { position: relative; right: auto; bottom: auto; width: 100%; margin: -26px 0 20px; }
  .talk .skin-toggle button { padding: 10px 9px; }
  .talk input { font-size: 16px; }
  .talk .send { width: 38px; height: 38px; }
  .nav { padding: 14px var(--pad); height: 64px; }
  .paren { font-size: 10px; }
  .pills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 34px var(--pad); }
  .pill { padding: 16px 16px; border-radius: 14px; }
  .pill b { font-size: 24px; }
  .phases { padding: 10px var(--pad); }
  .features { padding: 0 var(--pad); }
  .features-stage { height: 52svh; }
  .stage-inner { height: 50svh; }
  .feature { min-height: 46svh; padding: 20px 0; justify-content: start; }
  .feature h3 { font-size: 34px; }
  .callout span { font-size: 9px; padding: 8px 10px; }
  .tech, .specs, .quote, .progress, .family, .foot { padding-left: var(--pad); padding-right: var(--pad); }
  .tech { padding-top: 40px; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; }
  .tile-wide, .tile-tall { grid-column: auto; grid-row: auto; }
  .tile figcaption { font-size: 20px; left: 16px; right: 16px; bottom: 16px; }
  .tile img { object-position: 50% 35%; }
  .tile::after { background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85)); }
  .bigstats { gap: 0; margin-top: 20px; }
  .bigstat { padding: 22px 10px; border-top: 1px solid var(--hair); }
  .specs { padding-top: 40px; padding-bottom: 50px; }
  .spec-group { padding: 18px; }
  .quote { padding-bottom: 60px; }
  .quote-head { flex-wrap: wrap; gap: 10px 18px; margin-bottom: 30px; }
  .quote-lines { display: none; }
  .progress { padding-bottom: 50px; }
  .steps { gap: 26px; }
  .family { padding-top: 40px; padding-bottom: 50px; }
  .member img { aspect-ratio: 4 / 3; }
  .preorder { padding-top: 90px; min-height: 0; }
  .preorder h2 { font-size: clamp(34px, 11vw, 48px); }
  .field-row { grid-template-columns: 1fr; }
  .signup-form .btn { justify-self: stretch; }
  .share { flex-direction: column; align-items: stretch; width: 100%; }
  .share .mono { text-align: center; }
  .preorder-robot { width: 100%; max-width: none; margin: 10px 0 0; transform: scale(1.25); transform-origin: 50% 0; }
  .foot { gap: 30px; padding-top: 44px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols a { padding: 8px 0; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .menu-link { font-size: 26px; padding: 16px 0; }
}
@media (max-width: 380px) { .pills { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: 1fr; } }
