/* Inloop website. Dark anthracite for the frame, warm off-white where the product is shown. */
:root {
  --night: #111116; --night-2: #1A1A21; --night-3: #24242D;
  --paper: #F4F3EF; --paper-2: #F7F6F2; --white: #FFFFFF;
  --ink: #15151A; --ink-2: #4A4A55;
  --on-night: #F4F3EF; --grey: #B2B1BC;
  --lime: #D7ED6A; --lav: #A59AF0; --lav-soft: #CFC8FA; --lav-deep: #4B3FA8;
  --line: color-mix(in oklab, var(--ink) 12%, transparent);
  --line-night: color-mix(in oklab, var(--on-night) 14%, transparent);
  --r-card: 24px; --r-panel: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 180ms var(--ease);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 80rem;
  --fs-label: .75rem;
  --fs-sm: .875rem;
  --fs-body: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1.02rem + .5vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2.3vw, 3.25rem);
  --fs-h1: clamp(2.75rem, 1.5rem + 5vw, 5.25rem);
  --fs-big: clamp(1.625rem, 1.05rem + 2.6vw, 3.25rem);
  --sec: clamp(4.5rem, 11vh, 8.5rem);
}
body { background: var(--night); color: var(--on-night); font-size: var(--fs-body); }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
section { position: relative; }
main, footer { position: relative; z-index: 1; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.028em; }
h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.018em; }
.label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--grey); display: flex; align-items: center; gap: .6rem; }
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lav); }
[data-tone="light"] { background: var(--paper); color: var(--ink); }
[data-tone="light"] .label { color: var(--ink-2); }
[data-tone="light"] .label::before { background: var(--lav-deep); }

/* The loop lives behind the dark parts of the page */
.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- Labels that say what is real ---------- */
.pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .38rem .7rem; border-radius: 999px; white-space: nowrap; line-height: 1; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.live { background: var(--lime); color: var(--ink); }
.pill.dev { color: var(--on-night); box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 45%, transparent); }
.pill.dev::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.pill.pre { background: color-mix(in oklab, var(--lav) 24%, var(--night)); color: var(--lav-soft); }
.pill.pre::before { border-radius: 1px; transform: rotate(45deg); }
[data-tone="light"] .pill.dev, dialog .pill.dev { color: var(--ink); }
figcaption { font-size: .75rem; font-weight: 500; letter-spacing: .04em; color: var(--grey); }
[data-tone="light"] figcaption { color: var(--ink-2); }

/* ---------- Nav ---------- */
.nav { --glass: color-mix(in oklab, var(--night) 70%, transparent); position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: .85rem var(--pad); color: var(--on-night); transition: color 300ms var(--ease-io), transform 450ms var(--ease); }
.nav.away { transform: translateY(-110%); }
.nav[data-tone="light"] { color: var(--ink); --glass: color-mix(in oklab, var(--paper) 78%, transparent); background: none; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; font-size: 1.0625rem; letter-spacing: -.01em; min-height: 44px; padding: 0 1rem 0 .75rem; margin-left: -.75rem; border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background 300ms var(--ease-io); }
.brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: .35rem; padding: .25rem; border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-links a, .menu-btn { font-size: .8125rem; font-weight: 500; padding: .55rem .95rem; border-radius: 999px; transition: background var(--t), color var(--t); display: inline-flex; align-items: center; gap: .5rem; min-height: 38px; }
.nav-links a:not(.cta):hover { background: color-mix(in oklab, currentColor 12%, transparent); }
.nav-links a.cta { background: var(--lime); color: var(--ink); }
.nav[data-tone="light"] .nav-links a.cta { background: var(--ink); color: var(--paper); }
.arrow { display: inline-block; transition: transform var(--t); }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }
a:hover .arrow.down { transform: translateY(3px); }
.menu-btn { display: none; }
.menu { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; min-height: 44px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .menu-btn .bars { width: 14px; height: 8px; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease); }
  .menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
  .menu-btn[aria-expanded="true"] .bars::before { transform: translateY(3.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-3.25px) rotate(-45deg); }
  .menu { display: block; position: absolute; top: calc(100% - .25rem); right: var(--pad); left: var(--pad); background: var(--night-2); color: var(--on-night); border-radius: var(--r-card); padding: .5rem; box-shadow: 0 0 0 1px var(--line-night), 0 30px 60px -20px #000; transform-origin: top right; opacity: 0; transform: scale(.96) translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 0s 250ms; }
  .menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
  .menu a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; font-size: 1.0625rem; border-radius: var(--r-panel); }
  .menu a + a { box-shadow: 0 -1px 0 var(--line-night); }
  .menu a:active { background: var(--night-3); }
  .menu a.cta { background: var(--lime); color: var(--ink); margin-top: .5rem; box-shadow: none; font-weight: 500; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 500; font-size: .9375rem; background: var(--ink); color: var(--paper); transition: transform var(--t), background var(--t), box-shadow var(--t); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { box-shadow: 0 12px 30px -12px color-mix(in oklab, var(--lime) 70%, transparent); }
.btn.ghost { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--on-night) 38%, transparent); }
.btn.ghost:hover { background: color-mix(in oklab, var(--on-night) 9%, transparent); }

/* ---------- Product frames ---------- */
.screen { border-radius: 18px; background: var(--white); padding: 6px; box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 9%, transparent), 0 40px 80px -40px color-mix(in oklab, var(--ink) 45%, transparent), 0 12px 24px -16px color-mix(in oklab, var(--ink) 30%, transparent); }
.screen img, .screen .frames { border-radius: 13px; }
.screen img { width: 100%; }
.device { border-radius: 38px; background: #050507; padding: 7px; box-shadow: 0 0 0 1px color-mix(in oklab, #fff 20%, transparent), 0 40px 90px -30px #000; }
.device img { width: 100%; border-radius: 31px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 6.5rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.04em; margin: 1.2rem 0 1.5rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; }
.hero h1 .line > span { display: block; }
.hero h1 .line:nth-child(2) { color: var(--lav-soft); }
.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--on-night); max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero-note { margin-top: 1.3rem; font-size: var(--fs-sm); color: var(--grey); display: flex; align-items: center; gap: .55rem; }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero-shot { position: relative; margin-right: calc(-1 * clamp(2rem, 9vw, 11rem)); display: grid; gap: .9rem; }
.hero-shot .screen { padding: 7px; border-radius: 22px; background: color-mix(in oklab, var(--white) 92%, var(--lav)); box-shadow: 0 0 0 1px color-mix(in oklab, #fff 30%, transparent), 0 60px 120px -40px #000, 0 0 120px -30px color-mix(in oklab, var(--lav) 55%, transparent); }
.hero-shot .screen img { border-radius: 16px; }
.js .hero h1 .line > span { transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero .label, .js .hero .lead, .js .hero-actions, .js .hero-note { opacity: 0; animation: fade .9s var(--ease) .45s forwards; }
.js .hero-actions, .js .hero-note { animation-delay: .6s; }
.js .hero-shot { opacity: 0; transform: translateY(24px); animation: up 1.1s var(--ease) .35s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes up { to { opacity: 1; transform: none; } }
@media (min-width: 1001px) {
  /* two lines, always: the size follows the width of the text column */
  .hero-copy { container-type: inline-size; }
  .hero h1 { font-size: clamp(3rem, 5.1vw, 4.75rem); font-size: clamp(3rem, 14.4cqw, 6.5rem); }
  .hero h1 .line { white-space: nowrap; }
}
@media (min-width: 1001px) and (max-height: 760px) {
  .hero { padding: 5.5rem 0 2rem; }
  .hero h1 { font-size: clamp(3rem, 4.6vw, 4.5rem); font-size: clamp(3rem, 13cqw, 5rem); margin: .9rem 0 1.1rem; }
  .hero-actions { margin-top: 1.4rem; }
}
@media (max-width: 1000px) {
  .hero { min-height: 0; padding: 6rem 0 3rem; align-items: start; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-shot { margin-right: 0; }
}
@media (max-width: 760px) {
  .hero { padding-top: 5.5rem; }
  .hero h1 { margin: .9rem 0 1.1rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-shot { justify-items: center; }
  .hero-shot .screen { width: min(100%, 20rem); border-radius: 40px; background: #050507; padding: 7px; }
  .hero-shot .screen img { border-radius: 33px; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(5rem, 15vh, 10rem) 0; }
.statement .big { font-size: var(--fs-big); line-height: 1.18; letter-spacing: -.028em; font-weight: 500; max-width: 21em; }
.statement .big + .big { margin-top: .9em; }
.statement .w { transition: opacity 300ms linear; }
.js .statement .w { opacity: .22; }
.js .statement .w.on { opacity: 1; }
.statement em { font-style: normal; color: var(--lime); }

/* ---------- Section heads ---------- */
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.sec-head h2 { max-width: 17em; }
.sec-lead { font-size: var(--fs-lg); line-height: 1.5; max-width: 44rem; color: var(--grey); }
[data-tone="light"] .sec-lead { color: var(--ink-2); }
.sec-head.split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 2rem; }
.sec-head.split > div { display: grid; gap: 1.1rem; }
@media (max-width: 900px) { .sec-head.split { grid-template-columns: 1fr; } }

/* ---------- Demo: the visitor plays one budget update in a copy of the product ---------- */
.demo { padding: clamp(4rem, 9vh, 6.5rem) 0; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; column-gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.demo-head { grid-column: 1; grid-row: 1; display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.demo-head h2 { font-size: clamp(1.75rem, 1.05rem + 1.55vw, 2.5rem); }
.try { color: var(--grey); }
.rail { grid-column: 1; grid-row: 2; }
.stage, .demo-static { grid-column: 2; grid-row: 1 / span 2; align-self: start; min-width: 0; }
.stage { display: none; }
.js .stage { display: grid; }
.js .demo-static { display: none; }
.demo-static { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.demo-static figure { display: grid; gap: .6rem; align-content: start; }
@media (min-width: 901px) {
  .js .demo { min-height: 100svh; display: grid; align-items: center; }
  .js .demo .wrap { width: min(100% - 2 * var(--pad), max(var(--max), 92rem)); }
  /* the window, the instruction and the caption always fit one screen */
  .js .stage { width: min(100%, max(42rem, (100svh - 17rem) * 1.49)); justify-self: center; }
}

.rail li { border-top: 1px solid var(--line-night); }
.rail li:last-child { border-bottom: 1px solid var(--line-night); }
.rail-t { display: flex; align-items: center; gap: .9rem; width: 100%; min-height: 3.25rem; text-align: left; font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; color: var(--on-night); transition: color var(--t); cursor: default; }
.js .rail-t { color: var(--grey); cursor: pointer; }
.js .rail-t:hover, .js li.on .rail-t { color: var(--on-night); }
.rail-t .n { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-size: .6875rem; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 45%, transparent); transition: background 300ms var(--ease-io), color 300ms var(--ease-io); }
.js li.done .rail-t .n { background: var(--lime); color: var(--ink); box-shadow: none; }
.js li.on .rail-t .n { background: var(--lav); color: var(--ink); box-shadow: none; }
.rail-b { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 450ms var(--ease); }
.rail-b > div { overflow: hidden; min-height: 0; }
.rail-b p { padding: 0 0 .9rem 2.65rem; font-size: .9375rem; color: var(--grey); max-width: 27rem; }
.rail-b p:last-child { padding-bottom: 1.2rem; }
.rail-h { display: none; }
.js li:not(.on) .rail-b { grid-template-rows: 0fr; }
.js li:not(.done) .after, .js li.done .before { display: none; }

.act { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; min-height: 4.5rem; }
.act-btns { margin-left: auto; }
.act.done .act-btns { margin-left: 0; }
.act-do { display: flex; align-items: center; gap: .7rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; color: var(--lime); }
.act-ic { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--lime) 15%, transparent); }
.act-ic .i, .f-ic .i { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.act.done .act-do { display: none; }
.act-btns { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.3rem; }
.txt { font-size: .875rem; font-weight: 500; min-height: 44px; color: var(--on-night); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--on-night) 40%, transparent); text-underline-offset: 5px; transition: text-decoration-color var(--t); }
.txt:hover { text-decoration-color: var(--lime); }
/* the file that is handed to Inloop in step 1 */
.file { --x: 0px; --y: 0px; --s: 1; --r: -3deg; position: relative; z-index: 6; display: flex; align-items: center; gap: .7rem; padding: .65rem 1.1rem .65rem .65rem; border-radius: 16px; background: var(--white); color: var(--ink); text-align: left; box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 9%, transparent), 0 22px 44px -18px #000; transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s)); transition: transform 550ms var(--ease), opacity 250ms var(--ease-io); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; animation: bob 2.6s var(--ease-io) infinite; }
.file::after { content: ""; position: absolute; inset: -5px; border-radius: 20px; box-shadow: 0 0 0 2px var(--lime); opacity: 0; animation: hot 2.6s var(--ease-io) infinite; pointer-events: none; }
.file.drag { cursor: grabbing; transition: none; animation: none; --r: 0deg; --s: 1.04; }
.file.fly { animation: none; transition: transform 650ms var(--ease-io), opacity 200ms var(--ease-io) 450ms; --r: 0deg; --s: .5; opacity: 0; pointer-events: none; }
.file.drag::after, .file.fly::after { animation: none; }
.act[data-file="off"] .file { display: none; }
.f-ic { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: #1E7A46; color: #fff; display: grid; place-items: center; }
.file b { display: block; font-size: .9375rem; font-weight: 500; line-height: 1.25; }
.file small { font-size: .75rem; color: var(--ink-2); }
@keyframes bob { 50% { translate: 0 -5px; } }
@keyframes hot { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

.stage { gap: .9rem; }
.stage-in { position: relative; container-type: inline-size; }
.stage figcaption { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .2rem 1.5rem; letter-spacing: 0; font-weight: 400; }
.stage figcaption b { font-weight: 600; color: var(--on-night); }

/* The window. Everything inside is sized in em, so it scales with the stage like a picture would. */
.win { --wbg: #E6E7EE; --wink: #15151A; --wink2: #4A4A55; --wdark: #1D1E25; --wchip: #EDEEF4; --wline: color-mix(in oklab, #15151A 12%, transparent);
  position: relative; isolation: isolate; display: grid; grid-template: 4.7em minmax(0, 1fr) / 4.4em minmax(0, 1fr); height: 39em; font-size: clamp(11.5px, 1.72cqw, 17px); line-height: 1.4; color: var(--wink); background: var(--wbg); border-radius: 1.5em; overflow: hidden;
  box-shadow: 0 0 0 1px color-mix(in oklab, #fff 30%, transparent), 0 60px 120px -40px #000, 0 0 120px -30px color-mix(in oklab, var(--lav) 55%, transparent); }
.win .i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.win small { display: block; font-size: .84em; font-weight: 400; color: var(--wink2); }
.win b { font-weight: 500; }
.win button { font-size: 1em; }
.w-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0 1.4em; }
.w-brand { display: flex; align-items: center; gap: .6em; font-size: 1.15em; }
.w-brand svg { width: 1.7em; height: 1.7em; }
.w-switch { display: flex; align-items: center; background: #fff; border-radius: 99em; padding: .22em; font-size: .95em; font-weight: 500; }
.w-switch > * { display: flex; align-items: center; gap: .5em; padding: .55em 1.7em; border-radius: 99em; white-space: nowrap; }
.w-switch b { background: var(--wdark); color: #fff; }
.w-switch span { color: var(--wink2); }
.w-tools { display: flex; align-items: center; gap: .5em; }
.w-ic, .w-side span { width: 2.6em; height: 2.6em; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.w-av { width: 2.9em; height: 2.9em; border-radius: 50%; display: grid; place-items: center; background: #D9D0F7; font-size: .9em; font-weight: 600; }
.w-side { display: grid; gap: .75em; align-content: start; justify-items: center; padding-top: .9em; }
.w-side span { transition: background 300ms var(--ease-io), color 300ms var(--ease-io); }
.win[data-step="1"] .w-side span:nth-child(2), .win[data-step="2"] .w-side span:nth-child(1), .win[data-step="3"] .w-side span:nth-child(4), .win[data-step="4"] .w-side span:nth-child(3) { background: var(--wdark); color: #fff; }
.w-body { position: relative; min-width: 0; }
.scene, .view { position: absolute; inset: 0; padding: .6em 1.6em 1.5em .5em; display: flex; flex-direction: column; gap: .8em; }
.scene { opacity: 0; visibility: hidden; transform: translate3d(1.2em, 0, 0); transition: opacity 300ms var(--ease-io), transform 500ms var(--ease), visibility 0s 300ms; }
.scene.on { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease-io) 150ms, transform 600ms var(--ease) 150ms, visibility 0s; }
.w-h { font-size: 1.85em; font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.w-sub { color: var(--wink2); margin-top: -.45em; display: flex; align-items: center; gap: .5em; }
.cnt { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; border-radius: 99em; background: #fff; color: var(--wink); font-style: normal; font-size: .82em; font-weight: 600; }
.w-card { display: flex; align-items: center; gap: .9em; padding: 1em 1.1em; border-radius: 1.1em; background: #fff; }
.w-soft { padding: .9em 1.1em; border-radius: 1.1em; background: color-mix(in oklab, #fff 50%, var(--wbg)); box-shadow: inset 0 0 0 1px #fff; }
.w-cap { display: flex; align-items: center; gap: .5em; font-size: .8em; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--wink2); }
.w-cap em { margin-left: auto; font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; }
.av { flex: none; width: 2.7em; height: 2.7em; border-radius: 50%; display: grid; place-items: center; background: #D9D0F7; font-size: .82em; font-weight: 600; }
.av.a1 { background: #A85F0C; color: #fff; } .av.a2 { background: #0F766E; color: #fff; }
.grow { flex: 1; min-width: 0; display: grid; gap: .1em; text-align: left; }
.chip { display: inline-flex; align-items: center; padding: .45em .95em; border-radius: 99em; background: var(--wchip); font-size: .92em; font-weight: 500; white-space: nowrap; }
.chip.dim { background: none; box-shadow: inset 0 0 0 1px var(--wline); font-size: .82em; font-weight: 400; color: var(--wink2); }
.tagline { flex: none; padding: .3em .8em; border-radius: 99em; background: #fff; box-shadow: inset 0 0 0 1px var(--wline); font-size: .8em; font-weight: 500; }
/* the one thing to press next */
.hot { position: relative; }
.hot::after { content: ""; position: absolute; inset: -.3em; border-radius: inherit; box-shadow: 0 0 0 2px var(--lav-deep), 0 0 0 .5em color-mix(in oklab, var(--lav) 45%, transparent); opacity: 0; pointer-events: none; }
.scene.on:not(.done)[data-state="home"] .chg.hot::after, .scene.on:not(.done)[data-state="idle"] .q-chip.hot::after, .scene.on[data-state="chat"] .mk.hot::after, .scene.on[data-state="sheet"] .sb.hot::after { animation: hot 1.9s var(--ease-io) infinite; }

/* 01 Drop */
[data-state="idle"] .zone { cursor: pointer; }
.zone { position: relative; flex: 1; min-height: 0; display: grid; border-radius: 1.3em; background: #fff; }
.zone > * { grid-area: 1 / 1; min-width: 0; transition: opacity 350ms var(--ease-io), transform 500ms var(--ease), visibility 0s 350ms, border-color var(--t), background var(--t); }
.z-idle { margin: .9em; border: .14em dashed color-mix(in oklab, var(--wink) 30%, transparent); border-radius: 1em; display: grid; place-content: center; justify-items: center; gap: .45em; padding: 1.5em; text-align: center; }
.z-idle b { font-size: 1.3em; letter-spacing: -.015em; }
.z-ic { width: 3.8em; height: 3.8em; margin-bottom: .5em; border-radius: 50%; background: var(--wbg); display: grid; place-items: center; transition: transform 400ms var(--ease), background var(--t); }
.z-ic .i { width: 1.7em; height: 1.7em; }
.scene.over .z-idle { border-color: var(--lav-deep); background: #F1EEFD; }
.scene.over .z-ic { transform: scale(1.12); background: #fff; }
.z-read { display: grid; place-content: center; justify-items: center; gap: .9em; }
.z-read b { font-size: 1.15em; }
.z-file { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 99em; background: var(--wchip); font-weight: 500; }
.bar { width: 13em; height: .32em; border-radius: 99em; background: var(--wbg); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--wdark); transform-origin: left; transform: scaleX(0); }
[data-state="reading"] .bar i { transform: scaleX(1); transition: transform 1000ms var(--ease-io); }
.z-done { display: grid; align-content: center; justify-items: start; gap: .3em; padding: 1.6em 2.2em; }
.z-ok { display: inline-flex; align-items: center; gap: .5em; margin-bottom: .9em; padding: .32em .95em .32em .36em; border-radius: 99em; background: var(--lime); font-size: .88em; font-weight: 600; }
.z-ok span { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--wdark); color: var(--lime); display: grid; place-items: center; }
.z-ok .i { width: 1em; height: 1em; stroke-width: 2.4; }
.z-done > b { font-size: 1.9em; line-height: 1.15; letter-spacing: -.025em; }
.z-done > p { color: var(--wink2); }
.z-row { justify-self: stretch; display: flex; align-items: center; gap: .5em; margin: .9em 0 .7em; padding: .85em 0; border-top: 1px solid var(--wline); border-bottom: 1px solid var(--wline); }
.z-row small { width: 4.6em; }
.z-new b { color: var(--wink); }
[data-state="idle"] .z-read, [data-state="idle"] .z-done, [data-state="reading"] .z-idle, [data-state="reading"] .z-done, [data-state="filed"] .z-idle, [data-state="filed"] .z-read { opacity: 0; visibility: hidden; }
[data-state="idle"] .z-done, [data-state="reading"] .z-done { transform: translate3d(0, .8em, 0); }
[data-state="filed"] .z-done, [data-state="reading"] .z-read, [data-state="idle"] .z-idle { transition-delay: 0s; }

/* 02 Start page, then what changed */
[data-scene="2"] { padding: 0; }
.view { transition: opacity 350ms var(--ease-io), transform 500ms var(--ease), visibility 0s 350ms; }
[data-state="home"] .v-diff { opacity: 0; visibility: hidden; transform: translate3d(1.2em, 0, 0); }
[data-state="diff"] .v-home { opacity: 0; visibility: hidden; transform: translate3d(-1.2em, 0, 0); }
[data-state="home"] .v-home, [data-state="diff"] .v-diff { transition-delay: 0s; }
.chg { display: flex; align-items: center; gap: .8em; width: 100%; padding: .7em .7em; border-radius: .9em; text-align: left; }
button.chg { margin: .6em 0 .15em; background: #fff; box-shadow: 0 .6em 1.4em -.9em color-mix(in oklab, var(--wink) 55%, transparent); transition: transform var(--t); }
button.chg:hover { transform: translateY(-1px); }
.chg .av { font-size: .76em; }
.v-diff .w-h { display: flex; align-items: center; gap: .5em; font-size: 1.5em; }
.v-diff .w-h span { font-size: .68em; font-weight: 400; letter-spacing: 0; color: var(--wink2); }
.w-back { width: 2.1em; height: 2.1em; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: .72em !important; margin-right: .2em; }
.what p:last-child { margin-top: .3em; font-size: 1.08em; }
.diff { flex: 1; min-height: 0; display: grid; align-content: space-evenly; padding: .2em 1.1em; border-radius: 1.1em; background: #fff; }
.d-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: .2em 1em; align-items: start; padding: .5em 0; border-top: 1px solid var(--wline); opacity: 0; transform: translate3d(0, .6em, 0); transition: opacity 400ms var(--ease-io), transform 550ms var(--ease); }
.d-row:first-child { border-top: 0; }
[data-state="diff"] .d-row { opacity: 1; transform: none; transition-delay: calc(var(--i) * 90ms + 300ms); }
.d-o s { padding: .08em .35em; border-radius: .3em; background: #F7D9D9; color: #5C2323; }
.d-n ins { padding: .08em .35em; border-radius: .3em; background: #CFEBD8; text-decoration: none; font-weight: 500; }
.d-n small { margin-top: .25em; }
.d-row.long s, .d-row.long ins { -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.65; font-weight: 400; }

/* 03 Ask */
.ask-in { display: flex; align-items: center; gap: 1em; min-height: 3.7em; padding: .5em .5em .5em 1.5em; border-radius: 99em; background: #fff; box-shadow: inset 0 0 0 .13em var(--wdark); }
.ask-q { flex: 1; min-width: 0; font-size: 1.1em; color: var(--wink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-q.typed { color: var(--wink); }
.ask-go { flex: none; width: 2.7em; height: 2.7em; border-radius: 50%; background: var(--wdark); color: #fff; display: grid; place-items: center; }
.q-chips { display: flex; flex-wrap: wrap; gap: .5em; }
.q-chip { min-height: 2.9em; padding: .5em 1.1em; border-radius: 99em; background: #fff; font-weight: 500; text-align: left; transition: transform var(--t), background var(--t), color var(--t); }
.q-chip:hover { transform: translateY(-1px); }
.q-chip.used { background: none; box-shadow: inset 0 0 0 1px var(--wline); color: var(--wink2); }
.answers { position: relative; flex: 1; min-height: 0; }
.ask-wait { position: absolute; inset: .4em auto auto .3em; display: flex; align-items: center; gap: .3em; color: var(--wink2); opacity: 0; transition: opacity 250ms var(--ease-io); }
.ask-wait i { width: .3em; height: .3em; border-radius: 50%; background: currentColor; animation: hot 1s var(--ease-io) infinite; }
.ask-wait i:nth-child(1) { margin-left: .3em; } .ask-wait i:nth-child(2) { animation-delay: .15s; } .ask-wait i:nth-child(3) { animation-delay: .3s; }
[data-state="wait"] .ask-wait { opacity: 1; }
.ans { position: absolute; inset: 0 0 auto 0; padding: 1.1em 1.3em 1.2em; border-radius: 1.2em; background: #fff; opacity: 0; visibility: hidden; transform: translate3d(0, .7em, 0); transition: opacity 250ms var(--ease-io), transform 450ms var(--ease), visibility 0s 250ms; }
.ans.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ans-t { margin-top: .6em; font-size: 1.15em; line-height: 1.55; }
.ans-t .wd { opacity: 0; transition: opacity 220ms var(--ease-io); }
.ans-t .wd.in { opacity: 1; }
.ref { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; margin: 0 .1em; border-radius: .4em; background: var(--wchip); font-style: normal; font-size: .72em; font-weight: 600; vertical-align: .12em; }
.src { display: inline-flex; align-items: center; gap: .5em; margin-top: 1em; padding: .35em .95em .35em .4em; border-radius: 99em; box-shadow: inset 0 0 0 1px var(--wline); font-size: .88em; color: var(--wink2); opacity: 0; transition: opacity 350ms var(--ease-io); }
.src .ref { font-size: .82em; vertical-align: 0; }
.ans.full .src { opacity: 1; }

/* 04 Project chat */
.pj { display: flex; align-items: baseline; gap: .45em; font-size: 1.5em; letter-spacing: -.02em; line-height: 1.2; }
.pj b { font-weight: 600; }
.pj small { display: inline; font-size: .55em; letter-spacing: 0; }
.pj-dot { align-self: center; width: .5em; height: .5em; border-radius: 50%; background: #B0692B; }
.tabs { display: flex; gap: .25em; font-size: .9em; font-weight: 500; color: var(--wink2); white-space: nowrap; overflow: hidden; margin: -.2em 0 0 -.3em; }
.tabs span { display: inline-flex; align-items: center; gap: .4em; padding: .4em .9em; border-radius: 99em; transition: background 400ms var(--ease-io), color 400ms var(--ease-io); }
.tabs .on { background: var(--wdark); color: #fff; }
.tabs i { font-style: normal; font-weight: 400; }
.tabs .bump { background: var(--lime); color: var(--wink); }
.chat { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .9em; padding: 1.1em; border-radius: 1.2em; background: #fff; }
.msg { display: flex; align-items: flex-start; gap: .8em; }
.msg > div { display: grid; justify-items: start; gap: .3em; min-width: 0; }
.m-who { font-size: .9em; font-weight: 600; } .m-who.a1 { color: #8A4B00; } .m-who.a2 { color: #0B5F58; }
.bub { padding: .65em 1em; border-radius: 1em; background: var(--wchip); font-size: 1.05em; }
.mk { display: inline-flex; align-items: center; gap: .5em; min-height: 2.9em; margin-top: .25em; padding: .5em 1.1em; border-radius: 99em; background: var(--wdark); color: #fff; font-weight: 500; transition: transform var(--t); }
.mk:hover { transform: translateY(-1px); }
.made { display: none; padding: .4em .95em; border-radius: 99em; background: #F6F6F9; box-shadow: inset 0 0 0 1px var(--wline); font-size: .88em; }
.made b { font-weight: 600; }
[data-state="made"] .mk { display: none; }
[data-state="made"] .made { display: block; animation: pop 450ms var(--ease); }
.compose { margin-top: auto; padding: .8em 1.2em; border-radius: 99em; background: var(--wchip); color: var(--wink2); }
.sheet { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in oklab, var(--wink) 40%, transparent); opacity: 0; visibility: hidden; transition: opacity 250ms var(--ease-io), visibility 0s 250ms; }
[data-state="sheet"] .sheet { opacity: 1; visibility: visible; transition-delay: 0s; }
.sheet-in { width: min(30em, 92%); display: grid; grid-template-columns: 1fr 1fr; gap: .8em; padding: 1.4em; border-radius: 1.4em; background: #fff; box-shadow: 0 2em 4em -1.5em rgb(0 0 0 / .5); transform: translate3d(0, 1em, 0) scale(.97); transition: transform 450ms var(--ease); }
.sheet-in > * { grid-column: 1 / -1; }
[data-state="sheet"] .sheet-in { transform: none; }
.sheet-h { font-size: 1.25em; font-weight: 600; letter-spacing: -.01em; }
.quote { padding: .7em .95em; border-radius: .9em; background: var(--wchip); }
.kinds { display: flex; flex-wrap: wrap; gap: .35em; }
.kind { min-height: 2.7em; padding: .4em 1em; border-radius: 99em; box-shadow: inset 0 0 0 1px var(--wline); font-weight: 500; transition: background var(--t), color var(--t); }
.kind.on { background: var(--wdark); color: #fff; box-shadow: none; }
.fld small { margin-bottom: .3em; font-weight: 600; color: var(--wink); }
.fld span { display: block; padding: .6em .85em; border-radius: .7em; background: var(--wchip); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fld.half { grid-column: 1; }
.sheet-btns { display: flex; justify-content: flex-end; gap: .5em; }
.sb { min-height: 2.9em; padding: .5em 1.3em; border-radius: 99em; box-shadow: inset 0 0 0 1px var(--wline); font-weight: 500; }
.sb.go { background: var(--wdark); color: #fff; box-shadow: none; }

/* on a phone the window becomes the phone app */
@container (max-width: 620px) {
  .win { grid-template: 4.3em minmax(0, 1fr) / minmax(0, 1fr); height: 39em; font-size: clamp(11.5px, 3.55cqw, 14px); border-radius: 1.7em; }
  .w-side, .w-brand b, .w-switch span, .w-ic:nth-child(2), .tabs .x { display: none; }
  .w-top { padding: 0 1em; }
  .scene, .view { padding: .4em 1em 1.1em; }
  [data-scene="2"] { padding: 0; }
  .w-h { font-size: 1.7em; }
  .w-card .chip { display: none; }
  .z-done { padding: 1.3em 1.4em; }
  .d-row { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.3fr); gap: .2em .6em; }
  .d-row { padding: .36em 0; }
  .d-row.long { grid-template-columns: 1fr; gap: .1em; }
  .d-row.long .d-c { display: flex; gap: .5em; align-items: baseline; }
  .d-row.long s, .d-row.long ins { line-height: 1.5; }
  .what { padding: .6em 1em; }
  .q-chip { width: 100%; min-height: 2.75em; font-size: .94em; }
  .q-chips { gap: .4em; }
  .ans-t { font-size: 1.06em; }
  .ans { padding: .9em 1.1em 1em; }
  .chat { padding: .9em; }
}

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .demo-head, .rail, .stage, .demo-static { grid-column: 1; grid-row: auto; }
  .demo-static { margin-top: 2rem; }
  /* with the demo running: four numbered segments on top, the window, the narration under it */
  .js .demo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: .4rem; }
  .js .demo-head { grid-column: 1 / -1; grid-row: 1; }
  .js .rail, .js .rail li { display: contents; }
  .js .rail-t { grid-row: 2; flex-direction: column; align-items: stretch; gap: .5rem; min-height: 44px; padding-bottom: .9rem; }
  .js .rail-t::before { content: ""; height: 3px; border-radius: 99px; background: color-mix(in oklab, var(--on-night) 22%, transparent); transition: background 300ms var(--ease-io); }
  .js li.done .rail-t::before { background: var(--lav); }
  .js li.on .rail-t::before { background: var(--lime); }
  .js .rail-t .n { width: auto; height: auto; display: block; background: none !important; box-shadow: none; color: inherit !important; font-size: .75rem; letter-spacing: .08em; }
  .js .rail-t .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js .stage { grid-column: 1 / -1; grid-row: 3; }
  .js .rail-b { grid-column: 1 / -1; grid-row: 4; margin-top: 1.4rem; }
  .js li:not(.on) .rail-b { display: none; }
  .js .rail-b p { padding-left: 0; max-width: 34rem; }
  .js .rail-h { display: block; font-size: 1.375rem !important; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: var(--on-night) !important; padding-bottom: .6rem !important; }
  .act { min-height: 0; padding: .3rem 0 .2rem; }
  .act-btns { margin-left: 0; }
  .stage figcaption { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .demo-static { grid-template-columns: 1fr; justify-items: center; }
  .demo-static .screen { width: min(100%, 20rem); border-radius: 36px; background: #050507; padding: 7px; }
  .demo-static .screen img { border-radius: 29px; }
  .act { flex-direction: column; align-items: stretch; }
  .act .file { align-self: flex-start; }
  .act-btns .btn { flex: 1 1 100%; }
}

/* ---------- Core features ---------- */
.features { padding: var(--sec) 0; overflow-x: clip; }
.legend { display: grid; gap: .7rem; font-size: var(--fs-sm); color: var(--grey); justify-self: end; }
.legend li { display: grid; grid-template-columns: 11.5rem 1fr; gap: .75rem; align-items: center; }
.legend .pill { justify-self: start; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.card { position: relative; overflow: hidden; border-radius: var(--r-card); background: color-mix(in oklab, var(--night-2) 94%, transparent); box-shadow: inset 0 0 0 1px var(--line-night); display: grid; grid-template-rows: auto 1fr; min-height: 34rem; }
.card.c-phone { grid-column: span 5; }
.card.c-wide { grid-column: span 7; }
.card-copy { padding: clamp(1.4rem, 2.4vw, 2.25rem); padding-bottom: 0; display: grid; gap: .9rem; justify-items: start; align-content: start; }
.card-copy p { color: var(--grey); max-width: 33rem; }
.card-pic { display: grid; align-content: end; gap: .7rem; padding: clamp(1.4rem, 2.4vw, 2.25rem); padding-bottom: 1.1rem; min-width: 0; }
.card-pic.wide { padding-right: 0; align-content: center; }
.card-pic.wide .screen { border-radius: 16px 0 0 16px; padding-right: 0; }
.card-pic.wide .screen img { border-radius: 11px 0 0 11px; }
.card-pic.phone { justify-items: center; align-content: start; padding-bottom: 0; position: relative; }
.card-pic.phone .device { width: min(100%, 17.5rem); margin-bottom: -15rem; }
.card-pic.phone figcaption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; padding: 2.5rem 1rem 1.1rem; background: linear-gradient(to top, var(--night-2) 55%, transparent); }
@media (max-width: 900px) {
  .legend { justify-self: start; }
  .card.c-phone, .card.c-wide { grid-column: 1 / -1; min-height: 0; }
  .card-pic.phone .device { margin-bottom: -11rem; }
}
@media (max-width: 760px) {
  .card-pic.wide { padding-right: clamp(1.4rem, 2.4vw, 2.25rem); }
  .card-pic.wide .screen { border-radius: 16px; padding-right: 6px; }
  .card-pic.wide .screen img { border-radius: 11px; }
}
@media (max-width: 480px) { .legend li { grid-template-columns: 1fr; gap: .3rem; } }

.more { margin-top: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line-night); background: color-mix(in oklab, var(--night-2) 60%, transparent); }
.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem clamp(1.4rem, 2.4vw, 2.25rem); font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; border-radius: var(--r-card); }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { background: color-mix(in oklab, var(--on-night) 5%, transparent); }
.plus { width: 16px; height: 16px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform 400ms var(--ease); }
.plus::after { transform: rotate(90deg); }
.more[open] .plus::after { transform: rotate(0deg); }
.more-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3rem); padding: .5rem clamp(1.4rem, 2.4vw, 2.25rem) clamp(1.4rem, 2.4vw, 2.25rem); align-items: start; }
.more-list { display: grid; }
.more-list li { display: grid; gap: .6rem; justify-items: start; padding: 1.4rem 0; border-top: 1px solid var(--line-night); }
.more-list h3 { font-size: 1.1875rem; }
.more-list p { color: var(--grey); font-size: .9375rem; }
.more-pic { display: grid; gap: .7rem; padding-top: 1.4rem; }
@media (max-width: 900px) { .more-in { grid-template-columns: 1fr; } }

/* ---------- Who it is for: four questions, one answer at a time ---------- */
.who { padding: var(--sec) 0; }
.qs { border-top: 1px solid var(--line-night); }
.q h3 { font-size: inherit; letter-spacing: 0; border-bottom: 1px solid var(--line-night); }
.q-b { position: relative; display: grid; gap: .4rem; width: 100%; padding: 1.35rem 3rem 1.35rem 0; text-align: left; color: var(--on-night); cursor: default; transition: color var(--t); }
.q-who { font-size: var(--fs-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lav-soft); transition: color var(--t); }
.q-t { font-size: clamp(1.375rem, 1rem + 1.35vw, 2.125rem); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.q-a { display: grid; gap: .9rem; padding: 1.2rem 0 1.6rem; }
.q-a > .q-who { display: none; }
.q-a p:not(.q-who) { font-size: var(--fs-lg); line-height: 1.5; max-width: 34rem; }
.q-a a { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 5px; white-space: nowrap; }
.js .q-b { cursor: pointer; color: var(--grey); }
.js .q-b:hover, .js .q.on .q-b { color: var(--on-night); }
.js .q:not(.on) .q-who { color: inherit; }
.js .q.on .q-b .q-who { color: var(--lime); }
.js .q-b::after { content: ""; position: absolute; right: .35rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .6; transition: transform 400ms var(--ease), opacity var(--t); }
.js .q.on .q-b::after { opacity: 1; color: var(--lime); }
@media (min-width: 901px) {
  .js .qs { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 6vw, 6.5rem); }
  .js .q { display: contents; }
  .js .q h3 { grid-column: 1; }
  .js .q-a { grid-column: 2; grid-row: 1 / span 4; align-self: center; padding: .4rem 0 .4rem clamp(1.4rem, 2.5vw, 2.25rem); border-left: 2px solid var(--lime); transition: opacity 350ms var(--ease-io), transform 550ms var(--ease), visibility 0s; }
  .js .q-a > .q-who { display: block; }
  .js .q-a p:not(.q-who) { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); line-height: 1.42; letter-spacing: -.012em; }
  .js .q:not(.on) .q-a { opacity: 0; visibility: hidden; transform: translate3d(0, 12px, 0); transition: opacity 200ms var(--ease-io), transform 0s 200ms, visibility 0s 200ms; }
}
@media (max-width: 900px) {
  .js .q:not(.on) .q-a { display: none; }
  .js .q-b::after { transform: rotate(45deg); margin-top: -.6rem; }
  .js .q.on .q-b::after { transform: rotate(-135deg); margin-top: -.2rem; }
  .js .q.on h3 { border-bottom-color: transparent; }
  .js .q.on .q-a { border-bottom: 1px solid var(--line-night); padding-top: 0; }
}

/* ---------- Getting things in: notes and voice notes, My space, the Mac window, voice control ---------- */
.capture { padding: var(--sec) 0; overflow-x: clip; }
.card.cap { min-height: 0; }
.card.c-mac { grid-column: span 8; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); grid-template-rows: 1fr; }
.card.c-mac .card-copy { padding-bottom: clamp(1.4rem, 2.4vw, 2.25rem); align-content: center; }
.card.c-mac h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); letter-spacing: -.024em; }
.card.c-mac .cap-pic { padding-left: 0; }
.card.c-say { grid-column: span 4; }
.card-copy .pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.card-copy .fine { font-size: var(--fs-sm); padding-left: .9rem; border-left: 2px solid var(--lav); color: var(--on-night); }
.cap-pic { align-content: end; grid-template-columns: minmax(0, 1fr); }
.app { --wbg: #E6E7EE; --wink: #15151A; --wink2: #4A4A55; --wdark: #1D1E25; --wchip: #EDEEF4; --wline: color-mix(in oklab, #15151A 12%, transparent);
  background: var(--wbg); color: var(--wink); border-radius: 20px; padding: 1.1rem; font-size: .9375rem; line-height: 1.35; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; align-content: start; min-width: 0;
  box-shadow: 0 30px 60px -34px #000; transition: background 350ms var(--ease-io); }
.app .i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app small { display: block; font-size: .84em; font-weight: 400; color: var(--wink2); }
.app b { font-weight: 500; }
.app button { font-size: 1em; }
.app-h { font-size: 1.35em; font-weight: 500; letter-spacing: -.02em; }
.app-cap { display: flex; align-items: center; gap: .45em; font-size: .8em; font-weight: 500; color: var(--wink2); padding: .2em .3em 0; }
.pillb { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.3em; border-radius: 99em; background: var(--wdark); color: #fff; font-weight: 500; white-space: nowrap; transition: opacity var(--t), transform var(--t); }
button.pillb:active { transform: scale(.97); }
.pillb.quiet { background: var(--wchip); color: var(--wink); }
.rnd { width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: var(--wchip); color: var(--wink); display: grid; place-items: center; position: relative; transition: background var(--t), color var(--t); }
.seg { display: flex; background: #fff; border-radius: 99em; padding: .22em; font-weight: 500; }
.seg button { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 2.75rem; padding: 0 .9em; border-radius: 99em; color: var(--wink2); white-space: nowrap; transition: background var(--t), color var(--t); }
.seg button[aria-checked="true"] { background: var(--wdark); color: #fff; }
.seg.small { display: inline-flex; background: color-mix(in oklab, var(--wink) 9%, transparent); padding: 2px; border-radius: 9px; font-size: .86em; }
.seg.small button { flex: none; min-height: 2rem; padding: 0 .8em; border-radius: 7px; }
.seg.small button[aria-checked="true"] { background: #fff; color: var(--wink); box-shadow: 0 1px 2px color-mix(in oklab, var(--wink) 22%, transparent); }

/* Drop field with a voice note */
.vox-field { background: #fff; border-radius: 1.1em; padding: 1.05em 1.05em .8em; display: grid; gap: .9em; min-height: 10.5em; align-content: space-between; }
.vox-field > p, .vox-done { display: none; }
.vox[data-state="idle"] .vox-ph, .vox[data-state="turn"] .vox-turn, .vox[data-state="text"] .vox-text { display: block; }
.vox[data-state="rec"] .vox-rec { display: flex; }
.vox[data-state="filed"] .vox-done { display: grid; gap: .3em; }
.vox-ph, .vox-turn { color: var(--wink2); }
.vox-rec { align-items: center; gap: .6em; }
.vox-rec > i { width: .62em; height: .62em; border-radius: 50%; background: #D8452F; animation: voxblink 1.2s var(--ease-io) infinite; }
.vox-rec > span { color: var(--wink2); font-variant-numeric: tabular-nums; }
.vox-text { font-size: 1.1em; letter-spacing: -.01em; }
.vox-ok { display: flex; align-items: center; gap: .5em; font-weight: 500; }
.vox-ok span { width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.vox-ok .i { width: .9em; height: .9em; stroke-width: 2.4; }
.vox-bar { display: flex; align-items: center; justify-content: flex-end; gap: .5em; }
.mic > i { display: none; width: .85em; height: .85em; border-radius: .18em; background: #fff; }
.vox[data-state="rec"] .mic { background: #D8452F; color: #fff; }
.vox[data-state="rec"] .mic .i { display: none; }
.vox[data-state="rec"] .mic > i { display: block; }
.vox[data-state="idle"] .mic { background: var(--lav); }
.vox[data-state="idle"] .mic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 color-mix(in oklab, var(--lav) 70%, transparent); animation: voxring 2.2s var(--ease-io) infinite; }
.vox:not([data-state="text"]) [data-drop] { background: #DEDFE8; color: #50505C; pointer-events: none; }
.vox [data-again2] { display: none; }
.vox[data-state="filed"] [data-again2] { display: inline-flex; }
.vox[data-state="filed"] .rnd, .vox[data-state="filed"] [data-drop] { display: none; }
.vox[data-state="turn"] .mic { opacity: .4; pointer-events: none; }
.vox-hint { font-size: .84em; color: var(--wink2); min-height: 2.5em; padding: 0 .3em; }
@keyframes voxblink { 50% { opacity: .25; } }
@keyframes voxring { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--lav) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 .8em transparent; } }

/* My space next to the company */
.mine[data-space="mine"] { --wbg: #E7E3F6; }
.mine-list { display: none; gap: .5rem; }
.mine[data-space="mine"] [data-list="mine"], .mine[data-space="co"] [data-list="co"] { display: grid; }
.mine .row { background: #fff; border-radius: .9em; padding: .85em 1em; display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.mine .row small { white-space: nowrap; }

/* The Mac window under the menu bar */
.desk { position: relative; border-radius: 18px; overflow: hidden; padding-bottom: 1.5rem; min-height: 25rem; background: radial-gradient(120% 95% at 85% 0%, #40358C 0%, #221F3A 48%, #14141B 100%); box-shadow: inset 0 0 0 1px var(--line-night); }
.desk-bar { display: flex; justify-content: space-between; align-items: center; height: 2rem; padding: 0 .9rem; background: color-mix(in oklab, #fff 11%, transparent); font-size: .78rem; color: #fff; white-space: nowrap; }
.desk-l, .desk-r { display: flex; align-items: center; gap: 1rem; }
.desk-l span { color: color-mix(in oklab, #fff 82%, transparent); }
.desk-mark { width: 1.75rem; height: 1.45rem; display: grid; place-items: center; border-radius: 5px; background: color-mix(in oklab, #fff 24%, transparent); }
.desk-mark svg { width: .95rem; height: .95rem; }
.tile { position: relative; width: min(21.5rem, calc(100% - 2rem)); margin: .55rem 4.6rem 0 auto; border-radius: 18px; padding: 2.9rem 1.1rem 1.1rem; gap: .7rem; box-shadow: 0 30px 60px -20px #000, 0 0 0 1px color-mix(in oklab, #000 30%, transparent); }
.tile-more { position: absolute; top: .8rem; right: .9rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; gap: 2.5px; }
.tile-more i { width: 3px; height: 3px; border-radius: 50%; background: var(--wink); }
.tile-zone { border: 2px dashed color-mix(in oklab, var(--wink) 38%, transparent); border-radius: 14px; background: #fff; display: grid; justify-items: center; gap: .25em; padding: 1.5em 1em; text-align: center; }
.tile-zone .i { width: 1.6em; height: 1.6em; margin-bottom: .2em; }
.tile-in { background: #fff; border-radius: 12px; padding: .7em .9em; box-shadow: inset 0 0 0 1px var(--wline); font-weight: 500; }
.tile-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.tile .pillb { min-height: 2.25rem; padding: 0 1.15em; font-size: .93em; }
.tile-only { display: flex; align-items: center; gap: .7em; font-size: .86em; font-weight: 500; }
.tog { position: relative; width: 2.6rem; height: 1.5rem; flex: none; border-radius: 99em; background: #C6C7D1; transition: background var(--t); }
.tog::after { content: ""; position: absolute; inset: -.65rem -.4rem; }
.tog i { position: absolute; top: 2px; left: 2px; width: calc(1.5rem - 4px); height: calc(1.5rem - 4px); border-radius: 50%; background: #fff; box-shadow: 0 1px 2px color-mix(in oklab, #000 30%, transparent); transition: transform var(--t); }
.tog[aria-checked="true"] { background: var(--wdark); }
.tog[aria-checked="true"] i { transform: translateX(1.1rem); }

/* Voice control, as it is planned */
.say { gap: .7rem; }
.say-you { justify-self: end; max-width: 94%; display: flex; align-items: flex-start; gap: .55em; background: var(--wdark); color: #fff; border-radius: 1.1em 1.1em .3em 1.1em; padding: .75em .95em; }
.say-you .i { margin-top: .08em; color: var(--lav-soft); }
.say-card { background: #fff; border-radius: 1.1em; padding: .95em 1em; display: grid; gap: .3em; }
.say-card p { color: var(--wink2); }
.say-btns { display: flex; gap: .5em; margin-top: .55em; }
.say .pillb { min-height: 2.3rem; font-size: .92em; padding: 0 1.15em; }

@media (max-width: 1100px) {
  .card.c-mac, .card.c-say { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .card.cap { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .card.c-mac { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .card.c-mac .card-copy { padding-bottom: 0; }
  .card.c-mac .cap-pic { padding-left: clamp(1.4rem, 2.4vw, 2.25rem); }
  .desk { min-height: 0; }
  .desk-l span { display: none; }
  .tile { margin-right: 1rem; }
  .mine .seg button { flex: 1 1 auto; padding: 0 .7em; gap: .4em; min-width: 0; font-size: .93em; }
  .mine .row { padding: .8em .85em; gap: .6em; }
}
@media (prefers-reduced-motion: reduce) {
  .vox-rec > i, .vox[data-state="idle"] .mic::after { animation: none; }
}

/* ---------- What we are building next ---------- */
.nexts { padding: var(--sec) 0; overflow-x: clip; }
.next-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.4vw, 1.25rem); }
.next { border-radius: var(--r-card); overflow: hidden; background: color-mix(in oklab, var(--night-2) 85%, transparent); box-shadow: inset 0 0 0 1px var(--line-night); display: grid; grid-template-rows: auto 1fr; }
.next.plain { grid-column: 1 / -1; grid-template-rows: 1fr; }
.next-pic { height: 14rem; overflow: hidden; background: #E6E7EE; }
.next-pic img { width: 66%; margin: 1.4rem auto 0; border-radius: 22px 22px 0 0; box-shadow: 0 0 0 5px #050507, 0 20px 40px -10px color-mix(in oklab, var(--ink) 50%, transparent); }
.next-copy { padding: 1.35rem; display: grid; gap: .7rem; justify-items: start; align-content: start; }
.next-copy .pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.next-copy h3 { font-size: 1.1875rem; }
.next-copy p:not(.pills) { color: var(--grey); font-size: .9375rem; max-width: 34rem; }
@media (max-width: 1100px) { .next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .next-grid { grid-template-columns: 1fr; } }

/* ---------- Your data ---------- */
.trust { padding: var(--sec) 0; }
.facts { border-top: 1px solid var(--line-night); }
.fact { display: grid; grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 1fr); gap: .5rem clamp(1rem, 3vw, 3rem); align-items: baseline; padding: clamp(1.25rem, 2.4vw, 1.9rem) 0; border-bottom: 1px solid var(--line-night); }
.fact .n { font-size: var(--fs-label); letter-spacing: .1em; font-variant-numeric: tabular-nums; color: var(--grey); }
.fact strong { font-size: clamp(1.625rem, 1.1rem + 2.2vw, 2.875rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.fact p { color: var(--on-night); max-width: 28rem; font-size: 1rem; }
.early { margin-top: clamp(2rem, 5vh, 3rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(1.5rem, 4vw, 4rem); color: var(--grey); font-size: .9375rem; }
.early b { color: var(--on-night); font-weight: 500; }
.early a { color: var(--on-night); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 5px; white-space: nowrap; }
@media (max-width: 700px) {
  .fact { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .fact p { grid-column: 2; }
  .early { grid-template-columns: 1fr; }
  .early a { white-space: normal; }
}

/* ---------- Contact: the loop is closed and the invitation sits inside it ---------- */
.contact { min-height: 100svh; display: grid; align-items: center; padding: clamp(5rem, 12vh, 8rem) 0; }
.finale { display: grid; justify-items: center; text-align: center; }
.contact h2 { font-size: clamp(2.25rem, 1.2rem + 3.4vw, 4rem); letter-spacing: -.035em; line-height: 1.02; }
.contact .finale > p { max-width: 27rem; margin-top: 1.3rem; }
.mail { margin-top: 2rem; }
.after { margin-top: 2rem; display: grid; gap: .55rem; text-align: left; font-size: var(--fs-sm); color: var(--on-night); }
.after li { display: flex; align-items: center; gap: .7rem; }
.after b { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: .6875rem; font-weight: 600; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--on-night) 40%, transparent); }
.addr { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; font-size: var(--fs-sm); margin-top: 1.6rem !important; }
.addr code { font-family: inherit; color: var(--on-night); user-select: all; }
.copy { font-size: .75rem; font-weight: 500; padding: .5rem .85rem; min-height: 36px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--on-night) 35%, transparent); transition: background var(--t); }
.copy:hover { background: var(--night-3); }
.contact .sig { margin-top: .7rem !important; font-size: var(--fs-sm); color: var(--grey); }

/* ---------- Footer ---------- */
footer { padding: 2rem 0 2.5rem; font-size: var(--fs-sm); color: var(--grey); background: var(--night); }
.foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--line-night); }
.foot nav { display: flex; gap: 1.25rem; }
.foot nav a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-night); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; transition: color var(--t); }
.foot nav a:hover { color: var(--on-night); }
.fine { margin-top: 1rem; max-width: 52rem; font-size: .8125rem; }
dialog { border: 0; border-radius: var(--r-card); padding: 0; background: var(--paper-2); color: var(--ink); width: min(34rem, calc(100% - 2rem)); box-shadow: 0 40px 80px -30px #000; }
dialog::backdrop { background: color-mix(in oklab, var(--night) 72%, transparent); backdrop-filter: blur(4px); }
dialog[open] { animation: pop 300ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.dlg { padding: 1.75rem; display: grid; gap: .9rem; }
.dlg h2 { font-size: 1.5rem; }
.dlg p { color: var(--ink-2); font-size: .9375rem; }
.dlg .pill { justify-self: start; }
.dlg form { justify-self: end; margin-top: .5rem; }
dialog { max-height: calc(100dvh - 2rem); overflow: auto; overscroll-behavior: contain; }
.dlg h3 { font-size: 1rem; margin-top: .35rem; }
.dlg address { font-style: normal; color: var(--ink); line-height: 1.5; }
.dlg a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dlg .dlg-date { font-size: .8125rem; }
/* Without JavaScript the legal texts stand at the end of the page and the footer links jump to them. */
html:not(.js) dialog { display: block; position: static; margin: 0 auto 1.5rem; max-height: none; box-shadow: none; }
html:not(.js) dialog form { display: none; }

/* ---------- Opening: the ring is drawn first, with the name inside it ---------- */
.intro-mark { display: none; position: fixed; inset: 0; z-index: 60; place-items: center; pointer-events: none; color: var(--on-night); }
.intro .intro-mark, .intro-out .intro-mark { display: grid; }
.intro-mark > * { grid-area: 1 / 1; }
.intro-mark b { display: flex; overflow: hidden; padding: .12em .04em; font-weight: 500; font-size: calc(var(--ir, 9rem) * .38); letter-spacing: -.04em; line-height: 1; }
.intro-mark i { font-style: normal; display: block; transform: translateY(120%); }
.intro-go .intro-mark i { animation: rise .7s var(--ease) calc(.75s + var(--i) * 45ms) forwards; }
.intro-mark svg { display: none; width: calc(var(--ir, 9rem) * 2.1); height: calc(var(--ir, 9rem) * 2.1); color: var(--lav); }
.nogl .intro-mark svg { display: block; }
.nogl .intro-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.nogl.intro-go .intro-mark path { animation: introdraw 1.2s var(--ease) .1s forwards; }
.nogl.intro-out .intro-mark path { stroke-dashoffset: 0; }
.intro-out .intro-mark { animation: introout .5s var(--ease) forwards; }
.intro-out .intro-mark i { transform: none; animation: none; }
.intro .nav { opacity: 0; pointer-events: none; }
.intro-out .nav { animation: introin .9s var(--ease) both; }
.intro main > :not(.hero), .intro footer { visibility: hidden; }
.js.intro .hero h1 .line > span, .js.intro .hero .label, .js.intro .hero .lead, .js.intro .hero-actions, .js.intro .hero-note, .js.intro .hero-shot { animation: none; }
@keyframes introdraw { to { stroke-dashoffset: 0; } }
@keyframes introout { to { opacity: 0; transform: scale(1.08); filter: blur(6px); } }
@keyframes introin { from { opacity: 0; } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .hero-shot, .js .hero h1 .line > span { opacity: 1; transform: none; animation: none; }
  .js .hero .label, .js .hero .lead, .js .hero-actions, .js .hero-note { opacity: 1; animation: none; }
  .js .statement .w { opacity: 1; }
  .file, .file::after, .hot::after { animation: none !important; }
  .hot::after { opacity: 0; }
  .scene.on:not(.done)[data-state="home"] .chg.hot::after, .scene.on:not(.done)[data-state="idle"] .q-chip.hot::after, .scene.on[data-state="chat"] .mk.hot::after, .scene.on[data-state="sheet"] .sb.hot::after, .file::after { opacity: 1; }
}
