/* Geist and Geist Mono, self-hosted (SIL OFL 1.1, assets/fonts/OFL-*.txt); one variable file per subset.
   The fallback is Arial sized to Geist's metrics, so the swap moves nothing. */
@font-face { font-family: "Geist"; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 300 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 300 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 102.5%; ascent-override: 98.6%; descent-override: 28.3%; line-gap-override: 0%; }
:root {
  --bg: #F3F3F1;
  --bg-2: #EAEAE6;
  --panel: #FFFFFF;
  --ink: #121212;
  --ink-2: #3A3A37;
  --muted: #6A6A64;
  --line: #DEDED8;
  --dark: #121212;
  --dark-2: #1C1C1B;
  --font: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 14px;
  --gut: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.wrap { width: min(100% - 2 * var(--gut), 1200px); margin-inline: auto; }
.wrap.wide { width: min(100% - 2 * var(--gut), 1320px); }
.center { text-align: center; }
.small { font-size: 13px; color: var(--muted); }

/* Type */
h1 { font-weight: 400; font-size: clamp(40px, 4.9vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-weight: 400; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.05; letter-spacing: -0.03em; }
h2.narrow { max-width: 16ch; }
h3 { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.eyebrow, .label { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.label { margin-bottom: 14px; }
.sub { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); max-width: 46ch; margin: 18px auto 0; line-height: 1.45; letter-spacing: -0.01em; }
.aside { color: var(--muted); font-size: 16px; max-width: 42ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; border: 1px solid var(--ink); transition: background .2s, color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn.ghost:hover { background: rgb(0 0 0 / .05); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(243 243 241 / .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 60px; width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.mark svg { width: 20px; height: 20px; }
.links { display: flex; gap: 26px; margin-left: 30px; font-size: 14px; }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover { color: var(--ink); }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.quiet { text-decoration: none; color: var(--ink-2); }

/* Hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-lines { position: absolute; inset: 0 0 auto; height: 640px; background: repeating-linear-gradient(90deg, rgb(0 0 0 / .045) 0 1px, transparent 1px 7px); -webkit-mask: radial-gradient(70% 60% at 50% 0%, #000 10%, transparent 75%); mask: radial-gradient(70% 60% at 50% 0%, #000 10%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { margin-top: 14px; }

/* Stage: the chat in action */
.stage { position: relative; margin-top: 44px; border-radius: 20px; padding: clamp(18px, 4.2vw, 64px) clamp(18px, 6vw, 96px); background: radial-gradient(120% 90% at 85% 10%, #FBFBFA 0%, #E7E6E1 55%, #DAD9D3 100%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .05); overflow: hidden; isolation: isolate; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); mix-blend-mode: multiply; opacity: .16; z-index: -1; }

.app { position: relative; background: var(--panel); border-radius: var(--r); box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 30px 80px -30px rgb(0 0 0 / .35), 0 0 0 1px rgb(0 0 0 / .06); overflow: hidden; z-index: 2; }
.app-bar { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid #EEEEEA; font-size: 13px; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2E2DD; }
.app-name { font-weight: 500; }
.app-title { color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-skill { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.app-skill::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3BA55C; margin-right: 7px; vertical-align: 1px; }
.app-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 0fr; height: clamp(460px, 44vw, 600px); transition: grid-template-columns .9s var(--ease); }
.app-body.open { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
.chat { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px clamp(16px, 2vw, 28px) 18px; }
.thread { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 16px; font-size: 14px; max-width: 640px; width: 100%; margin-inline: auto; }
.greet { margin: auto 0; text-align: center; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; color: var(--ink); transition: opacity .4s; }
.msg { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.msg.user { align-self: flex-end; max-width: 88%; min-width: 0; display: grid; grid-template-columns: minmax(0, auto); justify-items: end; gap: 6px; }
.msg.user .files { justify-content: flex-end; }
.msg.user p { background: #F1F1EE; border-radius: 14px; padding: 9px 14px; }
.msg.bot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.files { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; max-width: 100%; }
.file { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; border: 1px solid #E6E6E1; background: #fff; border-radius: 10px; padding: 6px 10px 6px 6px; font-size: 12px; color: var(--ink-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #EDEDE9; font: 500 9px/1 var(--mono); color: var(--ink-2); }
.file.sheet b { background: #E3EFE6; color: #1F6B3A; }
.file.pdf b { background: #F6E4E0; color: #9A3A26; }
.skill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid #D6D6D0; border-top-color: var(--ink); animation: spin 0.8s linear infinite; }
.bot.finished .spin { animation: none; border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6 9l4-4.2' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center/100% no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { display: grid; gap: 5px; padding-left: 22px; font-size: 13px; color: var(--muted); }
.steps li { position: relative; transition: opacity .35s, transform .35s var(--ease); }
.steps li::before { content: ""; position: absolute; left: -16px; top: 7px; width: 6px; height: 6px; border-radius: 50%; border: 1.4px solid #C9C9C3; }
.steps li.done { color: var(--ink-2); }
.steps li.done::before { background: var(--ink); border-color: var(--ink); }
.reply { color: var(--ink); line-height: 1.5; }
.card { display: flex; align-items: center; gap: 12px; border: 1px solid #E6E6E1; border-radius: 12px; padding: 10px 14px 10px 10px; max-width: 340px; background: #FAFAF8; transition: opacity .5s, transform .5s var(--ease); }
.card-ico { flex: none; width: 40px; height: 28px; border-radius: 4px; background: #121212; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); position: relative; }
.card-ico::after { content: ""; position: absolute; left: 6px; right: 14px; bottom: 7px; height: 2px; background: #fff; opacity: .7; box-shadow: 0 -5px 0 rgb(255 255 255 / .5); }
.card b { display: block; font-weight: 500; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 250px; }
.card small { color: var(--muted); font-size: 12px; }

.composer { position: relative; margin-top: 14px; border: 1px solid #E3E3DE; border-radius: 16px; padding: 10px 12px; background: #fff; box-shadow: 0 2px 10px -6px rgb(0 0 0 / .15); max-width: 640px; width: 100%; margin-inline: auto; transition: border-color .25s, box-shadow .25s; }
.composer .files:not(:empty) { margin-bottom: 8px; }
.input { min-height: 24px; font-size: 14px; position: relative; padding: 2px 2px 6px; }
.ph { color: #A8A8A2; }
.input span[data-typed]:not(:empty) + .caret + .ph { display: none; }
.caret { display: inline-block; width: 1.5px; height: 17px; background: var(--ink); vertical-align: -3px; margin-left: 1px; opacity: 0; }
.typing .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.comp-row { display: flex; align-items: center; gap: 8px; }
.plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #E3E3DE; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.tool-chip { font-size: 12px; color: var(--ink-2); background: #F3F3F0; border-radius: 999px; padding: 4px 10px; }
.send { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; background: #D8D8D3; color: #fff; display: grid; place-items: center; font-size: 15px; transition: background .2s, transform .2s; }
.send.ready { background: var(--ink); }
.send.press { transform: scale(.88); }
.drop { position: absolute; inset: -1px; border-radius: 16px; border: 1.5px dashed #8D8D86; background: rgb(250 250 248 / .94); display: grid; place-items: center; font-size: 13px; color: var(--ink-2); opacity: 0; pointer-events: none; transition: opacity .2s; }
.composer.over .drop { opacity: 1; }

.artifact { min-width: 0; overflow: hidden; border-left: 1px solid #EEEEEA; background: #F7F7F5; display: flex; flex-direction: column; }
.art-bar { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; font-size: 13px; border-bottom: 1px solid #EEEEEA; white-space: nowrap; }
.art-bar b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.art-bar span { color: var(--muted); font: 400 12px var(--mono); }
.art-frame { flex: 1; display: grid; place-items: center; padding: clamp(12px, 2vw, 28px); min-height: 0; }
.art-frame > * { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; box-shadow: 0 18px 50px -24px rgb(0 0 0 / .45), 0 0 0 1px rgb(0 0 0 / .06); background: #111; grid-area: 1 / 1; object-fit: cover; }
.art-frame iframe { pointer-events: none; }

/* No-JS and reduced motion: the stage shows the finished state */
html:not(.js) .greet, .stage.rest .greet { display: none; }
html:not(.js) .app-body, .stage.rest .app-body { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
html:not(.js) .bot .spin { animation: none; }

/* The floating paper that gets dragged in */
.paper { position: absolute; left: 0; top: 0; z-index: 5; width: clamp(200px, 22vw, 290px); background: #fff; border-radius: 8px; padding: 18px 18px 22px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .35), 0 0 0 1px rgb(0 0 0 / .06); font-size: 10.5px; line-height: 1.5; color: var(--ink-2); opacity: 0; pointer-events: none; transform-origin: 0 0; }
.paper .p-file { font: 400 10px var(--mono); color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.paper .p-file::before { content: ""; width: 9px; height: 11px; border: 1.2px solid var(--muted); border-radius: 1.5px; }
.paper h4 { margin: 0 0 8px; font-size: 13px; line-height: 1.25; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.paper p { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.paper table { width: 100%; border-collapse: collapse; font: 400 9.5px/1.3 var(--mono); }
.paper td { border-bottom: 1px solid #EEE; padding: 4px 4px 4px 0; vertical-align: top; }
.paper tr:first-child td { color: var(--muted); }
.paper td:first-child { font-family: var(--font); }
.cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 22px; height: 22px; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25)); }

/* Use case tabs */
.cases { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 22px; }
.case { position: relative; background: none; border: 0; padding: 10px 12px 12px; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .2s; }
.case:hover, .case[aria-selected="true"] { color: var(--ink); }
.case i { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--line); overflow: hidden; opacity: 0; }
.case[aria-selected="true"] i { opacity: 1; }
.case i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.case small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 72px; }
.tools li { padding: 22px 24px; display: grid; gap: 2px; text-align: center; }
.tools li + li { border-left: 1px solid var(--line); }
.tools b { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.tools span { color: var(--muted); font-size: 13px; }

/* Sections */
.section { padding: clamp(88px, 10vw, 150px) 0 0; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 32px 60px; flex-wrap: wrap; margin-bottom: 48px; }
.split-head h2 { max-width: 15ch; }

/* Wall */
.wall { position: relative; height: clamp(640px, 92vh, 980px); display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 14px; padding: 0 14px; overflow: hidden; -webkit-mask: linear-gradient(#0000, #000 10%, #000 88%, #0000); mask: linear-gradient(#0000, #000 10%, #000 88%, #0000); }
.col { display: flex; flex-direction: column; gap: 14px; will-change: transform; animation: drift var(--dur, 90s) linear infinite; animation-direction: var(--dir, normal); }
.wall:hover .col { animation-play-state: paused; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
.tile { position: relative; flex: none; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #ddd; box-shadow: 0 10px 30px -18px rgb(0 0 0 / .45), 0 0 0 1px rgb(0 0 0 / .05); cursor: pointer; padding: 0; border: 0; transition: transform .35s var(--ease), box-shadow .35s; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.tile iframe.live { opacity: 1; }
.tile:hover { transform: scale(1.03); box-shadow: 0 26px 60px -22px rgb(0 0 0 / .55), 0 0 0 1px rgb(0 0 0 / .08); z-index: 2; }
.tile .t-name { position: absolute; left: 8px; bottom: 8px; font-size: 11px; color: #fff; background: rgb(0 0 0 / .55); backdrop-filter: blur(6px); padding: 3px 8px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.tile:hover .t-name, .tile:focus-visible .t-name { opacity: 1; transform: none; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 34px; font-size: 14px; color: var(--muted); }
.brands button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink-2); }
.brands button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.c-side { display: grid; gap: 12px; }
.c-img { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 24px 60px -34px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .06); transition: transform .5s var(--ease); }
.c-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.c-side figcaption { font-size: 14px; color: var(--muted); }
.c-side.with figcaption { color: var(--ink); }
.c-side.with figcaption::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 8px; vertical-align: 1px; }
.c-steps { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.c-steps button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.c-steps button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* How */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; margin-top: 56px; align-items: stretch; }
.how-list { display: grid; align-content: start; }
.how-list li { border-top: 1px solid var(--line); }
.how-list li:last-child { border-bottom: 1px solid var(--line); }
.how-list button { position: relative; width: 100%; text-align: left; background: none; border: 0; padding: 22px 0 24px; cursor: pointer; display: grid; gap: 6px; }
.how-list b { font-weight: 400; font-size: 22px; letter-spacing: -0.02em; color: var(--muted); transition: color .3s; }
.how-list span { color: var(--muted); font-size: 15px; max-width: 44ch; display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .45s var(--ease), opacity .3s; opacity: 0; }
.how-list li.on b { color: var(--ink); }
.how-list li.on span { grid-template-rows: 1fr; opacity: 1; }
.how-list i { position: absolute; left: 0; top: -1px; height: 1.5px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.how-list li.on i { transform: scaleX(var(--p, 0)); }
.how-pane { position: relative; border-radius: 18px; background: radial-gradient(110% 90% at 20% 0%, #FBFBFA, #E6E5E0 70%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .05); min-height: 520px; overflow: hidden; }
.hp { position: absolute; inset: 0; display: grid; place-items: center; padding: 36px; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.hp.on { opacity: 1; transform: none; pointer-events: auto; }
.pile { position: relative; width: min(100%, 460px); height: 380px; }
.pile .doc { position: absolute; width: 62%; background: #fff; border-radius: 8px; padding: 16px; box-shadow: 0 20px 50px -24px rgb(0 0 0 / .4), 0 0 0 1px rgb(0 0 0 / .05); font-size: 10px; line-height: 1.5; color: var(--ink-2); }
.pile .doc h4 { margin: 6px 0; font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.25; }
.pile .doc p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.pile .doc .p-file { font: 400 9.5px var(--mono); color: var(--muted); }
.asks { display: grid; gap: 12px; width: min(100%, 480px); }
.asks p { justify-self: end; background: #fff; border-radius: 16px; padding: 11px 16px; font-size: 15px; box-shadow: 0 8px 24px -16px rgb(0 0 0 / .3), 0 0 0 1px rgb(0 0 0 / .04); max-width: 92%; }
.asks p:nth-child(even) { justify-self: start; }
.asks small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.fan { position: relative; width: 100%; height: 100%; min-height: 440px; }
.fan img { position: absolute; width: 62%; left: 19%; top: 50%; border-radius: 6px; box-shadow: 0 24px 60px -26px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .06); transition: transform .9s var(--ease); }
.sheets { position: relative; width: 100%; height: 100%; min-height: 440px; }
.sheets img { position: absolute; width: 58%; border-radius: 8px; box-shadow: 0 24px 60px -26px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .06); }

/* Dark band */
.section.dark { background: var(--dark); color: #F2F2EF; margin-top: clamp(88px, 10vw, 150px); padding-bottom: clamp(88px, 10vw, 140px); }
.section.dark .label, .section.dark .aside { color: #9C9C96; }
.co { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.co-card { background: var(--dark-2); border-radius: 14px; padding: 28px 26px 32px; min-height: 240px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.co-card .num { font: 400 12px var(--mono); color: #8A8A84; }
.co-card h3 { margin-top: auto; font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.co-card p { color: #A9A9A3; font-size: 15px; margin-top: 10px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.price { background: #fff; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.price.main { box-shadow: 0 0 0 1.5px var(--ink); }
.p-name { font-size: 14px; color: var(--muted); }
.p-amt { font-size: 44px; letter-spacing: -0.035em; line-height: 1.1; }
.p-amt small { font-size: 15px; letter-spacing: 0; color: var(--muted); }
.p-note { color: var(--ink-2); font-size: 15px; flex: 1; margin-bottom: 14px; }
.price .btn { align-self: flex-start; }
.price .btn.ghost { border-color: var(--line); }
.guarantee { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.q { background: var(--bg-2); border-radius: 14px; padding: 28px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.q blockquote { font-size: 17px; letter-spacing: -0.01em; color: var(--ink-2); }
.q figcaption { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; font-size: 13px; color: var(--muted); }
.q figcaption b { display: block; color: var(--ink); font-weight: 500; }
.q .av { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: #D5D5CF; }
.q em { grid-column: 2; font-style: normal; font-size: 12px; }

/* Close */
.close { position: relative; margin-top: clamp(88px, 10vw, 150px); padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; }
.close-wall { position: absolute; inset: -40px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; transform: rotate(-6deg) scale(1.15); opacity: .22; filter: saturate(.9); -webkit-mask: radial-gradient(60% 70% at 50% 50%, transparent 15%, #000 70%); mask: radial-gradient(60% 70% at 50% 50%, transparent 15%, #000 70%); }
.close-wall img { border-radius: 5px; aspect-ratio: 16 / 9; object-fit: cover; }
.close-wall div { display: grid; gap: 12px; align-content: start; }
.close-wall div:nth-child(even) { margin-top: -60px; }
.close .wrap { position: relative; }
.close h2 { font-size: clamp(40px, 5vw, 76px); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-in .small { margin-top: 10px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 40px; }
.foot-cols div { display: grid; gap: 9px; align-content: start; }
.foot-cols b { font-weight: 500; margin-bottom: 4px; }
.foot-cols a { color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.foot-legal { margin-top: 48px; max-width: 80ch; }

/* Viewer */
.viewer { width: min(100vw - 32px, 1500px); max-width: none; max-height: calc(100vh - 32px); border: 0; padding: 0; border-radius: 16px; background: var(--bg); color: var(--ink); box-shadow: 0 40px 120px rgb(0 0 0 / .4); }
.viewer::backdrop { background: rgb(18 18 18 / .72); backdrop-filter: blur(6px); }
.v-in { padding: 18px 22px 22px; }
.v-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.v-top b { font-weight: 500; font-size: 17px; margin-right: 10px; }
.v-top span { color: var(--muted); font-size: 14px; }
.v-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.v-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
.v-frame { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.v-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.v-ctl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 12px; font: 400 13px var(--mono); color: var(--muted); }
.v-ctl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; }
.v-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; max-height: 70vh; overflow: auto; }
.v-side .label { margin: 8px 0 0; }
.v-paper { background: #fff; border-radius: 8px; padding: 14px; font-size: 12px; line-height: 1.5; color: var(--ink-2); box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.v-paper h4 { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.v-paper table { width: 100%; border-collapse: collapse; font: 400 10.5px/1.3 var(--mono); }
.v-paper td { border-bottom: 1px solid #EEE; padding: 4px 4px 4px 0; vertical-align: top; }
.v-ask { background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.v-files { display: grid; gap: 6px; }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .col { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* Tablet */
@media (max-width: 1020px) {
  .links { display: none; }
  .how { grid-template-columns: 1fr; gap: 28px; }
  .how-pane { min-height: 420px; }
  .co, .prices, .quotes { grid-template-columns: 1fr; }
  .co-card { min-height: 0; } .co-card h3 { margin-top: 40px; }
  .q { min-height: 0; }
  .v-main { grid-template-columns: 1fr; }
  .v-side { max-height: none; }
}

/* Phone */
@media (max-width: 720px) {
  :root { --gut: 16px; }
  .nav-act .quiet { display: none; }
  .hero { padding-top: 56px; }
  .stage { margin-top: 48px; padding: 14px; border-radius: 16px; }
  .app-bar { gap: 10px; padding: 0 12px; } .app-title { display: none; }
  .app-body { height: 460px; grid-template-columns: 1fr !important; }
  .artifact { position: absolute; inset: 0; border-left: 0; transform: translateY(102%); transition: transform .8s var(--ease); }
  .app-body.open .artifact, .stage.rest .artifact { transform: none; }
  html:not(.js) .artifact { position: relative; transform: none; }
  html:not(.js) .app-body { height: auto; }
  .paper { width: 190px; }
  .cases { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .case { flex: none; }
  .tools { grid-template-columns: 1fr; margin-top: 48px; }
  .tools li + li { border-left: 0; border-top: 1px solid var(--line); }
  .wall { --cols: 2 !important; height: 620px; gap: 10px; padding: 0 10px; }
  .col { gap: 10px; }
  .how-list b { font-size: 19px; }
  .how-pane { min-height: 360px; }
  .pile { height: 300px; }
  .fan, .sheets { min-height: 340px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .compare { grid-template-columns: 1fr; }
  .viewer { width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .v-in { padding: 14px 12px; }
}

/* ---------- v6.1 ---------- */

/* Decks play at native size inside a screen and are scaled from outside */
.screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
iframe.deck-frame { position: absolute !important; left: 0; top: 0; width: 1920px !important; height: 1080px !important; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
iframe.deck-frame.live { opacity: 1; }
.art-frame > .screen { border-radius: 6px; box-shadow: 0 18px 50px -24px rgb(0 0 0 / .45), 0 0 0 1px rgb(0 0 0 / .06); }
.art-meta { display: inline-flex; align-items: center; gap: 10px; }
.art-meta em { font: 500 11px var(--font); font-style: normal; color: var(--ink-2); background: #ECECE8; border-radius: 999px; padding: 3px 9px; letter-spacing: 0; }

/* The website step in the chat */
.site { display: none; align-items: center; gap: 12px; border: 1px solid #E6E6E1; border-radius: 10px; padding: 8px 12px; background: #fff; max-width: 330px; }
.site.on { display: flex; animation: siteIn .5s var(--ease) both; }
@keyframes siteIn { from { opacity: 0; transform: translateY(6px); } }
.site .url, .v-site .url, .b-url { font: 400 12px var(--mono); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.site .url::before, .v-site .url::before, .b-url::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.4px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1.2px no-repeat; opacity: .7; }
.sw { display: inline-flex; gap: 4px; margin-left: auto; }
.sw i, .b-sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.site.on .sw i { animation: swIn .4s var(--ease) both; animation-delay: calc(var(--k) * 140ms + 300ms); }
@keyframes swIn { from { opacity: 0; transform: scale(.4); } }
.reply { display: grid; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.reply p:last-child { color: var(--ink-2); }

/* What went in, what came out */
.io { display: grid; gap: 28px; }
.io-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; background: var(--bg-2); border-radius: 18px; padding: 22px; }
.io-in { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.io-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.io-cap .file { background: #fff; }
.io-doc { position: relative; flex: 1; min-height: 300px; max-height: 420px; overflow: hidden; background: #fff; border-radius: 8px; padding: 18px 20px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); -webkit-mask: linear-gradient(#000 70%, #0000); mask: linear-gradient(#000 70%, #0000); }
.io-doc pre, .v-paper pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 400 11.5px/1.6 var(--mono); color: #55554F; }
.io-doc table { width: 100%; border-collapse: collapse; font: 400 11px/1.35 var(--mono); color: #55554F; }
.io-doc td { border-bottom: 1px solid #EEE; padding: 6px 8px 6px 0; vertical-align: top; }
.io-doc tr:first-child td { color: var(--muted); }
.io-out { display: grid; gap: 12px; align-content: start; min-width: 0; }
.io-ask { justify-self: end; background: #fff; border-radius: 16px; padding: 9px 15px; font-size: 14px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); max-width: 90%; }
.io-ask small { display: block; font-size: 11px; color: var(--muted); }
.io-out button { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px -24px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .06); transition: transform .35s var(--ease); }
.io-out button:hover { transform: translateY(-3px); }
.io-out img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.io-small { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.io-meta { font-size: 13px; color: var(--muted); }
.io-meta b { color: var(--ink); font-weight: 500; }

/* The zeros */
.zeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin: 0 0 56px; }
.zeros > div { padding: 26px 24px 4px 0; display: grid; gap: 8px; }
.zeros > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.zeros dt { font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -0.04em; font-weight: 300; }
.zeros dd { margin: 0; font-size: 14px; color: var(--muted); max-width: 24ch; }
.zeros dd b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; margin-bottom: 2px; }

/* How: the look, the promises, the hand-back */
.look { position: relative; width: min(100%, 520px); height: 420px; }
.browser { position: absolute; left: 0; top: 0; width: 78%; background: #fff; border-radius: 12px; box-shadow: 0 24px 60px -26px rgb(0 0 0 / .45), 0 0 0 1px rgb(0 0 0 / .06); overflow: hidden; z-index: 1; }
.b-bar { height: 36px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-bottom: 1px solid #EEE; }
.b-url { background: #F2F2EF; border-radius: 6px; padding: 4px 10px; flex: 1; }
.b-body { padding: 20px; display: grid; gap: 12px; }
.b-sw { display: flex; gap: 8px; }
.b-sw i { width: 34px; height: 34px; border-radius: 8px; }
.hp.on .b-sw i { animation: swIn .5s var(--ease) both; animation-delay: calc(var(--k) * 160ms + 200ms); }
.b-note { font-size: 13px; color: var(--muted); }
.b-sheet { position: absolute; right: 0; bottom: 0; width: 72%; border-radius: 8px; box-shadow: 0 24px 60px -26px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .06); z-index: 2; }
.promises { display: grid; gap: 14px; width: min(100%, 560px); }
.pr-head { font-size: 13px; color: var(--muted); }
.promises blockquote { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 10px 30px -22px rgb(0 0 0 / .35), 0 0 0 1px rgb(0 0 0 / .04); }
.promises blockquote p { font-size: 17px; letter-spacing: -0.01em; line-height: 1.35; }
.promises cite { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 6px; }
.hand { width: min(100%, 560px); display: grid; gap: 10px; }
.hand-msg { background: #fff; border-radius: 14px; padding: 20px 22px; display: grid; gap: 10px; font-size: 14px; line-height: 1.5; box-shadow: 0 20px 50px -28px rgb(0 0 0 / .4), 0 0 0 1px rgb(0 0 0 / .05); }
.hand-msg b { font-weight: 500; }
.hand-who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.tick { width: 14px; height: 14px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6 9l4-4.2' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center/100% no-repeat; }
.hand-note { font-size: 12px; color: var(--muted); text-align: center; }

/* Viewer, v6.1 */
.v-main { grid-template-columns: minmax(0, 1fr) 360px; }
.v-frame { cursor: pointer; border-radius: 8px; }
.v-badge { align-self: flex-start; font-size: 12px; font-weight: 500; background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 12px; }
.v-paper { max-height: 260px; overflow: auto; }
.v-paper .p-file { font: 400 10.5px var(--mono); color: var(--muted); margin-bottom: 8px; }
.v-site { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.v-hand { display: grid; gap: 8px; background: #fff; border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.5; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.v-side { max-height: calc(100vh - 140px); padding-right: 4px; }

@media (max-width: 1020px) {
  .io-row { grid-template-columns: 1fr; }
  .zeros { grid-template-columns: 1fr 1fr; }
  .zeros > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .v-main { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .io-row { padding: 14px; gap: 16px; }
  .io-doc { min-height: 220px; max-height: 280px; }
  .zeros dt { font-size: 44px; }
  .zeros > div { padding: 18px 12px 4px 0; }
  .zeros > div + div { padding-left: 12px; }
  .look { height: 340px; }
  .site { max-width: 100%; }
}
.app-body { grid-template-rows: minmax(0, 1fr); }
.chat { min-height: 0; }
.thread { justify-content: flex-end; min-height: 0; }
.greet { position: absolute; left: 0; right: 0; top: 42%; }
.chat { position: relative; }
.zeros > div { align-content: start; }
table.xl { width: 100%; table-layout: fixed; border-collapse: collapse; font: 400 11px/1.3 var(--mono); color: #3F3F3A; }
table.xl th { background: #F1F1EE; color: #8A8A84; font-weight: 400; font-size: 10px; text-align: center; border: 1px solid #E2E2DD; padding: 4px; width: 26px; }
table.xl tr:first-child th { height: 22px; }
table.xl tr:first-child th:first-child { width: 26px; }
table.xl td { border: 1px solid #E2E2DD; padding: 5px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
table.xl td:first-of-type { text-align: left; }
table.xl tr:nth-child(2) td { font-weight: 500; color: #1F1F1C; background: #FAFAF8; text-align: left; }
.io-doc:has(table.xl) { padding: 0; }
.v-paper table.xl { font-size: 10.5px; }
.how-list span { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .3s; }
.how-list li.on span { max-height: 160px; opacity: 1; }
.io-doc:has(table.xl) { flex: none; min-height: 0; -webkit-mask: none; mask: none; }
.pile table.xl { font-size: 9.5px; }
.v-side > * { flex: none; }
.v-paper { max-height: 340px; padding: 0; }
.v-paper pre { padding: 14px 16px; }
.v-paper table.xl { margin: 0; }
.v-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.v-photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.ph-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; background: var(--bg-2); border-radius: 18px; padding: 22px; }
.ph-in { display: grid; gap: 12px; align-content: start; }
.ph-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.ph-in .io-ask { justify-self: start; }
.io-small.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .ph-row { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .ph-row { padding: 14px; } .io-small.three { grid-template-columns: 1fr 1fr; } }
.file.img b { background: #E4E9F2; color: #2F4A75; }
.io-cap .file { min-width: 0; max-width: 62%; }
.io-cap > span { flex: none; }
.ph-in, .io-out { min-width: 0; }
@media (max-width: 1020px) { .ph-row { grid-template-columns: minmax(0, 1fr); } }
.ph-in { grid-template-columns: minmax(0, 1fr); }
.io-cap { min-width: 0; }
.io-cap .file { display: block; line-height: 26px; }
.io-cap .file b { display: inline-grid; vertical-align: middle; margin-right: 8px; }
.io-cap { flex-wrap: wrap; }
.io-cap .file { max-width: 100%; }

/* ---------- Stories: one example as a short film ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; background: var(--bg-2); border-radius: 18px; padding: 22px; }
.st-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-doc { flex: none; min-height: 0; height: 250px; max-height: none; transition: height .9s var(--ease); }
.st-doc .scan { position: absolute; left: 0; right: 0; top: 0; height: 46px; background: linear-gradient(transparent, rgb(255 214 0 / .22), transparent); opacity: 0; pointer-events: none; }
.st-steps { display: grid; gap: 7px; font-size: 13.5px; }
.st-steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; transition: opacity .45s, transform .45s var(--ease); }
.st-steps b { font-weight: 500; color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.st-steps b::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.4px solid #BDBDB6; }
.st-steps li.on b::before { border-color: var(--ink); border-top-color: transparent; animation: spin .8s linear infinite; width: 9px; height: 9px; }
.st-steps li.done b::before { animation: none; background: var(--ink); border-color: var(--ink); width: 7px; height: 7px; }
.st-steps li.on b, .st-steps li.done b { color: var(--ink-2); }
.st-steps span { color: var(--ink); min-width: 0; display: flex; align-items: center; gap: 10px; }
.st-steps .sw { margin-left: 0; }
.st-steps .sw i { width: 14px; height: 14px; }
.st-right { display: grid; gap: 12px; align-content: start; min-width: 0; }
.st-screen-wrap { border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px -30px rgb(0 0 0 / .55), 0 0 0 1px rgb(0 0 0 / .06); }
.st-screen { cursor: pointer; }
.st-screen > img { transition: filter .8s, opacity .8s, transform 1.2s var(--ease); }
.st-wait { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 13px; color: #fff; background: rgb(0 0 0 / .5); backdrop-filter: blur(6px); padding: 6px 14px; border-radius: 999px; opacity: 0; transition: opacity .4s; display: inline-flex; align-items: center; gap: 8px; }
.st-wait::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.st-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.st-thumbs button { position: relative; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .06); opacity: .55; transition: opacity .3s, transform .3s var(--ease); }
.st-thumbs button:hover { opacity: .9; }
.st-thumbs button[aria-current] { opacity: 1; }
.st-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.st-thumbs i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.story.live .st-thumbs button[aria-current] i { animation: fill var(--d, 3600ms) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.io-meta a { color: var(--ink-2); }

/* the film: hidden until each beat arrives */
.story.pre .st-ask { opacity: 0; transform: translateY(8px); }
.story.pre.asked .st-ask { opacity: 1; transform: none; transition: opacity .5s, transform .5s var(--ease); }
.story.pre .st-steps li:not(.on):not(.done) { opacity: 0; transform: translateY(6px); }
.story.pre .st-steps li .sw i { animation: swIn .4s var(--ease) both; animation-delay: calc(var(--k) * 120ms + 200ms); }
.story.pre .st-screen > img { filter: blur(14px) saturate(.6); opacity: .55; transform: scale(1.04); }
.story.pre.asked .st-wait { opacity: 1; }
.story.play .st-doc { animation: docIn .8s var(--ease) both; }
.story.play .st-doc .scan { animation: scan 2.2s .5s ease-in-out both; }
.story.play .st-doc pre, .story.play .st-doc table { animation: read 2.4s .3s steps(24) both; }
@keyframes docIn { from { opacity: 0; transform: translateY(16px) rotate(-1deg); } }
@keyframes scan { 0% { opacity: 0; top: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: calc(100% - 46px); } }
@keyframes read { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.story.asked:not(.pre) .st-doc, .story.live .st-doc { height: 190px; }

@media (max-width: 1020px) { .story { grid-template-columns: minmax(0, 1fr); } .st-doc { height: 200px; } }
@media (max-width: 720px) { .story { padding: 14px; gap: 16px; } .st-steps li { grid-template-columns: 82px minmax(0, 1fr); } .st-thumbs { gap: 6px; } }

/* ---------- Same file, same line, same Claude ---------- */
.vs-hero { border-radius: 14px; overflow: hidden; box-shadow: 0 40px 100px -50px rgb(0 0 0 / .6), 0 0 0 1px rgb(0 0 0 / .06); }
.vs-screen { cursor: pointer; }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.vs-col { background: #fff; border-radius: 14px; padding: 22px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px 20px; align-content: start; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.vs-col.with { box-shadow: 0 0 0 1.5px var(--ink); }
.vs-who { grid-column: 1 / -1; font-weight: 500; font-size: 15px; }
.vs-col.with .vs-who::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 8px; vertical-align: 2px; }
.vs-thumb { border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); align-self: start; }
.vs-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vs dl { margin: 0; display: grid; gap: 10px; }
.vs dl div { display: grid; gap: 2px; }
.vs dt { font-size: 12px; color: var(--muted); }
.vs dd { margin: 0; font-size: 14px; }
.vs dd b { font-weight: 400; font-size: 30px; letter-spacing: -0.03em; line-height: 1.05; }
.vs dd small { display: block; font-size: 12px; color: var(--muted); }
.vs-why { margin-top: 28px; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.015em; max-width: 52ch; color: var(--ink); line-height: 1.4; }
.vs-fine { margin-top: 12px; max-width: 80ch; }
@media (max-width: 1020px) { .vs { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .vs-col { grid-template-columns: 1fr; padding: 16px; } .vs dd b { font-size: 26px; } }
.vs-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vs-thumb { grid-column: 1 / -1; }
.vs dl { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .vs dl { grid-template-columns: 1fr 1fr; } .vs dl div:first-child { grid-column: 1 / -1; } }

/* ---------- The slider: with, and without ---------- */
.cmp { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 100px -50px rgb(0 0 0 / .6), 0 0 0 1px rgb(0 0 0 / .06); user-select: none; touch-action: pan-y; }
.cmp-with { position: absolute; inset: 0; aspect-ratio: auto; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); z-index: 2; }
.cmp-before img { width: 100%; height: 100%; object-fit: cover; }
.cmp-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .12); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 15px; letter-spacing: 2px; box-shadow: 0 8px 24px rgb(0 0 0 / .3); }
.cmp-handle em { position: absolute; top: calc(50% + 34px); left: 14px; white-space: nowrap; font-style: normal; font-size: 12px; color: #fff; background: rgb(0 0 0 / .55); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; transition: opacity .3s; }
.cmp.touched .cmp-handle em, .cmp.seen .cmp-handle em { opacity: 0; }
.cmp:not(.touched):not(.seen) .cmp-handle span { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-30%, -50%); } }
.cmp-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-tag { position: absolute; z-index: 3; bottom: 18px; display: grid; gap: 1px; font-size: 13px; padding: 9px 14px; border-radius: 10px; pointer-events: none; transition: opacity .3s; }
.cmp-tag b { font-weight: 500; font-size: 12px; }
.cmp-tag.r { right: 18px; background: rgb(0 0 0 / .5); color: #fff; backdrop-filter: blur(8px); }
.cmp-tag.l { left: 18px; background: rgb(255 255 255 / .92); color: var(--ink); box-shadow: 0 2px 10px rgb(0 0 0 / .12); opacity: 0; }
.cmp.seen .cmp-tag.l { opacity: 1; }
.cmp-tag > span { font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.vs-more { margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vs-more summary { cursor: pointer; padding: 18px 0; font-size: 15px; color: var(--ink-2); list-style: none; display: flex; justify-content: space-between; }
.vs-more summary::-webkit-details-marker { display: none; }
.vs-more summary::after { content: "+"; color: var(--muted); font-size: 18px; }
.vs-more[open] summary::after { content: "−"; }
.vs-more .vs { margin-top: 4px; }
.vs-more .vs-fine { margin-bottom: 24px; }
@media (max-width: 720px) { .cmp-tag { bottom: 10px; padding: 6px 10px; } .cmp-tag.r { right: 10px; } .cmp-tag.l { left: 10px; } .cmp-tag > span { font-size: 16px; } .cmp-tag b { font-size: 10.5px; } .cmp-handle span { width: 38px; height: 38px; } }
.cmp-tag > .t { font-size: 13px; letter-spacing: 0; }
.cmp-tag > .t span { font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
@media (max-width: 720px) { .cmp-tag > .t span { font-size: 16px; } }

/* ---------- The reveal ---------- */
.rvl-sec { padding-top: clamp(60px, 7vw, 110px); }
.rvl-track { position: relative; height: 290vh; }
.rvl-sticky { position: sticky; top: 60px; height: calc(100svh - 60px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.rvl-head { text-align: center; }
.rvl-head h2 { margin: 0 auto; max-width: none; }
.rvl-sub { position: relative; margin: 14px auto 0; height: 1.5em; font-size: clamp(15px, 1.25vw, 18px); color: var(--ink-2); }
.rvl-sub span { position: absolute; left: 0; right: 0; transition: opacity .5s, transform .5s var(--ease); }
.rvl-sub b { font-weight: 500; color: var(--ink); }
.rvl-sub .b { opacity: 0; transform: translateY(8px); }
.rvl-track.done .rvl-sub .a { opacity: 0; transform: translateY(-8px); }
.rvl-track.done .rvl-sub .b { opacity: 1; transform: none; }
.rvl { position: relative; width: min(calc(100% - 2 * var(--gut)), 1320px, calc((100svh - 330px) * 16 / 9)); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 50px 120px -60px rgb(0 0 0 / .7), 0 0 0 1px rgb(0 0 0 / .06); user-select: none; transition: transform .9s var(--ease), box-shadow .9s; }
.rvl.wow { transform: scale(1.012); box-shadow: 0 60px 140px -50px rgb(60 40 160 / .55), 0 0 0 1px rgb(0 0 0 / .06); }
.rvl-with { position: absolute; inset: 0; aspect-ratio: auto; }
.rvl-before { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 0 0 var(--x)); }
.rvl-before img { width: 100%; height: 100%; object-fit: cover; }
.rvl-line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .1), 0 0 24px rgb(255 255 255 / .8); pointer-events: none; }
.rvl-line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 15px; letter-spacing: 2px; box-shadow: 0 8px 26px rgb(0 0 0 / .3); }
.rvl-track:not(.manual) .rvl-line { transition: none; }
.rvl-tag { position: absolute; z-index: 3; top: 16px; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; pointer-events: none; transition: opacity .35s; }
.rvl-tag.before { right: 16px; background: rgb(255 255 255 / .94); color: var(--ink); box-shadow: 0 2px 10px rgb(0 0 0 / .12); }
.rvl-tag.with { left: 16px; background: rgb(0 0 0 / .5); color: #fff; backdrop-filter: blur(8px); opacity: 0; }
.rvl[style*="--x: 0%"] .rvl-tag.with { opacity: 0; }
.rvl-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.rvl-hint { text-align: center; font-size: 13px; color: var(--muted); transition: opacity .4s; }
.rvl-track.manual .rvl-hint { opacity: 0; }
.rvl-track.still { height: auto; }
.rvl-track.still .rvl-sticky { position: static; height: auto; padding: 20px 0; }
@media (max-width: 720px) {
  .rvl-track { height: 230vh; }
  .rvl { width: calc(100% - 2 * var(--gut)); border-radius: 10px; }
  .rvl-sub { height: 3em; }
  .rvl-tag { top: 8px; font-size: 10.5px; padding: 4px 9px; } .rvl-tag.before { right: 8px; } .rvl-tag.with { left: 8px; }
  .rvl-line span { width: 36px; height: 36px; }
}
.rvl { width: min(calc(100% - 2 * var(--gut)), 1360px, calc((100svh - 240px) * 16 / 9)); }
.rvl-sticky { gap: 16px; }
.rvl-head h2 { font-size: clamp(28px, 3vw, 46px); }
.rvl-sub { margin-top: 8px; }

/* ---------- Viewer: the presentation first, how it was made on request ---------- */
.viewer { width: min(100vw - 32px, 1600px); }
.v-top { gap: 16px; }
.v-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.v-take { font-style: normal; font-size: 11.5px; font-weight: 500; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 10px; align-self: center; }
.v-acts { display: flex; align-items: center; gap: 10px; flex: none; }
.v-how { min-height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; white-space: nowrap; }
.v-how:hover { border-color: var(--ink); }
.v-how[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.v-main { grid-template-columns: minmax(0, 1fr); transition: grid-template-columns .5s var(--ease); }
.v-side { display: none; }
.v-badge { display: none; }
.viewer.v-open .v-main { grid-template-columns: minmax(0, 1fr) 380px; }
.viewer.v-open .v-side { display: flex; animation: sideIn .45s var(--ease) both; }
@keyframes sideIn { from { opacity: 0; transform: translateX(16px); } }
.v-frame { max-height: calc(100vh - 170px); aspect-ratio: 16 / 9; margin-inline: auto; width: min(100%, calc((100vh - 170px) * 16 / 9)); }
@media (max-width: 1020px) { .viewer.v-open .v-main { grid-template-columns: minmax(0, 1fr); } .viewer.v-open .v-side { animation: none; } }
@media (max-width: 720px) { .v-how { padding: 0 10px; font-size: 13px; } .v-top { align-items: flex-start; } }
.ph-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ph-tabs button { border: 1px solid var(--line); background: transparent; border-radius: 12px; padding: 10px 16px; font-size: 14px; color: var(--ink-2); cursor: pointer; text-align: left; display: grid; gap: 1px; }
.ph-tabs button small { font-size: 12px; color: var(--muted); }
.ph-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ph-tabs button[aria-selected="true"] small { color: #BDBDB6; }
.ph-grid:has(img:nth-child(5):last-child) img:first-child { grid-column: span 2; }
@media (max-width: 720px) { .ph-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; } .ph-tabs button { flex: none; } }
/* the photo filmstrip */
.ph-strip { display: grid; gap: 14px; margin: 8px 0 36px; overflow: hidden; -webkit-mask: linear-gradient(90deg, #0000, #000 6%, #000 94%, #0000); mask: linear-gradient(90deg, #0000, #000 6%, #000 94%, #0000); }
.ph-run { display: flex; gap: 14px; width: max-content; animation: slide var(--dur, 100s) linear infinite; animation-direction: var(--dir, normal); }
.ph-strip:hover .ph-run { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
.ph-tile { position: relative; flex: none; width: clamp(260px, 26vw, 420px); aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: #ddd; box-shadow: 0 14px 40px -24px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .05); transition: transform .35s var(--ease); }
.ph-tile img { width: 100%; height: 100%; object-fit: cover; }
.ph-tile:hover { transform: scale(1.03); }
.ph-tile:hover .t-name { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ph-run { animation: none; } .ph-strip { overflow-x: auto; } }
@media (max-width: 720px) { .ph-tile { width: 240px; } .ph-strip { gap: 10px; } .ph-run { gap: 10px; } }

/* v6.5: inputs as people have them (email, PDF, Word, web page), and each run's minutes */
.file.mail b { background: #E6ECF6; color: #2D4C80; }
.file.word b { background: #E3E9F7; color: #2B57A6; }
.file.web b { background: #ECEAF4; color: #4F4782; }
.mail dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #EEEEEA; font-size: 12px; }
.mail dt { color: var(--muted); }
.mail dd { margin: 0; color: var(--ink); font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-clock { font: 500 12px/1 var(--mono); padding-left: 10px; margin-left: 2px; border-left: 1px solid rgb(255 255 255 / .35); font-variant-numeric: tabular-nums; }
.io-fine { margin-top: 14px; max-width: 80ch; }

/* hero versions: the rotating tool name, and the switch shown with ?h= */
.rot { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; }
.rot > span { grid-area: 1 / 1; white-space: nowrap; transition: transform .55s var(--ease), opacity .55s; }
.rot > span.in { animation: rotIn .55s var(--ease) both; }
.rot > span.out { transform: translateY(-70%); opacity: 0; }
.rot sup { font-size: .32em; font-weight: 400; letter-spacing: 0; color: var(--muted); vertical-align: super; margin-left: .25em; }
@keyframes rotIn { from { transform: translateY(70%); opacity: 0; } }
.sub .rot sup { font-size: .6em; }
.hero-switch { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 4px; background: #111; color: #fff; font: 500 12px/1 var(--mono); padding: 6px 6px 6px 12px; border-radius: 999px; }
.hero-switch button { all: unset; cursor: pointer; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.hero-switch button[aria-current] { background: #fff; color: #111; }
.mail pre { font: 400 12.5px/1.6 var(--font); color: #3F3F3A; }
.docpage { font: 400 12.5px/1.6 var(--font); color: #3F3F3A; }
.docpage h5 { margin: 0 0 10px; font: 500 15px/1.3 var(--font); color: var(--ink); letter-spacing: -.01em; }
.docpage p { margin: 0 0 9px; }
.story.play .st-doc .docpage, .story.play .st-doc .mail { animation: read 2.4s .3s steps(24) both; }
.story.play .st-doc .mail pre { animation: none; }
.rot { overflow: visible; }
.rot > span { position: relative; }
.rot sup { position: absolute; left: 100%; top: .2em; margin-left: .12em; font-size: .26em; line-height: 1; vertical-align: baseline; }
.sub .rot sup { font-size: .62em; top: -.35em; }

/* v6.6: photos, none needed and welcome when you have them */
.phvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.phvs-card { background: var(--bg-2); border-radius: 18px; padding: 26px 26px 0; display: grid; gap: 10px; align-content: start; overflow: hidden; }
.phvs-tag { font-size: 13px; color: var(--muted); }
.phvs-big { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.02em; }
.phvs-txt { color: var(--ink-2); max-width: 46ch; }
.phvs-files, .phvs-thumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; min-height: 40px; }
.phvs-thumbs img { width: 56px; height: 38px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgb(0 0 0 / .06); }
.phvs-fan { position: relative; height: clamp(190px, 21vw, 290px); margin-top: 14px; }
.phvs-fan button { all: unset; cursor: pointer; position: absolute; left: calc(4% + var(--k) * 22%); top: calc(var(--k) * 12%); width: 62%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px -26px rgb(0 0 0 / .6), 0 0 0 1px rgb(0 0 0 / .06); transform: rotate(calc((var(--k) - 1) * 2deg)); transition: transform .4s var(--ease); z-index: var(--k); }
.phvs-fan button:hover { transform: translateY(-8px) rotate(0deg); z-index: 5; }
.phvs-fan img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) { .phvs { grid-template-columns: minmax(0, 1fr); } .phvs-fan { height: 52vw; } .phvs-card { padding: 20px 18px 0; } }
.phvs-fan button { width: 52%; left: calc(2% + var(--k) * 23%); }
@media (max-width: 820px) { .phvs-fan { height: 42vw; margin-bottom: 18px; } }
#photos .split-head h2 { max-width: 25ch; }

/* ---------- v6.7: the website pass (AUDIT.md); nothing here changes how the page looks ---------- */
/* the reveal's line and the films' scan bar move by transform and background, so they shift no layout */
.rvl-line { left: 0; transform: translateX(var(--px, 0px)); }
.st-doc .scan { top: 0; bottom: 0; height: auto; background: linear-gradient(transparent, rgb(255 214 0 / .22), transparent) 0 0 / 100% 46px no-repeat; }
@keyframes scan { 0% { opacity: 0; background-position: 0 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 0 100%; } }
/* focus you can see: the range shows it on its handle; clipped and unset elements get it on themselves or their frame */
.rvl:has(.rvl-range:focus-visible) .rvl-line span { outline: 2px solid var(--ink); outline-offset: 3px; }
[tabindex]:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.st-screen:focus-visible { outline: none; }
.st-screen-wrap:has(.st-screen:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.phvs-fan button:focus-visible, .hero-switch button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero-switch button:focus-visible { outline-color: #fff; }
/* the drift rests while off screen; the wall and the strip are pointer only now, so the tiles are plain boxes */
.wall.off .col, .ph-strip.off .ph-run { animation-play-state: paused; }
.ph-tile { display: block; }
/* inputs with tables show them as tables */
.docpage table { margin: 0 0 9px; }
/* the viewer: the slide answers a swipe, the page behind holds still, and a phone's browser bars are respected */
.v-frame { touch-action: pan-y; }
html:has(dialog[open]) { overflow: hidden; }
.v-frame { max-height: calc(100dvh - 170px); width: min(100%, calc((100dvh - 170px) * 16 / 9)); }
.viewer { max-height: calc(100dvh - 32px); }
@media (min-width: 1021px) { .v-side { max-height: calc(100dvh - 140px); } }
@media (max-width: 720px) {
  .viewer { height: 100dvh; max-height: 100dvh; }
  /* tap targets of 44 px where they were smaller, without moving anything */
  .nav .btn.sm, .v-x { position: relative; }
  .nav .btn.sm::after, .v-x::after { content: ""; position: absolute; inset: -4px; }
  .nav .btn.sm::after { inset: -4px 0; }
  .brands button { padding-block: 8px; margin-block: -4px; }
  .foot-cols a { padding-block: 4.5px; margin-block: -4.5px; }
  .ph-tabs { padding-block: 5px; margin-top: -5px; margin-bottom: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- v6.8: the proposals, decided (AUDIT.md P1 to P8) ---------- */
/* a menu below 1020 px, where the section links are hidden */
.menu-btn { display: none; background: none; border: 0; padding: 0 2px; min-height: 44px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.menu-btn:hover { color: var(--ink); }
.menu { border-top: 1px solid var(--line); background: var(--bg); }
.menu nav { width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; display: grid; padding: 8px 0 20px; }
.menu a { text-decoration: none; font-size: 22px; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu a.m-sub { border-bottom: 0; color: var(--ink-2); font-size: 16px; letter-spacing: 0; padding: 14px 0 4px; }
.menu a.m-sub + a.m-sub { padding-top: 6px; }
@media (max-width: 389px) { .nav-act .btn.sm { display: none; } }
/* The name is longer than the old "Designer Agent": keep it on one line beside Menu and the button down to 390 */
.nav .mark { white-space: nowrap; }
@media (max-width: 429px) { .nav .mark { font-size: 16px; } .nav-act { gap: 12px; } }
@media (max-width: 1020px) { .menu-btn { display: inline-flex; align-items: center; } }
@media (min-width: 1021px) { .menu { display: none !important; } }
/* the drifting slides can be paused */
.drift { display: flex; justify-content: flex-end; margin-top: 12px; }
.drift-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; font-size: 13px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.drift-btn:hover { color: var(--ink); }
.drift-btn::before { content: ""; width: 8px; height: 10px; border-inline: 2.5px solid currentColor; box-sizing: border-box; }
.drift-btn[aria-pressed="true"]::before { border: 0; width: 0; height: 0; border-left: 8px solid currentColor; border-block: 5px solid transparent; }
html.still .col, html.still .ph-run { animation-play-state: paused; }
.ph-strip + .drift { margin: -24px 0 24px; }
.brands-lead { text-align: center; margin-top: 30px; }
.brands-lead + .brands { margin-top: 10px; }
/* the reveal on phones: no pinning; the line sweeps by itself when the frame comes into view */
.rvl-track.auto { height: auto; }
.rvl-track.auto .rvl-sticky { position: static; height: auto; padding: 8px 0 0; }

/* ---------- v6.12: three sizes, straight to the checkout (ADR-0058, ADR-0060) ---------- */
.prices.sizes { margin-top: 0; }
.price .btn { margin-top: auto; }
.works { margin-top: 20px; font-size: 16px; font-weight: 500; }
.terms { display: grid; gap: 6px; margin-top: 12px; font-size: 15px; color: var(--ink-2); max-width: 80ch; }
.terms li { display: flex; gap: 10px; }
.terms li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); margin-top: 9px; }
.trust { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 80ch; }
@media (max-width: 560px) { .price { padding: 22px 20px; } }
