/* home.css — the homepage on plain paper (2026-11-16).
 *
 * Tony: "we're not really doing the books... no one uses the journal right now.
 * Still make it similar colour and font; we can make it paper theme. I like
 * paper, clear and concise, and writing. But putting it in a journal and having
 * index, people, projects, loops doesn't really make sense."
 *
 * So: the kit's paper, ink, claret and faces stay (journal.css), and the book
 * goes. No cover, no dated leaf, no tabs, no ribbon, no desk behind the page.
 * The page is one sheet of paper with hairlines, and the only raised thing on
 * it is the viewer window, because it is the one thing a visitor can use.
 *
 * Loads after journal.css and simple.css and only applies under body.paper, so
 * the pages that still share simple.css (/downloaded/, /copy/, /app-link/, the
 * Rewind app page) are untouched. The buttons, the forms and their states are
 * simple.css's; this sheet lays the page out and recolours what sat on the desk.
 */

html:has(body.paper) { background: var(--paper); }
body.paper { background: var(--paper); color: var(--ink); --w: 1240px; }
body.paper :focus-visible { outline-color: var(--ink); }

/* ───────────── the first screen: dark, centred, the viewer in it ─────────────
   Tony picked this one of three (2026-11-16) and asked for the first view to
   be worked on: the words, the button and the whole viewer, timeline
   included, are in the first screen of a desktop window. The stage is as tall
   as the window and the viewer takes whatever the words leave. */
body.paper .stage { min-height: 0; padding: 0 var(--pad) 18px; background: var(--desk); color: var(--desk-text); }
body.paper .top { width: min(var(--w), 100%); margin: 0 auto clamp(12px, 2.4vh, 26px); padding: clamp(10px, 1.8vh, 18px) 0; border-bottom: 1px solid rgba(243,236,221,.14); }
body.paper .brand, body.paper .brand:hover, body.paper .top-cli, body.paper .top-link { color: var(--desk-text); }
body.paper .top-link { border-color: rgba(243,236,221,.5); }
body.paper .top-link:hover { border-color: var(--desk-text); background: rgba(243,236,221,.06); }
body.paper .top-cli:hover { color: #8fe0d8; }
body.paper .top-dl, body.paper .stage .cta .btn { background: var(--desk-button); border-color: var(--desk-button); color: var(--ink); }
body.paper .top-dl:hover, body.paper .stage .cta .btn:hover { background: var(--desk-text); border-color: var(--desk-text); color: var(--ink); }
body.paper .stage :focus-visible { outline-color: var(--desk-text); }

body.paper .hero { width: min(var(--w), 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "cta" "viewer"; row-gap: clamp(12px, 2vh, 20px); justify-items: center; text-align: center; }
body.paper .lead { grid-area: lead; margin: 0; padding: 0; }
body.paper .hero > .cta { grid-area: cta; justify-content: center; }
body.paper .viewer { grid-area: viewer; width: 100%; text-align: left; }
body.paper h1 { color: var(--desk-text); font-size: clamp(30px, 3.5vw, 52px); line-height: 1.05; letter-spacing: -.014em; margin: 0 0 clamp(6px, 1vh, 10px); text-wrap: balance; }
body.paper .h1-l { display: inline; }
body.paper .lede { font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.45; max-width: none; color: var(--desk-muted); margin: 0 auto; text-wrap: balance; }
body.paper .stage .cta .btn { font-size: 16px; padding: 14px 26px; }
/* The button with its requirements under it (they qualify it), and what the
   download holds beside it, so the row is two lines tall and the viewer keeps
   the height. [hidden] still hides the box: maclink.js hides the Mac one on a phone. */
body.paper .stage .cta-main:not([hidden]) { display: grid; grid-template-columns: auto auto; column-gap: 22px; row-gap: 5px; align-items: center; justify-content: center; text-align: left; }
body.paper .stage .cta-main > .btn { grid-column: 1; grid-row: 1; }
body.paper .stage .cta-main > .fine { grid-column: 1; grid-row: 2; justify-self: center; margin: 0; }
body.paper .stage .cta-main > .cta-gets { grid-column: 2; grid-row: 1; margin: 0; }
body.paper .stage .cta-main > .cta-later, body.paper .stage .cta-main > .hero-win-alt { grid-column: 2; grid-row: 2; margin: 0; }
body.paper .stage .fine, body.paper .stage .cta-gets { color: var(--desk-muted); }
body.paper .stage .cta-gets { font-size: 13px; line-height: 1.35; max-width: 46em; }
body.paper .stage .cta-gets .cta-price { color: var(--desk-text); }
body.paper .stage .cta-later, body.paper .stage .hero-ml-link, body.paper .stage .hero-wl-mac { color: var(--desk-text); font-size: 13px; }
body.paper .stage .hero-wl-label, body.paper .stage .hero-wl-notice, body.paper .stage .hero-wl-notice a { color: var(--desk-muted); }
body.paper .hero-trust { display: none; }

/* A desktop window (Tony, 2026-11-16: everything stacked in one view "seems a
   little mushed... some of this on the left side, the viewer on the right"):
   the words and the button on the left, the viewer on the right, the pair
   centred in a stage as tall as the window. */
@media (min-width: 1021px) {
  html:not(.is-mobile) body.paper .stage { min-height: 100svh; display: flex; flex-direction: column; padding-bottom: clamp(18px, 4vh, 40px); }
  html:not(.is-mobile) body.paper .hero { flex: 1 1 auto; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". viewer" "lead viewer" "cta viewer" ". viewer"; column-gap: clamp(32px, 4vw, 64px); row-gap: clamp(20px, 3.4vh, 32px); justify-items: start; text-align: left; }
  html:not(.is-mobile) body.paper h1 { font-size: clamp(40px, 4.3vw, 66px); margin-bottom: clamp(14px, 2.2vh, 22px); }
  html:not(.is-mobile) body.paper .lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 25em; margin: 0; text-wrap: pretty; }
  html:not(.is-mobile) body.paper .hero > .cta { justify-content: flex-start; }
  html:not(.is-mobile) body.paper .stage .cta-main:not([hidden]) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
  html:not(.is-mobile) body.paper .stage .cta-main > .btn { padding: 16px 30px; font-size: 17px; }
  html:not(.is-mobile) body.paper .stage .cta-gets { max-width: 30em; margin-top: 4px; }
  html:not(.is-mobile) body.paper .viewer { align-self: center; }
  html:not(.is-mobile) .vw-window { display: flex; flex-direction: column; aspect-ratio: 16 / 11.4; max-height: calc(100svh - 150px); min-height: 400px; width: 100%; }
  html:not(.is-mobile) .vw-frame { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
  html:not(.is-mobile) .vw-fine { text-align: left; }
  /* As in the app, the transport and the timeline lie over the foot of the frame. */
  html:not(.is-mobile) .rv-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding-top: 0; background: linear-gradient(180deg, rgba(8,8,9,0) 0, rgba(8,8,9,0) 62px, rgba(8,8,9,.88) 92px, rgba(8,8,9,.97)); }
  html:not(.is-mobile) .rv-controls { margin-top: 0; }
}

/* ───────────── the viewer: the app's own, dark, with its hour timeline ─────────────
   Drawn after ReMynd's viewer (RewindMode): a search and tools in pills on a
   black band, the recorded screen edge to edge, the transport floating over
   it, an hour-by-hour timeline with a bar for each captured moment, and a
   ruler with the playhead and its time. */
.viewer { min-width: 0; font-family: var(--sans); --rv-accent: #7fd9d0; container-type: inline-size; }
@container (max-width: 900px) {
  .viewer .rv-tools, .viewer .rv-vol, .viewer .vw-chips-k { display: none; }
  .rv-search { flex: 0 1 250px; }
  .vw-menubar span:nth-of-type(n+4):not(.vw-clock) { display: none; }
  .rv-hour span { display: none; }
  .rv-hour.rv-hour-3 span, .rv-hour.is-now span { display: block; }
  .rv-hour.is-now span { z-index: 2; background: #1d2a29; border-radius: 3px; left: -6px; right: -6px; padding: 1px 0; bottom: 4px; }
}
@container (max-width: 520px) {
  .rv-hour.rv-hour-3 span { display: none; }
  .rv-hour.rv-hour-6 span, .rv-hour.is-now span { display: block; }
}
.vw-window { position: relative; background: #000; color: #e9e7e1; border-radius: clamp(10px, 1.2vw, 16px); overflow: hidden; box-shadow: 0 0 0 1px rgba(243,236,221,.16), 0 40px 90px -30px rgba(0,0,0,.8); }
.rv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #000; }
.rv-pill { display: inline-flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-radius: 19px; background: rgba(255,255,255,.12); color: #f1efe9; }
.rv-search { flex: 0 1 360px; min-width: 0; }
.rv-search:focus-within { background: rgba(255,255,255,.18); box-shadow: 0 0 0 1.5px var(--rv-accent); }
.rv-search svg { flex: 0 0 auto; }
.vw-q { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 400 15px/1.2 var(--sans); color: #fff; -webkit-appearance: none; appearance: none; }
.vw-q::placeholder { color: rgba(241,239,233,.62); opacity: 1; }
.vw-q::-webkit-search-cancel-button { -webkit-appearance: none; }
.vw-count { flex: 0 0 auto; font: 500 12px/1 var(--sans); color: var(--rv-accent); white-space: nowrap; }
.viewer.is-empty .vw-count { color: rgba(241,239,233,.62); }
.rv-tools { flex: 0 0 auto; gap: 16px; }
.vw-chips { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.vw-chips::-webkit-scrollbar { display: none; }
.vw-chips-tap { display: none; }
.vw-chips-k { flex: 0 0 auto; font: 500 12px/1 var(--sans); color: rgba(241,239,233,.6); margin-right: 2px; }
.vw-chips button { flex: 0 0 auto; font: 400 13px/1 var(--sans); color: #f1efe9; background: transparent; border: 1px solid rgba(241,239,233,.28); border-radius: 999px; padding: 7px 12px; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.vw-chips button:hover { border-color: var(--rv-accent); color: var(--rv-accent); }

.vw-frame { position: relative; aspect-ratio: 1440 / 900; background: #000; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.vw-screen { position: absolute; inset: 0; background: #fff; }
.vw-menubar, .vw-browser { position: relative; z-index: 1; }
.vw-menubar { display: flex; align-items: center; gap: 15px; height: 22px; padding: 0 12px; background: #d9dadf; color: #1c1c1e; font: 500 11.5px/1 var(--sans); white-space: nowrap; overflow: hidden; }
.vw-menubar b { font-weight: 700; }
.vw-clock { margin-left: auto; font-variant-numeric: tabular-nums; }
.vw-browser { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #f1f1f3; border-bottom: 1px solid #d2d2d6; }
.vw-browser i { width: 10px; height: 10px; border-radius: 50%; background: #fe5f57; }
.vw-browser i:nth-child(2) { background: #febc2e; }
.vw-browser i:nth-child(3) { background: #28c840; }
.vw-url { margin: 0 auto; transform: translateX(-24px); display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: min(46%, 420px); height: 22px; border-radius: 6px; background: #e2e2e6; color: #3a3a3c; font: 400 11.5px/1 var(--sans); white-space: nowrap; overflow: hidden; }
.vw-page { position: relative; transition: transform .45s cubic-bezier(.3,.7,.2,1); }
.vw-page img { display: block; width: 100%; height: auto; pointer-events: none; }
.vw-hl { position: absolute; inset: 0; pointer-events: none; }
.vw-hl span { position: absolute; background: rgba(255,214,10,.38); box-shadow: 0 0 0 2px #f5b800; border-radius: 3px; mix-blend-mode: multiply; animation: vw-hit .35s ease both; }
@keyframes vw-hit { from { opacity: 0; transform: scale(1.6); } to { opacity: 1; transform: none; } }

.rv-bottom { position: relative; z-index: 2; padding: 30px 14px 30px; background: #08080a; }
.rv-controls { position: relative; width: max-content; margin: -18px auto 0; display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 12px; background: rgba(34,34,37,.94); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 10px 24px rgba(0,0,0,.5); z-index: 1; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rv-vol { display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; color: rgba(241,239,233,.75); }
.rv-vol i { position: relative; width: 56px; height: 4px; border-radius: 2px; background: #f1efe9; }
.rv-vol i::after { content: ""; position: absolute; right: -2px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.rv-controls button { width: 38px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 8px; color: #f1efe9; cursor: pointer; }
.rv-controls button:hover { background: rgba(255,255,255,.12); }
.rv-controls button:focus-visible, .vw-track:focus-visible { outline: 2px solid var(--rv-accent); outline-offset: 2px; }
#vwPlay[aria-pressed="true"] .rv-ic-play, #vwPlay[aria-pressed="false"] .rv-ic-pause { display: none; }
.rv-date { display: flex; align-items: center; justify-content: center; gap: 12px; width: max-content; margin: 0 auto 7px; padding: 6px 12px 7px; border-radius: 0 0 10px 10px; background: rgba(34,34,37,.94); font: 500 12.5px/1 var(--sans); color: #f1efe9; }
.rv-date svg { opacity: .6; }
.rv-hours { position: relative; display: flex; height: 58px; border-radius: 8px; background: radial-gradient(60% 120% at 55% 118%, rgba(255,255,255,.16), rgba(255,255,255,0) 70%), rgba(96,96,102,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rv-hour { position: relative; flex: 1 1 0; min-width: 0; border-left: 1px solid rgba(255,255,255,.26); }
.rv-hour:first-child { border-left: 0; }
.rv-hour::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 21px; border-bottom: 2px dotted rgba(255,255,255,.36); }
.rv-hour span { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font: 500 10.5px/1 var(--sans); color: rgba(241,239,233,.78); white-space: nowrap; }
.rv-hour i { position: absolute; bottom: 21px; width: 3px; margin-left: -1.5px; max-height: 32px; background: rgba(241,239,233,.7); border-radius: 1.5px; transition: background-color .15s ease; }
.rv-hour i.is-on { background: var(--rv-accent); }
.rv-hour i.is-hit { background: #f5c518; }
.viewer.is-searching .rv-hour i:not(.is-hit) { background: rgba(241,239,233,.25); }
.rv-hour.is-now { border-left-color: transparent; box-shadow: inset 0 0 0 2px var(--rv-accent); border-radius: 3px; background: rgba(127,217,208,.14); z-index: 1; }
.rv-hour.is-now span { color: #fff; font-weight: 700; }
.rv-hour.is-now + .rv-hour { border-left-color: transparent; }
/* The ruler is the same 24 hours as the cells above it, and it is a handle:
   press anywhere on it, or on the playhead and its time, and drag. */
.rv-ruler { position: relative; height: 16px; margin-top: 7px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.34) 0 1px, transparent 1px 7px); background-size: auto 6px; background-repeat: repeat-x; background-position: 0 100%; }
.rv-play { position: absolute; top: -3px; left: 69.5%; width: 0; height: 20px; transition: left .3s cubic-bezier(.3,.7,.2,1); }
.rv-ruler::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; bottom: -30px; }
.viewer.is-dragging .rv-ruler { cursor: grabbing; }
.viewer.is-dragging .rv-play { transition: none; }
.rv-ruler:hover .rv-play::before, .viewer.is-dragging .rv-play::before { transform: scale(1.25); }
.rv-play::before { content: ""; position: absolute; transition: transform .12s ease; left: -7px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #0c0c0d; box-shadow: inset 0 0 0 3.5px var(--rv-accent); }
.rv-play::after { content: ""; position: absolute; left: -1px; top: 13px; width: 2px; height: 8px; background: var(--rv-accent); }
.rv-play span { position: absolute; top: 23px; left: 0; transform: translateX(-50%); font: 600 11px/1 var(--sans); color: #1b1b1c; background: #d9d9d9; border-radius: 9px; padding: 4px 9px; white-space: nowrap; }
.vw-fine { margin: 8px 0 0; text-align: center; font: 400 12px/1.4 var(--sans); color: var(--desk-muted); }
.vw-meta-title { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rv-play, .rv-hour i, .vw-chips button, .vw-page { transition: none; }
  .vw-hl span { animation: none; }
}

/* ───────────── the Rewind line ───────────── */
body.paper .rewind-band { padding: 0 var(--pad); }
body.paper .rewind-band p { width: min(var(--w), 100%); max-width: none; margin: 0 auto; padding: 16px 0; border-top: 1px solid var(--rule); color: var(--muted-ink); text-align: left; }
body.paper .rewind-band strong { color: var(--ink); }
body.paper .rewind-band a { color: var(--ink); border-bottom-color: rgba(39,40,35,.4); }
body.paper .rewind-band a:hover { color: var(--claret); }

/* ───────────── shared section furniture ───────────── */
.sec-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .7px; text-transform: uppercase; color: var(--claret); margin: 0 0 14px; }

/* ───────────── with your agents: the words and the clip ───────────── */
body.paper .agents { padding: clamp(44px, 9vh, 96px) var(--pad); background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
body.paper .agents .chapter-cli {
  width: min(var(--w), 100%); max-width: none; margin: 0 auto; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); column-gap: clamp(32px, 4.6vw, 72px); align-items: center;
}
body.paper .chapter-cli-title { font-size: clamp(27px, 2.7vw, 40px); line-height: 1.12; letter-spacing: -.008em; max-width: none; margin: 0 0 16px; color: var(--ink); }
body.paper .chapter-cli-lead { font-family: var(--serif); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--ink); max-width: 32em; margin: 0 0 20px; }
body.paper .chapter-cli-chips { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
body.paper .chapter-cli-chips li { display: inline-flex; align-items: center; gap: 8px; font: 400 13.5px/1 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 7px 13px 7px 8px; }
body.paper .chapter-cli-chips li:not(:has(.mark)) { padding-left: 13px; }
body.paper .chapter-cli-chips .mark { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; }
body.paper .chapter-cli-chips .mark img { width: 16px; height: 16px; }
body.paper .chapter-cli-actions { margin: 0 0 16px; }
body.paper .chapter-cli-note { font: 400 13px/1.5 var(--sans); color: var(--muted-ink); max-width: 36em; margin: 0; }
.ag-clip { margin: 0; min-width: 0; }
.ag-clip-win { border-radius: 10px; overflow: hidden; background: #2d2e2a; border: 1px solid rgba(39,40,35,.5); box-shadow: 0 22px 44px -26px rgba(39,40,35,.5); }
.ag-video { display: block; width: 100%; height: auto; aspect-ratio: 880 / 520; background: #2d2e2a; }
.ag-clip figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.45; color: var(--muted-ink); }

/* ───────────── small drawings, shared by the two sections below ─────────────
   Tony, 2026-11-16: "good information, but it's just too much text, it needs
   to be more visual." Each point now leads with a drawing of the thing; the
   long sentences are one click away, in the page, not removed. */
.art { height: 172px; margin: 0 0 16px; padding: 16px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper-deep); display: flex; flex-direction: column; justify-content: center; gap: 9px; font: 400 12.5px/1.2 var(--sans); color: var(--ink); overflow: hidden; }
.art ul { list-style: none; margin: 0; padding: 0; }
.art .sw { flex: 0 0 auto; display: inline-block; width: 26px; height: 15px; border-radius: 8px; background: rgba(39,40,35,.28); position: relative; }
.art .sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); }
.art-bar3 { display: flex; align-items: center; gap: 5px; padding: 7px 9px; border-bottom: 1px solid var(--rule); font-weight: 600; }
.art-bar3 i { width: 8px; height: 8px; border-radius: 50%; background: rgba(39,40,35,.22); }
.art-bar3 span { margin-left: 6px; }
.art-win { border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
.art-lib ul { display: grid; gap: 5px; padding: 8px 10px; }
.art-lib li { display: flex; align-items: center; gap: 7px; }
.art-lib li::before { content: ""; width: 13px; height: 10px; border-radius: 2px; background: var(--claret); opacity: .85; }
.art-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-ink); }
.art-ask { align-items: stretch; }
.art-keys { display: flex; align-items: center; gap: 7px; }
.art-keys kbd { font: 600 12px/1 var(--sans); padding: 7px 10px; border-radius: 6px; background: var(--paper); border: 1px solid rgba(39,40,35,.3); box-shadow: 0 2px 0 rgba(39,40,35,.18); }
.art-field { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 12px; border-radius: 18px; background: var(--ink); color: var(--paper); }
.art-field span { opacity: .7; }
.art-hit { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
.art-hit > i { width: 44px; height: 28px; border-radius: 3px; background: linear-gradient(135deg, #cfc6b1, #e9e0cc); }
.art-hit > span, .art-say > span { flex: 1 1 auto; display: grid; gap: 5px; }
.art-hit b, .art-say b { display: block; height: 5px; border-radius: 3px; background: rgba(39,40,35,.2); }
.art-hit b + b, .art-say b + b { width: 60%; }
.art-hit em { font-style: normal; font-weight: 600; color: var(--claret); white-space: nowrap; }
.art-wave { display: flex; align-items: center; gap: 4px; height: 34px; padding: 0 2px; }
.art-wave i { flex: 0 0 3px; height: var(--h); border-radius: 2px; background: var(--claret); opacity: .8; }
.art-say { display: flex; align-items: center; gap: 9px; }
.art-say > i { width: 16px; height: 16px; border-radius: 50%; background: rgba(39,40,35,.3); }
.art-say.you > i { background: var(--claret); }
.art-say.you > span { max-width: 55%; }
.art-apps { display: flex; flex-wrap: wrap; gap: 5px; }
.art-apps span { padding: 4px 8px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); font-size: 11.5px; }
.art-term .cur { display: inline-block; width: 7px; height: 14px; margin-left: 4px; vertical-align: -2px; background: #f3ecdd; animation: art-cur 1.1s steps(1) infinite; }
@keyframes art-cur { 50% { opacity: 0; } }
.art-local { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; background: var(--paper); }
.art-mac { flex: 1 1 auto; min-width: 0; border: 1.5px solid var(--ink); border-radius: 8px; padding: 9px 10px; background: var(--paper-deep); }
.art-mac > span { display: block; font-weight: 700; margin-bottom: 7px; }
.art-mac li { padding: 2px 0 2px 14px; position: relative; }
.art-mac li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 2px; background: var(--claret); }
.art-link { flex: 0 0 auto; display: grid; justify-items: center; gap: 5px; font-size: 11px; color: var(--muted-ink); padding: 0 2px; }
.art-cloud { flex: 0 0 auto; display: grid; justify-items: center; gap: 2px; padding: 8px; border: 1.5px dashed rgba(39,40,35,.35); border-radius: 8px; color: var(--muted-ink); font-size: 11px; text-align: center; max-width: 86px; }
.art-rules { gap: 0; padding: 6px 14px; background: var(--paper); justify-content: space-evenly; }
.art-rules > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--rule); }
.art-rules > div:first-child { border-top: 0; }
.art-rules em { flex: 0 0 auto; font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--paper-deep); color: var(--claret); display: inline-flex; align-items: center; gap: 4px; }
.art-backup { background: var(--paper); gap: 12px; }
.art-switch { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.art-switch em { font-style: normal; font-weight: 400; color: var(--muted-ink); }
.art-lock { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper-deep); line-height: 1.35; }
.art-lock svg { flex: 0 0 auto; color: var(--claret); }
.art-lock b { display: block; font-weight: 700; }

details.more { margin-top: 8px; }
details.more > summary, .yours-faq summary { cursor: pointer; list-style: none; }
details.more > summary::-webkit-details-marker, .yours-faq summary::-webkit-details-marker { display: none; }
details.more > summary { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--sans); color: var(--claret); }
details.more > summary::after, .yours-faq summary::after { content: "+"; font: 400 17px/1 var(--sans); }
details.more[open] > summary::after, .yours-faq details[open] summary::after { content: "–"; }
details.more > p { margin: 10px 0 0; font: 400 15px/1.55 var(--serif); color: var(--ink); }

/* ───────────── what you are installing: four equal cards, then the download ─────────────
   2026-11-16, after Tony called the first cut "janky": it was a 2x2 of loose
   blocks with a download box floating beside them, titles of different
   heights and text that started at different lines. Now one row of four
   cards that share their rows (subgrid), so every drawing, title, sentence
   and link starts on the same line, and the download sits centred under them. */
body.paper .after { min-height: 0; display: block; padding: clamp(48px, 9vh, 96px) var(--pad); }
.after-inner { width: min(var(--w), 100%); margin: 0 auto; display: block; }
body.paper .sheet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(14px, 1.6vw, 22px); row-gap: 0; }
body.paper .sheet .rh, body.paper .sheet .proof { grid-column: 1 / -1; }
body.paper .sheet .rh { display: block; margin: 0 0 12px; padding: 0; border: 0; }
body.paper .sheet-label { font-family: var(--serif); font-size: clamp(27px, 2.7vw, 40px); line-height: 1.12; letter-spacing: -.008em; text-transform: none; color: var(--ink); }
body.paper .proof { padding: 0; border: 0; margin: 0 0 clamp(24px, 4vh, 36px); }
body.paper .proof-facts { display: flex; flex-wrap: wrap; gap: 4px 0; font: 400 15px/1.5 var(--sans); color: var(--muted-ink); }
body.paper .proof-facts li { display: inline; }
body.paper .proof-facts li::before { display: none; }
body.paper .proof-facts li + li::before { display: inline; content: "·"; position: static; width: auto; height: auto; background: none; transform: none; margin: 0 10px; color: var(--claret); }
body.paper .spec > * { grid-column: 1; grid-row: auto; min-width: 0; }
body.paper .spec { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; padding: 14px 14px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
body.paper .spec:last-child { padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
body.paper .spec .art { margin: 0 0 16px; height: 168px; }
body.paper .spec-head { display: block; padding: 0 4px; }
body.paper .spec-n { display: block; padding: 0; margin: 0 0 6px; }
body.paper .spec-head h2 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.2; margin: 0 0 8px; text-wrap: balance; }
body.paper .spec > p, .spec-sum { font: 400 15px/1.5 var(--serif); color: var(--muted-ink); margin: 0; padding: 0 4px; max-width: none; }
body.paper .spec > details.more { margin: 12px 0 0; padding: 0 4px; align-self: end; }
body.paper .spec kbd { font-size: 12px; }
.art-win.art-dark { background: #1f201c; border-color: #1f201c; color: #f3ecdd; overflow: hidden; }
.art-dark .art-bar3 { border-bottom-color: rgba(243,236,221,.12); }
.art-dark .art-bar3 i { background: rgba(243,236,221,.28); }
.art-term pre { margin: 0; padding: 10px 12px 12px; font: 400 11.5px/1.85 var(--mono); white-space: pre-wrap; }
.art-term pre b { font-weight: 400; color: #8fe0d8; }
.get { width: min(430px, 100%); margin: clamp(32px, 6vh, 56px) auto 0; padding: 0; text-align: center; }
body.paper .get .final { padding: 0 0 4px; border-bottom: 0; align-items: center; text-align: center; }
body.paper .get .final .btn { width: 100%; }
body.paper .get .waitlist { margin-top: 18px; text-align: left; }

/* ───────────── how your data stays yours: three drawings, then questions that open ───────────── */
body.paper .yours { background: var(--paper-deep); border-top: 1px solid var(--rule); color: var(--ink); padding: clamp(44px, 9vh, 96px) var(--pad); }
body.paper .yours-inner { width: min(var(--w), 100%); margin: 0 auto; }
body.paper .yours-kicker { font-family: var(--serif); font-size: clamp(27px, 2.7vw, 40px); line-height: 1.12; letter-spacing: -.008em; text-transform: none; color: var(--ink); margin: 0 0 clamp(20px, 4vh, 36px); }
body.paper .yours-points { gap: clamp(20px, 2.4vw, 32px); }
body.paper .yours-points h3 { font: 400 clamp(20px, 1.6vw, 23px)/1.2 var(--serif); color: var(--ink); margin: 0 0 6px; }
body.paper .yours-points p { font-size: 15px; line-height: 1.5; color: var(--muted-ink); }
body.paper .yours-faq-h { color: var(--muted-ink); margin: clamp(32px, 5vh, 48px) 0 6px; }
body.paper .yours-faq { display: block; columns: 2; column-gap: 44px; }
body.paper .yours-faq details { break-inside: avoid; border-bottom: 1px solid var(--rule); }
body.paper .yours-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; font: 400 clamp(17px, 1.4vw, 20px)/1.3 var(--serif); color: var(--ink); }
body.paper .yours-faq summary::after { color: var(--claret); }
body.paper .yours-faq summary:hover { color: var(--claret); }
body.paper .yours-faq details p { margin: 0 0 16px; font: 400 15px/1.6 var(--serif); color: var(--muted-ink); max-width: 38em; }
body.paper .yours-faq a { color: var(--ink); border-bottom-color: rgba(39,40,35,.4); }
body.paper .yours-faq a:hover { color: var(--claret); }

/* ───────────── the close: the one dark band ───────────── */
body.paper .closing { background: var(--desk); color: var(--desk-text); padding-top: clamp(40px, 8vh, 80px); }
body.paper .closing-cta, body.paper .closing .foot { max-width: var(--w); }
.closing-h { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 2.7vw, 40px); line-height: 1.12; letter-spacing: -.008em; color: var(--desk-text); margin: 0 0 22px; }
body.paper .closing :focus-visible { outline-color: var(--desk-text); }

/* ───────────── narrow: one column ───────────── */
@media (max-width: 1020px) {
  /* A narrow desktop window keeps the Download button under the words, above
     the viewer. A phone (html.is-mobile, set by maclink.js) has a form, not a
     button, and gets the viewer first: Tony, 2026-10-29, wanted the moving
     part of the hero in the first phone screen. */
  html.is-mobile body.paper .hero { grid-template-areas: "lead" "viewer" "cta"; }
  body.paper .agents .chapter-cli { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  body.paper .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  body.paper .spec { margin-bottom: 16px; }
  .rv-tools, .rv-vol { display: none; }
  body.paper .yours-points { grid-template-columns: minmax(0, 1fr); }
  body.paper .yours-faq { columns: 1; }
  .vw-frame { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .rv-top { flex-wrap: wrap; }
  .rv-search { flex: 1 1 100%; }
  body.paper .stage .cta-main:not([hidden]) { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  body.paper .stage .cta-main > * { grid-column: 1 !important; grid-row: auto !important; }
  .vw-menubar span:not(.vw-clock) { display: none; }
}
@media (max-width: 640px) {
  body.paper .top { margin-bottom: 10px; padding: 12px 0; }
  body.paper .hero { row-gap: 12px; }
  body.paper .sheet { grid-template-columns: minmax(0, 1fr); }
  body.paper .proof-facts { display: block; }
  .rv-top { padding: 8px; gap: 8px; }
  .rv-pill { height: 36px; }
  .vw-chips { order: 3; }
  .vw-chips button { padding: 6px 10px; font-size: 12.5px; }
  .vw-menubar { height: 18px; font-size: 10px; }
  .vw-browser { height: 26px; }
  .vw-browser i { width: 8px; height: 8px; }
  .rv-bottom { padding: 26px 8px 28px; }
  .rv-hours { height: 48px; }
  .rv-hour i { max-height: 22px; }
  .vw-fine { display: none; }
}

/* ───────────── a phone ─────────────
   Tony, 2026-11-16: "the hero has to be a lot smoother on mobile", and the
   action there is the email: "email me the link when I get to my computer".
   So: short words, a compact viewer whose searches are taps (nobody types into
   a demo on a phone), and one full-width field and button. */
@media (max-width: 760px) {
  html.is-mobile body.paper .stage { padding-bottom: 26px; }
  body.paper .top { margin-bottom: 10px; padding: 9px 0; }
  body.paper .hero { row-gap: 14px; }
  body.paper h1 { font-size: clamp(29px, 8.4vw, 38px); margin-bottom: 8px; }
  body.paper .lede { font-size: 15.5px; line-height: 1.45; }
  .rv-search { display: none; }
  .viewer.is-searching .rv-search { display: inline-flex; flex: 0 0 auto; height: 30px; padding: 0 10px; order: 4; background: none; }
  .viewer.is-searching .rv-search svg, html.is-mobile .viewer.is-searching .vw-q { display: none; }
  .rv-top { flex-wrap: nowrap; padding: 8px 10px; }
  .vw-chips { order: 0; }
  .viewer .vw-chips-k { display: none; }
  .viewer .vw-chips-tap { display: inline; }
  .vw-frame { aspect-ratio: 16 / 8.2; }
  .rv-bottom { padding: 22px 10px 28px; }
  .rv-controls { margin-top: -40px; padding: 2px 6px; }
  .rv-controls button { width: 44px; height: 34px; }
  .rv-date { display: none; }
  .rv-hours { height: 46px; margin-top: 8px; }
  .rv-ruler { height: 18px; }
  html.is-mobile body.paper .stage .hero-wl { max-width: none; text-align: left; }
  html.is-mobile body.paper .stage .hero-wl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html.is-mobile body.paper .stage .hero-wl-row { flex-direction: column; align-items: stretch; gap: 8px; }
  html.is-mobile body.paper .stage .hero-wl-input { width: 100%; height: 50px; padding: 0 14px; font-size: 16px; color: var(--desk-text); background: rgba(243,236,221,.07); border: 1px solid rgba(243,236,221,.32); border-radius: 8px; }
  html.is-mobile body.paper .stage .hero-wl-input::placeholder { color: var(--desk-muted); }
  html.is-mobile body.paper .stage .hero-wl-input:focus { border: 1px solid var(--desk-text); padding-bottom: 0; }
  html.is-mobile body.paper .stage .hero-wl-row .btn { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 15.5px; line-height: 1.25; white-space: normal; }
  html.is-mobile body.paper .stage .hero-wl-notice { text-align: center; }
  html.is-mobile body.paper .stage .hero-wl-error { color: #f0b8a8; }
  /* A narrow window on a computer (not a phone: that has the form above). The
     button and its requirements, then the viewer, then the smaller print, so
     the first screen is the words, one button and the thing to try. */
  html:not(.is-mobile):not(.is-windows) body.paper .hero { display: flex; flex-direction: column; align-items: center; }
  html:not(.is-mobile):not(.is-windows) body.paper .lead { order: 1; }
  html:not(.is-mobile):not(.is-windows) body.paper .hero > .cta, html:not(.is-mobile):not(.is-windows) body.paper .stage #heroMac:not([hidden]) { display: contents; }
  html:not(.is-mobile):not(.is-windows) body.paper .hero > .cta > * { order: 7; }
  html:not(.is-mobile):not(.is-windows) body.paper .stage #heroMac > .btn { order: 2; width: 100%; }
  html:not(.is-mobile):not(.is-windows) body.paper .stage #heroMac > .fine { order: 3; margin-top: -6px; }
  html:not(.is-mobile):not(.is-windows) body.paper .viewer { order: 4; }
  html:not(.is-mobile):not(.is-windows) body.paper .stage #heroMac > .cta-gets { order: 5; text-align: center; font-size: 12.5px; }
  html:not(.is-mobile):not(.is-windows) body.paper .stage #heroMac > .cta-later { order: 6; }
}

/* A phone cannot install either build (Tony, 2026-11-16: "those should not be
   appearing when you're on a phone"). Under the cards a phone gets the email
   form (#mlBottom) and nothing else: not the Mac button, not the Windows
   installers. #download stays in the page, empty, so /#download still lands here. */
html.is-mobile body.paper #download > *, html.is-mobile body.paper #windows { display: none !important; }
html.is-mobile body.paper .get { margin-top: 28px; }
