
/* Phone first: the rules outside a media query are the phone, and wider screens add to them at three widths only:
   721 px (tablet), 961 px (desktop), and 1041 px for the demo's whole frame. The site is light only, so every colour is
   set here. Hover is wrapped rule by rule; touch targets and input sizes are handled once, at the end of pages.css. */
:root {
  --paper: #FBF7F2;      /* Papper */
  --clay: #EDE5DC;       /* Lera */
  --clay-2: #F3EDE6;
  --panel: #F5F0EA;
  --ink: #1C1418;        /* Bläck */
  --ink-2: #2C2228;
  --muted: #6B6166;
  --faint: #A39A9E;
  --line: rgba(28, 20, 24, 0.10);
  --plum: #6e2a5b;       /* Plommon: the one button colour */
  --plum-h: #5c2049;
  --plum-tint: #F3E4EE;
  --coral: #be3f2a;
  --ok: #2F7A4F;
  --warn: #8E2F1F;
  --warn-bg: #FBEAE5;
  --mark: rgba(232, 179, 60, 0.5);   /* Gul, as a highlighter */
  --display: "Archivo", Arial, sans-serif;
  --body: "Onest", system-ui, sans-serif;
  --doc: "Source Serif 4", Georgia, serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --grain: url(../img/grain.png);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: rgba(110, 42, 91, 0.14);
  /* The ground (the user, 2026-11-13, option A′ in design/sketches/blush-options.html): Papper with a blush of Rosa and
     Plommon over a warm Lera wash, down the whole page. Each glow has a size in px and sits a set distance from the middle,
     so it stays by the 1240 px column at any window width or zoom; nothing stretches across a wide screen. Rosa, Plommon and
     Lera each repeat on their own period (--p1, --p2, --p3), so the same arrangement never comes round again, and Rosa
     swaps sides each time. The first Rosa peaks behind the film (--r1). main::before adds the dots inside the Lera wash. */
  background:
    radial-gradient(min(680px, 74vw) var(--gy) at calc(50% + min(480px, 26vw)) var(--r1), rgba(232, 128, 155, 0.19), transparent 70%) 0 0 / 100% var(--p1) repeat-y,
    radial-gradient(min(600px, 68vw) calc(var(--gy) * 0.9) at calc(50% - min(500px, 26vw)) var(--r2), rgba(232, 128, 155, 0.15), transparent 70%) 0 0 / 100% var(--p1) repeat-y,
    radial-gradient(min(620px, 70vw) calc(var(--gy) * 0.85) at calc(50% - min(540px, 30vw)) var(--q1), rgba(110, 42, 91, 0.10), transparent 70%) 0 0 / 100% var(--p2) repeat-y,
    radial-gradient(min(560px, 66vw) calc(var(--gy) * 0.8) at calc(50% + min(520px, 30vw)) var(--q2), rgba(110, 42, 91, 0.08), transparent 70%) 0 0 / 100% var(--p2) repeat-y,
    radial-gradient(1500px calc(var(--gy) * 1.3) at 50% var(--r1), rgba(237, 229, 220, 0.7) 30%, rgba(237, 229, 220, 0) 100%) 0 0 / 100% var(--p3) repeat-y,
    var(--paper); }
/* On a phone everything is about 0.72 as long. --r2, --q1 and --q2 are where the second Rosa and the two Plommon sit in their period. */
:root { --p1: 2600px; --p2: 3200px; --p3: 2100px; --r1: 620px; --r2: 1950px; --q1: 1100px; --q2: 2600px; --gy: 400px; --head: 56px; }
@media (min-width: 721px) { :root { --p1: 3600px; --p2: 4400px; --p3: 2900px; --r1: 980px; --r2: 2700px; --q1: 1400px; --q2: 3500px; --gy: 520px; } }
@media (min-width: 961px) { :root { --head: 66px; } }
main { position: relative; }
main::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(110, 42, 91, 0.05) 1px, transparent 1.6px) 0 0 / 22px 22px;
  -webkit-mask: radial-gradient(1100px calc(var(--gy) * 1.1) at 50% var(--r1), #000 20%, transparent 100%) 0 calc(-1 * var(--head)) / 100% var(--p3) repeat-y;
  mask: radial-gradient(1100px calc(var(--gy) * 1.1) at 50% var(--r1), #000 20%, transparent 100%) 0 calc(-1 * var(--head)) / 100% var(--p3) repeat-y; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: 6px; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.osic { width: 16px; height: 16px; fill: currentColor; flex: none; }


/* Reviewer strip: not part of the site */
/* Reviewers only: a small dark tab in the bottom-left corner that opens on hover or tap, so it takes no room above the page */
.review { position: fixed; left: 16px; bottom: 16px; z-index: 40; max-width: min(760px, calc(100vw - 32px)); background: var(--ink); color: #E9E1DA; font-size: 12.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 14px; border-radius: 12px; box-shadow: 0 14px 34px -14px rgba(28, 20, 24, 0.6); cursor: default; }
.review:not(:hover):not(:focus-within) > :not(b) { display: none; }
.review:not(:hover):not(:focus-within) b::after { content: " ▴"; color: #A39A9E; }
.review b { font-weight: 600; color: #fff; }
.review .seg { display: inline-flex; gap: 2px; background: #2E2329; border-radius: 999px; padding: 2px; }
.review .seg button { all: unset; cursor: pointer; padding: 3px 10px; border-radius: 999px; }
.review .seg button[aria-pressed="true"] { background: #FBF7F2; color: var(--ink); }
.review .seg button:focus-visible { outline: 2px solid #E8809B; }
.review .replay { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(251, 247, 242, 0.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--paper); }
.nav-in { max-width: 1240px; margin: 0 auto; height: 56px; display: flex; align-items: center; gap: 10px; }
.wordmark { font: 700 15px/1 var(--display); letter-spacing: 0.06em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark em { font-style: normal; color: var(--coral); }
.nav-links { display: none; gap: 22px; font-size: 14.5px; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 14.5px; position: relative; }
.nav-end > a { display: none; color: var(--ink); text-decoration: none; margin-right: 6px; }
.nav-end .pill.soft { display: none; }
#dlBtn { display: none; padding: 9px 12px; font-size: 13px; }
#dlBtn .for-phone { display: none; }
[data-os="mobile"] #dlBtn .for-computer, [data-os="mobile"] #dlBtn .ic { display: none; }
[data-os="mobile"] #dlBtn .for-phone { display: inline; }
@media (min-width: 361px) { .wordmark { font-size: 16px; } }
@media (min-width: 961px) {
  .nav-in { height: 66px; gap: 26px; }
  .wordmark { font-size: 17px; }
  .nav-links { display: flex; }
  .nav-end { gap: 10px; }
  .nav-end > a { display: inline; }
  .nav-end .pill.soft { display: inline-flex; }
  #dlBtn { display: inline-flex; padding: 10px 18px; font-size: 14px; }
}
.pill { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; padding: 10px 18px; font: 600 14px/1 var(--body); cursor: pointer; white-space: nowrap; text-decoration: none; transition: transform 100ms var(--ease), background-color 150ms var(--ease); }
.pill:active { transform: scale(0.96); }
.pill.primary { background: var(--plum); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 0 rgba(28, 20, 24, 0.22); }
@media (hover: hover) { .pill.primary:hover { background: var(--plum-h); } }
.pill.soft { background: var(--clay); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(28, 20, 24, 0.07); }
@media (hover: hover) { .pill.soft:hover { background: #E4D9CD; } }
.dl-menu { position: absolute; right: 0; top: 48px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(28, 20, 24, 0.35), 0 0 0 1px var(--line); padding: 6px; min-width: 240px; display: grid; gap: 2px; font-size: 14px; }
.dl-menu a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 9px; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .dl-menu a:hover { background: var(--clay-2); } }
.dl-menu small { color: var(--muted); margin-left: auto; font-size: 12px; }
/* Sprakknappen bredvid Log in: jordglob och sprakets kod, och samma meny som Download-knappens. Den syns pa alla
   bredder, sa en telefon kan byta sprak utan att oppna menyarket; arket listar spraken sist (.mnav-langs). */
.lang-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 8px; border-radius: 10px; cursor: pointer; color: var(--ink); font: 600 13px/1 var(--body); letter-spacing: 0.04em; }
.lang-btn .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-btn:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
@media (hover: hover) { .lang-btn:hover { background: var(--clay-2); } }
/* Menyn hanger under knappen: pa telefoner hogerstalld mot den (knappen star nara kanten), pa datorn
   vansterstalld, sa att den borjar under jordgloben. */
.lang { position: relative; display: flex; }
.lang-menu { min-width: 190px; top: calc(100% + 4px); right: 0; z-index: 2; }
.lang-menu a[aria-current="true"] { font-weight: 600; color: var(--plum); }
.mnav-langs { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 14px; }
.mnav .mnav-langs a { border-bottom: 0; padding: 6px 0; font: 500 15px/1.2 var(--body); color: var(--muted); }
.mnav .mnav-langs a[aria-current="true"] { color: var(--plum); }
@media (min-width: 961px) { .lang-btn { font-size: 13.5px; } .lang-menu { left: 0; right: auto; } }

/* Hero: Grok's order, with Attio's air. Nothing here follows the window's height: the film sits the same distance under
   the note at every height and zoom, so it never jumps when the window or zoom changes (the user, 2026-11-13).
   The ground behind it is the page's own (body, below). */
.first { position: relative; padding-bottom: 8px; } /* on a phone the film's small shadow needs little room: the rule after it sits halfway, as between the blocks */
.hero { text-align: center; display: grid; justify-items: center; gap: 22px; padding-top: 16px; padding-bottom: 44px; }
/* The news: one row, and two small lights on opposite sides orbiting its faint outline, slowly changing colour (Attio's
   pill). .edge is an SVG outline over the border: each light is one dash on a path of length 100, with a soft glow under
   it; demo.js sets --r, half the pill's height, so the outline is a true pill at any height. */
.launch { position: relative; display: inline-flex; gap: 7px; align-items: center; max-width: 100%; white-space: nowrap; text-align: left; font-size: min(12px, 3.05vw); line-height: 1.3; color: var(--ink); padding: 4px 11px; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(110, 42, 91, 0.13); background: var(--paper); }
.launch .lt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.launch .edge { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; pointer-events: none; }
.launch .edge rect { x: 0.75px; y: 0.75px; width: calc(100% - 1.5px); height: calc(100% - 1.5px); rx: var(--r, 14px); ry: var(--r, 14px); fill: none; stroke-linecap: round;
  animation: orbit 7s linear infinite, lighthue 9s linear infinite; }
.launch .edge .spark { stroke-width: 1.5px; stroke-dasharray: 6 94; }
.launch .edge .glow { stroke-width: 4px; stroke-dasharray: 9 91; opacity: 0.4; filter: blur(1.6px); animation-name: orbitglow, lighthue; }
.launch .edge .b { animation-delay: -3.5s, -4.5s; }
@keyframes orbit { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@keyframes orbitglow { from { stroke-dashoffset: 1.5; } to { stroke-dashoffset: -98.5; } }
@keyframes lighthue { 0%, 100% { stroke: #E8B33C; } 33% { stroke: #E8809B; } 66% { stroke: #8A3A72; } }
@media (prefers-reduced-motion: reduce) { .launch .edge rect { animation: none; stroke: #E8809B; } .launch .edge .b { stroke-dashoffset: -50; } .launch .edge .glow.b { stroke-dashoffset: -48.5; } }
/* The film's own Klustret, above the title (demo.js mounts it) */
.herofig { position: relative; display: block; width: 104px; height: 104px; margin: -6px 0 -10px; }
.launch b { font-weight: 600; color: var(--plum); }
h1 { margin: 0; font: 600 clamp(34px, 11.5vw, 76px)/1.04 var(--display); letter-spacing: -0.036em; text-wrap: balance; }
h1 .l2 { display: inline-flex; align-items: center; gap: 0.15em; white-space: nowrap; color: var(--plum); }
.fig72 { position: relative; display: inline-block; width: 1em; height: 1em; flex: none; }
.sub { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 620px; margin: 0; }
.sub .s { display: inline-block; text-wrap: balance; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.ctas .pill { padding: 14px 24px; font-size: 15.5px; border-radius: 12px; }
/* On a phone the first screen has one button at full width; Contact sales is in the menu */
.hero .ctas { width: 100%; margin-top: 8px; }
.hero .ctas .pill { flex: 1 1 100%; justify-content: center; min-height: 50px; padding-inline: 16px; }
.hero .ctas .pill.soft { display: none; }
.hnote { margin: -10px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (min-width: 721px) {
  .first { padding-bottom: 56px; }
  .hero { gap: 16px; padding-top: 28px; padding-bottom: 0; min-height: 0; }
  .first .stage-wrap { margin-top: 36px; }
  .launch { gap: 8px; font-size: 13px; line-height: inherit; padding: 6px 13px; }
  .herofig { width: 112px; height: 112px; margin: -2px 0 -6px; }
  h1 { margin-top: 4px; }
  .sub { font-size: 19px; line-height: 1.55; }
  .hero .ctas { width: auto; margin-top: 6px; }
  .hero .ctas .pill { flex: none; justify-content: flex-start; min-height: 0; padding-inline: 24px; }
  .hero .ctas .pill.soft { display: inline-flex; }
  .hnote { margin-top: -4px; }
}
/* On a computer there is more air above the text and between the note and the film, the same at every window height */
@media (min-width: 961px) {
  .hero { padding-top: 48px; }
  .first .stage-wrap { margin-top: 56px; }
}

/* The first screen stays hidden until site.js plays it in, in order (Forsta skarmen). If the script never comes, it shows anyway after 3 s. */
.js :is(.hero, .ph, .contact2 > div:first-child, .legal-head):not(.entered) > *,
.js :is(#demo, .ph + .photo-wrap, .contact2 > .cform):not(.entered) { opacity: 0; animation: shown 0s 2s forwards; }
@keyframes shown { to { opacity: 1; } }
/* On a phone the first paragraph is simply there: it's the largest text on the screen, and shouldn't wait for the entrance */
.js :is(.hero, .ph):not(.entered) > .sub { opacity: 1; animation: none; }
@media (min-width: 721px) { .js :is(.hero, .ph):not(.entered) > .sub { opacity: 0; animation: shown 0s 2s forwards; } }
h1 .w { display: inline-block; }
.launch b { display: inline-block; }

/* Shared with the blocks below: a connector's tile, and a soft blink */
.ctile { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 11.5px/1 var(--body); flex: none; }
.ctile .ic { width: 15px; height: 15px; }
.ctile img { display: block; width: 70%; height: 70%; object-fit: contain; }
.ctile.lg img { width: 86%; height: 86%; }
@keyframes blink { 50% { opacity: 0.25; } }

/* The demo: Cowork's real frame, with chats drawn as agents. Words and surfaces follow apps/app/DESIGN.md and the real
   components. The base is the phone: a rail of circles beside one pane, and the work slides over it. 721 px adds names
   and the icon rail, 1041 px the whole frame with the panel beside the chat. */
.stage-wrap { max-width: 1240px; margin: 20px auto 0; }
.stage-wrap.gutter { padding-left: max(10px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)); }
.stage { position: relative; border-radius: 24px; padding: 8px 8px 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(110, 42, 91, 0.07) 1px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(110% 80% at 92% 0%, rgba(232, 128, 155, 0.26), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(110, 42, 91, 0.16), transparent 62%),
    #EEE4DB; }
.win { --lane: #F3ECE5; --lera: #EDE5DC; --press: #E6DDD4; --sheet: #FBF7F2; --sten: #6B5F63; --soft: #4F4649;
  position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: 54px minmax(0, 1fr);
  height: 560px; height: min(calc(100vh - 112px), 600px); height: min(calc(100svh - 112px), 600px); min-height: 470px;
  border-radius: 18px; overflow: hidden; background: var(--lera); color: var(--ink); font-size: 13.5px; line-height: 1.45;
  box-shadow: 0 44px 90px -46px rgba(28, 20, 24, 0.55), 0 0 0 1px rgba(28, 20, 24, 0.07); }
/* The product film in the window's place (_Film.cshtml): the same backdrop, frame and shadow, at 16:9 */
.stage.film { padding: 6px; box-shadow: 0 26px 60px -30px rgba(28, 20, 24, 0.38), 0 10px 26px -16px rgba(110, 42, 91, 0.28); }
.first .stage-wrap.gutter { padding-left: max(6px, env(safe-area-inset-left, 0px)); padding-right: max(6px, env(safe-area-inset-right, 0px)); }
.film-v { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--ink); object-fit: cover;
  box-shadow: 0 44px 90px -46px rgba(28, 20, 24, 0.55), 0 0 0 1px rgba(28, 20, 24, 0.07); }
.film-btn { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(28, 20, 24, 0.5); color: #FBF7F2; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform 100ms var(--ease), background-color 150ms var(--ease); }
.film-btn svg { width: 16px; height: 16px; fill: currentColor; }
.film-btn::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.film-btn[data-state="playing"] .i-play, .film-btn[data-state="paused"] .i-pause { display: none; }
.film-btn:active { transform: scale(0.96); }
.film-btn:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
@media (hover: hover) { .film-btn:hover { background: rgba(28, 20, 24, 0.7); } }
.win button { color: inherit; }
.win :focus-visible { outline: 2px solid var(--plum); outline-offset: -2px; }

/* Title bar */
.tbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; color: var(--sten); }
.tbar .wordmark { font-size: 12px; }
.tbar .ic { width: 15px; height: 15px; }
.tbar .wide { display: none; }
.tend { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.tbell { position: relative; display: grid; }
.tbell i { position: absolute; right: -1px; top: -1px; width: 6px; height: 6px; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 1.5px var(--lera); opacity: 0; transition: opacity 200ms var(--ease); }
.tbell.on i { opacity: 1; }

/* The left side: on a phone one rail of circles, Home above and you below */
.wleft { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 0; padding-bottom: 8px; }
.irail { display: contents; }
.iic { display: none; }
.ihome, .inew { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--soft); transition: background-color 150ms var(--ease), transform 100ms var(--ease); }
.ihome { position: relative; order: 0; }
.ihome[aria-current="true"] { background: var(--press); }
.ihome .ic, .inew .ic { width: 18px; height: 18px; }
.ihome:active, .inew:active, .item:active { transform: scale(0.96); }
.count { position: absolute; right: 2px; top: 2px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px; background: #E8B33C; color: #1C1418; font: 600 10px/15px var(--body); text-align: center; }
.lane { order: 1; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.inew b, .lane .lbl { display: none; }
.items { display: grid; gap: 4px; justify-items: center; }
.item { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; transition: background-color 150ms var(--ease), transform 100ms var(--ease); }
.item[aria-current="true"] { background: var(--sheet); }
.dotc { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--agent, #6B5F63); flex: none; }
.item b { display: none; }
.item::after { content: ""; position: absolute; right: 5px; top: 5px; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px var(--lera); opacity: 0; transform: scale(0.4); transition: opacity 200ms var(--ease), transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.item[aria-current="true"]::after { box-shadow: 0 0 0 2px var(--sheet); }
.item[data-state="needs"]::after { background: #E8933A; opacity: 1; transform: none; }
.item[data-state="done"]::after { background: #2FBE54; opacity: 1; transform: none; }
.item[data-state="working"] .dotc { animation: agentwork 1.5s ease-in-out infinite alternate; }
@keyframes agentwork { from { opacity: 0.5; transform: scale(0.84); } to { opacity: 1; transform: scale(1); } }
.mefoot { order: 2; margin-top: auto; width: 26px; height: 26px; border-radius: 50%; background: #F3E4EE; color: var(--plum); display: grid; place-items: center; font: 600 10px/1 var(--body); flex: none; }

/* The sheet */
.main { position: relative; display: flex; min-width: 0; min-height: 0; }
.pane { position: relative; flex: 1; min-width: 0; margin: 0 6px 6px 0; background: var(--sheet); border-radius: 14px; overflow: hidden; }
.vhome { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; overflow: hidden; }
.hi { --hm: 30px; display: grid; justify-items: center; gap: 4px; text-align: center; }
.hi h4 { margin: 0; font: 600 21px/1.1 var(--display); letter-spacing: -0.025em; }
.starters { display: none; }
.hlist { display: grid; gap: 9px; align-content: start; min-height: 0; }
.hgroup { display: grid; gap: 2px; }
.hgroup > span { font-size: 11.5px; font-weight: 600; color: var(--sten); padding: 0 2px 2px; }
.hrow { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 33px; padding: 4px 9px; border-radius: 10px; font-size: 13px; transition: background-color 150ms var(--ease); }
.hrow .dotc { width: 12px; height: 12px; }
.hrow b { flex: 1; min-width: 0; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow.needs { background: var(--lane); }
.hrow.needs b, .hrow.done b { font-weight: 500; }
.wait { flex: none; background: #E8B33C; color: #1C1418; border-radius: 6px; padding: 3px 7px; font: 600 11px/1.2 var(--body); white-space: nowrap; }
.hrow small { flex: none; font-size: 11.5px; color: var(--soft); display: inline-flex; align-items: center; gap: 6px; }
.hrow small i { width: 7px; height: 7px; border-radius: 50%; background: #2FBE54; }

.vchat { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; }
.chead { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px 6px; }
.chead .dotc { width: 12px; height: 12px; }
.chead b { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chead small { display: none; font-size: 12.5px; color: var(--sten); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logs { position: relative; min-height: 0; }
.logs::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; z-index: 1; background: linear-gradient(var(--sheet), rgba(251, 247, 242, 0)); pointer-events: none; }
.log { position: absolute; inset: 0; overflow: hidden; padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 10px; }
.bubble { align-self: flex-end; max-width: 92%; background: var(--lane); border-radius: 16px; padding: 9px 12px; }
.att { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 12px; color: var(--soft); }
.att .ic { width: 15px; height: 15px; flex: none; }
.wl { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--sten); }
.wl .ic { width: 13px; height: 13px; margin-top: 2px; flex: none; }
.wl .si { display: grid; flex: none; margin-top: 2px; }
.wl .waitd { width: 7px; height: 7px; margin: 5px 3px 0; border-radius: 50%; background: #E8933A; flex: none; }
.ans { margin: 0; color: var(--ink); }
.fcard { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; min-width: 0; background: var(--lane); border-radius: 12px; padding: 8px 12px; transition: background-color 150ms var(--ease), transform 100ms var(--ease); }
.fcard:active { transform: scale(0.98); }
.fic { width: 20px; height: 20px; flex: none; display: grid; place-items: center; }
.fic .ic { width: 19px; height: 19px; }
.fcard > span:nth-child(2) { min-width: 0; flex: 1; }
.fcard b { display: block; font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard small { font-size: 11px; color: var(--sten); }
.fcard .open { flex: none; font-size: 13px; font-weight: 500; }
.sched { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--lane); border-radius: 6px; padding: 4px 8px; font-size: 12px; color: var(--soft); }
.sched .ic { width: 13px; height: 13px; }
.dl-demo { align-self: flex-start; }

/* What the agent asks, docked above the composer as in the app */
.askslot:empty { display: none; }
.askdock { margin: 0 8px 6px; display: grid; gap: 8px; background: var(--lane); border-radius: 14px; padding: 10px 12px; }
.asktop { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 10px; width: 100%; min-width: 0; }
.asktop > span:nth-child(2) { flex: 1; min-width: 0; }
.asktop > .ic { width: 14px; height: 14px; flex: none; align-self: center; color: var(--sten); }
.asksi { width: 28px; height: 28px; flex: none; border-radius: 10px; background: var(--lera); color: var(--soft); display: grid; place-items: center; }
.asksi .ic { width: 15px; height: 15px; }
.asktop b { display: block; font-weight: 500; font-size: 13px; line-height: 1.35; }
.asktop small { display: block; margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: var(--sten); }
.askb { display: flex; flex-wrap: wrap; gap: 6px; }
.abtn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border-radius: 6px; background: var(--lera); font: 500 12.5px/1 var(--body); transition: transform 100ms var(--ease), background-color 150ms var(--ease); }
.abtn:active, .abtn.press { transform: scale(0.96); }
.abtn .ic { width: 13px; height: 13px; }
.abtn.no { color: #B32D1C; }
.abtn.yes { background: var(--plum); color: #fff; }

/* The email it wants to send: grows out of the question and shrinks back into it, with the same three answers */
.mailwrap { position: absolute; inset: 0; z-index: 7; display: grid; grid-template-rows: minmax(0, 1fr); justify-items: center; padding: 10px 8px 8px; }
.mailwrap::before { content: ""; position: absolute; inset: 0; background: rgba(28, 20, 24, 0.36); opacity: 0; transition: opacity 255ms var(--ease); }
.mailwrap.on::before { opacity: 1; }
.mail { position: relative; align-self: start; width: 100%; max-width: 600px; max-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 44px 90px -30px rgba(28, 20, 24, 0.65); }
.mailbar { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 8px 8px 14px; font-size: 13px; }
.mailbar img { display: block; width: 15px; height: 15px; flex: none; }
.mailbar b { font-weight: 600; }
.mailbar small { font-size: 12px; color: var(--sten); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mailx { all: unset; cursor: pointer; flex: none; margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--sten); }
.mailx .ic { width: 14px; height: 14px; }
.mailhead > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 6px; padding: 7px 14px; border-top: 1px solid #EFE8E1; font-size: 13px; line-height: 1.35; }
.mailhead span { color: var(--sten); }
.mailhead b { font-weight: 500; }
.mailbody { min-height: 0; overflow: hidden; padding: 12px 14px; border-top: 1px solid #EFE8E1; font-size: 13px; line-height: 1.5; }
.mailbody p { margin: 0 0 8px; }
.mailbody p:last-child { margin: 0; }
.mailask { display: grid; gap: 8px; padding: 10px 12px 12px; background: var(--lane); }
.mailq { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mailq b { font-weight: 500; font-size: 13.5px; line-height: 1.35; }
.mailask .askb { flex-wrap: nowrap; }
.mailask .abtn { flex: 1 1 auto; justify-content: center; min-height: 36px; padding: 0 8px; white-space: nowrap; }
.mailask .abtn .ic { display: none; }

/* The composer: a pill, as in the app */
.comp { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 8px 8px; padding: 5px 6px 5px 12px; background: var(--lane); border-radius: 22px; }
.comp .cplus { display: grid; color: var(--sten); flex: none; }
.comp .cplus .ic { width: 16px; height: 16px; }
.comp input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0; font: 14px/1.3 var(--body); color: var(--ink); }
.comp input::placeholder { color: var(--sten); }
.cmodel { display: none; align-items: center; gap: 4px; font-size: 12px; color: var(--sten); flex: none; }
.cmodel .ic { width: 12px; height: 12px; }
.comp .csend { all: unset; cursor: pointer; width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--lera); color: var(--soft); transition: transform 100ms var(--ease); }
.comp .csend:active { transform: scale(0.96); }
.comp .csend .ic { width: 15px; height: 15px; }
.cfold { display: none; }
.vhome .comp { margin: 0; flex: none; }

/* The work: slides over the chat on a phone */
.panel { position: absolute; left: 0; right: 6px; top: 0; bottom: 6px; z-index: 4; background: var(--sheet); border-radius: 14px; overflow: hidden; transform: translateX(106%); visibility: hidden; transition: transform 310ms var(--ease), visibility 0s linear 310ms; }
.win.open .panel { transform: none; visibility: visible; transition: transform 310ms var(--ease); }
.pv { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.phead { display: flex; align-items: center; gap: 6px; padding: 7px 8px; min-width: 0; }
.pback { all: unset; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 2px; min-height: 30px; padding: 0 8px 0 4px; border-radius: 8px; font-size: 12.5px; font-weight: 500; background: var(--lane); }
.pback .ic { width: 14px; height: 14px; }
.ptab { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 30px; padding: 0 9px; border-radius: 9px; background: var(--lane); font-size: 12.5px; }
.ptab .ic, .ptab img { width: 14px; height: 14px; flex: none; }
.ptab span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pact { display: none; }
.pbody { position: relative; min-height: 0; overflow-y: auto; padding: 8px; background: var(--lane); scrollbar-width: thin; }

/* Documents */
.page { background: #fff; border-radius: 6px; padding: 18px 16px; font: 13.5px/1.68 var(--doc); color: #2A2226; max-width: 600px; margin: 0 auto;
  box-shadow: 0 1px 2px rgba(28, 20, 24, 0.06), 0 14px 34px -22px rgba(28, 20, 24, 0.4); }
.page p { margin: 0 0 10px; }
.page b { font-weight: 600; }
.dtop { display: flex; justify-content: space-between; gap: 12px; font: 600 10px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #8A8086; border-bottom: 1px solid #EEE8E3; padding-bottom: 10px; margin-bottom: 16px; }
.page h5 { font: 600 15.5px/1.3 var(--display); margin: 16px 0 6px; color: var(--ink); letter-spacing: -0.005em; }
.page .title { font: 600 22px/1.15 var(--display); margin: 0 0 4px; color: var(--ink); letter-spacing: -0.015em; }
.chart { display: grid; gap: 7px; margin: 12px 0; font: 12px/1.2 var(--body); }
.chart div { display: grid; grid-template-columns: 58px minmax(0, 1fr) 44px; gap: 8px; align-items: center; color: var(--muted); }
.chart i { height: 9px; border-radius: 5px; background: linear-gradient(90deg, var(--plum), var(--coral)); }
.chart em { font-style: normal; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

/* Slides */
.deck { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.deck-main { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; container-type: inline-size; background: #F7F2EA; box-shadow: 0 1px 2px rgba(28, 20, 24, 0.08), 0 18px 40px -24px rgba(28, 20, 24, 0.5); }
.slide { position: absolute; inset: 0; padding: 6.5cqw 7cqw; display: flex; flex-direction: column; opacity: 0; transition: opacity 320ms var(--ease); font-family: var(--display); }
.slide.cur { opacity: 1; }
.slide.dark { background: #12403C; color: #F4EBDD; }
.slide.light { background: #F7F2EA; color: #12403C; }
.slide .kick { font: 600 1.55cqw/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: #E2BE6E; }
.slide.light .kick { color: #A0773A; }
.slide h4 { margin: 0 0 3.4cqw; font-weight: 600; font-size: 4.6cqw; line-height: 1.05; letter-spacing: -0.02em; }
.slide.cover h4 { font-size: 7cqw; margin: auto 0 2cqw; }
.slide .sfoot { margin-top: auto; display: flex; justify-content: space-between; font: 500 1.4cqw/1 var(--body); opacity: 0.7; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; margin-top: 2cqw; }
.stats b { display: block; font-weight: 600; font-size: 7.4cqw; line-height: 1; letter-spacing: -0.03em; }
.stats span { display: block; font: 400 1.8cqw/1.35 var(--body); margin-top: 1.2cqw; opacity: 0.85; }
.prio { display: grid; gap: 2.2cqw; counter-reset: p; }
.prio div { display: grid; grid-template-columns: 5.4cqw 1fr; gap: 2cqw; align-items: start; counter-increment: p; }
.prio div::before { content: counter(p); width: 5.4cqw; height: 5.4cqw; border-radius: 50%; background: #12403C; color: #F4EBDD; display: grid; place-items: center; font: 600 2.4cqw/1 var(--display); }
.prio b { display: block; font-size: 2.7cqw; font-weight: 600; }
.prio span { display: block; font: 400 1.7cqw/1.35 var(--body); opacity: 0.8; margin-top: 0.6cqw; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; margin-top: auto; margin-bottom: auto; }
.cols2 div { border-top: 0.3cqw solid #E2BE6E; padding-top: 2cqw; }
.cols2 b { display: block; font-size: 4.4cqw; font-weight: 600; }
.cols2 span { display: block; font: 400 1.9cqw/1.4 var(--body); opacity: 0.85; margin-top: 1cqw; }
.bul { display: grid; gap: 2cqw; font: 400 2.3cqw/1.35 var(--body); }
.bul div { display: grid; grid-template-columns: 2cqw 1fr; gap: 1.6cqw; }
.bul div::before { content: ""; width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #A0773A; margin-top: 1cqw; }
.tbl { display: grid; font: 400 1.9cqw/1.3 var(--body); }
.tbl div { display: grid; grid-template-columns: 2fr 1fr 0.7fr; gap: 2cqw; padding: 1.5cqw 0; border-top: 0.15cqw solid rgba(18, 64, 60, 0.18); }
.tbl div:first-child { font-weight: 600; border-top: 0; font-size: 1.6cqw; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.dnav { display: flex; align-items: center; justify-content: center; gap: 12px; }
.dnav .cnt { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.snav { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.snav .ic { width: 15px; height: 15px; }

/* Spreadsheet */
.sheet { background: #fff; border-radius: 10px; overflow: hidden; max-width: 640px; margin: 0 auto; box-shadow: 0 1px 2px rgba(28, 20, 24, 0.06), 0 14px 34px -22px rgba(28, 20, 24, 0.4); }
.sheet-h { display: flex; gap: 8px; align-items: center; background: #1F6E43; color: #fff; padding: 9px 12px; font-size: 12px; font-weight: 600; }
.sheet-h span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { text-align: left; padding: 7px 8px; border-top: 1px solid #EEEBE7; }
.sheet th { background: #F4F6F4; color: #4D5650; font-weight: 600; font-size: 11px; border-top: 0; white-space: nowrap; }
.sheet th:nth-child(4), .sheet td:nth-child(4) { display: none; }
.sheet td.chk { color: var(--ok); }
.sheet tr.f td { background: var(--warn-bg); }
.sheet tr.f td.chk { color: var(--warn); font-weight: 600; }

/* The agent's browser: a real tab, with the page in it */
.bwr { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; background: #fff; }
.burl { display: flex; align-items: center; gap: 8px; padding: 6px 10px; color: var(--sten); }
.burl .ic { width: 13px; height: 13px; flex: none; }
.burl > span:last-child { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--lane); font-size: 12px; white-space: nowrap; overflow: hidden; }
.bpage { --acc: #1E5A8A; min-height: 0; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #FBF8F4; }
.bpage .ps-top { padding: 10px 14px; font-size: 11px; }
.bpage section { display: grid; gap: 10px; align-content: start; padding: 18px 16px; max-width: 340px; width: 100%; margin: 0 auto; }
.bpage section[hidden] { display: none; }
.bpage h5 { margin: 0; font: 600 17px/1.2 var(--display); letter-spacing: -0.01em; }
.bpage p { margin: 0; font-size: 12.5px; color: var(--muted); }
.bfield { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; width: 100%; min-height: 38px; padding: 0 11px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; transition: box-shadow 150ms var(--ease); }
.bfield em { font-style: normal; color: #A49CA0; }
.bfield.focus { box-shadow: inset 0 0 0 1.5px var(--acc), 0 0 0 3px rgba(30, 90, 138, 0.14); }
.bfield.focus::after { content: ""; width: 1px; height: 1.1em; margin-left: 1px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.bbtn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 8px; background: var(--acc); color: #fff; font: 600 13px/1 var(--body); transition: transform 100ms var(--ease); }
.bbtn:active, .bbtn.press { transform: scale(0.96); }
.bq { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.bq em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); }
.bq.best { box-shadow: inset 0 0 0 1.5px var(--acc); font-weight: 600; }
.bq.best em { color: var(--acc); }

.rrail { display: none; }

/* The "You" cursor */
.you { position: absolute; left: 0; top: 0; z-index: 12; pointer-events: none; opacity: 0; transition: transform 636ms var(--ease), opacity 240ms var(--ease); }
.you.on { opacity: 1; }
.you svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(28, 20, 24, 0.3)); transition: transform 120ms var(--ease); }
.you span { position: absolute; left: 16px; top: 18px; background: var(--ink); color: #fff; font: 600 11px/1 var(--body); padding: 4px 7px; border-radius: 999px; }
.you.press svg { transform: scale(0.85); }

/* The line under the window: what each moment shows, then your turn */
.cap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 6px 8px; text-align: center; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.cap > span { transition: opacity 180ms var(--ease); }
.cap > span.swap { opacity: 0; }
.cap b { font-weight: 600; }
.cap .pill { flex: none; padding: 7px 12px; font-size: 12.5px; min-height: 0; }

@media (min-width: 721px) {
  .stage-wrap { margin-top: 44px; }
  .stage-wrap.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .stage { border-radius: 30px; padding: 30px 30px 0; }
  .stage.film { padding: 30px; }
  .first .stage-wrap.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .film-v { border-radius: 20px; }
  .film-btn { right: 46px; bottom: 46px; width: 40px; height: 40px; }
  .film-btn svg { width: 18px; height: 18px; }
  .win { grid-template-columns: auto minmax(0, 1fr); height: 680px; min-height: 0; border-radius: 20px; font-size: 14px; }
  .tbar { height: 40px; gap: 14px; padding: 0 14px; }
  .tbar .wordmark { font-size: 13.5px; }
  .tbar .wide { display: inline-flex; }
  .wleft { display: grid; grid-template-columns: 48px 190px; gap: 0; align-items: stretch; padding-bottom: 0; }
  .irail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 0 10px; }
  .iic { display: grid; place-items: center; width: 36px; height: 36px; color: var(--soft); }
  .iic .ic { width: 18px; height: 18px; }
  .ihome { width: 36px; height: 36px; }
  .mefoot { margin-top: auto; }
  .lane { align-items: stretch; gap: 2px; padding: 10px 8px; background: var(--lane); border-radius: 14px 0 0 0; }
  .inew { display: flex; justify-content: flex-start; gap: 9px; width: auto; height: 34px; padding: 0 8px; }
  .inew .ic { width: 16px; height: 16px; }
  .inew b { display: inline; font-weight: 500; font-size: 14px; color: var(--ink); }
  .lane .lbl { display: block; padding: 14px 8px 4px; font-size: 12.5px; color: var(--sten); }
  .items { justify-items: stretch; gap: 2px; }
  .item { display: flex; align-items: center; justify-content: flex-start; gap: 9px; width: auto; height: auto; min-height: 36px; padding: 0 9px; }
  .item[aria-current="true"] { background: var(--press); }
  .item .dotc { width: 12px; height: 12px; }
  .item b { display: block; flex: 1; min-width: 0; font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .item::after, .item[aria-current="true"]::after { position: static; width: 7px; height: 7px; flex: none; box-shadow: none; }
  .item[data-state="working"] .dotc { animation: none; }
  .item[data-state="working"] b { background-image: linear-gradient(100deg, var(--sten) 35%, var(--ink) 50%, var(--sten) 65%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: skim 2.2s linear infinite; }
  @keyframes skim { from { background-position: 125% 0; } to { background-position: -125% 0; } }
  .pane { margin: 0; border-radius: 0 14px 0 0; }
  .vhome { align-items: center; gap: 12px; padding: 18px 28px; overflow-y: auto; scrollbar-width: thin; }
  .vhome > * { width: 100%; max-width: 560px; flex: none; }
  .vhome > .starters { max-width: 680px; }
  .hi { --hm: 46px; gap: 6px; }
  .hi h4 { font-size: 36px; }
  .starters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
  .starters > span { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 10px; border-radius: 6px; background: var(--lane); font-size: 13px; white-space: nowrap; }
  .starters .ic { display: block; width: 14px; height: 14px; }
  .starters > span:first-child { background: var(--plum); color: #fff; font-weight: 500; }
  .hlist { gap: 10px; }
  .hgroup { gap: 2px; }
  .hgroup > span { font-size: 13px; }
  .hrow { gap: 10px; min-height: 38px; padding: 4px 14px; border-radius: 12px; font-size: 14px; }
  .wait { padding: 4px 9px; font-size: 12px; }
  .hrow small { font-size: 12px; }
  .chead { padding: 14px 18px 8px; }
  .chead b { font-size: 14px; }
  .chead small { display: block; }
  .log { overflow-y: auto; padding: 10px max(18px, 6%) 12px; gap: 14px; scrollbar-width: thin; }
  .bubble { max-width: 78%; border-radius: 18px; padding: 10px 14px; }
  .wl { font-size: 13px; }
  .fcard { padding: 11px 16px; max-width: 460px; }
  .fcard b { font-size: 14px; }
  .fcard small { font-size: 11.5px; }
  .askdock { margin: 0 max(14px, 4%) 8px; padding: 12px 14px; gap: 10px; }
  .asktop b { font-size: 13.5px; }
  .asktop small { font-size: 12.5px; }
  .mailwrap { padding: 46px 22px 22px; }
  .mail { border-radius: 18px; }
  .mailbar { padding: 10px 12px 10px 20px; font-size: 14px; }
  .mailbar small { font-size: 12.5px; }
  .mailhead > div, .mailbody { padding-inline: 20px; }
  .mailhead > div { font-size: 14px; padding-block: 9px; }
  .mailbody { padding-block: 16px; font-size: 14px; }
  .mailask { padding: 12px 20px 16px; }
  .mailask .abtn { flex: none; min-height: 30px; padding: 0 10px; }
  .mailask .abtn .ic { display: block; }
  .comp { min-height: 56px; margin: 0 max(14px, 4%) 6px; padding: 8px 10px 8px 18px; border-radius: 28px; }
  .cmodel { display: inline-flex; }
  .cfold { display: flex; gap: 6px; margin: 0 max(26px, 5%) 10px; min-height: 26px; }
  .cfold span { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 999px; background: var(--lane); font-size: 12px; color: var(--soft); }
  .cfold .ic { width: 13px; height: 13px; }
  .vhome .cfold { display: none; }
  .panel { left: auto; right: 0; top: 0; bottom: 0; width: 66%; border-radius: 14px 14px 0 0; box-shadow: -18px 0 40px -24px rgba(28, 20, 24, 0.35); }
  .phead { padding: 8px 10px; }
  .pback { display: none; }
  .pact { display: flex; gap: 6px; margin-left: auto; color: var(--sten); }
  .pact button { all: unset; cursor: pointer; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; }
  .pact .ic { width: 15px; height: 15px; }
  .pbody { padding: 14px; }
  .page { padding: 26px 28px; }
  .sheet table { font-size: 12px; }
  .sheet th, .sheet td { padding: 7px 10px; }
  .chart div { grid-template-columns: 70px minmax(0, 1fr) 52px; gap: 10px; }
  .cap { min-height: 72px; font-size: 14.5px; gap: 14px; }
}
@media (min-width: 1041px) {
  .wleft { grid-template-columns: 48px 216px; }
  .panel { position: relative; left: auto; right: auto; top: auto; bottom: auto; z-index: auto; flex: none; width: 0; transform: none; visibility: visible; border-radius: 14px 14px 0 0; box-shadow: none; transition: width 310ms var(--ease), margin-left 310ms var(--ease); }
  .win.open .panel { width: 44%; margin-left: 4px; transition: width 310ms var(--ease), margin-left 310ms var(--ease); }
  .pv { right: auto; width: var(--pw, 440px); }
  .rrail { display: grid; align-content: start; justify-items: center; gap: 16px; width: 44px; flex: none; padding-top: 12px; color: var(--sten); }
  .rrail .ic { width: 17px; height: 17px; }
}
@media (pointer: coarse) { .comp input { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .item[data-state="working"] .dotc, .item[data-state="working"] b { animation: none; }
  .panel, .win.open .panel, .slide, .you, .cap > span, .mailwrap::before { transition: none; }
}

/* ================================================================== The blocks after the demo
   Claude's rhythm: one job per block, centred openers, 192 px between blocks (128 on a phone) with a faint rule halfway, colour on
   a few stages only (the demo's rose wash, the painted scenes, the peach task stage, "Built on European ground"). */
main { overflow-x: clip; }
/* --blk-gap is the space between blocks; more air on a phone too (the user, 2026-11-13) */
.blk { --blk-gap: 128px; position: relative; margin-top: var(--blk-gap); }
@media (min-width: 721px) { .blk { --blk-gap: 192px; } }
.blk > .wrap { position: relative; z-index: 1; }
.wrap { max-width: 1088px; margin: 0 auto; }
.wrap.narrow { max-width: 760px; }
.bh { display: grid; justify-items: center; text-align: center; gap: 10px; margin-bottom: 24px; }
.bh h2, .newsbox h2, .groundbox h2, .closeband h2 { margin: 0; font: 700 clamp(31px, 8vw, 52px)/1.05 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
@media (min-width: 721px) { .bh { gap: 14px; margin-bottom: 40px; } }

/* The rule between blocks: a hairline that draws out from the middle (the three dots went, the user 2026-11-12) */
.blk::before { content: ""; position: absolute; left: 50%; top: calc(var(--blk-gap) / -2); pointer-events: none; }
.blk::before { width: min(1088px, calc(100% - 32px)); height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(28, 20, 24, 0.11) 22%, rgba(28, 20, 24, 0.11) 78%, transparent); }
.js .blk::before { scale: 0 1; transition: scale 1400ms var(--ease); }
.js .blk.seen::before { scale: 1 1; }

/* Everything rises into place the first time it scrolls into view, one after another (blocks.js adds .rv and .in) */
.js .rv:not(.in) { opacity: 0; }
.js .rv.in { animation: rv 600ms var(--ease) var(--rd, 0ms) backwards; }
.js .rv.in.now { animation: none; }
@keyframes rv { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
.bh p { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (min-width: 721px) { .bh p { font-size: 16.5px; line-height: 1.55; } }
/* Swipe rails: on a phone or tablet these lists run sideways, with the next card peeking */
.pair, .int3, .plans:not(.org) { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; scroll-padding-inline: 16px; }
.pair::-webkit-scrollbar, .int3::-webkit-scrollbar, .plans:not(.org)::-webkit-scrollbar { display: none; }
.pair > *, .int3 > *, .plans:not(.org) > * { flex: 0 0 min(86%, 440px); scroll-snap-align: start; }
.bh .pill { margin-top: 4px; }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.linkbtn { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.linkbtn:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.pill.light { background: #FBF7F2; color: var(--ink); box-shadow: inset 0 -2px 0 rgba(28, 20, 24, 0.12); }
@media (hover: hover) { .pill.light:hover { background: #fff; } }
.pill.ghost { background: rgba(255, 255, 255, 0.1); color: #fff; }
@media (hover: hover) { .pill.ghost:hover { background: rgba(255, 255, 255, 0.18); } }

/* Drawn openers: a soft shape, then ink lines that draw themselves, then the Cluster's dots. They hold, undraw in
   reverse and draw again, for as long as they are on screen (blocks.js runs the loop); small parts keep moving. */
.draw { width: 72px; height: 72px; display: block; overflow: visible; }
@media (min-width: 721px) { .draw { width: 100px; height: 100px; } }
.draw.left { margin: 0 0 10px; }
.lot { position: relative; display: block; }
.lot > span { position: absolute; inset: 0; }

/* The free trial offer: a slim bar on phones and tablets, a card in the corner from 961 px */
.promo { position: fixed; left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 35; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 28px; align-items: center; gap: 8px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(28, 20, 24, 0.4); }
.promo-art { order: 1; width: 40px; height: 40px; border-radius: 12px; background: var(--plum-tint); display: grid; place-items: center; }
.promo-art .lot { width: 30px; height: 30px; transform: scaleX(1.15); } /* Lordicon's gift is a tall box: this makes it read as a gift box */
.promo b { order: 2; font: 600 14px/1.2 var(--display); }
.promo p { display: none; }
.promo .pill { order: 3; justify-content: center; padding: 9px 12px; font-size: 13px; }
.promo-x { order: 4; position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--clay-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color 150ms var(--ease), transform 100ms var(--ease); }
@media (min-width: 961px) {
  .promo { left: auto; right: 24px; bottom: 24px; width: 276px; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 6px; padding: 10px 10px 12px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(28, 20, 24, 0.35); }
  .promo-art { order: 0; width: auto; height: 112px; margin-bottom: 6px; }
  .promo-art .lot { width: 88px; height: 88px; }
  .promo b { order: 0; padding: 0 6px; font-size: 17px; line-height: 1.25; }
  .promo p { display: block; margin: 0 0 8px; padding: 0 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
  .promo .pill { order: 0; padding: 10px 18px; font-size: 14px; }
  .promo-x { order: 0; position: absolute; top: -9px; right: -9px; background: var(--clay); box-shadow: 0 0 0 2px #fff; }
}
.promo-x::after { content: ""; position: absolute; inset: -8px; }
@media (hover: hover) { .promo-x:hover { background: #E4D9CD; } }
.promo-x:active { transform: scale(0.96); }
.promo-x .ic { width: 14px; height: 14px; stroke-width: 2; }
.draw .ln, .grow .ln, .loopd .ln { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.grow .ln, .loopd .ln { stroke-width: 1.6; }
.draw .ln.acc { stroke: var(--plum); }
.draw .ln.dim { stroke-opacity: 0.2; }
.draw .dt, .grow .dt, .loopd .dt, .draw .blob { transform-box: fill-box; transform-origin: center; }
.js .draw .ln, .js .grow .ln, .js .loopd .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw .dt, .js .grow .dt, .js .loopd .dt, .js .draw .blob { opacity: 0; }
.draw g, .grow g { transform-box: fill-box; transform-origin: center; }
.live .bob { animation: bob 3.6s ease-in-out infinite alternate; }
.live .dotg { animation: bob 2.8s ease-in-out infinite alternate-reverse; }
@keyframes bob { to { transform: translateY(-2.5px); } }
.live .pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.1); } }
.live .tw { animation: tw 3s ease-in-out infinite; }
@keyframes tw { 50% { transform: rotate(14deg) scale(1.08); } }
.draw .sway, .grow .sway { transform-origin: 50% 100%; }
.live .sway { animation: sway 3.8s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.draw .turn { transform-box: view-box; transform-origin: 44px 52px; }
.live .turn { animation: turn 3.4s ease-in-out infinite; }
@keyframes turn { 0%, 55%, 100% { transform: rotate(0deg); } 68% { transform: rotate(-9deg); } 84% { transform: rotate(3deg); } }
.live .drop { animation: drop 1.6s ease-in-out infinite; }
@keyframes drop { 50% { transform: translateY(3px); } }
.live .typing > g { animation: typ 1.2s ease-in-out infinite; }
.typing > g:nth-child(2) { animation-delay: 0.15s; }
.typing > g:nth-child(3) { animation-delay: 0.3s; }
@keyframes typ { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-3px); } }

/* 3 What Cowork does: three numbered steps joined by a dashed line that flows while on screen */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; }
.steps3 li { position: relative; display: grid; gap: 10px; align-content: start; }
/* The steps as a column, beside the scene of Cowork at work */
.stepsdesk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.stepsdesk .steps3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.stepsdesk .steps3 li { padding-left: 54px; gap: 6px; }
.stepsdesk .steps3 .sn { position: absolute; left: 0; top: 0; font-size: 32px; }
.stepsdesk .steps3 h3 { margin-top: 0; }
.stepsdesk .steps3 li:not(:last-child)::after { left: 17px; right: auto; top: 40px; bottom: -14px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(110, 42, 91, 0.32) 0 5px, transparent 5px 11px); }
.stepsdesk .steps3.live li::after { animation-name: dashv; }
.desk { position: relative; margin: 0; padding: 14px; display: grid; gap: 6px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 1px 1px, rgba(110, 42, 91, 0.09) 1px, transparent 1.6px) 0 0 / 20px 20px, linear-gradient(160deg, #F7EFE8, #F0E2D9); }
.deskhead { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
/* Klustret draws two sets of dots at a radius of 44-70 px: this size and the wide one stay outside that range */
.deskfig { position: relative; display: block; width: 72px; height: 72px; flex: none; }
.deskhead b { display: block; font: 600 20px/1.15 var(--display); letter-spacing: -0.015em; }
.deskhead span[data-sum] { font-size: 13.5px; color: var(--muted); }
.job { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -20px rgba(28, 20, 24, 0.4); transition: box-shadow 200ms var(--ease); }
.job.ask { box-shadow: inset 0 0 0 2px #E8933A, 0 10px 24px -20px rgba(28, 20, 24, 0.4); }
.jic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.jic .lot { width: 24px; height: 24px; }
.job b { display: block; font-weight: 600; font-size: 14px; line-height: 1.25; }
.job p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.job .acts { grid-column: 2 / -1; }
.job .st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.job .st i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.job .st.work { color: var(--plum); }
.job .st.work i { animation: stwork 1.4s ease-in-out infinite alternate; }
@keyframes stwork { from { opacity: 0.35; } to { opacity: 1; } }
.job .st.done { color: var(--ok); }
.job .acts { display: flex; gap: 6px; }
.job .acts > span { padding: 6px 11px; border-radius: 9px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--clay); color: var(--ink); transition: transform 100ms var(--ease); }
.job .acts > .yes { background: var(--plum); color: #fff; }
.job .acts > .yes.press { transform: scale(0.96); }
@media (prefers-reduced-motion: reduce) { .job .st.work i { animation: none; } }
@media (min-width: 721px) {
  .stepsdesk { gap: 36px; }
  .stepsdesk .steps3 { gap: 30px; }
  .stepsdesk .steps3 li { padding-left: 74px; gap: 10px; }
  .stepsdesk .steps3 .sn { font-size: 42px; }
  .stepsdesk .steps3 li:not(:last-child)::after { left: 24px; top: 54px; bottom: -22px; }
  .desk { padding: 24px; gap: 8px; border-radius: 28px; }
  .deskhead { gap: 18px; margin-bottom: 8px; }
  .deskfig { width: 140px; height: 140px; }
  .deskhead b { font-size: 24px; }
  .deskhead span[data-sum] { font-size: 14px; }
  .job { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; min-height: 66px; padding: 11px 14px; border-radius: 16px; }
  .jic { width: 40px; height: 40px; }
  .job b { font-size: 14.5px; }
  .job p { font-size: 13px; }
  .job .acts { grid-column: auto; }
}
@media (min-width: 961px) { .stepsdesk { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; } }
.steps3 .sn { width: max-content; font: 600 58px/1 var(--display); letter-spacing: -0.045em; background: linear-gradient(120deg, var(--plum), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps3 li:not(:last-child)::after { content: ""; position: absolute; }
.steps3.live li::after { animation: dashv 1.1s linear infinite; }
.steps3 h3 { margin: 6px 0 0; font: 700 20px/1.25 var(--display); letter-spacing: -0.01em; }
.steps3 p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (min-width: 721px) { .steps3 h3 { font-size: 24px; } .steps3 p { font-size: 15.5px; line-height: 1.6; } }
.steps3 .chip { justify-self: start; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--plum); background: var(--plum-tint); border-radius: 999px; padding: 4px 11px; }
@keyframes dashv { to { background-position: 0 11px; } }

/* 4 It keeps working while you do: two cards side by side, each a painted scene that plays on a loop (Grok's pair) */
.pcard { background: var(--clay-2); border-radius: 22px; padding: 20px 16px 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; }
.pcard h3 { margin: 0; font: 700 20px/1.25 var(--display); letter-spacing: -0.015em; }
.pcard > p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ps-vis { align-self: end; margin-top: 16px; height: 310px; border-radius: 18px 18px 0 0; overflow: hidden; background: #fff; display: grid; grid-template-rows: auto minmax(0, 1fr); box-shadow: 0 0 0 1px var(--line); }
.ps-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 13px; color: var(--ink-2); min-width: 0; }
.ps-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--plum); flex: none; animation: blink 1.1s var(--ease) infinite; }
.ps-dot.ok { background: var(--ok); animation: none; }
.ps-st { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 180ms var(--ease); }
.ps-st.swap { opacity: 0; }
.ps-chip { display: none; flex: none; font-size: 11.5px; font-weight: 600; color: var(--plum); background: var(--plum-tint); border-radius: 999px; padding: 3px 9px; }
.ps-clock { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--plum); stroke-width: 1.8; stroke-linecap: round; }
.ps-clock [data-hand] { transform-box: view-box; transform-origin: 12px 12px; transition: transform 1100ms var(--ease); }
.ps-paint { position: relative; overflow: hidden;
  background: url(../img/grain.png) 0 0 / 160px 160px, url(../img/wall.jpg) 74% 40% / 240% auto; background-blend-mode: overlay, normal; }
.ps-paint.dusk { background-position: 0 0, 22% 4%; background-size: 160px 160px, 220% auto; }
/* The browser scene */
.ps-win { position: absolute; left: 12px; right: 12px; top: 14px; bottom: -30px; background: #fff; border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); box-shadow: 0 26px 50px -22px rgba(30, 10, 24, 0.6); }
.ps-url { display: flex; gap: 9px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.ps-url svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.ps-url span { flex: 1; min-width: 0; min-height: 22px; display: flex; align-items: center; background: #F4F1ED; border-radius: 999px; padding: 0 11px; white-space: nowrap; overflow: hidden; }
.ps-page { --acc: #1E5A8A; background: #FBF8F4; color: var(--ink); display: grid; align-content: start; }
.ps-page > * { transition: opacity 260ms var(--ease); }
.ps-page.blank > * { opacity: 0; }
.ps-top { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--acc); color: #fff; font-size: 10.5px; transition: background-color 450ms var(--ease); }
.ps-top i { width: 14px; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.85); }
.ps-top b { font: 600 13px/1 var(--display); }
.ps-top span { margin-left: auto; opacity: 0.8; }
.ps-pbody { padding: 10px 12px; display: grid; gap: 10px; }
.ps-page h4 { margin: 0; font: 600 18px/1.1 var(--display); letter-spacing: -0.01em; }
.ps-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.ps-route label, .ps-pal { display: grid; gap: 3px; font-size: 10px; color: var(--muted); }
.ps-route [data-f], .ps-pal [data-f] { min-width: 76px; min-height: 28px; display: flex; align-items: center; padding: 0 9px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1 var(--body); color: var(--ink); transition: box-shadow 200ms var(--ease); }
.ps-route [data-f].on, .ps-pal [data-f].on { box-shadow: inset 0 0 0 1.5px var(--acc); }
.ps-route svg { width: 100%; height: 24px; margin-bottom: 2px; overflow: visible; }
.ps-route path { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 800ms var(--ease), stroke 450ms var(--ease); }
.ps-route path.on { stroke-dashoffset: 0; }
.ps-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: start; }
.ps-cal { background: #fff; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line); padding: 7px 8px; font-size: 10.5px; }
.ps-cal small { display: block; margin-bottom: 4px; font-weight: 600; font-size: 10.5px; color: var(--ink-2); }
.ps-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.ps-days i { font-style: normal; font-size: 9.5px; color: var(--faint); }
.ps-days span { padding: 3px 0; border-radius: 6px; font-variant-numeric: tabular-nums; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.ps-days span.sel { background: var(--acc); color: #fff; }
.ps-act { position: relative; min-height: 40px; }
.ps-go { display: inline-flex; align-items: center; background: var(--acc); color: #fff; font-weight: 600; font-size: 12.5px; padding: 9px 14px; border-radius: 8px; transition: transform 120ms var(--ease), opacity 200ms var(--ease), background-color 450ms var(--ease); }
.ps-go.press { transform: scale(0.96); }
.ps-go.gone { opacity: 0; }
.ps-quote { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #fff; border-radius: 9px; box-shadow: inset 0 0 0 1.5px var(--acc); font-size: 12px; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.ps-quote.in { opacity: 1; transform: none; }
.ps-quote em { margin-left: auto; font: 600 17px/1 var(--display); font-style: normal; color: var(--acc); font-variant-numeric: tabular-nums; }
.ps-sum { position: absolute; left: 50%; bottom: 16px; z-index: 2; width: min(290px, calc(100% - 40px)); background: #fff; border-radius: 14px; padding: 13px 14px; display: grid; gap: 5px; font-size: 12.5px; color: var(--ink-2);
  box-shadow: 0 24px 50px -16px rgba(30, 10, 24, 0.55), 0 0 0 1px var(--line); opacity: 0; transform: translate(-50%, 24px) scale(0.97); transition: opacity 320ms var(--ease), transform 420ms var(--ease); }
.ps-sum.in { opacity: 1; transform: translate(-50%, 0); }
.ps-sum b { font: 600 12px/1.3 var(--body); color: var(--muted); margin-bottom: 2px; }
.ps-sum span { display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; border-radius: 8px; }
.ps-sum em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); }
.ps-sum .best { background: var(--plum-tint); font-weight: 600; color: var(--plum); }
.ps-sum .best em { color: var(--plum); }
.ps-cur { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: flex-start; gap: 1px; pointer-events: none; opacity: 0; transform: translate(var(--x, 380px), var(--y, 300px)); transition: transform 650ms var(--ease), opacity 300ms var(--ease); }
.ps-cur.on { opacity: 1; }
.ps-cur svg { width: 16px; height: 16px; fill: var(--ink); stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; overflow: visible; }
.ps-cur b { margin-top: 12px; background: var(--plum); color: #fff; font: 600 10.5px/1 var(--body); padding: 3px 6px; border-radius: 6px; }
.ps-cur::before { content: ""; position: absolute; left: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); opacity: 0; transform: scale(0.4); }
.ps-cur.click::before { animation: ring 420ms var(--ease); }
@keyframes ring { 30% { opacity: 1; } to { opacity: 0; transform: scale(1.4); } }
/* The scheduled report */
.ps-rgrid { position: absolute; left: 12px; right: 12px; top: 14px; bottom: -30px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.ps-doc { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 26px 50px -22px rgba(30, 10, 24, 0.6); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.ps-doc.out { opacity: 0; transform: translateY(-10px); }
.ps-doch { background: #2B5BB8; color: #fff; padding: 8px 12px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-docb { padding: 16px 16px 40px; display: grid; gap: 10px; }
.ps-docb h4 { margin: 0; min-height: 1.15em; font: 600 19px/1.15 var(--display); }
.ps-docb p { margin: 0; min-height: 1.5em; font-size: 12px; line-height: 1.5; color: var(--muted); transition: opacity 300ms var(--ease); }
.ps-docb p.hide { opacity: 0; }
.ps-bars { display: grid; gap: 7px; }
.ps-bars div { display: grid; grid-template-columns: 50px minmax(0, 1fr) 40px; gap: 8px; align-items: center; color: var(--muted); font-size: 11px; }
.ps-bars i { display: block; height: 10px; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--plum), var(--coral)); transition: width 800ms var(--ease); }
.ps-bars em { font-style: normal; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.ps-files { display: none; background: rgba(251, 247, 242, 0.95); border-radius: 12px; padding: 10px; display: grid; gap: 6px; box-shadow: 0 20px 40px -20px rgba(30, 10, 24, 0.55); }
.ps-files > b { font-size: 11px; font-weight: 600; color: var(--muted); padding: 0 2px 2px; }
.ps-file { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; align-items: center; background: #fff; border-radius: 8px; padding: 6px 7px; font-size: 11px; line-height: 1.25; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 900ms var(--ease); }
.ps-file i { width: 22px; height: 22px; border-radius: 5px; background: #2B5BB8; color: #fff; display: grid; place-items: center; font: 700 10px/1 var(--body); font-style: normal; }
.ps-file b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-file small { color: var(--muted); font-size: 10px; }
.ps-file.new { background: var(--plum-tint); animation: rise 420ms var(--ease) both; }
@media (min-width: 721px) {
  .pcard { border-radius: 28px; padding: 30px 30px 0; }
  .pcard h3 { font-size: 24px; }
  .pcard > p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; }
  .ps-vis { margin-top: 26px; height: 430px; }
  .ps-win, .ps-rgrid { left: 22px; right: 22px; top: 20px; }
  .ps-rgrid { grid-template-columns: minmax(0, 1fr) 156px; }
  .ps-files { display: grid; }
  .ps-chip { display: inline; }
  .ps-pbody { padding: 12px 14px; }
  .ps-row { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (min-width: 961px) {
  .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; overflow: visible; margin-inline: 0; padding: 0; }
}

/* Tabs, shared by blocks 5 and 6 */
.tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin: 0 auto 18px; width: max-content; max-width: 100%; background: var(--clay-2); border-radius: 14px; padding: 4px; }
.tabb { all: unset; cursor: pointer; padding: 8px 11px; border-radius: 10px; font-size: 13px; color: var(--muted); transition: background-color 150ms var(--ease), color 150ms var(--ease); }
@media (hover: hover) { .tabb:hover { color: var(--ink); } }
.tabb[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(28, 20, 24, 0.08); }
.tabb:focus-visible { outline: 2px solid var(--plum); outline-offset: 1px; }
@media (min-width: 721px) { .tabs { margin-bottom: 28px; } .tabb { padding: 9px 16px; font-size: 14px; } }

/* What it does for your team (_CaseVideos.cshtml, from PR 73): a tab per team, the line, then the film in the product
   film's frame. The panels share one grid cell, so a longer line never moves what follows. */
#cases > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
#cases > .wrap > .cpanel { grid-row: 3; grid-column: 1; align-self: start; }
#cases .cpanel[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.cases .vcap { max-width: 620px; margin: 0 auto 14px; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.45; text-wrap: balance; }
.cases .vframe .vempty { display: grid; place-content: center; gap: 6px; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--clay-2); text-align: center; padding: 16px; color: var(--muted); }
@media (min-width: 721px) { .cases .vcap { font-size: 16.5px; margin-bottom: 18px; } }
/* Teamens videor ar tysta tills vidare: ljudknappen och volymen syns inte (Chromium och Safari). Firefox kan inte
   dolja dem, dar stanger cases.js av ljudet igen. */
.casevideo::-webkit-media-controls-mute-button,
.casevideo::-webkit-media-controls-volume-slider,
.casevideo::-webkit-media-controls-volume-control-container { display: none !important; }

/* 5 Hand it the pile: the caption, then the pile of files, Cowork's steps along an arrow, and the finished file */
.bh.split { grid-template-columns: minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 26px; text-align: left; }
@media (min-width: 721px) { .bh.split { grid-template-columns: auto minmax(0, 1fr); } }
.bh.split > div { display: grid; gap: 12px; }
.bh.split p { max-width: 620px; }
#tasks .tabs { margin-left: 0; }
.tcap { display: grid; gap: 6px; max-width: 680px; margin: 0 0 14px; }
.tcap h3 { margin: 0; font: 700 22px/1.2 var(--display); letter-spacing: -0.015em; }
.tcap p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.tstage { position: relative; border-radius: 22px; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center;
  background: radial-gradient(circle at 1px 1px, rgba(110, 42, 91, 0.09) 1px, transparent 1.6px) 0 0 / 20px 20px, linear-gradient(160deg, #F7EFE8, #F0E2D9); }
.pile { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; gap: 2px 12px; justify-items: start; font-size: 13px; }
.pfiles { grid-row: span 2; position: relative; width: 62px; height: 56px; margin: 0 0 4px 4px; }
.pfiles .pf { zoom: 0.5; }
.pf { position: absolute; left: 0; top: 0; width: 78px; height: 100px; background: #fff; border-radius: 8px; box-shadow: 0 10px 22px -12px rgba(60, 30, 20, 0.5), 0 0 0 1px var(--line); transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)); }
.pf::before { content: ""; position: absolute; left: 12px; right: 12px; top: 36px; height: 44px; background: repeating-linear-gradient(#E9E3DD 0 3px, transparent 3px 9px); }
.pf i { position: absolute; left: 10px; top: 10px; padding: 4px 5px; border-radius: 4px; background: var(--c, #B5452E); color: #fff; font: 700 8.5px/1 var(--body); font-style: normal; letter-spacing: 0.04em; }
.pcount { position: absolute; right: -2px; top: -8px; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px/1 var(--body); }
.pile > b { font-weight: 600; }
.pile > small { color: var(--muted); font-size: 12px; }
.pile q { grid-column: 1 / -1; display: block; margin-top: 8px; padding: 9px 11px; border-radius: 12px 12px 12px 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; line-height: 1.45; color: var(--ink-2); quotes: none; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.flow svg { display: none; width: 100%; height: 26px; overflow: visible; }
.flow path { fill: none; stroke: var(--plum); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow li { display: flex; gap: 8px; align-items: center; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.flow li i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.js .flow path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .tpanel.play .flow path { animation: pen 900ms var(--ease) 250ms forwards; }
@keyframes pen { to { stroke-dashoffset: 0; } }
.js .flow li { opacity: 0; }
.js .tpanel.play .flow li { animation: step 380ms var(--ease) forwards; animation-delay: calc(500ms + var(--i) * 280ms); }
@keyframes step { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.doc { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(60, 30, 20, 0.45); font-size: 13px; }
.doc-h { display: flex; align-items: center; gap: 10px; color: #fff; padding: 9px 14px; font-size: 12.5px; font-weight: 600; }
.doc-b { padding: 14px; display: grid; gap: 12px; }
.doc-b h4 { margin: 0; font: 600 22px/1.15 var(--display); }
.doc-b p { margin: 0; line-height: 1.55; }
/* The result as a table. On a phone each row reads as a small card: who and how much, then the rest */
.xl { display: block; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.xl thead { display: none; }
.xl tbody { display: block; }
.xl tr { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 2px 8px; align-items: baseline; padding: 9px 12px; border-top: 1px solid #EEEBE7; }
.xl tbody tr:first-child { border-top: 0; }
.xl td { display: block; min-width: 0; }
.xl.inv td:nth-child(1) { grid-area: 2 / 1; color: var(--muted); font-size: 12px; }
.xl.inv td:nth-child(2) { grid-area: 1 / 1 / 1 / 4; font-weight: 500; }
.xl.inv td:nth-child(3) { grid-area: 1 / 4; }
.xl.inv td:nth-child(4) { grid-area: 2 / 2; color: var(--muted); font-size: 12px; }
.xl.inv td:nth-child(5) { grid-area: 2 / 3 / 2 / 5; justify-self: end; font-size: 12px; }
.xl.con tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.xl.con td:nth-child(1), .xl.con td:nth-child(2) { grid-column: 1 / -1; }
.xl.con td:nth-child(1) { font-weight: 500; }
.xl td[data-l] { font-size: 12px; }
.xl td[data-l]::before { content: attr(data-l) " "; color: var(--muted); }
.xl td.ok { color: var(--ok); }
.xl tr.f { background: var(--warn-bg); }
.xl.inv tr.f td:last-child { color: var(--warn); font-weight: 600; }
/* "Only the ones that need a look": a phone dims the matching rows, a wider screen hides them. blocks.js holds the card
   at the full table's height and the sum line sits at its foot, so the toggle never moves anything outside the card. */
.doc:has(> .xl.inv) { display: flex; flex-direction: column; }
.doc:has(> .xl.inv) .xl-sum { margin-top: auto; }
.xl.inv td { transition: opacity 200ms var(--ease); }
.xl.only tbody tr:not(.f) td { opacity: 0.35; }
@media (min-width: 721px) {
  .xl.only tbody tr:not(.f) { display: none; }
  .xl { display: table; border-collapse: collapse; font-size: 12.5px; }
  .xl thead { display: table-header-group; }
  .xl tbody { display: table-row-group; }
  .xl tr, .xl.con tr { display: table-row; padding: 0; border: 0; }
  .xl th, .xl td, .xl.inv td:nth-child(n), .xl.con td:nth-child(n), .xl td[data-l] { display: table-cell; font: inherit; color: inherit; justify-self: auto; text-align: left; padding: 8px 12px; border-top: 1px solid #EEEBE7; }
  .xl th { background: #F4F6F4; color: #4D5650; font-size: 11.5px; font-weight: 600; border-top: 0; }
  .xl td[data-l]::before { content: none; }
  .xl tr.f { background: none; }
  .xl tr.f td, .xl.inv tr.f td:nth-child(n) { background: var(--warn-bg); }
  .xl td.ok, .xl.inv td.ok:nth-child(n) { color: var(--ok); }
  .xl tr.f td:last-child, .xl.inv tr.f td:last-child { color: var(--warn); font-weight: 600; }
}
.xl-sum { margin: 0; padding: 10px 14px; border-top: 1px solid #EEEBE7; color: var(--muted); font-size: 12.5px; }
.xl-sum b { color: var(--warn); font-weight: 600; }
.tgl { all: unset; cursor: pointer; margin-left: auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 12px; color: #fff; }
.tgl i { flex: none; width: 30px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.3); position: relative; transition: background-color 150ms var(--ease); }
.tgl i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 150ms var(--ease); }
.tgl[aria-pressed="true"] i { background: #E2BE6E; }
.tgl[aria-pressed="true"] i::after { transform: translateX(12px); }
.tgl:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
.flag { all: unset; cursor: pointer; color: var(--warn); font-weight: 600; text-decoration: underline dotted; text-underline-offset: 3px; }
.flag::after { content: " ⚑"; }
.flag:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: 3px; }
.pagepop { position: absolute; left: 16px; right: 16px; bottom: 16px; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 20px 40px -12px rgba(28, 20, 24, 0.45), 0 0 0 1px var(--line); font: 13.5px/1.65 var(--doc); animation: rise 260ms var(--ease) both; }
.pagepop .x { all: unset; cursor: pointer; position: absolute; right: 10px; top: 6px; font-size: 20px; color: var(--muted); padding: 2px 6px; }
.pp-src { display: block; font: 600 10.5px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #8A8086; margin-bottom: 6px; }
.pp-txt { margin: 0; }
.pp-txt mark { background: var(--mark); padding: 0 2px; border-radius: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.themes details { border-top: 1px solid #EEEBE7; padding: 10px 0 2px; }
.themes details:first-child { border-top: 0; padding-top: 0; }
.themes summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; list-style: none; padding-bottom: 8px; }
.themes summary::-webkit-details-marker { display: none; }
.themes summary b { font-weight: 600; }
.themes summary span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.themes summary:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: 4px; }
.themes p { margin: 0 0 10px; color: var(--muted); font: italic 13.5px/1.6 var(--doc); }
.js .tpanel.play .bi { animation: rise 380ms var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@media (min-width: 721px) {
  .tcap { margin-bottom: 18px; }
  .tcap h3 { font-size: 26px; }
  .tcap p { font-size: 16px; line-height: 1.6; }
  .tstage { border-radius: 28px; padding: 32px; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; }
  .flow { grid-column: 1; gap: 9px; }
  .flow svg { display: block; }
  .tstage .doc { grid-column: 2; grid-row: 1 / span 2; }
  .pile { display: grid; grid-template-columns: none; gap: 4px; }
  .pfiles { grid-row: auto; width: 112px; height: 116px; margin: 0 0 10px 6px; }
  .pfiles .pf { zoom: 1; }
  .pile q { grid-column: auto; }
  .doc-b { padding: 22px 24px; }
}
@media (min-width: 961px) { .tstage { grid-template-columns: 180px 140px minmax(0, 1fr); } .flow, .tstage .doc { grid-column: auto; grid-row: auto; } }

/* 6 What each team hands it first: four cards, each a small scene that plays on a loop */
.teams4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.team { border-radius: 22px; padding: 16px; display: grid; gap: 14px; align-content: start; background: var(--tint); }
/* On a phone: one scene, and a chip for each team above it */
.js .team:not(.on) { display: none; }
.teamtabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 14px; }
.tt { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--clay-2); font-size: 13.5px; color: var(--ink-2); transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 100ms var(--ease); }
.tt:active { transform: scale(0.96); }
.tt[aria-selected="true"] { background: var(--tint); color: var(--tc); font-weight: 600; }
.tt:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
@media (pointer: coarse) { .tt { min-height: 44px; } }
@media (min-width: 721px) {
  .teamtabs { display: none; }
  .teams4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .team:not(.on), .team { display: grid; border-radius: 26px; padding: 24px; gap: 16px; }
}
.team header { display: flex; gap: 12px; align-items: center; }
.tic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.75); color: var(--tc); }
.tic .lot { width: 24px; height: 24px; }
.team h3 { margin: 0; font: 600 20px/1.2 var(--display); letter-spacing: -0.01em; }
.tscene { height: 252px; overflow: hidden; display: grid; gap: 10px; align-content: start; padding: 16px; background: #fff; border-radius: 16px; font-size: 13px; line-height: 1.5; box-shadow: 0 18px 40px -28px rgba(28, 20, 24, 0.5); transition: opacity 400ms var(--ease); }
.tscene.out { opacity: 0; }
.tscene > * { animation: rise 320ms var(--ease) both; }
.tscene .vu { justify-self: end; max-width: 86%; background: #F1E8E0; border-radius: 14px 14px 4px 14px; padding: 9px 12px; }
.tscene .vs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12.5px; }
.tscene .vs i { width: 7px; height: 7px; border-radius: 50%; background: var(--plum); flex: none; animation: blink 1.1s var(--ease) infinite; }
.tscene .vs.ok i { background: var(--ok); animation: none; }
.tscene .vr { display: flex; gap: 10px; align-items: center; justify-self: start; background: #fff; border-radius: 12px; padding: 9px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.tscene .vr span:first-child { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 700 12px/1 var(--body); color: #fff; flex: none; }
.tscene .vr b { display: block; font-size: 12.5px; }
.tscene .vr small { color: var(--muted); font-size: 11.5px; }
.tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tchips span { font-size: 12.5px; color: var(--ink-2); background: rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 5px 11px; }

/* 7 Connects to what you already use: a wall of connectors, the one in focus described below, then three ways in */
.cwall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cwall .nm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cwall button { all: unset; box-sizing: border-box; width: 100%; height: 54px; cursor: pointer; display: flex; justify-content: center; gap: 10px; align-items: center; padding: 0; border-radius: 14px; background: transparent; font-size: 14px; font-weight: 500; transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.cwall button.on { background: rgba(110, 42, 91, 0.07); box-shadow: inset 0 0 0 1.5px rgba(110, 42, 91, 0.32); transform: translateY(-2px); }
.cwall button:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.cwall .ctile, .cdetail .ctile, .ask-h .ctile { display: grid; place-items: center; flex: none; color: #fff; font: 700 12px/1 var(--body); }
.cwall .ctile { width: 30px; height: 30px; border-radius: 9px; }
.cwall .own .ctile, .cdetail .ctile.own { background: transparent; color: var(--plum); border: 1.5px dashed var(--plum); font-size: 16px; }
.cdetail { margin-top: 10px; min-height: 104px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--clay-2); }
.cdetail .ctile { box-sizing: border-box; width: 40px; height: 40px; border-radius: 11px; font-size: 15px; transition: background-color 200ms var(--ease); }
.cdetail b { font: 600 16px/1.3 var(--display); }
.cdetail p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.cdetail > div { transition: opacity 160ms var(--ease); }
.cdetail.swap > div { opacity: 0; }
.int3 { margin-top: 20px; }
.icard { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.icard h3 { margin: 0; font: 700 19px/1.3 var(--display); }
.icard p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.icard a { color: var(--plum); font-weight: 600; font-size: 14px; text-decoration: none; }
@media (hover: hover) { .icard a:hover { text-decoration: underline; } }
@media (min-width: 721px) {
  .cwall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .cwall .nm { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .cwall button { height: auto; justify-content: flex-start; padding: 11px 12px; }
  .cdetail { margin-top: 14px; min-height: 72px; gap: 14px; padding: 14px 18px; }
  .int3 { margin-top: 28px; }
}
@media (min-width: 961px) {
  .cwall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .int3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; margin-inline: 0; padding: 0; margin-top: 28px; }
  .icard { padding: 22px; }
}

/* The rows in 10 */
/* Tap to open on a phone; always open from 721 px, where site.js keeps them open */
.rows details { border-top: 1px solid var(--line); }
.rows details:last-of-type { border-bottom: 1px solid var(--line); }
.rows summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; padding: 11px 0; }
.rows summary::-webkit-details-marker { display: none; }
.rows summary::after { content: "+"; flex: none; font: 400 22px/1 var(--body); color: var(--muted); transition: transform 200ms var(--ease); }
.rows details[open] summary::after { transform: rotate(45deg); }
.rows summary:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: 6px; }
.rows h3 { margin: 0; font: 700 18px/1.3 var(--display); letter-spacing: -0.01em; }
.rows p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.rows p.ctl-more { margin: 18px 0 0; }
@media (min-width: 721px) {
  .rows details { padding: 18px 0; }
  .rows summary { display: block; min-height: 0; padding: 0; cursor: default; pointer-events: none; }
  .rows summary::after { content: none; }
  .rows h3 { font-size: 20px; }
  .rows p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.6; }
}

/* 8 What's new */
.newsbox { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; border-radius: 22px; padding: 20px 16px; box-shadow: 0 0 0 1px var(--line); align-items: start; }
.newsbox h2 { font-size: clamp(28px, 3.4vw, 38px); }
.ncards { display: grid; gap: 10px; }
.ncard { display: grid; gap: 10px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow 150ms var(--ease); }
@media (hover: hover) { .ncard:hover { box-shadow: 0 0 0 1px rgba(110, 42, 91, 0.35); } }
.ncard:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.ncard p { margin: 0; font: 400 16px/1.4 var(--display); }
.ncard p b { font-weight: 600; }
.ncard small { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.ncard .draft { font-weight: 600; background: var(--warn-bg); color: var(--warn); border-radius: 999px; padding: 1px 8px; }
@media (min-width: 721px) { .newsbox { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px; border-radius: 28px; padding: 44px; } .ncard { gap: 14px; padding: 20px 22px; } .ncard p { font-size: 17px; line-height: 1.45; } }

/* 9 Built on European ground */
.groundbox { position: relative; border-radius: 22px; overflow: hidden; padding: 28px 14px 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; color: #fff;
  background: url(../img/grain.png) 0 0 / 160px 160px, url(../img/wall.jpg) 50% 72% / cover; background-blend-mode: overlay, normal; }
.gtxt { display: grid; gap: 16px; align-content: start; }
.groundbox h2 { text-shadow: 0 2px 18px rgba(30, 10, 24, 0.35); }
.gtxt > p { margin: 0; font-size: 16px; line-height: 1.5; color: #FDF1EC; text-shadow: 0 1px 10px rgba(30, 10, 24, 0.4); max-width: 480px; }
.gfacts { display: grid; gap: 10px; }
.gfacts > div { background: rgba(251, 247, 242, 0.94); color: var(--ink); border-radius: 14px; padding: 14px 16px; }
.gfacts h3 { margin: 0 0 3px; font: 600 16px/1.3 var(--display); }
.gfacts p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.gtxt .pill { justify-self: start; }
.trace { position: relative; margin: 0; background: rgba(251, 247, 242, 0.95); border-radius: 20px; padding: 18px 16px 14px; color: var(--ink); }
.trace svg { width: 100%; height: auto; display: block; }
.trace text { font: 600 9px var(--body); fill: var(--ink); }
.trace text.s { font-weight: 400; fill: var(--muted); }
.trace .tl { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.trace figcaption { margin-top: 10px; min-height: 42px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.trace .tl.thin { stroke-width: 1; stroke-opacity: 0.35; }
.trace .caret { stroke: var(--plum); stroke-width: 1.4; stroke-linecap: round; }
.trace .tsvg { position: relative; }
.trace .hot { all: unset; position: absolute; cursor: pointer; border-radius: 12px; color: transparent; font-size: 1px; }
.trace .hot:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
/* Hovering a step lights that step and quiets the others */
.trace g[data-part] { transition: opacity 150ms var(--ease); }
.trace[data-on] g[data-part] { opacity: 0.3; }
.trace[data-on="computer"] g[data-part="computer"], .trace[data-on="grunden"] g[data-part="grunden"], .trace[data-on="question"] g[data-part="question"], .trace[data-on="work"] g[data-part="work"] { opacity: 1; }
.trace[data-on="computer"] g[data-part="computer"] .tl, .trace[data-on="grunden"] g[data-part="grunden"] .tl { stroke: var(--plum); }
.trace[data-on="question"] g[data-part="question"] .flow, .trace[data-on="work"] g[data-part="work"] .flow { stroke: var(--plum); stroke-width: 1.8; }
/* The picture keeps running while it's on screen: the paths flow, the servers' lights take turns, a caret blinks */
.trace.live .flow { animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.trace.live .led { animation: led 2.4s ease-in-out infinite; animation-delay: calc(var(--k) * 300ms); }
@keyframes led { 50% { opacity: 0.3; } }
.trace.live .caret { animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .trace .mv { display: none; } }
@media (min-width: 721px) { .groundbox { padding: 40px 32px; gap: 28px; border-radius: 28px; } .gtxt > p { font-size: 18px; line-height: 1.55; } }
@media (min-width: 961px) { .groundbox { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 56px 48px; gap: 40px; } }

/* 10 Easy for IT and legal to say yes to: Cowork asks, a person answers, the audit log keeps it */
.ctl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.ctl-vis { position: relative; min-height: 336px; padding: 14px; border-radius: 22px; display: grid; gap: 12px; align-content: start; overflow: hidden;
  background: radial-gradient(circle at 1px 1px, rgba(110, 42, 91, 0.08) 1px, transparent 1.6px) 0 0 / 20px 20px, var(--clay-2); }
.ask-card { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 22px 44px -24px rgba(28, 20, 24, 0.5), 0 0 0 1px var(--line); opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 320ms var(--ease), transform 420ms var(--ease); }
.ask-card.in { opacity: 1; transform: none; }
.ask-h { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.ask-h b { display: grid; min-width: 0; font-weight: 600; }
.ask-h .ctile { width: 28px; height: 28px; border-radius: 8px; }
.ask-d { display: grid; margin: 0; padding: 8px 10px; border-radius: 9px; background: #F7F3EE; font-size: 13px; color: var(--ink-2); }
.ask-d s { color: var(--muted); }
/* blocks.js stacks every ask's title, detail and answer in one cell and shows the current one, so the card keeps the height of the longest */
.ask-h b > span, .ask-d > span, .ask-ok > span { grid-area: 1 / 1; }
.ask-h b > span:not(.on), .ask-d > span:not(.on), .ask-ok > span:not(.on) { visibility: hidden; }
/* The buttons and the answer share one cell too and swap by fading, so the card never changes height */
.ask-b, .ask-ok { grid-area: 3 / 1; }
.ask-b { display: flex; gap: 8px; justify-content: flex-end; }
.ask-b span { padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; transition: transform 120ms var(--ease); }
.ask-b .nb { background: var(--clay); }
.ask-b .yb { background: var(--plum); color: #fff; }
.ask-b .press { transform: scale(0.96); }
.ask-ok { display: grid; align-self: center; margin: 0; font-size: 13px; font-weight: 600; color: var(--ok); visibility: hidden; opacity: 0; }
.ask-card.done .ask-b { visibility: hidden; opacity: 0; transition: opacity 160ms var(--ease), visibility 0s linear 160ms; }
.ask-card.done .ask-ok { visibility: visible; opacity: 1; animation: rise 300ms var(--ease) both; }
.ask-card.done.no .ask-ok { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ask-card.done .ask-b { transition: none; } }
.audit { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.88); box-shadow: 0 0 0 1px var(--line); }
.audit > b { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.audit > b span { font-weight: 400; color: var(--muted); }
.audit ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.audit li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; font-size: 12.5px; transition: background-color 400ms var(--ease); }
.audit li.now { background: var(--plum-tint); }
.audit li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.audit em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #E9F3EC; color: var(--ok); white-space: nowrap; }
.audit em.ask { background: var(--plum-tint); color: var(--plum); }
.audit li.now em.ask { background: #fff; }
.audit em.n { background: var(--clay); color: var(--muted); }
.ps-cur.me b { background: var(--ink); }
.ctl-more { font-size: 15px; }
.ctl-more a { color: var(--plum); font-weight: 600; text-decoration: none; }
@media (hover: hover) { .ctl-more a:hover { text-decoration: underline; } }
@media (min-width: 721px) { .ctl { gap: 24px; } .ctl-vis { min-height: 360px; padding: 26px; border-radius: 24px; gap: 16px; } }
@media (min-width: 961px) { .ctl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; } }

/* 11 Customers */
.quotes { position: relative; max-width: 820px; margin: 0 auto; min-height: 230px; display: grid; }
.q { grid-area: 1 / 1; margin: 0; display: grid; gap: 22px; justify-items: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease), visibility 0s linear 360ms; }
.q.on { opacity: 1; visibility: visible; transition: opacity 360ms var(--ease); }
.q blockquote { margin: 0; font: 400 clamp(22px, 2.8vw, 30px)/1.35 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.q figcaption { font-size: 14px; color: var(--muted); }
.q figcaption b { display: block; color: var(--ink); font-weight: 600; }
.qnav { grid-area: 2 / 1; display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 26px; }
.qnav button { all: unset; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { .qnav button:hover { background: var(--clay-2); } }
.qnav button:focus-visible { outline: 2px solid var(--plum); }
.qnav small { color: var(--muted); font-variant-numeric: tabular-nums; }
.placeholder { text-align: center; font-size: 12.5px; color: var(--warn); margin: 18px 0 0; }

/* 12 Pricing */
.seg2 { display: flex; width: max-content; max-width: 100%; margin: 0 auto 18px; gap: 2px; background: var(--clay-2); border-radius: 14px; padding: 4px; }
.seg2 button { all: unset; cursor: pointer; padding: 9px 18px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.seg2 button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(28, 20, 24, 0.08); }
.seg2 button:focus-visible { outline: 2px solid var(--plum); }
.plan { background: #fff; border-radius: 22px; padding: 22px 20px 20px; display: grid; gap: 10px; align-content: start; box-shadow: 0 0 0 1px var(--line); }
.plan h3 { margin: 0; font: 600 26px/1 var(--display); letter-spacing: -0.02em; }
.plan > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.plan .price { margin: 10px 0 6px; color: var(--ink); font: 600 34px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font: 400 13px/1 var(--body); color: var(--muted); letter-spacing: 0; }
.plan .pill { justify-self: stretch; justify-content: center; }
.plans.org { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.plan.wide { grid-template-columns: minmax(0, 1fr); align-items: center; gap: 14px; }
.plan-note { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.apicard { margin-top: 20px; border-radius: 22px; background: var(--clay-2); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; }
.apicard h3 { margin: 0 0 6px; font: 600 20px/1.25 var(--display); }
.apicard p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.api-r { display: flex; gap: 16px; align-items: center; justify-content: flex-start; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.api-r b { color: var(--ink); font-weight: 600; }
@media (min-width: 721px) { .seg2 { margin-bottom: 28px; } .plan-note { margin-top: 22px; } .apicard { margin-top: 28px; border-radius: 24px; padding: 26px 28px; gap: 24px; } }
@media (min-width: 961px) {
  .plans:not(.org) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; margin-inline: 0; padding: 0; }
  .plan { border-radius: 24px; padding: 30px 28px 28px; gap: 12px; }
  .plan h3 { font-size: 30px; }
  .plan.wide { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  .plan.wide .pill { justify-self: end; justify-content: flex-start; }
  .apicard { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .api-r { justify-content: flex-end; }
}

/* 13 Download */
/* On a phone there is nothing to install, so the download block offers to send the link to the computer */
.sendcard { display: none; gap: 10px; justify-items: center; text-align: center; padding: 24px 18px; border-radius: 22px; background: var(--plum-tint); }
[data-os="mobile"] .sendcard { display: grid; }
[data-os="mobile"] .oses { display: none; }
.sendcard b { font: 600 19px/1.25 var(--display); letter-spacing: -0.01em; }
.sendcard p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.sendcard .pill { justify-content: center; width: 100%; max-width: 320px; min-height: 50px; font-size: 15px; border-radius: 12px; }
.sendos { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; font-size: 13px; color: var(--muted); }
.oses { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.os { position: relative; background: #fff; border-radius: 22px; padding: 26px; display: grid; gap: 10px; align-content: start; box-shadow: 0 0 0 1px var(--line); }
.os.mine { box-shadow: 0 0 0 2px var(--plum); }
.mine-tag { display: none; position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; color: var(--plum); background: var(--plum-tint); border-radius: 999px; padding: 3px 10px; }
.os.mine .mine-tag { display: block; }
.osi svg { width: 28px; height: 28px; fill: var(--ink); }
.os h3 { margin: 4px 0 0; font: 600 22px/1.1 var(--display); }
.os p { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; }
.os .pill { justify-self: start; }
.os .two { display: flex; gap: 8px; flex-wrap: wrap; }
.os .aur code { font: 13px/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--ink); background: var(--plum-tint); padding: 2px 6px; border-radius: 6px; }
.how3 { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; counter-reset: h; }
.how3 li { counter-increment: h; border-top: 2px solid var(--ink); padding-top: 12px; color: var(--muted); font-size: 14.5px; }
.how3 b { display: block; color: var(--ink); font: 600 16px/1.3 var(--display); }
.how3 b::before { content: counter(h) "  "; color: var(--plum); }
.signed { text-align: center; color: var(--muted); font-size: 13.5px; margin: 24px 0 0; }
.signed a { color: var(--ink); }
@media (min-width: 721px) { .oses, .how3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .how3 { margin-top: 28px; } }

/* 14 FAQ */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 15px 2px; font: 500 16px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--body); color: var(--muted); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: 6px; }
.faq details p { margin: 0 0 18px; max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (min-width: 721px) { .faq summary { padding: 20px 2px; font-size: 18px; } .faq details p { margin-bottom: 22px; font-size: 16px; line-height: 1.65; } }
.guides { text-align: center; color: var(--muted); font-size: 14px; margin: 24px 0 0; }
.guides a { color: var(--ink); }

/* 15 Closing band and footer */
.closeband { margin-top: 88px; }
.cb-in { max-width: 1240px; margin: 0 auto; background: var(--ink); color: var(--paper); border-radius: 24px; padding: 44px 18px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.cb-fig { position: relative; display: block; width: 72px; height: 72px; margin-bottom: 6px; }
.closeband p { margin: 0; color: #CFC5C9; font-size: 16px; }
.closeband .ctas { margin-top: 10px; }
.foot { margin-top: 56px; padding-bottom: 28px; }
.foot-in { max-width: 1088px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; font-size: 14px; }
.foot h3 { margin: 0 0 10px; font: 600 13px/1 var(--body); color: var(--muted); }
.foot nav, .f-contact { display: grid; gap: 8px; align-content: start; justify-items: start; }
.foot a { color: var(--ink); text-decoration: none; }
@media (hover: hover) { .foot a:hover { text-decoration: underline; } }
.f-brand p { color: var(--muted); max-width: 280px; margin: 10px 0 0; }
.f-contact span { color: var(--muted); }
.foot-bot { max-width: 1088px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot-bot a { color: var(--muted); }
@media (min-width: 721px) {
  .closeband { margin-top: 160px; }
  .cb-in { border-radius: 32px; padding: 80px 24px; gap: 16px; }
  .closeband p { font-size: 18px; }
  .foot { margin-top: 96px; padding-bottom: 40px; }
  .foot-in { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
  .foot nav, .f-contact { justify-items: stretch; }
}

/* The menu on phones (site.js): the header's links as a sheet that lies over the page, right under the bar.
   It takes no room in the page, so opening it moves nothing. The page behind is dimmed and stands still. */
.menu-btn { all: unset; cursor: pointer; display: grid; width: 44px; height: 44px; border-radius: 10px; place-items: center; color: var(--ink); transition: background-color 150ms var(--ease); }
@media (hover: hover) { .menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--clay-2); } }
.menu-btn:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.menu-btn .ic { width: 22px; height: 22px; }
.menu-btn .ic path { transform-box: fill-box; transform-origin: center; transition: transform 200ms var(--ease), opacity 150ms var(--ease); }
.menu-btn[aria-expanded="true"] .ic path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .ic path:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .ic path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mnav { position: absolute; top: 100%; left: 0; right: 0; z-index: 1; display: grid; align-content: start; max-height: calc(100vh - 56px - env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 56px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; padding-top: 6px; padding-bottom: 20px; border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 40px -20px rgba(28, 20, 24, 0.35); animation: sheet 200ms var(--ease) both; }
.mnav > a { padding: 13px 2px; border-bottom: 1px solid var(--line); font: 500 17px/1.2 var(--display); color: var(--ink); text-decoration: none; }
.mnav > a[aria-current="page"] { color: var(--plum); }
.mnav-act { display: grid; gap: 10px; padding-top: 20px; }
.mnav-act .pill { justify-content: center; padding: 15px 18px; font-size: 16px; }
.mnav-act .pill.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(28, 20, 24, 0.2); }
/* --sbw is the scrollbar's width (site.js), 0 on phones: the room it leaves stays, so nothing behind shifts sideways */
.menu-open { overflow: hidden; padding-right: var(--sbw, 0px); }
.menu-open .nav::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 100vh; height: 100lvh; background: rgba(28, 20, 24, 0.32); animation: scrim 200ms var(--ease) both; }
.menu-open .promo { z-index: 29; }
@keyframes sheet { from { opacity: 0; transform: translateY(-6px); } }
@keyframes scrim { from { opacity: 0; } }
@media (min-width: 961px) { .menu-btn { display: none; } .mnav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mnav, .menu-open .nav::after { animation: none; } .menu-btn .ic path { transition: none; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; box-shadow: 0 16px 40px -16px rgba(28, 20, 24, 0.6); animation: rise 260ms var(--ease) both; max-width: calc(100vw - 32px); }

/* Reduced motion: things fade in where they are, drawings stand finished, nothing loops or drifts */
@media (prefers-reduced-motion: reduce) {
  .js .rv.in { animation: fade 400ms linear var(--rd, 0ms) backwards; }
  @keyframes fade { from { opacity: 0; } }
  .js .blk::before { transition: none; }
  .js .draw .ln, .js .grow .ln, .js .loopd .ln { stroke-dashoffset: 0; transition: none; animation: none; }
  .js .draw .dt, .js .grow .dt, .js .loopd .dt, .js .draw .blob, .js .flow li { opacity: 1; }
  .js .flow path { stroke-dashoffset: 0; }
  .steps3.live li::after, .tscene .vs i { animation: none; }
  .ask-card, .ps-route path, .cwall button, .cdetail > div, .xl.inv td { transition: none; }
  .live .bob, .live .dotg, .live .pulse, .live .tw, .live .sway, .live .turn, .live .drop, .live .typing > g, .trace.live *, .ps-dot { animation: none; }
  .js .tpanel.play .bi, .tscene > *, .js .tpanel.play .flow path, .pagepop, .toast, .ps-file.new { animation: none; }
  .q, .ps-quote, .ps-sum, .ps-cur, .ps-doc, .ps-bars i, .ps-page { transition: none; }
  .rows summary::after { transition: none; }
}
