/* BIMO landing page. No framework: tokens, sections, motion. */
@import url("tokens.css?v=2026-11-23");

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink-inv);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h2 {
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 700;
}
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.4;
  color: var(--ink-inv-2);
  max-width: 640px;
  margin-top: 24px;
  font-weight: 500;
  letter-spacing: -.016em;
}
.center .lede { margin-inline: auto; }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.kicker { font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--ink-inv-2); }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  padding: 12px 24px;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s, opacity .3s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn-ghost { border: 1px solid var(--sec-line); color: var(--sec-ink); }
.btn-ghost:hover { border-color: var(--sec-ink-2); }
:focus-visible { outline: 2px solid var(--accent-focus); outline-offset: 3px; border-radius: 8px; }

/* ───────────── Nav ───────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 52px;
  background: color-mix(in srgb, var(--black) 55%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 6%, transparent);
  transition: background .4s, color .4s, border-color .4s;
}
.nav.light {
  background: color-mix(in srgb, var(--sec-bg) 72%, transparent);
  border-bottom-color: var(--sec-line);
  color: var(--sec-ink);
}
.nav.light .nav-links { color: var(--sec-ink-2); }
.nav.light .nav-links a:hover { color: var(--sec-ink); }
.nav-in {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .02em; font-size: 15px; }
.brand img { border-radius: 22.5%; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--white) 80%, transparent); }
.nav-links a { position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--white); }
/* The launch switch, data-launch on <html>: the account's way in, or the waitlist's. */
:root[data-launch="open"] .when-waitlist, :root[data-launch="waitlist"] .when-open { display: none !important; }
.nav-lang { font-size: 13px; font-weight: 500; color: color-mix(in srgb, var(--white) 80%, transparent); transition: color .25s; }
.nav-lang:hover { color: var(--white); }
.nav.light .nav-lang { color: var(--sec-ink-2); }
.nav.light .nav-lang:hover { color: var(--sec-ink); }
.nav-signin { font-size: 13px; color: color-mix(in srgb, var(--white) 80%, transparent); transition: color .25s; }
.nav-signin:hover { color: var(--white); }
.nav.light .nav-signin { color: var(--sec-ink-2); }
.nav.light .nav-signin:hover { color: var(--sec-ink); }
.cta-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.btn-on-dark { border: 1px solid color-mix(in srgb, var(--white) 24%, transparent); color: var(--white); }
.btn-on-dark:hover { border-color: color-mix(in srgb, var(--white) 50%, transparent); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  background: var(--accent);
  color: var(--white);
  padding: 5px 13px;
  border-radius: 999px;
  transition: background .3s, box-shadow .3s;
}
.nav-cta:hover { background: var(--accent-hi); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 80%, transparent); }

/* ───────────── Hero ───────────── */
/* The title sits pinned while the product window rises over it (the Assistant section starts inside the hero). */
.hero { height: var(--hero-h); position: relative; background: var(--black); }
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: start center;
}
.hero-copy {
  position: relative;
  text-align: center;
  padding: clamp(84px, 11vh, 120px) var(--gutter) 0;
  padding: clamp(84px, 11svh, 120px) var(--gutter) 0;
  transform: translateY(calc(var(--p, 0) * -60px)) scale(calc(1 - var(--p, 0) * .12));
  opacity: calc(1 - var(--p, 0) * 1.8);
}
/* The hard hat beside the word, as tall as its capitals: one lockup. */
.hero-title {
  display: inline-flex;
  align-items: center;
  gap: .2em;
  font-size: clamp(72px, min(10.5vw, 16vh), 150px);
  font-size: clamp(72px, min(10.5vw, 16svh), 150px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .88;
}
.hero-word {
  background: linear-gradient(180deg, var(--white) 30%, color-mix(in srgb, var(--white) 62%, transparent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .04em .06em 0;
}
.mascot.hero-mark { flex: none; width: .78em; height: .78em; margin: 0 0 .02em; animation: none; }
.mascot.hero-mark img { box-shadow: 0 0 0 1px color-mix(in srgb, var(--white) 12%, transparent), 0 .08em .3em -.06em color-mix(in srgb, var(--black) 90%, transparent); }
.hero-lede {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-top: 16px;
  color: var(--ink-inv);
}
.br-sm { display: none; }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ───────────── The waitlist form ───────────── */
.waitlist {
  position: relative;
  display: flex;
  gap: 6px;
  width: min(460px, 100%);
  margin: 30px auto 0;
  padding: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s;
}
.waitlist:focus-within { border-color: color-mix(in srgb, var(--white) 40%, transparent); }
.waitlist input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font: 500 16px var(--font);
  padding: 0 14px;
  outline: none;
}
.waitlist input::placeholder { color: color-mix(in srgb, var(--white) 45%, transparent); }
.waitlist button {
  flex: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  transition: background .3s, transform .3s var(--ease);
}
.waitlist button:hover { background: var(--accent-hi); box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.waitlist button:disabled { opacity: .6; cursor: default; }
.wl-msg {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  font-size: 14px;
  color: var(--ink-inv-2);
  text-align: center;
}
.wl-msg.ok { color: var(--ok-bright); }
.wl-msg.err { color: var(--danger); }

/* ───────────── Assistant ───────────── */
/* It starts inside the hero: its window shows at the bottom of the first screen and rises over the title. */
.assistant { position: relative; z-index: 2; margin-top: calc(max(48vh, 420px) - var(--hero-h)); margin-top: calc(max(48svh, 420px) - var(--hero-h)); padding: 0 0 var(--pad); }
.assistant h2 { max-width: 12ch; }
.assistant-head { margin: clamp(80px, 11vw, 140px) 0 0; }

.demo { position: relative; perspective: 1800px; }
.win {
  border-radius: 18px;
  overflow: hidden;
  background: var(--grey-5);
  color: var(--ink);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--white) 12%, transparent), 0 30px 80px -30px color-mix(in srgb, var(--black) 90%, transparent);
  font-family: "Inter", var(--font);
  letter-spacing: -.005em;
  transform-origin: 50% 0;
  transform: rotateX(calc((1 - var(--hp, 1)) * 15deg)) scale(calc(.9 + var(--hp, 1) * .1));
  will-change: transform;
}
.spark {
  width: 16px;
  height: 16px;
  background: url("assets/favicon-64.png") center / cover no-repeat;
  border-radius: 22.5%;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--black) 18%, transparent);
  flex: none;
}
.panel-head .spark { width: 20px; height: 20px; }
.win-body { display: grid; grid-template-columns: 1fr 360px; height: clamp(460px, 52vw, 620px); }
.canvas { position: relative; background: var(--white); margin: 10px 0 10px 10px; border-radius: 12px; border: 1px solid var(--grey-13); overflow: hidden; }
.canvas-tab {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--grey-13);
  border-radius: 7px;
}
.canvas-plan { position: absolute; inset: 30px 10px 34px; }
.canvas-plan svg { width: 100%; height: 100%; }
.canvas-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 32px;
  border-top: 1px solid var(--grey-10);
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 0 14px;
  font-size: 12px;
  color: var(--ink-2);
  background: var(--grey-3);
}

/* the garage the Assistant draws */
@keyframes draw { to { stroke-dashoffset: 0; } }
.garage .g-wall { stroke: var(--ai-2); stroke-width: 12.4; fill: none; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; }
.garage .g-room { fill: color-mix(in srgb, var(--ai-2) 10%, transparent); opacity: 0; }
.garage .g-door { stroke: var(--ai-2); stroke-width: 2; fill: none; opacity: 0; }
.garage .g-label { fill: var(--ai-2); font: 600 15px/1 "Inter", sans-serif; letter-spacing: .06em; text-anchor: middle; opacity: 0; }
.garage .g-halo { fill: none; stroke: color-mix(in srgb, var(--ai-2) 55%, transparent); stroke-width: 3; opacity: 0; }
.garage.on .g-wall { animation: draw 1.4s var(--ease) forwards; }
.garage.on .g-wall:nth-of-type(2) { animation-delay: .25s; }
.garage.on .g-wall:nth-of-type(3) { animation-delay: .5s; }
.garage.on .g-wall:nth-of-type(4) { animation-delay: .75s; }
.garage.on .g-wall:nth-of-type(5) { animation-delay: .9s; }
.garage.on .g-room { opacity: 1; transition: opacity .8s .9s; }
.garage.on .g-door, .garage.on .g-label { opacity: 1; transition: opacity .6s 1.2s; }
.garage.halo .g-halo { opacity: 1; animation: halo 1.6s ease-in-out infinite; }
@keyframes halo { 50% { stroke-opacity: .25; } }
.garage.out { opacity: 0; transition: opacity .6s; }
.mark-pin { fill: var(--ai-4); opacity: 0; transition: opacity .4s; }
.mark-pin.on { opacity: 1; animation: pin 1.4s ease-in-out infinite; }
@keyframes pin { 50% { fill-opacity: .4; } }

/* the frame the Assistant puts on the grids: beams drawn along them, a column where they cross */
.frame .f-beam { stroke: var(--ai-2); stroke-opacity: .8; stroke-width: 6; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.frame .f-col { fill: var(--ai-2); opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; }
.frame .f-halo { fill: none; stroke: color-mix(in srgb, var(--ai-2) 55%, transparent); stroke-width: 3; opacity: 0; }
.frame.cols .f-col { opacity: 1; transform: none; transition: opacity .4s, transform .6s var(--ease); transition-delay: calc(var(--k) * .12s); }
.frame.beams .f-beam { animation: draw 1.2s var(--ease) forwards; animation-delay: calc(var(--k) * .14s); }
.frame.halo .f-halo { opacity: 1; animation: halo 1.6s ease-in-out infinite; }
.frame.out { opacity: 0; transition: opacity .6s; }

.sched {
  position: absolute;
  left: 18px;
  bottom: 48px;
  width: min(330px, 70%);
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--grey-13);
  border-radius: 14px;
  box-shadow: 0 18px 50px -12px color-mix(in srgb, var(--black) 25%, transparent);
  padding: 14px 16px 10px;
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.sched.on { opacity: 1; transform: none; }
.sched-title { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.sched table { width: 100%; border-collapse: collapse; }
.sched th { text-align: left; color: var(--ink-2); font-weight: 500; padding: 4px 0; border-bottom: 1px solid var(--grey-12); }
.sched td { padding: 5px 0; border-bottom: 1px solid var(--grey-8); }
.sched tfoot td { font-weight: 700; border: 0; }
.sched .r { text-align: right; font-variant-numeric: tabular-nums; }
.sched tr { opacity: 0; transition: opacity .3s; }
.sched.on tr { opacity: 1; }
.sched.on tbody tr:nth-child(1) { transition-delay: .15s; }
.sched.on tbody tr:nth-child(2) { transition-delay: .25s; }
.sched.on tbody tr:nth-child(3) { transition-delay: .35s; }
.sched.on tbody tr:nth-child(4) { transition-delay: .45s; }
.sched.on tbody tr:nth-child(5) { transition-delay: .55s; }
.sched.on tfoot tr { transition-delay: .7s; }
.sched tr.new td { color: var(--ai-2); font-weight: 600; }

.panel {
  display: flex;
  flex-direction: column;
  margin: 10px;
  border-radius: 12px;
  background:
    radial-gradient(120% 40% at 50% 0%, color-mix(in srgb, var(--ai-2) 10%, transparent), transparent 70%),
    var(--grey-1);
  border: 1px solid var(--grey-13);
  min-width: 0;
  overflow: hidden;
}
.panel-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 12px 14px 6px; }
/* The conversation runs from the top, as in the app, and scrolls on when it fills the panel. */
.transcript {
  flex: 1;
  overflow: hidden;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  font-size: 13.5px;
  line-height: 1.45;
  transition: opacity .3s;
  scroll-behavior: smooth;
}
.transcript > * { flex: none; }
.msg { animation: msgIn .45s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
.msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
  padding: 8px 13px;
  border-radius: 16px 16px 4px 16px;
  max-width: 85%;
}
.chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--shade-5);
  background: var(--grey-9);
  border-radius: 999px;
  padding: 4px 11px 4px 9px;
  font-weight: 500;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grey-18); }
.chip.done::before { background: var(--ok); }
.chip.run::before { background: var(--ai-2); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.msg.bot { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); }
.msg.bot .spark { margin-top: 1px; width: 18px; height: 18px; }
.msg.bot ul { margin: 4px 0; padding-left: 18px; }
.msg.bot b { font-weight: 600; }
.card {
  border-radius: 12px;
  background: var(--white);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), var(--ai);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--ink);
  font-family: "Inter", var(--font);
}
.card-t { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.card-t .spark { width: 16px; height: 16px; }
.card-b { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.card-b span { border: 1px solid var(--grey-17); border-radius: 999px; padding: 3px 10px; font-size: 11.5px; background: var(--white); }
.card-b span.hi { background: var(--accent-wash); border-color: var(--accent-edge); color: var(--accent-deep); }

.composer {
  position: relative;
  margin: 8px 10px 10px;
  border-radius: 16px;
  background: var(--white);
  border: 1.5px solid var(--grey-16);
  padding: 10px 12px 8px;
  isolation: isolate;
}
.composer::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  padding: 3px;
  background: conic-gradient(from var(--a, 0deg), var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-4), var(--ai-1));
  -webkit-mask: linear-gradient(var(--black) 0 0) content-box, linear-gradient(var(--black) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--black) 0 0) content-box exclude, linear-gradient(var(--black) 0 0);
  opacity: 0;
  transition: opacity .5s;
  z-index: -1;
}
.composer::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: conic-gradient(from var(--a, 0deg), var(--ai-1), var(--ai-2), var(--ai-3), var(--ai-4), var(--ai-1));
  filter: blur(16px);
  opacity: 0;
  transition: opacity .5s;
  z-index: -2;
}
.composer.thinking { border-color: transparent; }
.composer.thinking::before { opacity: 1; }
.composer.thinking::after { opacity: .45; }
@property --a { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.composer.thinking { animation: spin 3s linear infinite; }
@keyframes spin { to { --a: 360deg; } }
.composer-text { min-height: 22px; font-size: 13.5px; color: var(--ink); white-space: pre-wrap; }
.composer-text .ph { color: var(--ink-inv-2); }
.caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--grey-19); }
.ico { width: 15px; height: 15px; border: 1.6px solid var(--grey-19); border-radius: 4px; opacity: .8; }
.ico.clip { border-radius: 8px; width: 9px; }
.send { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--grey-12); position: relative; transition: background .3s; }
.send::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-left: 2px solid var(--white); border-top: 2px solid var(--white); transform: translate(-50%, -25%) rotate(45deg); }
.composer.typing .send { background: var(--accent); }

.demo-steps { list-style: none; display: flex; justify-content: center; gap: 10px; padding: 0; margin: 26px 0 0; flex-wrap: wrap; }
.demo-steps button {
  background: color-mix(in srgb, var(--white) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  color: var(--ink-inv-2);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .3s, border-color .3s;
}
.demo-steps button::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
}
.demo-steps button.prog::after { animation: prog var(--dur, 12s) linear forwards; }
@keyframes prog { to { transform: scaleX(1); } }
.demo-steps button:hover { color: var(--white); background: color-mix(in srgb, var(--white) 12%, transparent); }
.demo-steps li.on button { color: var(--white); border-color: color-mix(in srgb, var(--white) 30%, transparent); }

/* ───────────── Every trade, one model ───────────── */
/* One building rendered by the engine four ways, in a row: three trades in 3D and a section through all of them. */
.trades { padding: 0 0 var(--pad); }
.trades .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.trade-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.trade { margin: 0; min-width: 0; }
.trade-art { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, var(--grey-4), var(--grey-15)); box-shadow: 0 0 0 1px var(--line-inv); }
.trade-art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 5%; }
.trade-paper { background: var(--white); }
.trade-paper img { padding: 3%; }
.trade figcaption { padding: 12px 2px 0; }
.trade h3 { font-size: 17px; letter-spacing: -.02em; font-weight: 600; color: var(--white); }
.trade p { color: var(--ink-inv-2); font-size: 15px; margin-top: 2px; }

/* ───────────── How it works ───────────── */
.how { background: var(--sec-bg); color: var(--sec-ink); padding: var(--pad) 0 clamp(40px, 6vw, 80px); }
.how .lede { color: var(--sec-ink-2); }
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.split .lede { margin: 0 0 10px; }
.how-rail { position: relative; height: 30px; margin-bottom: 26px; }
.how-rail::before, .how-rail i { content: ""; position: absolute; left: 0; top: 14px; height: 2px; border-radius: 2px; }
.how-rail::before { right: 0; background: var(--sec-line); }
.how-rail i { right: 0; transform: scaleX(var(--s, 0)); transform-origin: left; background: var(--accent); transition: transform .9s var(--ease); }
.how-rail b {
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--sec-card);
  color: var(--sec-ink-2);
  box-shadow: 0 0 0 2px var(--sec-line);
  transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease);
}
.how-rail b:nth-of-type(1) { left: 16.667%; }
.how-rail b:nth-of-type(2) { left: 50%; }
.how-rail b:nth-of-type(3) { left: 83.333%; }
.how-rail b.on { background: var(--accent); color: var(--white); box-shadow: 0 0 0 2px var(--accent), 0 8px 20px -6px color-mix(in srgb, var(--accent) 70%, transparent); transform: scale(1.08); }
.how-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-step {
  position: relative;
  background: var(--sec-card);
  border-radius: var(--radius);
  padding: 22px 22px 30px;
  box-shadow: 0 0 0 1px var(--sec-line);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.how-step:hover { transform: translateY(-5px); }
.how-step.on { box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -30px color-mix(in srgb, var(--accent) 45%, transparent); }
.how-vis {
  height: 220px;
  border-radius: 18px;
  background: var(--grey-7);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 26px;
  position: relative;
}
.how-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  background: var(--sec-ink);
  color: var(--sec-bg);
  margin-bottom: 14px;
  display: none;
}
.how-step h3 { font-size: 26px; letter-spacing: -.03em; font-weight: 700; margin-bottom: 8px; }
.how-step p { color: var(--sec-ink-2); font-size: 16px; }
.mini-composer {
  width: 84%;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1.5px solid var(--grey-16);
  color: var(--ink);
  font: 500 15px/1.4 "Inter", var(--font);
  box-shadow: 0 16px 40px -20px color-mix(in srgb, var(--black) 25%, transparent);
}
.how-vis-plan { background: var(--white); box-shadow: inset 0 0 0 1px var(--grey-11); }
.how-plan { position: absolute; inset: 8px; }
.how-plan svg { width: 100%; height: 100%; }
.how-plan path { opacity: 0; transition: opacity .25s; }
.how-plan path.v { opacity: 1; }
.how-card { width: 86%; box-shadow: 0 16px 40px -20px color-mix(in srgb, var(--black) 30%, transparent); }
.how-card .undo { transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.how-card .undo.press { background: var(--ink); border-color: var(--ink); color: var(--white); transform: scale(.96); }

/* ───────────── Story (pinned) ───────────── */
.story { height: 420vh; height: 420svh; position: relative; background: var(--sec-bg); color: var(--sec-ink); }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story h2 { font-size: clamp(40px, 5.4vw, 68px); margin-bottom: 36px; }
.story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.story-list li { padding: 12px 0 12px 18px; border-left: 2px solid var(--sec-line); transition: border-color .4s, opacity .4s; opacity: .38; }
.story-list li p { color: var(--sec-ink-2); font-size: 16px; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .6s; }
.story-list li.on { opacity: 1; border-color: var(--accent); }
.story-list li.on p { max-height: 90px; margin-top: 6px; }
.device {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--sec-line), 0 40px 90px -30px color-mix(in srgb, var(--black) 35%, transparent);
}
.device img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.device img.on { opacity: 1; transform: none; }
.device-win {
  border-radius: 18px;
  overflow: hidden;
  background: var(--grey-5);
  color: var(--ink);
  font-family: "Inter", var(--font);
  box-shadow: 0 0 0 1px var(--sec-line), 0 40px 90px -30px color-mix(in srgb, var(--black) 35%, transparent);
}
.device-win .device { margin: 10px; border-radius: 12px; box-shadow: 0 0 0 1px var(--grey-13); }
.story-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.story-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sec-line); transition: background .3s; }
.story-dots i.on { background: var(--sec-ink); width: 22px; border-radius: 4px; }

/* ───────────── One sentence ───────────── */
.statement { background: var(--black); padding: var(--pad) 0 0; }
.statement p {
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 700;
  max-width: 17ch;
}
.statement .soft { color: var(--ink-inv-2); }

/* ───────────── What you deliver ───────────── */
.deliver { background: var(--black); padding: var(--pad) 0; overflow: hidden; }
.deliver-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.shelf-nav { display: flex; gap: 10px; margin-bottom: clamp(48px, 7vw, 88px); }
.shelf-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  background: color-mix(in srgb, var(--white) 6%, transparent);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.shelf-nav button:hover { background: color-mix(in srgb, var(--white) 14%, transparent); border-color: color-mix(in srgb, var(--white) 40%, transparent); transform: scale(1.08); }
.shelf {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2);
  padding: 12px max(var(--gutter), (100vw - var(--maxw)) / 2) 12px;
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.dv {
  flex: 0 0 min(560px, 84vw);
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: var(--shade-1);
  border: 1px solid var(--shade-3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.dv.reveal.in:hover { transform: translateY(-6px); border-color: var(--shade-6); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--black) 70%, transparent); }
.dv-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.dv-copy { padding: 26px 28px 30px; }
.dv-copy h3 { font-size: 26px; letter-spacing: -.03em; font-weight: 700; margin-bottom: 8px; }
.dv-copy p:last-child { color: var(--ink-inv-2); font-size: 16px; }

/* two sheets of paper, one over the other */
.art-sheets { background: radial-gradient(90% 90% at 50% 10%, var(--shade-4), var(--shade-2)); }
.page {
  position: absolute;
  width: 74%;
  height: auto;
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--black) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--black) 15%, transparent);
  transition: transform .7s var(--ease);
}
.page-back { left: 5%; top: 9%; transform: rotate(-6deg); }
.page-front { left: 21%; top: 19%; transform: rotate(3deg); }
.dv:hover .page-back { transform: rotate(-9deg) translate(-3%, -2%); }
.dv:hover .page-front { transform: rotate(4deg) translate(2%, 1%); }

/* a schedule, as the app draws its table */
.art-table { background: linear-gradient(160deg, var(--grey-6), var(--grey-14)); display: grid; place-items: center; color: var(--ink); font-family: "Inter", var(--font); }
.qty {
  width: 86%;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px 12px;
  box-shadow: 0 20px 44px -18px color-mix(in srgb, var(--black) 35%, transparent), 0 0 0 1px color-mix(in srgb, var(--black) 6%, transparent);
  font-size: clamp(11px, 1.05vw, 13.5px);
  transition: transform .6s var(--ease);
}
.dv:hover .qty { transform: scale(1.03); }
.qty > p { font-weight: 700; font-size: 1.1em; margin-bottom: 8px; }
.qty table { width: 100%; border-collapse: collapse; }
.qty th { text-align: left; color: var(--ink-2); font-weight: 500; padding: 5px 0; border-bottom: 1px solid var(--grey-12); }
.qty td { padding: 6px 0; border-bottom: 1px solid var(--grey-8); }
.qty tbody tr:nth-child(even) td { background: var(--grey-2); }
.qty tfoot td { font-weight: 700; border: 0; }
.qty .r { text-align: right; font-variant-numeric: tabular-nums; }

/* the engine's own 3D pictures, on a soft ground */
.art-3d { background: linear-gradient(160deg, var(--grey-4), var(--grey-15)); }
.art-3d img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4% 6%; transition: transform .8s var(--ease); }
.dv:hover .art-3d img { transform: scale(1.06); }
.art-plan { background: var(--white); }
.art-plan img { width: 100%; height: 100%; object-fit: contain; padding: 3% 4%; transition: transform .8s var(--ease); }
.dv:hover .art-plan img { transform: scale(1.06); }

.files {
  aspect-ratio: 16 / 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 34px;
  background: var(--night);
}
.files span {
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
  background: color-mix(in srgb, var(--white) 4%, transparent);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.04em;
  transition: transform .5s var(--ease), background .4s;
}
.dv:hover .files span { background: color-mix(in srgb, var(--white) 8%, transparent); }
.dv:hover .files span:nth-child(odd) { transform: translateY(-3px); }
.dv:hover .files span:nth-child(even) { transform: translateY(3px); }

/* ───────────── Pricing: early access ───────────── */
.pricing { background: var(--sec-bg); color: var(--sec-ink); padding: var(--pad) 0 clamp(48px, 7vw, 100px); }
.pricing .lede { color: var(--sec-ink-2); }
.pricing .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.billing { display: inline-flex; gap: 2px; padding: 4px; margin-bottom: clamp(24px, 3vw, 36px); border-radius: 999px; background: var(--sec-card); border: 1px solid var(--sec-line); }
.billing button { border: 0; background: none; color: var(--sec-ink-2); font-size: 15px; font-weight: 500; padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.billing button:hover { color: var(--sec-ink); }
.billing button[aria-pressed="true"] { background: var(--sec-ink); color: var(--sec-bg); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.plan { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: var(--sec-card); border: 1px solid var(--sec-line); color: var(--sec-ink); }
.plan h3 { font-size: 28px; letter-spacing: -.03em; font-weight: 700; }
.plan-for { color: var(--sec-ink-2); font-size: 16px; margin-top: 6px; min-height: 2.9em; }
.price { display: grid; gap: 4px; margin: 26px 0 22px; }
.price-n { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.price-per { font-size: 14px; color: var(--sec-ink-2); }
.plan .btn { width: 100%; }
.plan-list { list-style: none; display: grid; gap: 12px; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--sec-line); font-size: 15.5px; }
.plan-list li { position: relative; padding-left: 26px; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
/* Pro stands out, in the section's ink */
.plan-pro { background: var(--sec-ink); color: var(--sec-bg); border-color: transparent; }
.plan-pro .plan-for, .plan-pro .price-per { color: inherit; opacity: .68; }
.plan-pro .plan-list { border-top-color: color-mix(in srgb, currentColor 18%, transparent); }

/* ───────────── FAQ ───────────── */
.faq { background: var(--sec-bg); color: var(--sec-ink); padding: clamp(48px, 7vw, 100px) 0 var(--pad); }
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { font-size: clamp(40px, 5.4vw, 68px); }
.faq-list { border-top: 1px solid var(--sec-line); }
.faq details { border-bottom: 1px solid var(--sec-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -.02em;
  position: relative;
  transition: color .25s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--sec-ink-2);
  border-bottom: 2px solid var(--sec-ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--sec-ink-2); font-size: 17px; padding: 0 44px 26px 0; max-width: 70ch; animation: msgIn .4s var(--ease) both; }

/* ───────────── Join ───────────── */
.join { position: relative; background: var(--black); padding: var(--pad) 0 calc(var(--pad) + 20px); overflow: hidden; }
.join h2 { font-size: clamp(52px, 9vw, 120px); margin-top: 28px; }
.mascot { position: relative; width: 176px; height: 176px; margin: 0 auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }
.mascot img { width: 100%; height: 100%; border-radius: 22.5%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--white) 10%, transparent), 0 12px 34px -10px color-mix(in srgb, var(--black) 80%, transparent); }
.mascot.hop { animation: hop .7s var(--ease); }
@keyframes hop { 30% { transform: translateY(-22px) rotate(-4deg); } 60% { transform: translateY(0) rotate(2deg); } }
/* Its eyes are the picture's own; over each lie a glint that looks about and a lid that blinks. */
.eye { position: absolute; container-type: size; border-radius: 999px; overflow: hidden; transform: translate(-50%, -50%) rotate(14deg); pointer-events: none; }
.eye-l { left: 25.14%; top: 55.18%; width: 7.4%; height: 23.6%; }
.eye-r { left: 47.31%; top: 58.6%; width: 10.2%; height: 24%; }
.glint {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  aspect-ratio: 1 / 1.45;
  border-radius: 999px;
  background: var(--white);
  opacity: .92;
  transform: translate(calc(-50% + var(--gx, 0) * 20cqw), calc(-50% + var(--gy, 0) * 31cqh));
  transition: transform .16s ease-out;
}
.lid { position: absolute; inset: -1px; transform: translateY(-104%); transition: transform .1s ease-in, border-radius .2s; }
.eye-l .lid { background: linear-gradient(var(--lid-l), var(--lid-l-2)); }
.eye-r .lid { background: linear-gradient(var(--lid-r), var(--lid-r-2)); }
.mascot.blink .lid { transform: none; }
/* Glad: the lower lid rises in an arch, so each eye is a smile. */
.mascot.happy .lid { transform: translateY(46%); border-radius: 50% 50% 0 0 / 34% 34% 0 0; transition-duration: .2s; }
.mascot.happy .glint { opacity: 0; }
.join .waitlist { margin-top: 40px; }

.foot { background: var(--black); border-top: 1px solid var(--ink); padding: 28px 0 40px; color: var(--grey-20); font-size: 12px; }
.foot-in { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot .brand { color: var(--ink-inv); }
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: var(--ink-inv); }
.foot p { margin-left: auto; }

/* ───────────── Reveal on scroll ───────────── */
.reveal { transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───────────── Small screens ───────────── */
@media (max-width: 980px) {
  .win-body { grid-template-columns: 1fr; grid-template-rows: 46% 54%; height: 720px; }
  .canvas { margin: 10px 10px 0; }
  .story { height: auto; }
  .story-stage { position: static; height: auto; padding: 96px 0; }
  .story-grid { grid-template-columns: 1fr; }
  .story-list li { opacity: 1; border-color: var(--sec-line); }
  .story-list li p { max-height: none; margin-top: 6px; }
  .how-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .how-rail { display: none; }
  .how-num { display: inline-grid; }
  .split, .plans, .faq-grid { grid-template-columns: 1fr; }
  .plans { max-width: 520px; }
  .plan-for { min-height: 0; }
  .faq-head { position: static; }
  .shelf-nav { display: none; }
  .win { transform: rotateX(calc((1 - var(--hp, 1)) * 9deg)) scale(calc(.95 + var(--hp, 1) * .05)); }
}
@media (max-width: 640px) {
  .nav-lang { margin-left: auto; }
  .nav-lang ~ .nav-signin, .nav-lang ~ .nav-cta { margin-left: 0 !important; }
  :root[data-launch="open"] .nav-signin ~ .nav-cta { margin-left: 0; }
  .trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .br-sm { display: inline; }
  .win-body { height: 720px; grid-template-rows: 38% 62%; }
  .waitlist button { padding: 11px 16px; font-size: 14px; }
  .how-vis { height: 190px; }
  .foot p { margin-left: 0; }
}

/* ───────────── Reduced motion ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  :root { --hero-h: 100vh; }
  @supports (height: 1svh) { :root { --hero-h: 100svh; } }
  .win { transform: none; }
  .mascot { animation: none; }
  .hero-copy { transform: none !important; opacity: 1 !important; }
  .story { height: auto; }
  .story-stage { position: static; height: auto; padding: 96px 0; }
  .story-list li { opacity: 1; }
  .story-list li p { max-height: none; }
  .how-plan path { opacity: 1; }
}
