/* justmee.ca, the product page.
   Black ground, white type, one colour: the light in the window.
   Every moving thing here is a real element drawn by the browser frame by frame
   (transform, opacity, clip-path). There is no recorded picture on the page. */

@font-face { font-family: "Space Grotesk"; src: url(fonts/space-grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --mute: #a3a3a3;
  --line: #1c1c1c;
  --line2: #262626;
  --warm: #f2c879;
  --night: #06080b;
  --ease: cubic-bezier(.32, .72, 0, 1);      /* the long, soft landing of a sheet */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; color-scheme: dark; -webkit-text-size-adjust: 100%; }   /* smooth scrolling to a section is done by app.js, so the two never pull against each other */
body { margin: 0; background: #000; color: #fff; font-family: Inter, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 20; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.navlinks { display: flex; gap: 28px; font-size: 14px; }
.navlinks a { color: var(--mute); text-decoration: none; padding: 12px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: color .2s, background-size .35s var(--ease-out); }
.navlinks a:hover { color: #fff; background-size: 100% 1px; }

.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.mute { color: var(--mute); }
.h3 { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.big { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 600; line-height: 0.92; letter-spacing: -0.05em; }
.h-hero { font-size: clamp(64px, 13.8vw, 200px); }
.h-xl { font-size: clamp(56px, 8.4vw, 120px); }
.h-lg { font-size: clamp(44px, 6.6vw, 96px); }
.h-md { font-size: clamp(40px, 5.8vw, 84px); }
.sub { font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.lead { font-size: 19px; color: var(--mute); }
.small { font-size: 14px; color: var(--mute); }
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.02em; }
.nw { white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  background: #fff; color: #000; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 255, 255, .16); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: .08s; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid #3a3a3a; }
.btn.ghost:hover { box-shadow: none; border-color: #8a8a8a; }
.btn.soon, .btn.soon:hover, .btn.soon:active { cursor: default; transform: none; border-color: #3a3a3a; color: #d4d4d4; }

/* the sign: a house with lit windows */
.house { position: relative; width: 1.625em; height: 1.375em; flex: none; display: inline-block; font-size: 16px; }
.house::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .625em; background: #fff; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.house::after { content: ""; position: absolute; left: .1875em; right: .1875em; top: .5625em; bottom: 0; background: #fff; }
.house i { position: absolute; z-index: 1; width: .3125em; height: .3125em; background: var(--warm); top: .8125em; }
.house i:nth-child(1) { left: .375em; }
.house i:nth-child(2) { right: .375em; }

/* the night picture: a hill and the house with its lights on */
.scene { position: relative; background: var(--night); overflow: hidden; }
.hill { position: absolute; left: -15%; right: -15%; bottom: -46%; height: 78%; background: #0c1014; border-radius: 50%; }
.hill.b { left: 35%; right: -40%; bottom: -52%; background: #11161b; }
.home { position: absolute; width: 3.375em; height: 2.5em; }
.home::before { content: ""; position: absolute; left: -.25em; right: -.25em; top: 0; height: 1em; background: #1b2026; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.home::after { content: ""; position: absolute; left: 0; right: 0; top: .9375em; bottom: 0; background: #1b2026; }
.home i { position: absolute; z-index: 1; width: .5em; height: .5625em; top: 1.375em; background: var(--warm); box-shadow: 0 0 .9em rgba(242, 200, 121, .5); }
.home i:nth-child(1) { left: .5625em; }
.home i:nth-child(2) { left: 1.5em; }
.home i:nth-child(3) { left: 2.375em; }

/* a browser frame around the product's interface */
.frame { border: 1px solid #2a2a2a; border-radius: 14px; background: #0c0c0c; overflow: hidden; display: flex; flex-direction: column; }
.fbar { height: 38px; flex: none; border-bottom: 1px solid #222; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.fbar b { width: 10px; height: 10px; border-radius: 50%; background: #2e2e2e; }
.fbar span { margin: 0 auto; font-size: 12px; color: var(--mute); background: #161616; border-radius: 6px; padding: 3px 44px; }
.inputbar { height: 46px; border: 1px solid #353535; border-radius: 23px; background: rgba(14, 14, 14, .82); display: flex; align-items: center; padding: 0 18px; font-size: 14px; color: var(--mute); }

/* a letter whose dot is a small hanging bulb */
.lit { position: relative; display: inline-block; }
.lit-mask { position: absolute; left: 0; right: 0; bottom: .64em; height: .27em; background: var(--ground, #000); }
.lit-bulb { position: absolute; left: 50%; bottom: .65em; width: .2em; height: .6em; transform: translateX(-50%); overflow: visible;
  filter: drop-shadow(0 0 14px rgba(242, 200, 121, .75)); }
.lit-bulb .cord { fill: none; stroke: #7a7a7a; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lit-bulb .cap { fill: #9a9a9a; }
.lit-bulb .glass { fill: var(--warm); }
.lit-j .lit-mask { left: -12%; right: -12%; }
.lit-j .lit-bulb { left: 62%; }
.lit-bulb.off { filter: none; }
.lit-bulb.off .glass { fill: #3a3a3a; }
/* with the script running, a lamp is out of sight until its page is the one being read; app.js lowers it and lights it */
.js .lit-bulb { opacity: 0; }
.js .lit-bulb.here { opacity: 1; }
.js .hero.dark .hero-home i { background: #2a3038; box-shadow: none; }
.js .lit-num { color: #3a3a3a; }
.js .lit-num.on { color: var(--warm); text-shadow: 0 0 44px rgba(242, 200, 121, .35); }
/* the cord passes behind what it would otherwise cross */
.hero .nav .mark { position: relative; z-index: 2; background: var(--night); padding-right: 10px; }
.sec .eyebrow { display: table; position: relative; z-index: 1; background: #000; padding: 2px 10px; margin-left: -10px; }
.sec .center .eyebrow, .sec .center > .eyebrow, .center > .eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- first screen ---------- */
.hero { --ground: var(--night); --peek: clamp(110px, 21svh, 190px); min-height: max(100svh, 700px); display: flex; flex-direction: column; }
.hero-home { left: 74%; bottom: 27.5%; font-size: clamp(22px, 2.9vw, 42px); }
.hero-top { position: relative; flex: 1; display: flex; flex-direction: column; }
.hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px 0 calc(var(--peek) + 40px); }
.hero-copy .h-hero { margin-top: 24px; }
.hero-copy .sub { margin-top: 20px; }
.hero-copy .lead { max-width: 600px; margin: 24px auto 0; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-peek { position: absolute; left: 0; right: 0; top: calc(100% - var(--peek)); }
.hero-peek .frame { height: 460px; }
.peek-body { flex: 1; position: relative; }
.peek-body .home { left: 84%; top: 40px; font-size: 16px; }
.peek-body .inputbar { position: absolute; left: 50%; top: 56px; width: min(560px, 80%); transform: translateX(-50%); }

.gold { display: inline-block; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.3em; line-height: 1;
  letter-spacing: -0.01em; padding: .1em .1em .3em .04em; margin: -.1em 0 -.3em;
  background-image: linear-gradient(100deg, #8f6a1e 0%, #f2c879 20%, #fff3cf 38%, #e3ac3f 56%, #a87a25 76%, #f2c879 100%);
  background-size: 260% 100%; background-position: 35% 50%; -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 22px rgba(242, 200, 121, .3)); }

/* ---------- sections ---------- */
.sec { position: relative; border-top: 1px solid var(--line); padding: 96px 0; }
.sec .eyebrow + .big { margin-top: 20px; }
.center { text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.col { display: flex; flex-direction: column; gap: 14px; }
.facts { margin-top: 72px; }
.facts .col { gap: 8px; }

.cards { margin-top: 48px; }
.card { background: #0f0f0f; border: 1px solid var(--line2); border-radius: 12px; padding: 22px; min-height: 270px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color .3s, background-color .3s; }
.card:hover { border-color: #3d3d3d; background: #121212; }
.frag { height: 112px; flex: none; border-radius: 8px; background: #161616; padding: 12px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 12px; color: #d4d4d4; overflow: hidden; }
.cite { display: inline-flex; align-self: flex-start; align-items: center; font-size: 12px; color: #d4d4d4; border: 1px solid #353535; border-radius: 6px; padding: 2px 8px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span { border: 1px solid #3a3a3a; border-radius: 999px; padding: 2px 10px; font-size: 12px; color: #d4d4d4; }
.line { display: flex; justify-content: space-between; gap: 12px; }

.runs { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; margin-top: 48px; }
.shelf { display: block; width: 100%; height: auto; border: 1px solid var(--line2); border-radius: 12px; }
.shelf .cord { fill: none; stroke: #6b6b6b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.shelf .sh-glass { fill: var(--warm); }
/* with the script running the shelf is built in front of the reader: the board rises, the machines are set down, and the lamp over them is switched on last */
.js .shelf .sh-shelf { opacity: 0; transform: translateY(70px); transition: opacity .5s, transform .95s var(--ease); }
.js .shelf .sh-item { opacity: 0; transform: translateY(-30px); transition: opacity .3s, transform .7s cubic-bezier(.3, 1.45, .5, 1); }
.js .shelf .sh-cable { opacity: 0; transition: opacity .4s; }
.js .shelf.play .sh-shelf, .js .shelf.play .sh-item, .js .shelf.play .sh-cable { opacity: 1; transform: none; }
.js .shelf.play .sh-a { transition-delay: .6s; }
.js .shelf.play .sh-b { transition-delay: .85s; }
.js .shelf.play .sh-c { transition-delay: 1.1s; }
.js .shelf.play .sh-cable { transition-delay: 1.3s; }
.js .shelf .sh-glass { fill: #3a3a3a; }
.js .shelf .sh-glow { opacity: 0; }
.js .shelf.lit .sh-glass { fill: var(--warm); }
.js .shelf.lit .sh-glow { opacity: 1; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line2); }
.row:last-of-type { border-bottom: 1px solid var(--line2); }
.runs .lead { margin-top: 28px; }

.nums { margin-top: 40px; }
.num { font-size: clamp(120px, 14vw, 200px); line-height: .95; }
.num.lit-num { color: var(--warm); }
.nums .h3 { font-size: 22px; }

/* ---------- the live window ---------- */
.demo { margin-top: 32px; }
.demo-frame { width: 100%; max-width: 1040px; margin: 0 auto; }
.stage { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; background: #0c0c0c; }
.ui { position: absolute; inset: 0; --side: 15%; --deskw: 37%; --ban: 48%; font-size: 1.55cqw; line-height: 1.35; color: #e5e5e5; text-align: left; }
.ui button { cursor: pointer; }

.pic { position: absolute; inset: 0; clip-path: inset(0 0 0 0); transition: clip-path .95s var(--ease), opacity .6s; }
.pic-in { position: absolute; inset: 0; transform: scale(1.07); transform-origin: 68% 26%; transition: transform 1.2s var(--ease);
  background:
    radial-gradient(.14em .14em at 18% 12%, #c9d2e3 50%, transparent 52%),
    radial-gradient(.1em .1em at 34% 7%, #9aa6bd 50%, transparent 52%),
    radial-gradient(.12em .12em at 49% 16%, #c9d2e3 50%, transparent 52%),
    radial-gradient(.1em .1em at 83% 6%, #9aa6bd 50%, transparent 52%),
    radial-gradient(.12em .12em at 92% 15%, #c9d2e3 50%, transparent 52%),
    linear-gradient(#0b111b, #06080b 58%); }
.pic-dusk { position: absolute; inset: 0; background: linear-gradient(#25345a 0%, #47465c 26%, rgba(71, 70, 92, 0) 60%); transition: opacity 1.4s ease; }
.pic-in .hill { left: -20%; right: -10%; top: 34%; bottom: auto; height: 90%; }
.pic-in .hill.b { left: 30%; right: -45%; top: 26%; }
.pic-in .home { left: 66%; top: calc(28.7% - 2.4em); font-size: 1.25em; }
.pic-in .home i { background: #2a3038; box-shadow: none; transition: background-color .35s, box-shadow .35s; }
.pic-fade { position: absolute; left: 0; right: 0; top: calc(var(--ban) - 15%); height: 15.5%; background: linear-gradient(rgba(12, 12, 12, 0), #0c0c0c); opacity: 0; transition: opacity .5s; }

.side { position: absolute; left: 0; top: 0; bottom: 0; width: var(--side); z-index: 2; background: #0a0a0a; border-right: 1px solid #1d1d1d; padding: 1.1em .7em .9em;
  display: flex; flex-direction: column; gap: .3em; transform: translateX(-102%); transition: transform .75s var(--ease); }
.side-mark { font-weight: 600; font-size: .95em; padding: 0 .5em; margin-bottom: .7em; }
.side-item { font-size: .8em; color: #bdbdbd; padding: .4em .55em; border-radius: .45em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item.on { background: #1a1a1a; color: #fff; }
.side-out { margin-top: auto; }
.pill { border: 1px solid #333; background: rgba(18, 18, 18, .8); color: #e5e5e5; border-radius: 999px; padding: .5em 1em; font-size: .8em; line-height: 1.2; white-space: nowrap;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease-out), opacity .4s; }
.pill:hover { border-color: #8a8a8a; background: rgba(34, 34, 34, .9); }
.pill:active { transform: scale(.95); }

.home-ui { position: absolute; left: var(--side); right: 0; top: 0; bottom: 0; z-index: 1; transition: right .7s var(--ease); }
.desk-open { position: absolute; right: 1.4em; top: 1.3em; }
.out-pill { position: absolute; left: 1.4em; top: 1.3em; display: none; }
.home-mid { position: absolute; left: 50%; top: 45%; width: 66%; transform: translateX(-50%); transition: width .7s var(--ease), top .6s var(--ease); }
.greet { display: flex; align-items: center; justify-content: center; gap: .7em; font-size: 1.25em; font-weight: 500; letter-spacing: -.01em; }
.greet .house { font-size: .7em; }
.ask { display: flex; align-items: center; gap: .6em; margin: 1.2em 0 0; height: 3.6em; border: 1px solid #2c2c2c; border-radius: 1.1em; background: rgba(22, 22, 22, .92); padding: 0 .55em 0 1.1em; }
.ask:focus-within { border-color: #6a6a6a; }
.ask-in { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #fff; font: inherit; font-size: .9em; }
.ask-in::placeholder { color: #8f8f8f; }
.ask-go { flex: none; width: 2.5em; height: 2.5em; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 0; transition: transform .2s var(--ease-out), background-color .2s; }
.ask-go:hover { background: #e4e4e4; }
.ask-go:active { transform: scale(.9); }
.ask-go svg { width: 1.1em; height: 1.1em; fill: none; stroke: #000; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tries { display: flex; flex-wrap: wrap; justify-content: center; gap: .5em; margin-top: .9em; }
.try { border: 1px solid #333; background: rgba(18, 18, 18, .8); color: #d4d4d4; border-radius: 999px; padding: .45em .9em; font-size: .76em; line-height: 1.2; transition: border-color .2s, color .2s, transform .2s var(--ease-out); }
.try:hover { border-color: #8a8a8a; color: #fff; }
.try:active { transform: scale(.96); }
/* after a question: the question, the answer as it is said, and a way to the thing it found */
.thread { display: none; flex-direction: column; gap: .9em; }
.back { align-self: flex-start; border: 0; background: none; color: #8f8f8f; font-size: .76em; padding: .3em 0; }
.back:hover { color: #fff; }
.thread .q { align-self: flex-end; max-width: 88%; background: #1f1f1f; border-radius: 1em 1em .3em 1em; padding: .6em .9em; font-size: .9em; }
.thread .a { display: flex; flex-direction: column; align-items: flex-start; gap: .6em; min-height: 3em; font-size: .92em; color: #ededed; }
.seek { display: none; align-items: center; gap: .6em; color: #8f8f8f; }
.see { border: 1px solid #4a4333; background: #1b1912; color: #f2c879; border-radius: .5em; padding: .3em .7em; font-size: .82em; transition: border-color .2s, transform .2s var(--ease-out); }
.see:hover { border-color: #f2c879; }
.see:active { transform: scale(.97); }
.demo[data-view="chat"] .thread { display: flex; }
.demo[data-view="chat"] .greet, .demo[data-view="chat"] .stats { display: none; }
.demo[data-view="chat"]:not([data-result="none"]) .tries { display: none; }
.demo[data-view="chat"] .home-mid { top: 24%; }
.demo[data-result="wait"] .seek { display: inline-flex; }
button.side-item { display: block; width: 100%; border: 0; background: none; text-align: left; font-family: inherit; line-height: inherit; }
button.side-item:hover { color: #fff; }
.dk-on { display: none; font-size: .82em; color: #bdbdbd; padding: .3em .35em; }
.demo:is([data-level="lease"], [data-level="photos"], [data-level="day"]) .crumbs { display: none; }
.demo:is([data-level="lease"], [data-level="photos"], [data-level="day"]) .dk-on { display: block; }
.dk-title { font-size: .76em; letter-spacing: .06em; text-transform: uppercase; color: #a3a3a3; }
.dk-row.hit { border-color: #4a4333; background: #1b1912; padding: .6em .7em; }
.paper { flex: none; background: #f1f1ee; border-radius: .45em; padding: 1.2em; display: flex; flex-direction: column; gap: .7em; }
.paper u { display: block; height: .45em; border-radius: .3em; background: #cfcfca; text-decoration: none; }
.paper u.hl { width: 62%; background: #111; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45em; }
.shots i { display: block; aspect-ratio: 1; border-radius: .35em; background: linear-gradient(160deg, #3a4d5e, #1d2a33); }
.shots i:nth-child(3n) { background: linear-gradient(160deg, #4d5a4a, #232b22); }
.shots i:nth-child(4n+1) { background: linear-gradient(160deg, #5b5345, #2a2620); }
.shots i:nth-child(5n) { background: linear-gradient(160deg, #44506a, #1c2230); }
.when { display: flex; align-items: baseline; gap: .8em; font-size: .84em; }
.when span { color: #8f8f8f; }
.dk-note { font-size: .76em; color: #8f8f8f; }
/* what was found is laid out on the desk one piece after another */
.dk-view.res > * { opacity: 0; transform: translateY(.8em); transition: opacity .4s, transform .65s var(--ease); }
.demo[data-desk="open"][data-level="lease"] .dk-view[data-view="lease"] > *, .demo[data-desk="open"][data-level="photos"] .dk-view[data-view="photos"] > *, .demo[data-desk="open"][data-level="day"] .dk-view[data-view="day"] > * { opacity: 1; transform: none; transition-delay: calc(.3s + var(--n, 0) * .13s); }
.dk-view.res > :nth-child(2) { --n: 1; } .dk-view.res > :nth-child(3) { --n: 2; } .dk-view.res > :nth-child(4) { --n: 3; }
.dk-view.res > :nth-child(5) { --n: 4; } .dk-view.res > :nth-child(6) { --n: 5; } .dk-view.res > :nth-child(7) { --n: 6; }
@media (pointer: coarse) { .ask-in { font-size: 16px; } }   /* below 16px a phone zooms the page when the box is touched */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; margin-top: 1em; }
.stat { border: 1px solid #262626; border-radius: .8em; background: #131313; padding: .8em .9em; display: flex; flex-direction: column; gap: .15em; }
.stat span { font-size: .72em; color: #8f8f8f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat b { font-size: 1.35em; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: .4em; }
.dot { display: inline-block; flex: none; width: .5em; height: .5em; border-radius: 50%; background: var(--warm); box-shadow: 0 0 .6em rgba(242, 200, 121, .7); }
.rise { opacity: 0; transform: translateY(1.8em); transition: opacity .3s, transform .5s var(--ease); }

.desk-pane { position: absolute; right: 0; top: 0; bottom: 0; width: var(--deskw); z-index: 3; background: rgba(17, 17, 17, .96); border-left: 1px solid #242424;
  padding: 1.1em 1.1em .9em; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .7s var(--ease); }
.dk-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; min-height: 2.2em; }
.crumbs { display: flex; align-items: center; gap: .1em; font-size: .82em; color: #8f8f8f; }
.crumb { border: 0; background: none; padding: .3em .35em; border-radius: .4em; color: #bdbdbd; }
button.crumb:hover { color: #fff; background: #1d1d1d; }
.crumb.here { color: #fff; }
.c1, .c2 { display: inline-flex; align-items: center; gap: .1em; opacity: 0; transform: translateX(-.6em); transition: opacity .3s, transform .45s var(--ease); }
.c1 i, .c2 i { font-style: normal; color: #5a5a5a; }
.dk-close { width: 2.2em; height: 2.2em; border: 1px solid #2c2c2c; border-radius: .6em; background: none; display: grid; place-items: center; padding: 0;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease-out); }
.dk-close:hover { border-color: #8a8a8a; background: #1d1d1d; }
.dk-close:active { transform: scale(.92); }
.dk-close svg { width: 1.1em; height: 1.1em; fill: none; stroke: #d4d4d4; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dk-views { position: relative; flex: 1; margin-top: .9em; }
.dk-view { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .6em; opacity: 0; transform: translateX(12%); pointer-events: none;
  transition: opacity .3s, transform .55s var(--ease); }
.dk-row { display: flex; align-items: center; gap: .8em; width: 100%; padding: .7em .85em; border: 1px solid #262626; border-radius: .75em; background: #161616;
  color: inherit; text-align: left; transition: background-color .2s, border-color .2s, transform .2s var(--ease-out); }
button.dk-row:hover { background: #1e1e1e; border-color: #3d3d3d; }
button.dk-row:active { transform: scale(.98); }
.dk-row.file { border-color: transparent; background: none; padding: .45em .4em; }
.dk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dk-t b { font-weight: 600; font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-t small { font-size: .74em; color: #8f8f8f; }
.chev { color: #6a6a6a; font-size: 1.1em; }
.dk-ico { flex: none; width: 1.7em; height: 1.35em; border-radius: .25em; background: #2b2b2b; position: relative; }
.dk-ico::before { content: ""; position: absolute; left: 0; top: -.22em; width: .8em; height: .4em; border-radius: .2em .2em 0 0; background: #2b2b2b; }
.dk-ico.img::before { left: .28em; top: .28em; width: .45em; height: .45em; border-radius: 50%; background: #6a6a6a; }
.dk-ico.doc { width: 1.9em; height: 1.9em; display: grid; place-items: center; font-size: .62em; font-weight: 600; letter-spacing: .04em; color: #d4d4d4; background: #262626; border-radius: .5em; }
.dk-ico.doc::before { display: none; }
.dk-foot { display: flex; align-items: center; gap: .6em; font-size: .72em; color: #8f8f8f; padding-top: .8em; }

.signin { position: absolute; left: 50%; top: 50%; z-index: 4; width: 21em; padding: 1.6em; border-radius: 1.1em; text-align: center;
  background: rgba(20, 22, 26, .6); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translate(-50%, -50%); transition: opacity .45s, transform .7s var(--ease), filter .45s; }
.si-title { font-size: 1.15em; font-weight: 600; letter-spacing: -.01em; }
.pw { height: 2.9em; margin-top: 1.1em; border: 1px solid rgba(255, 255, 255, .16); border-radius: .6em; background: rgba(0, 0, 0, .28);
  display: flex; align-items: center; gap: .42em; padding: 0 .9em; position: relative; }
.pw-l { position: absolute; left: .9em; font-size: .86em; color: #9a9a9a; transition: opacity .2s; }
.pw i { width: .48em; height: .48em; border-radius: 50%; background: #fff; opacity: 0; transform: scale(.3); transition: opacity .12s, transform .25s var(--ease-out); }
.pw i.on { opacity: 1; transform: none; }
.pw:has(i.on) .pw-l { opacity: 0; }
.go { width: 100%; height: 2.9em; margin-top: .8em; border: 0; border-radius: .6em; background: #fff; color: #000; font-weight: 600; font-size: .92em;
  transition: transform .2s var(--ease-out), background-color .3s; }
.go:hover { background: #e9e9e9; }
.go:active { transform: scale(.97); }
.si-note { margin-top: .9em; font-size: .78em; color: #a9a9a9; }

.cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 0; height: 0; pointer-events: none; opacity: 0;
  transition: transform .8s cubic-bezier(.45, 0, .15, 1), opacity .35s; will-change: transform; }
.cursor i { position: absolute; left: -.8em; top: -.8em; width: 1.6em; height: 1.6em; border-radius: 50%; border: .13em solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .2); box-shadow: 0 .2em .8em rgba(0, 0, 0, .5); transition: transform .16s var(--ease-out), background-color .16s; }
.cursor.on { opacity: 1; }
.cursor.press i { transform: scale(.74); background: rgba(255, 255, 255, .45); }

/* waiting for the phone */
.demo[data-state="auth"] .go { background: #cfcfcf; }
/* signed in: the picture closes down to a banner, the room comes in around it */
.demo[data-state="in"] .pic { clip-path: inset(0 0 calc(100% - var(--ban)) var(--side)); }
.demo[data-state="in"] .pic-in { transform: none; }
.demo[data-state="in"] .pic-dusk { opacity: 0; }
.demo[data-state="in"] .pic-fade { opacity: 1; transition-delay: .35s; }
.demo[data-state="in"] .pic-in .home i { background: var(--warm); box-shadow: 0 0 .9em rgba(242, 200, 121, .55); transition-delay: .95s; }
.demo[data-state="in"] .pic-in .home i:nth-child(2) { transition-delay: 1.1s; }
.demo[data-state="in"] .pic-in .home i:nth-child(3) { transition-delay: 1.2s; }
.demo[data-state="in"] .side { transform: none; }
.demo[data-state="in"] .rise { opacity: 1; transform: none; transition: opacity .55s, transform .9s var(--ease); transition-delay: calc(.3s + var(--i) * .08s); }
.demo[data-state="in"] .signin { opacity: 0; transform: translate(-50%, -50%) scale(.92); filter: blur(10px); pointer-events: none; }
/* the desk out */
.demo[data-desk="open"] .home-ui { right: var(--deskw); }
.demo[data-desk="open"] .home-mid { width: 84%; }
.demo[data-desk="open"] .desk-pane { transform: none; }
.demo[data-desk="open"] .pic { opacity: .55; }
.demo[data-state="in"][data-desk="open"] .stats, .demo[data-state="in"][data-desk="open"] .desk-open { opacity: 0; transform: translateY(.8em); pointer-events: none; transition: opacity .25s, transform .5s var(--ease); transition-delay: 0s; }
/* which shelf of the desk is showing */
.demo[data-level="0"] .dk-view[data-view="0"], .demo[data-level="1"] .dk-view[data-view="1"], .demo[data-level="2"] .dk-view[data-view="2"], .demo[data-level="lease"] .dk-view[data-view="lease"], .demo[data-level="photos"] .dk-view[data-view="photos"], .demo[data-level="day"] .dk-view[data-view="day"] { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.demo[data-level="1"] .dk-view[data-view="0"], .demo[data-level="2"] .dk-view[data-view="0"], .demo[data-level="2"] .dk-view[data-view="1"] { transform: translateX(-12%); }
.demo[data-level="1"] .c1, .demo[data-level="2"] .c1, .demo[data-level="2"] .c2 { opacity: 1; transform: none; }

.demo-ctl { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.demo-ctl .btn { height: 44px; }

footer { border-top: 1px solid var(--line); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 140px; }
.by { color: #fff; text-decoration: none; padding: 12px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat; transition: color .2s; }
.by:hover { color: var(--warm); }

/* ---------- motion ---------- */
@keyframes enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes peek { from { opacity: 0; transform: translateY(90px); } to { opacity: 1; transform: none; } }
@keyframes goldshift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes inUp { from { opacity: 0; transform: translateY(120px); } to { opacity: 1; transform: none; } }
@keyframes inGrow { from { opacity: 0; transform: translateY(100px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes flickGlow { 0%, 7% { filter: none; } 8%, 11% { filter: drop-shadow(0 0 14px rgba(242, 200, 121, .75)); } 12%, 16% { filter: none; } 17%, 20% { filter: drop-shadow(0 0 14px rgba(242, 200, 121, .75)); } 21%, 23% { filter: none; } 24%, 30% { filter: drop-shadow(0 0 14px rgba(242, 200, 121, .75)); } 31%, 37% { filter: none; } 38%, 41% { filter: drop-shadow(0 0 14px rgba(242, 200, 121, .75)); } 42%, 46% { filter: none; } 47%, 55% { filter: drop-shadow(0 0 14px rgba(242, 200, 121, .75)); } 56%, 65% { filter: none; } 66%, 100% { filter: drop-shadow(0 0 14px rgba(242, 200, 121, .75)); } }
@keyframes flickGlass { 0%, 7% { fill: #3a3a3a; } 8%, 11% { fill: #f2c879; } 12%, 16% { fill: #3a3a3a; } 17%, 20% { fill: #f2c879; } 21%, 23% { fill: #3a3a3a; } 24%, 30% { fill: #f2c879; } 31%, 37% { fill: #3a3a3a; } 38%, 41% { fill: #f2c879; } 42%, 46% { fill: #3a3a3a; } 47%, 55% { fill: #f2c879; } 56%, 65% { fill: #3a3a3a; } 66%, 100% { fill: #f2c879; } }
@keyframes flickWin { 0%, 7% { background-color: #2a3038; box-shadow: none; } 8%, 11% { background-color: #f2c879; box-shadow: 0 0 .9em rgba(242, 200, 121, .5); } 12%, 16% { background-color: #2a3038; box-shadow: none; } 17%, 20% { background-color: #f2c879; box-shadow: 0 0 .9em rgba(242, 200, 121, .5); } 21%, 23% { background-color: #2a3038; box-shadow: none; } 24%, 30% { background-color: #f2c879; box-shadow: 0 0 .9em rgba(242, 200, 121, .5); } 31%, 37% { background-color: #2a3038; box-shadow: none; } 38%, 41% { background-color: #f2c879; box-shadow: 0 0 .9em rgba(242, 200, 121, .5); } 42%, 46% { background-color: #2a3038; box-shadow: none; } 47%, 55% { background-color: #f2c879; box-shadow: 0 0 .9em rgba(242, 200, 121, .5); } 56%, 65% { background-color: #2a3038; box-shadow: none; } 66%, 100% { background-color: #f2c879; box-shadow: 0 0 .9em rgba(242, 200, 121, .5); } }
@keyframes flickNum { 0%, 7% { color: #3a3a3a; text-shadow: none; } 8%, 11% { color: #f2c879; text-shadow: 0 0 44px rgba(242, 200, 121, .35); } 12%, 16% { color: #3a3a3a; text-shadow: none; } 17%, 20% { color: #f2c879; text-shadow: 0 0 44px rgba(242, 200, 121, .35); } 21%, 23% { color: #3a3a3a; text-shadow: none; } 24%, 30% { color: #f2c879; text-shadow: 0 0 44px rgba(242, 200, 121, .35); } 31%, 37% { color: #3a3a3a; text-shadow: none; } 38%, 41% { color: #f2c879; text-shadow: 0 0 44px rgba(242, 200, 121, .35); } 42%, 46% { color: #3a3a3a; text-shadow: none; } 47%, 55% { color: #f2c879; text-shadow: 0 0 44px rgba(242, 200, 121, .35); } 56%, 65% { color: #3a3a3a; text-shadow: none; } 66%, 100% { color: #f2c879; text-shadow: 0 0 44px rgba(242, 200, 121, .35); } }
@keyframes flickFade { 0%, 7% { opacity: 0; } 8%, 11% { opacity: 1; } 12%, 16% { opacity: 0; } 17%, 20% { opacity: 1; } 21%, 23% { opacity: 0; } 24%, 30% { opacity: 1; } 31%, 37% { opacity: 0; } 38%, 41% { opacity: 1; } 42%, 46% { opacity: 0; } 47%, 55% { opacity: 1; } 56%, 65% { opacity: 0; } 66%, 100% { opacity: 1; } }
@keyframes waiting { 50% { opacity: .55; } }

@media (prefers-reduced-motion: no-preference) {
  .enter { animation: enter 1s var(--ease-out) both; animation-delay: calc(var(--d) * 90ms + 60ms); }
  .hero-peek.enter { animation-name: peek; animation-duration: 1.3s; animation-timing-function: var(--ease); }
  .gold { animation: goldshift 6s ease-in-out infinite alternate; }
  .hero.relit .hero-home i { animation: flickWin 1.1s linear both; }
  .js .lit-num.on { animation: flickNum 1.1s linear both; }
  .lit-bulb.flick { animation: flickGlow 1.1s linear both; }
  .lit-bulb.flick .glass { animation: flickGlass 1.1s linear both; }
  .js .shelf.lit.flick .sh-glass { animation: flickGlass 1.1s linear both; }
  .js .shelf.lit.flick .sh-glow { animation: flickFade 1.1s linear both; }
  .demo[data-state="auth"] .go { animation: waiting 1s ease-in-out infinite; }
}
/* tied to the scroll position itself, so it follows the finger or the wheel exactly */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .in-up, .in-grow { animation-duration: 1ms; animation-timing-function: var(--ease-out); animation-fill-mode: both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    .in-up { animation-name: inUp; }
    .in-grow { animation-name: inGrow; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- sizes ---------- */
@media (min-width: 1024px) and (min-height: 700px) {
  .sec { min-height: 100svh; padding: 56px 0; display: flex; flex-direction: column; justify-content: center; }
  /* the whole window stays on one screen, whatever the screen's height */
  .demo-frame { max-width: min(1040px, calc((100svh - 400px) * 1.6)); }
}
@media (max-height: 640px) and (min-width: 821px) { .hero { --peek: 0px; } .hero-peek { display: none; } }
@media (max-width: 1023px) {
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .runs { grid-template-columns: 1fr; gap: 40px; }
  .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  /* the window as a phone would show it: no side list, the desk takes the whole screen */
  .demo-frame { max-width: 440px; }
  .stage { aspect-ratio: 4 / 5; }
  .ui { --side: 0%; --deskw: 100%; --ban: 44%; font-size: 3.3cqw; }
  .side { display: none; }
  .out-pill { display: block; }
  .home-mid { width: 86%; top: 43%; }
  .pic-in .home { left: 62%; }
  .stat span:last-child { display: none; }
  .demo[data-desk="open"] .home-ui { right: 0; }
  .demo[data-desk="open"] .home-mid { width: 86%; }
}
@media (max-width: 820px) {
  .navlinks a:not(.keep) { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 72px 0; }
  .grid3, .grid4, .nums { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .facts { margin-top: 48px; }
  .lead { font-size: 17px; }
  .hero { --peek: 96px; min-height: max(100svh, 640px); }
  .hero-home { left: 64%; bottom: 20%; }
  .actions .btn { width: 100%; }
  .row { flex-direction: column; gap: 2px; }
  .num { font-size: 120px; }
  .foot { flex-direction: column; justify-content: center; min-height: 160px; }
  .demo-ctl .btn { width: 100%; }
}
