/* Pasture page. These tokens are the default Pasture and Pasture Dark
   palettes, so the first paint matches the page after the script runs.
   A palette pick still recolors every surface. The studio bar and footer
   keep ABEANT orange and the site ground. */
.pasture-site {
  --bg: #f3f0e7;
  --bg-raised: #ebe8df;
  --bg-recessed: #e4e2d9;
  --ink: #33302a;
  --ink-2: #76736c;
  --ink-3: #939089;
  --line: #d0cdc5;
  --line-strong: #33302a;
  --signal: #a8443c;
  --signal-ink: #f3f0e7;
  --review-red: #a8443c;
  --paper: #f3f0e7;
  --paper-ink: #33302a;
  --paper-muted: #807d76;
  --paper-line: #c9c6bd;
  --paper-stage: #cccac2;
  --paper-red: #a8443c;
  --paper-highlight: #ead9a8;
  --paper-highlight-band: #efe7ce;
  --paper-highlight-ink: #69624c;
  --accent: #ead9a8;
  --chrome-bright: #292622;
  --reading-font: ui-serif, 'New York', Georgia, 'Iowan Old Style', serif;
  --reading-scale: 1;
  --ps-dur-card: 260ms;
  --ps-dur-section: 320ms;
  --ps-dur-sweep: 240ms;
  --ps-stagger-line: 120ms;
  --ps-dur-stamp: 200ms;
  --ps-delay-stamp: 180ms;
  --ps-redact-bar: color-mix(in srgb, var(--paper-ink) 92%, var(--paper));
  --ps-redact-ghost: color-mix(in srgb, var(--paper-ink) 9%, var(--paper));
  --ps-window-radius: 14px;
  --ps-section-pad: clamp(64px, 8vw, 112px);
  background: var(--bg);
  color: var(--ink);
}
.pasture-site.is-palette { transition: none; }
:root[data-theme="dark"] .pasture-site {
  --bg: #26241f;
  --bg-raised: #2e2c26;
  --bg-recessed: #1e1d19;
  --ink: #e8e3d5;
  --ink-2: #a4a095;
  --ink-3: #87847a;
  --line: #494640;
  --line-strong: #e8e3d5;
  --signal: #d9c79a;
  --signal-ink: #26241f;
  --review-red: #c2685e;
  --paper: #26241f;
  --paper-ink: #e8e3d5;
  --paper-muted: #9a978c;
  --paper-line: #514e47;
  --paper-stage: #161512;
  --paper-red: #c2685e;
  --paper-highlight: #d9c79a;
  --paper-highlight-band: #6a624e;
  --paper-highlight-ink: #e1d6ba;
  --accent: #d9c79a;
  --chrome-bright: #ede9dd;
}
:root[data-theme="dark"] .pasture-site .studio-strip,
:root[data-theme="dark"] .pasture-site .site-footer {
  --bg: #0c0c0c;
  --bg-raised: #141414;
  --ink: #f0ebe6;
  --ink-2: #b9b3ac;
  --ink-3: #8a847c;
  --line: rgba(240, 235, 230, 0.14);
  --signal: #ff5400;
  --signal-ink: #1c1a19;
}
:root[data-theme="light"] .pasture-site .studio-strip,
:root[data-theme="light"] .pasture-site .site-footer {
  --bg: #edebe9;
  --bg-raised: #fcfbfa;
  --ink: #1c1a19;
  --ink-2: #666460;
  --ink-3: #6f6a64;
  --line: #d6d3d0;
  --signal: #ff5400;
  --signal-ink: #ffffff;
}

.ps {
  color-scheme: light;
  max-width: 1392px;
  margin: 0 auto;
  padding: calc(var(--chrome-top) + var(--product-nav-height)) clamp(22px, 5vw, 80px) 0;
  color: var(--ink);
  font-family: var(--font-display);
}
[data-theme="dark"] .ps { color-scheme: dark; }
.ps [hidden] { display: none !important; }
.ps h1, .ps h2, .ps h3, .ps p, .ps figure { margin: 0; }
.ps h1, .ps h2, .ps h3 { font-weight: 300; }
.ps h1 { font-size: clamp(58px, 6.9vw, 96px); line-height: .97; letter-spacing: -.055em; }
.ps h2 { font-size: clamp(37px, 4.4vw, 61px); line-height: 1.06; letter-spacing: -.04em; }
.ps h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.ps p { font-size: 18px; line-height: 1.6; }
.ps .ps-lead { font-size: clamp(20px, 2vw, 25px); line-height: 1.45; }
.ps .ps-label, .ps-label { font: 10px/1.6 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.ps .ps-small, .ps-small { font: 11px/1.7 var(--font-mono); color: var(--ink-2); }
.ps a { color: inherit; }
.ps button { font: inherit; cursor: pointer; }
.ps a:focus-visible, .ps button:focus-visible, .ps summary:focus-visible, .ps [tabindex]:focus-visible { outline: 2px solid var(--review-red, var(--ink)); outline-offset: 5px; }
.ps kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; padding: 2px 5px; border: 1px solid currentColor; border-radius: 3px; font: 10px/1.5 var(--font-mono); box-shadow: 0 1px 0 currentColor; }
.ps code { font-size: .78em; font-family: var(--font-mono); }
.ps section, .ps #try { scroll-margin-top: calc(var(--chrome-top) + var(--product-nav-height) + 28px); }
.ps #try { scroll-margin-top: calc(var(--chrome-top) + var(--product-nav-height) + 10px); }

.ps-demo-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.ps-demo-colors > .ps-label { color: var(--ink-2); }
.ps-palette-name { color: var(--ink-2); font: 9px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ps-palette-dark-name { display: none; }
:root[data-theme="dark"] .ps-palette-dark-name { display: inline; }
.ps-chip-row { display: flex; gap: 4px; }
.ps .ps-chip { flex: none; display: grid; place-items: center; width: 64px; height: 44px; padding: 4px; border: 1px solid transparent; border-radius: 5px; background: none; transition: border-color .16s; }
.ps-chip-swatch { display: block; width: 52px; height: 26px; border-radius: 3px; border: 1px solid var(--line); }
.ps .ps-chip:hover { border-color: var(--line); }
.ps .ps-chip[aria-pressed="true"] { border-color: var(--ink); }
.ps .ps-chip:focus-visible { outline-offset: 1px; }
.ps .ps-bar-link { padding-block: 4px; color: var(--ink-2); font: 10px/1.5 var(--font-mono); text-decoration: none; white-space: nowrap; }
.ps .ps-bar-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.ps-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.ps .ps-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; background: var(--ink); color: var(--bg); padding: 18px 22px; font: 12px/1.5 var(--font-mono); border: 1px solid var(--ink); text-decoration: none; min-height: 52px; transition: background .16s, color .16s; }
.ps .ps-button:hover { background: var(--bg); color: var(--ink); }
.ps .ps-text-link { display: inline-flex; gap: 14px; align-items: center; padding-block: 10px; font: 12px/1.7 var(--font-mono); text-decoration: none; text-underline-offset: 5px; }
.ps .ps-text-link:hover { text-decoration: underline; }
.ps-hero-emphasis { color: var(--ink-2); }
.ps-section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 64px; margin-bottom: 52px; }
.ps-section-heading h2 { margin-top: 20px; }
.ps-section-heading > .ps-lead { color: var(--ink-2); max-width: 390px; }
.ps-section-heading > .ps-lead code { font: .8em/1.5 var(--font-mono); }
.ps figcaption { color: var(--ink-2); font: 10px/1.7 var(--font-mono); margin-top: 16px; }
.ps-sheet-label { display: flex; justify-content: space-between; gap: 10px; font: 9px/1.6 var(--font-mono); letter-spacing: .07em; }
.ps-segment { display: inline-flex; align-items: stretch; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; }
.ps-segment button { background: transparent; border: 0; border-radius: 0; border-right: 1px solid var(--line-strong); padding: 9px 13px; color: var(--ink-2); font: 11px/1.5 var(--font-mono); min-height: 36px; }
.ps-segment button:last-child { border-right: 0; }
.ps-segment button:hover { color: var(--ink); background: var(--bg-recessed); }
.ps-segment button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.ps .ps-segment button:focus-visible { outline-offset: -4px; outline-color: currentColor; }
.ps-toggle { display: flex; align-items: center; gap: 9px; font: 10px/1.7 var(--font-mono); cursor: pointer; min-height: 30px; }
.ps-toggle input { accent-color: var(--ink); width: 14px; height: 14px; margin: 0; cursor: pointer; }

/* The app's layered reading surface, with UI kept outside the window. */
.ps-demo-wrap { min-width: 0; align-self: start; }
.ps-tour-toggle { color: var(--ink); background: none; border: 0; padding: 9px 0 9px 14px; font: 10px/1.5 var(--font-mono) !important; min-height: 36px; white-space: nowrap; }
.ps-reader { border: 1px solid var(--paper-line); border-radius: 10px; background: var(--paper); color: var(--paper-ink); overflow: hidden; box-shadow: 0 22px 56px #00000016; transition: border-color .16s; }
.ps-reader.is-active { border-color: var(--paper-muted); }
.ps-motion-reader { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; color: var(--ink); }
.ps-app-window { scroll-margin-top: calc(var(--chrome-top) + var(--product-nav-height) + 18px); color-scheme: dark; overflow: hidden; border-radius: 15px; border: 1px solid var(--paper-line); background: var(--paper-stage); box-shadow: 0 1px 0 #ffffff0a inset, 0 28px 70px #0003; }
.ps-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 42px; padding-inline: 16px; border-bottom: 1px solid var(--paper-line); font: 10px/1.4 var(--font-mono); color: var(--paper-muted); }
.ps-window-dots { display: flex; gap: 5px; }
.ps-window-dots i { width: 6px; height: 6px; border: 1px solid var(--paper-muted); border-radius: 50%; }
.ps-motion-reader .ps-window-bar { position: relative; height: 43px; border: 0; color: var(--paper-muted); background: transparent; font: 400 10px/1.5 var(--font-mono); letter-spacing: .035em; text-transform: uppercase; justify-content: center; padding-inline: 70px; }
.ps-motion-reader .ps-window-bar > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-motion-reader .ps-window-dots { position: absolute; left: 14px; top: 13px; gap: 7px; }
.ps-motion-reader .ps-window-dots i { width: 10px; height: 10px; border: 0; background: #ff5f57; }
.ps-motion-reader .ps-window-dots i:nth-child(2) { background: #febc2e; }
.ps-motion-reader .ps-window-dots i:nth-child(3) { background: #28c840; }
.ps-window-trail { color: color-mix(in srgb, var(--paper-ink) 72%, var(--paper-muted)); }
.ps-reader-stage { padding: 19px 26px; outline-offset: -5px !important; }
.ps-motion-stage { --scene-card-width: 700px; --scene-card-height: 394px; --scene-font: 20px; position: relative; width: 100%; height: 420px; min-height: 0; padding: 0; overflow: hidden; outline-offset: -5px !important; background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--paper) 14%, var(--paper-stage)) 0%, color-mix(in srgb, var(--paper) 7%, var(--paper-stage)) 52%, var(--paper-stage) 100%); isolation: isolate; }
.ps-scene { position: absolute; inset: 0; transition: opacity .3s, filter .3s; }
.ps-scene-fallback { font-family: var(--reading-font); margin: 10% auto; max-width: 66%; padding: 8%; border-radius: 10px; background: var(--paper); color: var(--paper-ink); }
.ps .ps-scene-kicker { margin: 0 0 10px; color: color-mix(in srgb, var(--paper-ink) 62%, var(--paper-muted)); font: 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.ps-motion-card { position: absolute; left: 50%; top: 46%; width: var(--scene-card-width); height: var(--scene-card-height); background: linear-gradient(#ffffff03, transparent 30%), var(--paper); color: var(--paper-ink); border: 1px solid var(--paper-line); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 35px 13%; box-shadow: 0 1px 0 #ffffff05 inset, 0 2px 4px #0003; transform-origin: center; transition: transform .2s cubic-bezier(.34,.72,.26,1.03) var(--stack-delay, 0ms), opacity .2s cubic-bezier(.22,.61,.36,1); }
.ps-motion-reader:not([data-ready]) .ps-motion-card { transition: none; }
.ps-motion-reader[data-entered="true"] .ps-motion-card { animation: ps-reader-sheet-in 280ms cubic-bezier(.16,1,.3,1) var(--surface-delay, 40ms) backwards; }
.ps-motion-reader[data-entered="true"] .ps-motion-card.is-current { animation: ps-reader-paper-in 360ms cubic-bezier(.16,1,.3,1) backwards; }
.ps-motion-reader[data-entered="true"] .ps-motion-card.is-neighbor { animation: ps-reader-neighbor-in 300ms cubic-bezier(.16,1,.3,1) 55ms backwards; }
@keyframes ps-reader-paper-in { from { opacity: 0; scale: .84; } to { scale: 1; } }
@keyframes ps-reader-sheet-in { from { opacity: 0; scale: .93; } to { scale: 1; } }
@keyframes ps-reader-neighbor-in { from { opacity: 0; scale: .9; } to { scale: 1; } }
.ps-motion-card.is-current { box-shadow: 0 1px 0 #ffffff09 inset, 0 0 0 1px #ffffff08 inset, 0 24px 50px #0005, 0 8px 18px #0004; }
.ps-card-edge-label { position: absolute; top: max(0px, calc((var(--edge-lip, 32px) - 12px) / 2)); left: 20px; right: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 11px/12px var(--font-mono); letter-spacing: .11em; text-transform: uppercase; color: color-mix(in srgb, var(--paper-ink) 78%, var(--paper)); transition: opacity .16s, visibility .16s; }
.ps-motion-reader[data-previews="false"] .ps-card-edge-label { opacity: 0; visibility: hidden; }
.ps-motion-card:not(.has-preview) .ps-card-edge-label { visibility: hidden; }
.ps-motion-card.is-below .ps-card-edge-label { top: auto; bottom: max(0px, calc((var(--edge-lip, 32px) - 12px) / 2)); }
.ps-motion-card.is-buried .ps-card-edge-label, .ps-motion-card.is-pile-front .ps-card-edge-label { display: none; }
.ps-motion-card.is-neighbor.is-pile-front::before { content: attr(data-section); position: absolute; top: -20px; height: 16px; left: 20px; right: 20px; color: var(--paper-muted); font: 400 8px/1.5 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; }
.ps .ps-motion-text { font: 400 calc(var(--scene-font) * var(--reading-scale))/1.72 var(--reading-font); letter-spacing: 0; max-width: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; transition: opacity .24s; }
.ps-motion-card:not(.is-current) .ps-motion-text { opacity: 0; visibility: hidden; pointer-events: none; }
.ps .ps-motion-sentence { display: inline; border: 0; border-radius: 2px; margin: 0; padding: 0; font: inherit; line-height: inherit; color: inherit; text-align: left; background-color: transparent; background-image: linear-gradient(transparent 46%, var(--paper-red) 46% 58%, transparent 58%); background-size: 0 100%; background-repeat: no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: opacity .24s, background-size .24s cubic-bezier(.16,1,.3,1), color .24s; }
.ps .ps-motion-sentence:hover { background-color: color-mix(in srgb, var(--paper-ink) 5%, transparent); }
.ps .ps-motion-sentence.is-cut { background-size: 100% 100%; color: color-mix(in srgb, var(--paper-red) 55%, var(--paper-ink)); }
.ps .ps-motion-sentence.is-highlight { background-size: 100% 100%; background-image: linear-gradient(var(--paper-highlight-band), var(--paper-highlight-band)); color: var(--paper-highlight-ink); }
.ps .ps-motion-sentence code { font: .86em var(--font-mono); background: color-mix(in srgb, var(--paper-ink) 7%, transparent); border-radius: 4px; padding: .06em .3em; }
.ps-motion-reader.is-focused .ps-motion-card.is-current .ps-motion-sentence:not(.is-selected) { opacity: .32; }
.ps-motion-reader.is-focused .ps-motion-sentence.is-selected:not(.is-highlight) { box-shadow: 0 2px 0 var(--paper-highlight); }
.ps-card-jump { position: absolute; inset: 0; width: 100%; background: transparent; border: 0; border-radius: 10px; }
.ps-card-jump:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper-ink) 40%, transparent); }
.ps-depth-dots { position: absolute; z-index: 60; right: 18px; top: 46%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; }
.ps-depth-dots button { width: 17px; height: 17px; padding: 0; background: transparent; border: 0; display: grid; place-items: center; }
.ps-depth-dots button::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--paper-ink) 30%, transparent); transition: width .25s, height .25s, background .25s; }
.ps-depth-dots button[aria-current="true"]::after { width: 10px; height: 10px; background: var(--paper-ink); box-shadow: 0 0 15px color-mix(in srgb, var(--paper-ink) 55%, transparent); }
.ps-scene-progress { position: absolute; z-index: 60; bottom: 15px; left: 4%; right: 4%; color: var(--paper-muted); font: 400 9px/1.5 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; }
.ps-progress-meta { display: flex; justify-content: flex-end; gap: 17px; align-items: baseline; margin-bottom: 8px; }
.ps-progress-meta > span:first-child { color: var(--paper-ink); }
.ps-progress-meta > span:last-child { color: var(--paper-muted); }
.ps-progress-track { height: 2px; position: relative; background: color-mix(in srgb, var(--paper-ink) 15%, transparent); }
.ps-progress-track i { height: 100%; position: absolute; left: 0; background: color-mix(in srgb, var(--paper-ink) 55%, transparent); transition: width .2s cubic-bezier(.22,.61,.36,1); }
.ps-progress-track i::after { content: ''; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper-ink); box-shadow: 0 0 12px color-mix(in srgb, var(--paper-ink) 35%, transparent); }
.ps-progress-track > span { position: absolute; top: -1px; width: 4px; height: 4px; border-radius: 50%; background: color-mix(in srgb, var(--paper-ink) 40%, transparent); }
.ps-progress-ends { display: flex; justify-content: space-between; margin-top: 7px; font-size: 7px; color: var(--paper-muted); }
.ps .ps-demo-help { color: var(--ink-2); font: 10px/1.7 var(--font-mono); border: 0; border-top: 1px solid var(--line); padding: 12px 0 3px; }

/* 01 / Why a viewer. */
.ps-why { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ps-why-cards article { border-top: 1px solid var(--line); padding-top: 22px; }
.ps-why-cards h3 { font-size: 25px; margin-bottom: 12px; }
.ps-why-cards p { color: var(--ink-2); font-size: 16px; }
.ps-why-close { margin-top: 46px; font-size: clamp(24px, 2.6vw, 33px); line-height: 1.3; letter-spacing: -.02em; }

/* 02 / Move your way — trackpad and keyboard, not a second hero. */
.ps-reading-section { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-map { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: stretch; }
.ps-map-source { display: flex; flex-direction: column; border: 1px solid var(--paper-line); border-radius: 10px; background: var(--paper-stage); color: var(--paper-ink); padding: 20px 24px; }
.ps-map-source > .ps-sheet-label { color: var(--paper-muted); }
.ps-map-source pre { margin: 16px 0 0; font: 12px/2 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.ps-map-source code { display: block; font: inherit; }
.ps-map-source [data-map-line] { display: block; padding-inline: 8px; margin-inline: -8px; border-radius: 3px; color: var(--paper-muted); transition: background-color .18s, color .18s; }
.ps-map-source [data-map-line="sections"] { color: var(--paper-ink); }
.ps-map-callouts { display: flex; flex-direction: column; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: map; }
.ps-map-callouts li { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; background: var(--bg-raised); transition: border-color .18s, background-color .18s; }
.ps-map-callouts li:hover, .ps-map-callouts li:focus-visible { border-color: var(--line-strong); background: var(--bg-recessed); }
.ps-map-callouts b { display: block; font-weight: 400; font-size: 19px; letter-spacing: -.01em; margin-bottom: 6px; }
.ps-map-callouts span { display: block; color: var(--ink-2); font-size: 14px; }
.ps-map-callouts kbd { font-size: 9px; }
.ps-map:has([data-map="sections"]:is(:hover, :focus-visible)) [data-map-line="sections"],
.ps-map:has([data-map="cards"]:is(:hover, :focus-visible)) [data-map-line="cards"],
.ps-map:has([data-map="sentences"]:is(:hover, :focus-visible)) [data-map-line="sentences"] { background: color-mix(in srgb, var(--paper-highlight) 30%, transparent); color: var(--paper-ink); }
.ps .ps-map-extras { margin-top: 26px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ps-move { --move-hot: #f0c14b; display: grid; justify-items: center; gap: 36px; container-type: inline-size; container-name: move; min-width: 0; max-width: 100%; }
#skim .ps-section-heading > .ps-lead { justify-self: end; max-width: 24ch; margin: 0 0 8px; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; text-align: right; text-wrap: balance; }
.ps-move-screen { width: min(100%, 1080px); min-width: 0; max-width: 100%; }
.ps-move-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 0; width: min(100%, 860px); align-items: start; }
.ps-move-panel { position: relative; display: grid; justify-items: center; align-items: center; gap: 10px; margin: 0; min-width: 0; padding: 0 18px; }
.ps-move-panel + .ps-move-panel::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.ps .ps-move-panel h3 { margin: 8px 0 0; font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -.02em; }
.ps-move .ps-motion-stage:focus-visible, .ps-move-key:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ps-move-pad-wrap { display: grid; place-items: center; width: min(100%, 168px); min-height: 112px; }
.ps-move-pad-art { width: min(100%, 168px); height: auto; display: block; }
.ps-move-pad { fill: color-mix(in srgb, var(--ink) 7%, var(--bg)); stroke: color-mix(in srgb, var(--ink) 28%, transparent); stroke-width: 1.5; }
.ps-move-trail { fill: var(--move-hot); opacity: 0; transition: opacity .28s ease; }
.ps-move-trail circle { transform-box: fill-box; transform-origin: center; opacity: 0; }
.ps-move-contacts { transform-box: fill-box; transform-origin: center; transition: transform .62s cubic-bezier(.2,.75,.2,1); }
.ps-move-finger { fill: color-mix(in srgb, var(--ink) 78%, var(--bg)); }
.ps-move[data-beat="card-next"] .ps-move-contacts,
.ps-move[data-held="card-next"] .ps-move-contacts { transform: translateY(-18px); }
.ps-move[data-beat="card-prev"] .ps-move-contacts,
.ps-move[data-held="card-prev"] .ps-move-contacts { transform: translateY(16px); }
.ps-move[data-beat="section-next"] .ps-move-contacts,
.ps-move[data-held="section-next"] .ps-move-contacts { transform: translateX(-20px); }
.ps-move[data-beat="section-prev"] .ps-move-contacts,
.ps-move[data-held="section-prev"] .ps-move-contacts { transform: translateX(18px); }
.ps-move[data-beat="card-next"] .ps-move-trail-y,
.ps-move[data-held="card-next"] .ps-move-trail-y,
.ps-move[data-beat="card-prev"] .ps-move-trail-y-back,
.ps-move[data-held="card-prev"] .ps-move-trail-y-back,
.ps-move[data-beat="section-next"] .ps-move-trail-x,
.ps-move[data-held="section-next"] .ps-move-trail-x,
.ps-move[data-beat="section-prev"] .ps-move-trail-x-back,
.ps-move[data-held="section-prev"] .ps-move-trail-x-back { opacity: 1; }
.ps-move[data-beat="card-next"] .ps-move-trail-y circle,
.ps-move[data-held="card-next"] .ps-move-trail-y circle { animation: ps-trail-up .48s ease both; }
.ps-move[data-beat="card-prev"] .ps-move-trail-y-back circle,
.ps-move[data-held="card-prev"] .ps-move-trail-y-back circle { animation: ps-trail-down .48s ease both; }
.ps-move[data-beat="section-next"] .ps-move-trail-x circle,
.ps-move[data-held="section-next"] .ps-move-trail-x circle { animation: ps-trail-left .48s ease both; }
.ps-move[data-beat="section-prev"] .ps-move-trail-x-back circle,
.ps-move[data-held="section-prev"] .ps-move-trail-x-back circle { animation: ps-trail-right .48s ease both; }
.ps-move-trail circle:nth-child(1) { animation-delay: 0s; }
.ps-move-trail circle:nth-child(2) { animation-delay: .08s; }
.ps-move-trail circle:nth-child(3) { animation-delay: .16s; }
@keyframes ps-trail-up { from { opacity: 0; transform: translateY(7px) scale(.55); } to { opacity: 1; transform: none; } }
@keyframes ps-trail-down { from { opacity: 0; transform: translateY(-7px) scale(.55); } to { opacity: 1; transform: none; } }
@keyframes ps-trail-left { from { opacity: 0; transform: translateX(7px) scale(.55); } to { opacity: 1; transform: none; } }
@keyframes ps-trail-right { from { opacity: 0; transform: translateX(-7px) scale(.55); } to { opacity: 1; transform: none; } }
.ps-move-board { display: grid; justify-items: center; width: max-content; max-width: 100%; min-height: 112px; align-content: center; }
.ps-move-hjkl, .ps-move-arrows { display: grid; gap: 8px; }
.ps-move-hjkl { grid-template-columns: repeat(4, 52px); }
.ps-move-arrows { grid-template-columns: repeat(3, 52px); grid-template-rows: 48px 48px; }
.ps-move-key { display: grid; place-items: center; width: 52px; height: 48px; margin: 0; padding: 0; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--ink) 8%, var(--bg)); color: color-mix(in srgb, var(--ink) 82%, var(--bg)); font: 15px/1 var(--font-mono); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent); }
.ps-move-hjkl .ps-move-key { width: 52px; }
.ps-move-key[data-move-key="up"] { grid-column: 2; grid-row: 1; }
.ps-move-key[data-move-key="left"] { grid-column: 1; grid-row: 2; }
.ps-move-key[data-move-key="down"] { grid-column: 2; grid-row: 2; }
.ps-move-key[data-move-key="right"] { grid-column: 3; grid-row: 2; }
.ps-move[data-beat="card-next"] .ps-move-key[data-pair="card-next"],
.ps-move[data-held="card-next"] .ps-move-key[data-pair="card-next"],
.ps-move[data-beat="card-prev"] .ps-move-key[data-pair="card-prev"],
.ps-move[data-held="card-prev"] .ps-move-key[data-pair="card-prev"],
.ps-move[data-beat="section-next"] .ps-move-key[data-pair="section-next"],
.ps-move[data-held="section-next"] .ps-move-key[data-pair="section-next"],
.ps-move[data-beat="section-prev"] .ps-move-key[data-pair="section-prev"],
.ps-move[data-held="section-prev"] .ps-move-key[data-pair="section-prev"] { color: var(--move-hot); border-color: var(--move-hot); background: color-mix(in srgb, var(--move-hot) 8%, var(--bg)); box-shadow: 0 0 14px color-mix(in srgb, var(--move-hot) 42%, transparent); }
.ps-move .ps-motion-stage { --scene-card-width: 420px; --scene-card-height: 220px; --scene-font: 18px; --move-peek: 72px; --move-fade: 22px; width: min(100%, 760px); height: 390px; min-height: 320px; margin-inline: auto; background: none; border-radius: 0; }
.ps-move .ps-motion-stage::before,
.ps-move .ps-motion-stage::after { content: ""; position: absolute; z-index: 45; top: 0; bottom: 0; width: var(--move-fade); pointer-events: none; }
.ps-move .ps-motion-stage::before { left: 0; background: linear-gradient(90deg, var(--bg), rgb(from var(--bg) r g b / 0)); }
.ps-move .ps-motion-stage::after { right: 0; background: linear-gradient(90deg, rgb(from var(--bg) r g b / 0), var(--bg)); }
.ps-move-frame { position: absolute; left: 50%; top: 0; height: 100%; width: var(--scene-card-width); transition: transform .55s cubic-bezier(.22, .72, .2, 1); }
.ps-move-deck:not([data-ready]) .ps-move-frame { transition: none; }
.ps-move-frame .ps-motion-card { left: 0; }
.ps-move .ps-motion-card { top: 50%; align-items: center; justify-content: center; padding: 24px 9%; overflow: hidden; border-radius: 14px; text-align: center; transition: transform .55s cubic-bezier(.22, .72, .2, 1), opacity .45s ease, box-shadow .55s ease; }
.ps-move .ps-motion-card.is-current { box-shadow: 0 1px 0 #ffffff0a inset, 0 18px 40px #0006; }
.ps-move .ps-motion-card .ps-motion-text { transition: opacity .55s cubic-bezier(.22, .72, .2, 1); }
.ps-move .ps-motion-card:not(.is-current) .ps-motion-text { visibility: visible; }
.ps .ps-move .ps-motion-text { overflow: hidden; width: 100%; max-height: 100%; font-size: calc(var(--scene-font) * min(var(--reading-scale), 1.25)); line-height: 1.45; text-align: center; }
.ps-move .ps-motion-card.is-neighbor.is-pile-front::before { top: 12px; height: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; line-height: 14px; letter-spacing: .06em; }
.ps-move .ps-motion-card.is-neighbor .ps-card-edge-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 9px; letter-spacing: .06em; }
.ps-move .ps-motion-card.is-neighbor.is-left::before,
.ps-move .ps-motion-card.is-neighbor.is-left .ps-card-edge-label { left: auto; right: 8px; width: calc(var(--move-peek) - 16px); text-align: left; direction: ltr; }
.ps-move .ps-motion-card.is-neighbor.is-right::before,
.ps-move .ps-motion-card.is-neighbor.is-right .ps-card-edge-label { left: 8px; right: auto; width: calc(var(--move-peek) - 16px); text-align: left; direction: ltr; }
.ps .ps-move-count { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ps-move-file { display: inline; margin: 0 .75em 0 0; letter-spacing: .06em; text-transform: lowercase; }
.ps-move-deck:not([data-move-ready]) .ps-motion-card.is-current { transform: translate(-50%, -50%); z-index: 30; }
.ps .ps-move-caption { margin: 0; max-width: 24ch; color: var(--ink-3); font: 13px/1.4 var(--font-mono); letter-spacing: .01em; text-align: center; text-wrap: balance; }
.ps-keep { white-space: nowrap; }
.ps .ps-move-equiv { margin: 8px 0 0; color: var(--ink-3); font: 13px/1.5 var(--font-mono); letter-spacing: .02em; text-align: center; }
@container move (max-width: 720px) {
  .ps-move-inputs { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .ps-move-panel { width: min(100%, 320px); }
  .ps-move-panel + .ps-move-panel::before { display: none; }
}
@media (max-width: 800px) {
  #skim { overflow-x: clip; }
  #skim .ps-section-heading > .ps-lead { justify-self: start; max-width: none; margin: 0; font-size: clamp(22px, 5.6vw, 28px); text-align: left; }
  .ps-move,
  .ps-move-screen,
  .ps-move-inputs,
  .ps-move .ps-motion-stage { min-width: 0; max-width: 100%; }
  .ps-move-inputs { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
  .ps-move-panel { width: min(100%, 280px); padding-inline: 8px; }
  .ps-move-panel + .ps-move-panel::before { display: none; }
}
.ps-theme-nav button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); font: 10px/1.5 var(--font-mono); }
.ps-theme-nav button:hover { background: var(--ink); color: var(--bg); }
@media (prefers-reduced-motion: reduce) {
  .ps-move-contacts, .ps-move-trail, .ps-move-trail circle, .ps-move-key { transition: none; animation: none; }
  .ps-move[data-beat="card-next"] .ps-move-trail-y circle,
  .ps-move[data-held="card-next"] .ps-move-trail-y circle,
  .ps-move[data-beat="card-prev"] .ps-move-trail-y-back circle,
  .ps-move[data-held="card-prev"] .ps-move-trail-y-back circle,
  .ps-move[data-beat="section-next"] .ps-move-trail-x circle,
  .ps-move[data-held="section-next"] .ps-move-trail-x circle,
  .ps-move[data-beat="section-prev"] .ps-move-trail-x-back circle,
  .ps-move[data-held="section-prev"] .ps-move-trail-x-back circle { opacity: 1; }
}
.ps-reading-section .ps-motion-sentence.ps-motion-table-wrap { background-image: none; }
.ps-place-side-note { display: none; }
.ps-place-meta { position: absolute; z-index: 5; left: 22px; right: 22px; bottom: 16px; display: flex; flex-wrap: nowrap; gap: 14px; margin: 0; color: var(--paper-muted); font: 400 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ps-place-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-place-meta span:not(:first-child) { flex: none; overflow: visible; }
.ps-place-meta span:first-child { color: var(--paper-ink); }
.ps-place-search { position: absolute; z-index: 6; top: 14px; right: 14px; width: 36px; height: 36px; border: 1px solid var(--paper-line); border-radius: 8px; background: color-mix(in srgb, var(--paper) 16%, transparent); color: var(--paper-muted); font: 13px/1 var(--font-mono); }
.ps-place-overlay { position: absolute; z-index: 7; top: 58px; right: 14px; left: auto; width: min(360px, calc(100% - 28px)); display: grid; gap: 8px; padding: 12px; border: 1px solid var(--paper-line); border-radius: 12px; background: color-mix(in srgb, var(--paper) 92%, var(--paper-stage)); box-shadow: 0 18px 40px #0005; }
.ps-place-overlay[hidden] { display: none !important; }
.ps-place-find { display: grid; gap: 6px; color: var(--paper-muted); font: 10px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.ps-place-find input { min-height: 44px; width: 100%; padding: 8px 12px; border: 1px solid var(--paper-line); border-radius: 8px; background: var(--paper); color: var(--paper-ink); font: 17px/1.4 var(--reading-font); letter-spacing: 0; text-transform: none; }
.ps-place-overlay .ps-skim-results:not([hidden]) { display: grid; gap: 6px; max-height: 220px; overflow: auto; }
.ps-place-overlay .ps-skim-results button { text-align: left; }
.ps-place-stage:not([data-place-ready]) .ps-motion-card.is-current { transform: translate(-50%, -50%); z-index: 30; }
.ps-place-stage:not([data-place-ready]) .ps-motion-card.is-above { transform: translate(-50%, calc(-50% - 32px)) scaleX(.98); opacity: .95; z-index: 20; }
.ps-place-stage:not([data-place-ready]) .ps-motion-card.is-below { transform: translate(-50%, calc(-50% + 32px)) scaleX(.98); opacity: .95; z-index: 20; }
.ps-place-stage:not([data-place-ready]) .ps-motion-card[data-skim-section="0"] { transform: translate(calc(-50% - 108%), -50%) scale(.94); z-index: 8; }
.ps-place-stage:not([data-place-ready]) .ps-motion-card[data-skim-section="2"] { transform: translate(calc(-50% + 108%), -50%) scale(.94); z-index: 8; }
.ps-shape { display: grid; gap: 22px; min-width: 0; }
.ps-shape > * { min-width: 0; }
.ps-shape-board { display: grid; gap: 16px; min-width: 0; }
.ps-shape-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ps-shape-axis { flex: none; }
.ps-shape-axis kbd, .ps-shape-move kbd, .ps-shape-keys kbd, .ps-shape-table kbd { min-width: 28px; }
.ps-shape-deck { position: relative; display: grid; place-items: center; min-height: 300px; padding: 64px 18px 68px; overflow: hidden; border: 1px solid var(--paper-line); border-radius: 16px; background: radial-gradient(ellipse at 50% 42%, color-mix(in srgb, var(--paper) 16%, var(--paper-stage)), var(--paper-stage) 72%); }
.ps-shape-card { position: relative; z-index: 2; display: grid; place-items: center; width: min(440px, calc(100% - 72px)); min-height: 148px; margin: 0; padding: 36px 8% 28px; border: 1px solid var(--paper-line); border-radius: 12px; background: var(--paper); color: var(--paper-ink); text-align: center; box-shadow: 0 1px 0 #ffffff09 inset, 0 18px 40px #0004; }
.ps-shape-edge { position: absolute; top: 12px; left: 16px; right: 16px; color: var(--paper-muted); font: 550 8px/1.4 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .11em; text-align: left; text-transform: uppercase; }
.ps .ps-shape-card p { margin: 0; color: var(--paper-ink); font: 400 calc(clamp(18px, 2vw, 24px) * var(--reading-scale))/1.45 var(--reading-font); }
.ps-shape-lip { position: absolute; left: 50%; width: min(500px, calc(100% - 96px)); height: 34px; overflow: hidden; padding: 0 18px; border: 1px solid var(--paper-line); border-radius: 10px; background: color-mix(in srgb, var(--paper) 78%, #000); color: var(--paper-muted); font: 13px/34px var(--reading-font); text-align: center; white-space: nowrap; text-overflow: ellipsis; transform: translateX(-50%); }
.ps-shape-lip:empty { visibility: hidden; }
.ps-shape-lip { top: 16px; }
.ps-shape-lip.is-after { top: auto; bottom: 18px; }
.ps-shape-move { position: absolute; z-index: 3; top: 50%; left: calc(50% + min(220px, 50% - 36px) + 14px); display: grid; gap: 6px; transform: translateY(-50%); }
.ps .ps-shape-keys { margin: 0; color: var(--ink-2); font: 13px/1.5 var(--font-mono); }
.ps-shape-table { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--paper-line); border-radius: 14px; background: var(--paper); color: var(--paper-ink); }
.ps .ps-shape-table figcaption { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; color: var(--paper-muted); font: 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ps-shape-table .ps-data-table { margin-top: 0; }
.ps-skim-tools:not([hidden]) { display: grid; gap: 12px; }
.ps .ps-skim-note { max-width: 68ch; margin: 0 0 22px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ps-skim-note code { color: var(--ink); }
.ps-skim-demo:not([hidden]) { display: grid; gap: 14px; margin: 28px 0 4px; }
.ps .ps-skim-demo p { margin: 0; max-width: 68ch; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.ps-skim-sections { display: flex; flex: 0 1 auto; flex-wrap: nowrap; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ps-skim-sections::-webkit-scrollbar { display: none; }
.ps .ps-skim-sections button,
.ps .ps-skim-results button,
.ps .ps-skim-demo > button,
.ps .ps-skim-table-panel > button {
  flex: none;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-raised);
  color: var(--ink);
  font: 12px/1.4 var(--font-mono);
  text-align: left;
  white-space: nowrap;
}
.ps .ps-skim-sections button[aria-current="true"] { border-color: var(--line-strong); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ps-skim-search { display: grid; gap: 6px; max-width: 36rem; color: var(--ink-2); font: 11px/1.4 var(--font-mono); }
.ps-skim-search input { min-height: 44px; width: 100%; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); color: var(--ink); font: 16px/1.4 var(--font-display); }
.ps-skim-results:not([hidden]) { display: grid; gap: 8px; }
.ps-skim-table-panel:not([hidden]) { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--paper-line); border-radius: 10px; background: var(--paper-stage); color: var(--paper-ink); }
.ps-skim-table-panel [data-skim-table-grid] { width: 100%; border-collapse: collapse; font: 13px/1.45 var(--font-mono); }
.ps-skim-table-panel th,
.ps-skim-table-panel td { padding: 8px 10px; border-bottom: 1px solid var(--paper-line); text-align: left; }
.ps-skim-table-panel td:focus { outline: 2px solid var(--signal); outline-offset: -2px; }
.ps-table-section { padding-block: 96px; border-top: 1px solid var(--line); }


/* 03 / Read with a pen. */
.ps-pen-section { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-pen-lab { display: flex; flex-direction: column; gap: 18px; }
.ps-pen-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ps-pen-views { position: relative; z-index: 4; justify-self: center; width: max-content; max-width: 100%; margin: 28px auto 0; flex-wrap: nowrap; }
.ps-pen-views.ps-segment button { white-space: nowrap; font-size: 11px; }
.ps .ps-pen-tab { display: flex; align-items: center; gap: 18px; min-height: 78px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-raised); color: var(--ink-2); text-align: left; transition: border-color .16s, background-color .16s, color .16s, box-shadow .16s; }
.ps .ps-pen-tab:hover { border-color: var(--ink-3); color: var(--ink); }
.ps .ps-pen-tab[aria-pressed="true"] { border-color: var(--line-strong); background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.ps .ps-pen-cap { width: auto; min-width: 46px; height: 42px; padding-inline: 12px; font-size: 12px; }
.ps .ps-pen-tab:nth-child(2) .ps-pen-cap { min-width: 72px; }
.ps-pen-name { display: flex; flex-direction: column; gap: 4px; font: 300 clamp(22px, 2.2vw, 29px)/1.1 var(--font-display); letter-spacing: -.02em; }
.ps-pen-name small { color: var(--ink-2); font: 10px/1.5 var(--font-mono); letter-spacing: 0; }
.ps-pen-stage { position: relative; isolation: isolate; display: grid; justify-items: center; align-content: start; padding: clamp(52px, 6vw, 80px) clamp(20px, 6vw, 88px) clamp(28px, 4vw, 40px); overflow: hidden; border: 1px solid var(--paper-line); border-radius: 15px; background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--paper) 14%, var(--paper-stage)) 0%, var(--paper-stage) 100%); max-width: 100%; }
.ps-pen-shell { display: flex; flex-direction: column; width: min(720px, 100%); height: 480px; overflow: hidden; border: 1px solid var(--paper-line); border-radius: 12px; background: var(--paper-stage); box-shadow: 0 1px 0 #ffffff0a inset, 0 18px 40px #0003; }
.ps-pen-chrome { position: relative; display: flex; flex: none; align-items: center; justify-content: center; height: 42px; padding-inline: 70px; color: var(--paper-muted); font: 400 10px/1.5 var(--font-mono); letter-spacing: .035em; text-transform: uppercase; }
.ps-pen-chrome .ps-window-dots { position: absolute; left: 14px; top: 16px; gap: 7px; }
.ps-pen-chrome .ps-window-dots i { width: 10px; height: 10px; border: 0; background: #ff5f57; }
.ps-pen-chrome .ps-window-dots i:nth-child(2) { background: #febc2e; }
.ps-pen-chrome .ps-window-dots i:nth-child(3) { background: #28c840; }
.ps-pen-chrome span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-pen-stack { position: relative; isolation: isolate; display: grid; grid-template: 1fr / 1fr; flex: 1 1 auto; width: 100%; min-height: 0; padding: 36px 7% 40px; }
.ps-pen-stack > .ps-pen-card,
.ps-pen-stack > .ps-pen-files { grid-area: 1 / 1; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.ps-pen-card[hidden],
.ps-pen-files[hidden],
.ps-pen-file[hidden],
.ps-pen-stage [data-mark-pane="export"] { display: none !important; }
.ps-pen-card { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; padding: 50px 9%; border: 1px solid var(--paper-line); border-radius: 10px; background: var(--paper); color: var(--paper-ink); box-shadow: 0 1px 0 #ffffff09 inset, 0 24px 50px #0005, 0 8px 18px #0004; }
.ps-pen-card::before, .ps-pen-card::after { content: ''; position: absolute; z-index: -1; left: 2.5%; right: 2.5%; height: 24px; border: 1px solid var(--paper-line); background: color-mix(in srgb, var(--paper) 86%, #000); }
.ps-pen-card::before { top: -20px; border-radius: 9px 9px 0 0; }
.ps-pen-card::after { bottom: -20px; border-radius: 0 0 9px 9px; }
.ps-pen-edge { position: absolute; top: 12px; left: 22px; right: 22px; color: var(--paper-muted); font: 550 8px/1.5 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.ps .ps-pen-passage { color: var(--paper-ink); font: 400 calc(clamp(19px, 2vw, 25px) * var(--reading-scale))/1.72 var(--reading-font); }
.ps-pen-target { background-repeat: no-repeat; background-size: 0% 100%; border-radius: 2px; }
.ps-pen-target.is-on { background-size: 100% 100%; transition: background-size .6s cubic-bezier(.45,.05,.35,1), color .35s; }
.ps-pen-lab[data-mark="highlight"] .ps-pen-target { background-image: linear-gradient(transparent 22%, color-mix(in srgb, var(--paper-highlight) 72%, transparent) 22% 88%, transparent 88%); }
.ps-pen-lab[data-mark="redline"] .ps-pen-target { background-image: linear-gradient(transparent 50%, var(--paper-red) 50% 57%, transparent 57%); }
.ps-pen-lab[data-mark="redline"] .ps-pen-target.is-on { color: color-mix(in srgb, var(--paper-red) 50%, var(--paper-ink)); }
.ps-pen-lab[data-mark="redact"][data-bar="ink"] .ps-pen-target { background-image: linear-gradient(transparent 14%, var(--paper-ink) 14% 94%, transparent 94%); }
.ps-pen-lab[data-mark="redact"][data-bar="ghost"] .ps-pen-target { --ghost: color-mix(in srgb, var(--paper) 70%, var(--paper-stage)); background-image: linear-gradient(transparent 14%, var(--ghost) 14% 94%, transparent 94%); }
.ps-pen-lab[data-mark="redact"][data-bar="ghost"] .ps-pen-target.is-on { color: var(--ghost); }
.ps-pen-bar { position: absolute; z-index: 2; top: 14px; right: 16px; display: flex; align-items: center; gap: 10px; color: var(--paper-muted); }
.ps-pen-bar .ps-segment { border-color: var(--paper-line); }
.ps-pen-bar .ps-segment button { min-height: 30px; padding: 5px 12px; border-color: var(--paper-line); color: var(--paper-muted); font-size: 10px; }
.ps-pen-bar .ps-segment button:hover { background: color-mix(in srgb, var(--paper-ink) 10%, transparent); color: var(--paper-ink); }
.ps-pen-bar .ps-segment button[aria-pressed="true"] { background: var(--paper-ink); color: var(--paper); }
.ps-pen-files { display: block; height: 100%; min-height: 0; background: transparent; }
.ps-pen-source, .ps-pen-files pre { height: 100%; margin: 0; padding: 4px 8px 12px; overflow: auto; border: 0; border-radius: 0; background: transparent; color: var(--paper-ink); font: 13px/1.85 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.ps-pen-line { display: block; }
.ps-pen-line.is-heading, [data-pen-source-target] { color: var(--ink); }
.ps-pen-wrap { display: inline-block; margin-inline: 1px; padding: 0 2px; border-radius: 3px; background: var(--signal); color: var(--signal-ink); font-weight: 600; opacity: 0; transform: scale(.3); transition: transform .3s cubic-bezier(.3,1.6,.5,1), opacity .2s; }
.ps-pen-wrap.is-in { opacity: 1; transform: none; }
.ps-pen-kept-target { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s ease, opacity .4s ease; }
.ps-pen-kept-target > span { min-height: 0; overflow: hidden; text-decoration: line-through 2px transparent; transition: color .25s, text-decoration-color .25s, background-color .25s; }
.ps-pen-kept-target.is-kept > span { color: var(--ink); }
.ps-pen-kept-target.is-striking > span { color: var(--review-red); text-decoration-color: var(--review-red); }
.ps-pen-kept-target.is-gone { grid-template-rows: 0fr; opacity: 0; }
.ps .ps-pen-caption { max-width: 780px; min-height: 3.4em; margin: 0 auto; color: var(--ink-2); font: 11px/1.7 var(--font-mono); text-align: center; }

/* 04 / However you open files. */
.ps-open-section { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-open-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ps-open-visual { position: relative; height: 460px; margin: 0; }
.ps-open-term { position: absolute; top: 0; left: 0; width: min(68%, 460px); height: 132px; overflow: hidden; border: 1px solid var(--paper-line); border-radius: 12px; background: var(--paper-stage); color: var(--paper-ink); box-shadow: 0 18px 40px #0003; }
.ps-open-term-bar, .ps-talk-bar { position: relative; display: flex; align-items: center; justify-content: center; flex: none; height: 34px; color: var(--paper-muted); font: 10px/1 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .03em; }
.ps-open-term-bar { border-bottom: 1px solid var(--paper-line); }
.ps-open-term-bar .ps-window-dots, .ps-talk-bar .ps-window-dots { position: absolute; top: 50%; left: 12px; gap: 6px; transform: translateY(-50%); }
.ps-open-term-bar .ps-window-dots i, .ps-talk-bar .ps-window-dots i { width: 9px; height: 9px; border: 0; background: #ff5f57; }
.ps-open-term-bar .ps-window-dots i:nth-child(2), .ps-talk-bar .ps-window-dots i:nth-child(2) { background: #febc2e; }
.ps-open-term-bar .ps-window-dots i:nth-child(3), .ps-talk-bar .ps-window-dots i:nth-child(3) { background: #28c840; }
.ps-open-term-body { padding: 8px 14px 10px; font: 13px/1.35 var(--font-mono); }
.ps .ps-open-line { margin: 0; font: inherit; white-space: nowrap; }
.ps-open-line.is-waiting { display: none; }
.ps-open-dir { color: var(--paper-muted); }
.ps-open-enter { display: inline-block; width: 0; margin: 0; padding: 0; overflow: hidden; border: 0; color: var(--paper-muted); font-size: 12px; line-height: 1; opacity: 0; vertical-align: 0; }
.ps-open-enter.is-on { width: auto; margin: 0; opacity: 0; }
.ps-open-caret { display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px; background: var(--paper-muted); animation: ps-caret-blink 1.1s steps(1) infinite; }
@keyframes ps-caret-blink { 50% { opacity: 0; } }
@keyframes ps-enter-press { 0%, 40% { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); transform: translateY(1px); } }
.ps-open-app { position: absolute; z-index: 2; right: 28px; bottom: 0; width: min(52%, 420px); height: 286px; opacity: 0; transform: translateY(16px) scale(.93); transform-origin: 50% 100%; transition: opacity .42s ease, transform .48s cubic-bezier(.2,.8,.2,1); }
.ps-open-app--next { z-index: 3; right: 0; bottom: 92px; transform-origin: 50% 80%; }
.ps-open-app.is-open { opacity: 1; transform: none; }
.ps-open-app.is-closing { opacity: 0; transform: translateY(22px) scale(.96); transition: opacity .9s ease, transform 1.05s cubic-bezier(.4, 0, .2, 1); }
.ps-open-app .ps-mini-stage { --mini-width: 84%; --mini-height: 68%; min-height: 0; height: auto; }
.ps-open-app .ps-mini-sheet { overflow: hidden; top: 50%; }
.ps-open-app .ps-mini-front { padding: 16px 11% 14px; align-items: center; }
.ps .ps-open-app .ps-mini-front h3 { margin: 0 0 6px; font-size: calc(clamp(16px, 3.6cqw, 20px) * var(--reading-scale)); line-height: 1.15; }
.ps .ps-open-app .ps-mini-front p { margin: 0; font-size: calc(clamp(12.5px, 2.7cqw, 14.5px) * var(--reading-scale)); line-height: 1.4; }
.ps-open-app :is(.ps-mini-front > div, [data-open-title], .ps-mini-edge) { transition: opacity .22s; }
.ps-open-app.is-swapping :is(.ps-mini-front > div, [data-open-title], .ps-mini-edge) { opacity: 0; }
.ps-open-ways article { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.ps-open-ways article:last-child { border-bottom: 1px solid var(--line); }
.ps-open-ways h3 { margin-bottom: 8px; font-size: 22px; }
.ps-open-ways p { color: var(--ink-2); font-size: 16px; }
.ps-open-ways code { color: var(--ink); }

/* 05 / Use cases. */
.ps-uses-section { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-example-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; }
.ps-file-example { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--line); padding-top: 24px; }
.ps-example-file { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 9px/1.6 var(--font-mono); color: var(--ink-2); }
.ps-example-file kbd { font-size: 8px; min-width: 20px; }
.ps-file-example h4 { font: 24px/1.22 var(--font-display); font-weight: 300; letter-spacing: -.02em; margin: 20px 0; }
.ps-file-example pre { display: flex; align-items: center; min-height: 150px; padding: 18px; margin: 0 0 20px; border: 1px solid var(--line); background: var(--bg-raised); white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.8 var(--font-mono); }
.ps-file-example code { font: inherit; }
.ps-file-example code > span { color: var(--ink-2); }
.ps-file-example code del { color: var(--review-red); }
.ps .ps-file-example > p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-bottom: 22px; }
.ps-file-example > a { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-block: 8px; font: 10px/1.6 var(--font-mono); text-underline-offset: 4px; }

.ps-talk-example { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.ps-talk-copy { display: flex; flex-direction: column; min-width: 0; }
.ps .ps-talk-copy h4 { font-size: clamp(28px, 3vw, 38px); }
.ps .ps-talk-copy > p { margin-bottom: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.ps-talk-copy > a { display: inline-flex; align-self: flex-start; gap: 14px; padding-block: 8px; font: 10px/1.6 var(--font-mono); text-underline-offset: 4px; }
.ps-talk-visual { display: flex; gap: 18px; align-items: center; min-width: 0; }
.ps-talk-zen { display: flex; flex-direction: column; flex: 1; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--paper-line); border-radius: 12px; background: var(--paper); color: var(--paper-ink); box-shadow: 0 18px 40px #0003; }
.ps-talk-slide { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 3% 12%; }
.ps-talk-edge { margin-bottom: 16px; color: var(--paper-muted); font: 550 8px/1.5 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.ps .ps-talk-slide h3 { margin-bottom: 14px; font: 500 calc(clamp(22px, 2.5vw, 34px) * var(--reading-scale))/1.15 var(--reading-font); letter-spacing: -.02em; }
.ps .ps-talk-slide p { color: var(--paper-muted); font: calc(clamp(14px, 1.3vw, 18px) * var(--reading-scale))/1.6 var(--reading-font); }
.ps-talk-line { height: 1px; margin: 0 12% 18px; background: color-mix(in srgb, var(--paper-ink) 18%, transparent); }
.ps-talk-line i { display: block; width: 50%; height: 100%; background: var(--paper-muted); }
.ps-talk-chips { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ps-talk-chips > .ps-label { color: var(--ink-2); font-size: 8px; }
.ps-chip-column { flex-direction: column; }
.ps-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; border-block: 1px solid var(--line); padding: 30px 0; font: 11px/1.7 var(--font-mono); color: var(--ink-2); }
.ps-assurances b { color: var(--ink); font-weight: 400; }
.ps > .ps-assurances + .ps-faq { border-top: 0; }

/* 06 / Make it yours — paired palettes around the reader window. */
.ps-custom-section { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-palette-stage { container-type: inline-size; }
.ps-palette-aisle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.ps-palette-rail { display: flex; flex-direction: column; min-width: 0; }
.ps-palette-rail-label { display: flex; justify-content: space-between; margin: 0 2px 8px; color: var(--ink-2); font: 10px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.ps-palette-rail-list { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 4px; padding: 3px; }
.ps-palette-swatch-row { position: relative; display: flex; align-items: center; width: 100%; min-height: 28px; height: 100%; padding: 0 0 0 10px; border: 0; border-radius: 5px; overflow: hidden; background: var(--row-bg); color: var(--name-ink); text-align: left; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--name-ink) 22%, transparent); }
.ps-palette-swatch-row .ps-palette-row-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 11px/1 var(--font-mono); }
.ps-palette-swatch-row .ps-palette-chips { display: flex; align-self: stretch; margin-left: auto; }
.ps-palette-swatch-row .ps-palette-chips i { width: 13px; }
.ps-palette-swatch-row .ps-palette-chips i:nth-child(1) { background: var(--row-fg); }
.ps-palette-swatch-row .ps-palette-chips i:nth-child(2) { background: var(--row-red); }
.ps-palette-swatch-row .ps-palette-chips i:nth-child(3) { background: var(--row-yellow); }
.ps-palette-swatch-row .ps-palette-band, .ps-palette-swatch-row .ps-palette-aa { display: none; }
@media (hover: hover) and (pointer: fine) {
  .ps-palette-swatch-row:hover { z-index: 1; background: color-mix(in srgb, var(--name-ink) 18%, var(--row-bg)); box-shadow: inset 0 0 0 2px var(--name-ink); }
}
.ps-palette-swatch-row:focus-visible { z-index: 1; background: color-mix(in srgb, var(--name-ink) 18%, var(--row-bg)); box-shadow: inset 0 0 0 2px var(--name-ink); outline: none; }
.ps-palette-swatch-row[aria-pressed="true"] { background: var(--row-bg); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); z-index: 2; }
.ps-palette-center { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.ps-palette-stage .ps-theme-window { width: 100%; margin: 0; }
.ps-palette-stage .ps-app-window { display: flex; flex-direction: column; aspect-ratio: 1.618 / 1; width: 100%; max-height: 460px; }
.ps-palette-stage .ps-window-bar { flex: none; }
.ps-palette-stage .ps-theme-window .ps-motion-stage { flex: 1 1 auto; height: auto; min-height: 0; }
.ps-palette-stage .ps-theme-window .ps-motion-card.is-current { justify-content: flex-start; }
.ps-palette-stage .ps-theme-window .ps-motion-text { width: 100%; text-align: left; }
.ps-palette-stage .ps-theme-window .ps-motion-sentence { display: block; width: fit-content; max-width: 100%; margin-inline: 0; }
.ps-palette-stage .ps-theme-window .ps-motion-sentence + .ps-motion-sentence { margin-top: .45em; }
.ps-palette-stage .ps-scene-fallback { text-align: left; }
.ps-palette-stage .ps-mark-hit { border-radius: 2px; background-image: linear-gradient(var(--paper-highlight-band), var(--paper-highlight-band)); color: var(--paper-highlight-ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ps-palette-stage .ps-window-trail { display: block; position: absolute; left: 64px; right: 64px; top: 50%; transform: translateY(-50%); text-align: center; }
.ps-palette-tune { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin: 0; container-type: normal; }
.ps-palette-tune fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ps-palette-tune legend { margin: 0 0 6px; color: var(--ink-2); font: 9px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.ps-palette-tune .ps-layout-fieldset, .ps-palette-tune .ps-font-fieldset { display: flex; flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; }
.ps-palette-tune .ps-segment { display: inline-flex; width: auto; }
.ps-palette-tune .ps-segment button { flex: 0 0 auto; min-height: 32px; padding: 6px 10px; font-size: 10px; }
.ps-palette-tune .ps-layout-fieldset .ps-segment button { position: relative; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ps-layout-thumb { position: relative; display: block; flex: none; width: 22px; height: 15px; border-radius: 2px; border: 1px solid currentColor; opacity: .9; overflow: hidden; }
.ps-layout-thumb i { position: absolute; border-radius: 1px; background: currentColor; }
.ps-layout-thumb[data-layout-thumb="coach"] i:nth-child(1) { left: 6px; right: 6px; top: 3px; bottom: 3px; }
.ps-layout-thumb[data-layout-thumb="coach"] i:nth-child(2) { left: -2px; width: 5px; top: 5px; bottom: 5px; opacity: .55; }
.ps-layout-thumb[data-layout-thumb="coach"] i:nth-child(3) { right: -2px; width: 5px; top: 5px; bottom: 5px; opacity: .55; }
.ps-layout-thumb[data-layout-thumb="first"] i:nth-child(1) { left: 4px; right: 4px; top: 2px; bottom: 5px; }
.ps-layout-thumb[data-layout-thumb="first"] i:nth-child(2) { left: 6px; right: 6px; bottom: 2px; height: 1.5px; opacity: .6; }
.ps-layout-thumb[data-layout-thumb="first"] i:nth-child(3) { display: none; }
.ps-layout-thumb[data-layout-thumb="private"] i:nth-child(1) { inset: 0; opacity: .85; }
.ps-layout-thumb[data-layout-thumb="private"] i:nth-child(n+2) { display: none; }
.ps-palette-tune .ps-aa { min-width: 34px; padding-inline: 8px; font-size: 15px; letter-spacing: 0; }
.ps-palette-tune [data-font="sans"] { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; }
.ps-palette-tune [data-font="serif"] { font-family: "Iowan Old Style", Palatino, Georgia, serif; }
.ps-palette-tune [data-font="mono"] { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.ps-palette-tune [data-font="ortica"] { font-family: "Ortica Linear", "Iowan Old Style", Georgia, serif; font-weight: 300; }
.ps-palette-tune [data-font="necto"] { font-family: "Necto Mono", ui-monospace, Menlo, monospace; }
.ps-palette-tabs { display: none; align-self: stretch; }
.ps-palette-tabs button { flex: 1; justify-content: center; letter-spacing: .08em; text-transform: uppercase; }
.ps-palette-note { margin: 16px 0 0; text-align: center; }
@container (max-width: 980px) {
  .ps-palette-aisle { grid-template-columns: minmax(0, .9fr) minmax(0, 2.2fr) minmax(0, .9fr); gap: 20px; }
}
@container (max-width: 720px) {
  .ps-palette-aisle { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .ps-palette-center { order: -1; position: sticky; top: calc(var(--chrome-top) + var(--product-nav-height)); z-index: 3; gap: 10px; margin-inline: calc(50% - 50cqi); padding: 8px 16px 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .ps-palette-stage:not([data-tab="dark"]) [data-rail="dark"],
  .ps-palette-stage:not([data-tab="light"]) [data-rail="light"] { display: none; }
  .ps-palette-rail-label { display: none; }
  .ps-palette-tabs { display: flex; }
  .ps-palette-stage .ps-window-trail { left: 44px; right: 44px; }
  .ps-palette-stage .ps-app-window { display: block; aspect-ratio: auto; max-height: none; }
  .ps-palette-stage .ps-theme-window .ps-motion-stage { height: 300px; flex: none; }
  .ps-palette-tune { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .ps-palette-tune legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ps-palette-tune .ps-segment button { min-height: 44px; padding-inline: 8px; }
  .ps-palette-tune .ps-layout-fieldset .ps-segment button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ps-palette-rail-list { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 44px; gap: 6px; padding: 0; }
  .ps-palette-swatch-row { display: grid; place-items: center; padding: 0; min-height: 0; }
  .ps-palette-swatch-row .ps-palette-chips, .ps-palette-swatch-row .ps-palette-row-name { display: none; }
  .ps-palette-swatch-row .ps-palette-aa { display: block; margin-top: -6px; font: 16px/1 var(--font-display); color: var(--row-fg); }
  .ps-palette-swatch-row .ps-palette-band { display: block; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--row-fg) 0 34%, var(--row-red) 34% 67%, var(--row-yellow) 67%); }
  .ps-palette-note { text-align: left; }
}
.ps .ps-font-note, .ps .ps-settings-note { font-size: 9px; }
.ps-custom-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 42px; }
.ps-custom-notes article { border-top: 1px solid var(--line); padding-top: 24px; }
.ps-custom-notes h3 { font-size: 26px; margin-bottom: 16px; }
.ps-custom-notes p { color: var(--ink-2); font-size: 16px; }
.ps-icons-block { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.ps-icons-block > h3 { font-size: clamp(30px, 3.4vw, 44px); }
.ps .ps-icons-lead { margin: 14px 0 36px; color: var(--ink-2); font-size: 17px; max-width: 560px; }
.ps-icon-workbench { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; align-items: center; }
.ps-icon-choice { text-align: center; }
.ps-dock-tile { display: grid; place-items: center; height: 220px; background: var(--bg-recessed); border: 1px solid var(--line); border-radius: 14px; }
.ps-dock-tile img { display: block; width: 176px; height: 176px; filter: drop-shadow(0 8px 7px #0000001a); }
.ps-icon-choice > p { font: 12px/1.7 var(--font-mono); margin: 18px 0 12px; }
.ps-icon-choice .ps-icon-tools { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 14px; }
.ps-icon-choice .ps-icon-tools .ps-segment button { font-size: 9px; padding: 6px 12px; min-height: 30px; }
.ps-icon-choice > .ps-label { font-size: 8px; color: var(--ink-2); }
.ps-icon-browser { min-width: 0; }
.ps-icon-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.ps-icon-grid button { display: flex; flex-direction: column; align-items: center; justify-content: start; gap: 7px; padding: 9px 3px; border: 1px solid transparent; border-radius: 5px; background: none; color: var(--ink-2); font: 10px/1.5 var(--font-mono); }
.ps-icon-grid img { width: 76px; height: 76px; }
.ps-icon-grid button:hover, .ps-icon-grid button[aria-pressed="true"] { background: var(--bg-recessed); color: var(--ink); }
.ps-icon-grid button[aria-pressed="true"] { border-color: var(--line-strong); }
.ps-icon-grid button:disabled { cursor: default; }
.ps .ps-icon-note { margin-top: 30px; font-size: 9px; max-width: 750px; }
.ps-palette-reset { position: fixed; z-index: 90; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg-raised); color: var(--ink); padding: 9px 16px; font: 10px/1.5 var(--font-mono); box-shadow: 0 6px 24px #00000026; }
.ps-palette-reset:hover { background: var(--bg-recessed); }
.ps-palette-reset[hidden] { display: none; }

/* A shared reading surface for the small Pasture windows. */
.ps-deck-surface { --deck-paper: var(--paper); --deck-ink: var(--paper-ink); --deck-stage: var(--paper-stage); --deck-muted: var(--paper-muted); --deck-line: var(--paper-line); --deck-chrome: var(--paper-muted); display: flex; flex-direction: column; min-width: 0; color: var(--deck-ink); background: var(--deck-stage); border: 1px solid var(--deck-line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 #ffffff09 inset, 0 18px 38px #0002; }
.ps-mini-trail { position: relative; display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 60px; color: var(--deck-chrome); font: 9px/1.5 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .035em; }
.ps-mini-trail > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-mini-trail .ps-window-dots { position: absolute; left: 12px; top: 13px; gap: 5px; }
.ps-mini-trail .ps-window-dots i { width: 8px; height: 8px; border: 0; background: #ff5f57; }
.ps-mini-trail .ps-window-dots i:nth-child(2) { background: #febc2e; }
.ps-mini-trail .ps-window-dots i:nth-child(3) { background: #28c840; }
.ps-mini-stage { --mini-width: 70%; --mini-height: clamp(235px, 36cqw, 300px); container-type: inline-size; position: relative; isolation: isolate; flex: 1; min-height: 430px; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, color-mix(in srgb, var(--deck-paper) 75%, var(--deck-stage)), var(--deck-stage) 85%); outline-offset: -5px !important; }
.ps-mini-sheet { --mini-x: 0%; --mini-y: 0px; --mini-scale: 1; position: absolute; left: 50%; top: 47%; width: var(--mini-width); height: var(--mini-height); border: 1px solid var(--deck-line); border-radius: 9px; color: var(--deck-ink); background: linear-gradient(#ffffff03, transparent 35%), var(--deck-paper); box-shadow: 0 1px 0 #ffffff05 inset, 0 2px 4px #0003; transform: translate(-50%, -50%) translateX(var(--mini-x)) translateY(var(--mini-y)) scaleX(var(--mini-scale)); transition: transform .36s cubic-bezier(.22,.61,.36,1), opacity .25s, background .16s; }
.ps-mini-edge { position: absolute; top: 7px; left: 16px; right: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--deck-muted); text-transform: uppercase; font: 500 7px/1.5 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .09em; }
.ps-mini-sheet.is-below .ps-mini-edge { top: auto; bottom: 7px; }
.ps-mini-front { display: flex; align-items: center; justify-content: center; padding: 26px 8%; z-index: 100; box-shadow: 0 1px 0 #ffffff0a inset, 0 0 0 1px #ffffff05 inset, 0 18px 35px #0005, 0 5px 12px #0003; }
.ps .ps-mini-front p { font: 400 calc(clamp(15px, 2.85cqw, 20px) * var(--reading-scale))/1.65 var(--reading-font); letter-spacing: 0; }
.ps .ps-mini-front h3 { font: 500 calc(clamp(22px, 3.8cqw, 29px) * var(--reading-scale))/1.2 var(--reading-font); letter-spacing: -.025em; margin: 0 0 20px; }
.ps-mini-progress { padding: 8px 22px 15px; color: var(--deck-chrome); font: 8px/1.5 var(--font-mono); letter-spacing: .06em; }
.ps-mini-progress > div:first-child { display: flex; align-items: center; gap: 14px; }
.ps-mini-progress > div:first-child > span:first-child { color: var(--deck-chrome); }
.ps-mini-progress > div:first-child > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-mini-progress > div:first-child > span:last-child { white-space: nowrap; margin-left: auto; }
.ps-mini-track { position: relative; height: 2px; margin-top: 11px; background: color-mix(in srgb, var(--deck-chrome) 28%, transparent); }
.ps-mini-track i { display: block; position: relative; height: 100%; background: var(--deck-chrome); }
.ps-mini-track i::after { content: ''; position: absolute; right: -3px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--deck-chrome); box-shadow: 0 0 9px var(--deck-chrome); }

/* 07 / Compare. */
.ps-fit { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-comparison-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.ps-comparison-heading h3 { font-size: 27px; }
.ps .ps-comparison-scroll { display: none; font: 10px/1.6 var(--font-mono); color: var(--ink-2); }
.ps-comparison { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.ps-comparison table { width: 100%; min-width: 850px; border-collapse: separate; border-spacing: 0; text-align: center; table-layout: fixed; }
.ps-comparison .ps-compare-name-col { width: 25%; }
.ps-comparison .ps-compare-free-col { width: 9%; }
.ps-comparison th, .ps-comparison td { position: relative; padding: 19px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ps-comparison thead th { border-top: 1px solid var(--line); font: 9px/1.7 var(--font-mono); text-transform: uppercase; letter-spacing: .045em; color: var(--ink-2); vertical-align: bottom; }
.ps-comparison tbody th { text-align: left; font-weight: 400; }
.ps-comparison tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); text-align: left; }
.ps-comparison td { font: 11px/1.5 var(--font-mono); }
.ps-comparison a { text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.ps-comparison .ps-compare-product { display: inline-block; font: 23px/1.3 var(--font-display); text-decoration: none; }
.ps-compare-product > span { font: 10px/1 var(--font-mono); color: var(--ink-2); }
.ps-compare-product:hover { text-decoration: underline; }
.ps-compare-role { display: block; margin-top: 5px; font: 9px/1.6 var(--font-mono); color: var(--ink-2); }
.ps-compare-check { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid var(--ink-2); border-radius: 3px; font: 13px/1 var(--font-mono); color: var(--ink); vertical-align: top; }
.ps-compare-feature { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; max-width: 14ch; color: inherit; text-decoration: none; }
.ps-compare-no { display: inline-flex; align-items: center; justify-content: center; min-height: 20px; color: var(--ink-2); font-size: 17px; }
.ps-compare-paid { display: inline-flex; align-items: center; justify-content: center; min-height: 20px; color: var(--ink-2); }
.ps-compare-feature-text { display: inline-flex; align-items: center; justify-content: center; min-height: 20px; color: var(--ink-2); }
.ps-comparison .ps-compare-pasture > * { background: var(--bg-raised); border-bottom-color: var(--line-strong); }
.ps-compare-pasture > :first-child { box-shadow: inset 2px 0 0 var(--ink); }
.ps-compare-pasture .ps-compare-check { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ps-comparison small { display: block; max-width: 14ch; margin-inline: auto; font: 8px/1.6 var(--font-mono); color: var(--ink-2); margin-top: 5px; text-wrap: balance; }
.ps-compare-feature small { margin-top: 0; }
.ps-comparison-key { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 24px; font: 10px/1.6 var(--font-mono); color: var(--ink-2); }
.ps-comparison-key > span { display: flex; align-items: center; gap: 9px; }
.ps-comparison-key b { width: 20px; text-align: center; font-size: 16px; font-weight: 400; }
.ps-comparison-key .ps-compare-check { width: 16px; height: 16px; font-size: 11px; }
.ps-comparison-notes { margin-top: 18px; max-width: 920px; }
.ps .ps-comparison-notes p { font: 10px/1.8 var(--font-mono); color: var(--ink-2); margin-top: 8px; }
.ps-comparison-notes a { text-underline-offset: 3px; }

/* FAQ and download. */
.ps-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; padding-block: 104px; border-top: 1px solid var(--line); }
.ps-faq h2 { margin: 20px 0 24px; }
.ps-faq > div:first-child p:last-child { color: var(--ink-2); }
.ps-faq .ps-text-link { font-size: 10px; }
.ps-questions details { border-bottom: 1px solid var(--line); padding: 21px 0; }
.ps-questions details:first-child { border-top: 1px solid var(--line); }
.ps-questions summary { list-style: none; display: flex; justify-content: space-between; gap: 28px; cursor: pointer; font-size: 20px; line-height: 1.45; }
.ps-questions summary::-webkit-details-marker { display: none; }
.ps-questions summary::after { content: "+"; font: 20px var(--font-mono); color: var(--ink-2); flex-shrink: 0; }
.ps-questions details[open] summary::after { content: "−"; }
.ps-questions details p { margin: 17px 28px 0 0; color: var(--ink-2); font-size: 16px; }
.ps-questions code { font-size: 12px; }
.ps-download { text-align: center; border-top: 1px solid var(--line); padding-block: 75px 80px; }
.ps-download-mark { margin: 0 auto 24px; display: block; width: 72px; height: 60px; color: var(--paper-highlight); background: currentColor; -webkit-mask: url('../assets/products/pasture/mark.svg') no-repeat center / contain; mask: url('../assets/products/pasture/mark.svg') no-repeat center / contain; }
.ps-download h2 { font-size: clamp(53px, 7vw, 94px); line-height: 1; margin-top: 26px; }
.ps-download > .ps-lead { max-width: 540px; margin: 30px auto; }
.ps .ps-download-cmd { margin: 0 auto 30px; font-size: 15px; }
.ps .ps-download-cmd code { font-size: 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-recessed); padding: 9px 14px; }
.ps-download .ps-actions { justify-content: center; }
.ps .ps-release-note { max-width: 450px; margin: 22px auto 0; }
.ps-studio-note { margin: 65px auto 0; padding-top: 30px; max-width: 560px; border-top: 1px solid var(--line); }
.ps-studio-note .ps-label { color: var(--ink-2); font-size: 9px; }
.ps-studio-note p { font-size: 16px; margin: 14px 0 5px; }

@media (min-width: 801px) and (max-width: 1150px) {
  .ps-settings-note { grid-column: 1 / -1; }
  .ps-icon-workbench { grid-template-columns: 200px minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 1100px) {
  .ps { padding-inline: 32px; }
  .ps h1 { font-size: 72px; }
  .ps-faq { gap: 44px; }
  .ps-section-heading { gap: 38px; }
  .ps-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 24px; }
  .ps .ps-bar-link { margin-left: 0; }
  .ps-open-grid { grid-template-columns: 1fr; }
  .ps-open-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .ps-open-ways article:last-child { border-bottom: 0; }
}
@media (max-width: 900px) {
  .ps-demo-colors { justify-content: center; }
  .ps-talk-example { grid-template-columns: 1fr; }
  .ps-pen-tab { gap: 12px; padding: 12px 14px; }
}
@media (max-width: 800px) {
  .ps-motion-stage { height: 430px; min-height: 0; }
  .ps-motion-card { padding: 26px 18px; border-radius: 7px; }
  .ps-card-edge-label { left: 12px; right: 12px; }
  .ps-depth-dots { right: 5px; }
  .ps-depth-dots button { width: 13px; height: 14px; }
  .ps-depth-dots button::after { width: 3px; height: 3px; }
  .ps-depth-dots button[aria-current="true"]::after { width: 6px; height: 6px; }
  .ps-progress-meta { gap: 10px; }
  .ps-progress-meta > span:nth-child(2) { margin-right: auto; }
  .ps-scene-progress { left: 12px; right: 12px; font-size: 7px; }
  .ps-motion-reader .ps-window-bar { padding-inline: 65px 16px; font-size: 8px; height: 36px; }
  .ps-motion-reader .ps-window-dots { left: 11px; gap: 5px; }
  .ps-motion-reader .ps-window-dots i { width: 7px; height: 7px; }
  .ps-window-trail { display: none; }
  .ps-section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .ps-section-heading > .ps-lead { max-width: 40rem; }
  .ps-reading-section, .ps-pen-section, .ps-present-section, .ps-open-section, .ps-custom-section { padding-block: 64px; }
  .ps-icons-block { margin-top: 64px; padding-top: 64px; }
  .ps-open-visual { max-width: 760px; }
  .ps-why-cards { grid-template-columns: 1fr; gap: 22px; }
  .ps-why-close { margin-top: 34px; }
  .ps-map { grid-template-columns: 1fr; gap: 24px; }
  .ps-section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 35px; }
  .ps-section-heading > .ps-lead { max-width: 550px; }
  .ps-pen-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-open-ways { grid-template-columns: 1fr; gap: 0; }
  .ps-open-ways article:last-child { border-bottom: 1px solid var(--line); }
  .ps-assurances { grid-template-columns: 1fr; gap: 14px; font-size: 10px; }
  .ps .ps-comparison-scroll { display: block; }
  .ps-comparison-heading { display: block; }
  .ps .ps-comparison-scroll { margin-top: 12px; }
  .ps-comparison table { min-width: 760px; }
  .ps-comparison .ps-compare-name-col { width: 21%; }
  .ps-comparison .ps-compare-product { font-size: 21px; }
  .ps-comparison th, .ps-comparison td { padding: 17px 9px; }
  .ps-compare-role { font-size: 8px; }
  .ps-custom-notes { grid-template-columns: 1fr; gap: 28px; }
  .ps-custom-notes p { max-width: 620px; }
  .ps-icon-workbench { grid-template-columns: 170px minmax(0, 1fr); gap: 28px; }
  .ps-dock-tile { height: 170px; }
  .ps-dock-tile img { width: 128px; height: 128px; }
  .ps-icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-icon-choice > .ps-label { display: none; }
  .ps-faq { grid-template-columns: 1fr; padding-block: 65px; gap: 30px; }
  .ps-download { padding-block: 55px; }
}
@media (max-width: 640px) {
  .ps .ps-chip { width: 64px; height: 44px; }
  .ps-chip-swatch { width: 52px; height: 26px; }
  .ps .ps-chip-row { max-width: 100%; padding: 2px; overflow-x: auto; scrollbar-width: none; }
  .ps .ps-chip-row::-webkit-scrollbar { display: none; }
  .ps-demo-colors .ps-palette-name { display: none; }
  .ps-pen-tabs { gap: 8px; }
  .ps .ps-pen-tab { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 12px; }
  .ps-pen-name { font-size: 19px; }
  .ps-pen-name small { display: none; }
  .ps-pen-stage { padding: 48px 12px 20px; }
  .ps-pen-shell { height: clamp(208px, 54vw, 232px); }
  .ps-pen-chrome { height: 36px; padding-inline: 56px; font-size: 9px; }
  .ps-pen-chrome .ps-window-dots { left: 12px; top: 13px; gap: 5px; }
  .ps-pen-chrome .ps-window-dots i { width: 8px; height: 8px; }
  .ps-pen-stack { padding: 18px 12px 16px; }
  .ps-pen-views { margin-top: 24px; }
  .ps-pen-card { min-height: 0; padding: 28px 8% 22px; }
  .ps-pen-bar { top: 12px; right: 12px; }
  .ps-pen-source, .ps-pen-files pre { font-size: 12px; }
  .ps-open-visual { height: 428px; }
  .ps-open-term { width: min(100%, 420px); height: 124px; }
  .ps .ps-open-line { white-space: nowrap; }
  .ps-open-term-body { padding: 8px 12px 10px; font-size: 12px; }
  .ps-open-app { width: min(100%, 420px); height: 220px; right: 0; }
  .ps-open-app--next { bottom: 72px; }
  .ps-open-app .ps-mini-stage { --mini-width: 90%; --mini-height: 84%; }
  .ps-move { gap: 22px; }
  .ps-move .ps-motion-stage { height: clamp(200px, 52vw, 236px); min-height: 0; }
  .ps-place-meta { left: 14px; right: 14px; bottom: 12px; gap: 8px; letter-spacing: .06em; }
  .ps-place-overlay { left: 14px; right: 14px; width: auto; }
  .ps-talk-visual { flex-direction: column; align-items: stretch; }
  .ps-talk-chips { flex-direction: row; justify-content: flex-start; }
  .ps-chip-column { flex-direction: row; }
  .ps-mini-stage { --mini-width: 80%; }
  .ps-mini-front { padding: 22px 8%; }
  .ps-mini-trail { min-height: 34px; padding-inline: 44px 20px; font-size: 8px; }
  .ps-mini-trail .ps-window-dots { left: 9px; top: 13px; gap: 4px; }
  .ps-mini-trail .ps-window-dots i { width: 6px; height: 6px; }
  .ps-mini-progress { padding: 8px 15px 13px; font-size: 7px; }
  .ps-mini-progress > div:first-child { gap: 10px; }
  .ps-mini-edge { left: 10px; right: 10px; font-size: 6px; }
}
@media (max-width: 600px) {
  .pasture-site .product-nav { overflow: visible; }
  .pasture-site .product-nav__identity { position: static; }
  .pasture-site .product-nav__links { gap: 16px; }
  .pasture-site .product-nav__links a { padding-block: 12px; font-size: 10px; }
}
@media (max-width: 500px) {
  .ps-segment button { padding-inline: 12px; font-size: 10px; }
  .ps-pen-views.ps-segment button { padding-inline: 14px; font-size: 11px; }
  .ps-icon-workbench { grid-template-columns: 1fr; gap: 26px; }
  .ps-icon-choice { display: grid; grid-template-columns: auto 1fr; gap: 0 24px; text-align: left; align-items: center; }
  .ps-dock-tile { grid-row: 1 / 4; height: 102px; width: 120px; flex-shrink: 0; }
  .ps-dock-tile img { height: 85px; width: 85px; }
  .ps-icon-choice > p { margin: 0 0 12px; }
  .ps-icon-choice .ps-icon-tools { align-items: flex-start; }
  .ps-example-grid { grid-template-columns: 1fr; }
  .ps-file-example h4 { max-width: none; }
  .ps-file-example pre { min-height: 130px; }
}
@media (max-width: 430px) {
  .ps { padding-inline: 21px; }
  .ps h1 { font-size: clamp(48px, 15vw, 60px); }
  .ps h2 { font-size: 38px; }
  .ps .ps-label { font-size: 9px; }
  .ps-actions { gap: 18px; }
  .ps .ps-button { padding: 16px 18px; font-size: 11px; gap: 23px; }
  .ps .ps-text-link { font-size: 11px; }
  .ps-reader-stage { padding: 15px 12px; }
  .ps .ps-sheet-label { font-size: 8px; }
  .ps-faq .ps-text-link { font-size: 10px; }
  .ps-download h2 { font-size: clamp(40px, 12vw, 53px); }
  .ps-palette-reset { left: 10px; bottom: 10px; font-size: 9px; padding: 8px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pasture-site { transition: none; }
  .ps .ps-open-caret { animation: none; opacity: 1; }
  .ps *, .ps *::before, .ps *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* About-window spray, on the existing full lockup in the product nav. */
.pasture-site .product-nav__lockup.is-spray {
  position: relative;
  display: inline-block;
  width: min(11.5rem, 46vw);
  height: 1.2rem;
  min-width: 0;
  color: #1a1916;
  -webkit-mask: var(--lockup-mask) no-repeat left center / contain;
  mask: var(--lockup-mask) no-repeat left center / contain;
}
:root[data-theme="dark"] .pasture-site .product-nav__lockup.is-spray {
  color: #d9c79a;
}
.pasture-site :is(.product-nav__lockup.is-spray, .ps-lockup-spray) .spray {
  position: absolute;
  left: -6%;
  right: -6%;
  background: currentColor;
  -webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  opacity: 0;
}
.pasture-site :is(.product-nav__lockup.is-spray, .ps-lockup-spray) .spray-1 {
  top: -14%;
  height: 70%;
  transform: rotate(-3.5deg);
  animation: pasture-spray-ltr 0.62s cubic-bezier(0.3, 0.5, 0.35, 1) 0.2s forwards;
}
.pasture-site :is(.product-nav__lockup.is-spray, .ps-lockup-spray) .spray-2 {
  top: 20%;
  height: 66%;
  transform: rotate(2.5deg);
  animation: pasture-spray-rtl 0.42s cubic-bezier(0.25, 0.6, 0.3, 1) 0.86s forwards;
}
.pasture-site :is(.product-nav__lockup.is-spray, .ps-lockup-spray) .spray-3 {
  bottom: -14%;
  height: 64%;
  transform: rotate(-2deg);
  animation: pasture-spray-ltr 0.3s cubic-bezier(0.2, 0.6, 0.25, 1) 1.32s forwards;
}
.pasture-site :is(.product-nav__lockup.is-spray, .ps-lockup-spray) .spray-4 {
  top: -20%;
  height: 140%;
  transform: rotate(-1.5deg);
  animation: pasture-spray-ltr 0.14s cubic-bezier(0.1, 0.7, 0.2, 1) 1.66s forwards;
}
.pasture-site :is(.product-nav__lockup.is-spray, .ps-lockup-spray) .spray-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0;
  animation: pasture-grain-in 1.1s ease 0.7s forwards;
  pointer-events: none;
}
@keyframes pasture-spray-ltr {
  from { opacity: 0.92; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes pasture-spray-rtl {
  from { opacity: 0.92; clip-path: inset(0 0 0 100%); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes pasture-grain-in { to { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .pasture-site :is(.product-nav__lockup.is-spray, .ps-lockup-spray) .spray {
    animation: none;
    opacity: 1;
    clip-path: none;
    transform: none;
  }
  .pasture-site :is(.product-nav__lockup.is-spray, .ps-lockup-spray) .spray-grain { animation: none; opacity: 0.2; }
}

/* One bounded reading window is the hero; settings stay secondary. */
.ps-hero-motion { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.38fr); column-gap: clamp(28px, 4vw, 64px); row-gap: 12px; align-items: center; padding-block: clamp(24px, 4vh, 48px) 40px; }
.ps-motion-heading { grid-column: 1; grid-row: 1; align-self: end; min-width: 0; }
.ps-hero-follow { grid-column: 1; grid-row: 2; align-self: start; min-width: 0; }
.ps-motion-heading > .ps-label { margin-bottom: 18px; color: var(--ink-2); }
.ps-hero-motion h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.045em; overflow-wrap: break-word; }
.ps-hero-follow .ps-lead { margin-top: 8px; max-width: 34rem; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.ps-hero-motion .ps-actions { margin-top: 22px; gap: 18px; }
.ps-hero-motion .ps-button { min-height: 44px; padding: 12px 17px; font-size: 11px; gap: 20px; }
.ps-hero-follow > .ps-small { margin-top: 14px; font-size: 10px; }
.ps-hero-motion .ps-demo-wrap { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: 760px; align-self: center; justify-self: end; }
.ps-hero-motion .ps-app-window { border-radius: 12px; box-shadow: 0 20px 50px #00000020; }
.ps-hero-motion .ps-demo-wrap { container-type: inline-size; }
.ps-hero-motion .ps-motion-stage { height: clamp(400px, calc(100svh - 360px), 460px); padding: 0; --scene-card-width: 76%; --scene-card-height: 64%; }
.ps-hero-motion .ps-boot-left { transform: translate(calc(-50% - 108.55%), -50%) scale(0.94); z-index: 10; }
.ps-hero-motion .ps-boot-right { transform: translate(calc(-50% + 108.55%), -50%) scale(0.94); z-index: 10; }
.ps-hero-motion .ps-boot-above { --edge-lip: 32px; transform: translate(-50%, calc(-50% - 32px)) scaleX(0.98); opacity: 0.95; z-index: 29; }
.ps-hero-motion .ps-boot-below { --edge-lip: 32px; transform: translate(-50%, calc(-50% + 32px)) scaleX(0.98); opacity: 0.95; z-index: 29; }
.ps-hero-motion .ps-scene > .ps-motion-card.is-current { transform: translate(-50%, -50%); z-index: 30; }
@container (max-width: 559px) {
  .ps-hero-motion .ps-motion-stage { --scene-card-width: 92%; --scene-card-height: 78%; --scene-font: 17px; }
  .ps-hero-motion .ps-boot-side { display: none; }
  .ps-hero-motion .ps-boot-above { --edge-lip: 16px; transform: translate(-50%, calc(-50% - 16px)) scaleX(0.994); opacity: 0.97; }
  .ps-hero-motion .ps-boot-below { --edge-lip: 16px; transform: translate(-50%, calc(-50% + 16px)) scaleX(0.994); opacity: 0.97; }
}
.ps-hero-motion .ps-motion-card { padding: 26px 7%; }
.ps-hero-motion .ps-depth-dots { display: none; }
.ps-hero-motion .ps-progress-ends, .ps-hero-motion .ps-progress-track > span, .ps-hero-motion [data-cut-count] { display: none; }
.ps-hero-motion .ps-scene-progress { bottom: 18px; left: 24px; right: 24px; font-size: 8px; }
.ps-hero-motion .ps-progress-meta { justify-content: space-between; margin-bottom: 10px; }
.ps-hero-motion .ps-progress-track i::after { width: 5px; height: 5px; right: -2px; top: -1.5px; box-shadow: none; }
.ps-demo-playback { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 64px; margin-top: 20px; }
.ps-tour-toggle { font: 10px/1.5 var(--font-mono) !important; color: var(--ink-2); background: transparent; border: 0; padding: 10px 0 10px 12px; min-height: 44px; white-space: nowrap; }
.ps-tour-toggle:hover { color: var(--ink); }
.ps-hero-motion .ps-demo-colors { min-width: 0; border: 0; margin-top: 14px; }
.ps-hero-motion .ps-demo-colors > .ps-label { font-size: 8px; letter-spacing: .06em; margin-right: 4px; }
.ps-hero-motion .ps-chip-row { gap: 4px; max-width: 100%; min-height: 44px; overflow-x: auto; padding: 0; scrollbar-width: none; }
.ps-hero-motion .ps-chip { width: 64px; height: 44px; border-radius: 5px; }
.ps-hero-motion .ps-chip-swatch { width: 52px; height: 26px; border-width: 1px; }
.ps-hero-motion .ps-palette-name { margin-left: auto; font-size: 8px; letter-spacing: .04em; }
.ps-demo-controls { border-top: 1px solid var(--line); }
.ps-demo-controls > summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font: 10px/1.5 var(--font-mono); color: var(--ink-2); list-style: none; cursor: pointer; }
.ps-demo-controls > summary::-webkit-details-marker { display: none; }
.ps-demo-controls[open] > summary > span { transform: rotate(45deg); }
.ps-demo-control-body { padding-bottom: 16px; }
.ps-demo-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-demo-actions button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); font: 10px/1.5 var(--font-mono); }
.ps-demo-actions button:hover, .ps-demo-actions button[aria-pressed="true"], .ps-demo-actions button.is-pressed { background: var(--ink); color: var(--bg); }
.ps-demo-actions button:disabled { opacity: .4; cursor: default; }
.ps-hero-motion .ps-demo-help { border: 0; padding-top: 12px; font-size: 10px; }
@media (max-width: 1000px) {
  .ps-hero-motion { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; }
  .ps-hero-motion h1 { font-size: 43px; }
  .ps-hero-motion .ps-lead { font-size: 16px; }
  .ps-hero-motion .ps-palette-name { display: none; }
}
@media (max-width: 760px) {
  .ps-hero-motion { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 20px 40px; }
  .ps-motion-heading, .ps-hero-follow, .ps-hero-motion .ps-demo-wrap { grid-column: 1; grid-row: auto; }
  .ps-motion-heading { padding-bottom: 0; }
  .ps-motion-heading > .ps-label { margin-bottom: 10px; }
  .ps-hero-motion h1 { font-size: clamp(34px, 8.4vw, 42px); }
  .ps-hero-follow .ps-lead { margin-top: 4px; max-width: none; font-size: 17px; }
  .ps-hero-motion .ps-actions { margin-top: 16px; }
  .ps-hero-motion .ps-demo-wrap { justify-self: stretch; max-width: none; }
  .ps-hero-motion .ps-motion-stage { height: clamp(188px, 48vw, 214px); --scene-card-width: 88%; --scene-card-height: 84%; }
  .ps-hero-motion .ps-motion-card.is-above .ps-card-edge-label,
  .ps-hero-motion .ps-motion-card.is-below .ps-card-edge-label { visibility: hidden; }
  .ps-theme-window .ps-motion-stage { height: clamp(300px, 46svh, 380px); }
  .ps-theme-window .ps-motion-card { padding: 22px 8%; }
  .ps-hero-motion .ps-palette-name { display: block; }
}
@media (max-width: 420px) {
  .ps-hero-motion h1 br, .ps-download h2 br { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .ps-hero-motion { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: 16px; padding-block: 12px 24px; }
  .ps-motion-heading { grid-column: 1; grid-row: 1; }
  .ps-hero-motion .ps-demo-wrap { grid-column: 2; grid-row: 1 / span 2; }
  .ps-hero-follow { grid-column: 1 / -1; grid-row: 3; }
  .ps-hero-motion .ps-motion-stage { height: min(240px, 62svh); }
  .ps-hero-motion h1 br { display: none; }
}
@media (max-width: 420px) {
  .ps-move .ps-motion-stage { height: clamp(188px, 56vw, 220px); min-height: 0; --scene-font: 16px; }
  .ps-move-key { width: 44px; height: 40px; }
  .ps-move-hjkl { grid-template-columns: repeat(4, 44px); }
  .ps-move-arrows { grid-template-columns: repeat(3, 44px); grid-template-rows: 40px 40px; }
  .ps-hero-motion .ps-demo-colors { gap: 4px; }
  .ps-hero-motion .ps-palette-name { display: none; }
  .ps-hero-motion .ps-chip { width: 64px; }
}

/* Compact reader tools borrow Pendulum's circular pause/settings controls. */
.pasture-site { --reading-scale: var(--font-scale, 1); }
.pasture-site .shell-product__identity.is-spray [class*="shell-art"] { position: relative; }
/* Keep the canonical lockup painted. Hiding it until the spray finished left the header blank, then half-wiped. */
.pasture-site .shell-product__identity.is-spray [class*="shell-art"] > svg {
  position: relative;
  z-index: 1;
  opacity: 1;
}
@keyframes pasture-spray-done { to { opacity: 0; } }
.pasture-site .shell-product__identity.is-spray .ps-lockup-spray {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  -webkit-mask: var(--lockup-mask) no-repeat center / 100% 100%;
  mask: var(--lockup-mask) no-repeat center / 100% 100%;
  pointer-events: none;
  animation: pasture-spray-done .24s linear 1.62s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .pasture-site .shell-product__identity.is-spray .ps-lockup-spray { animation: none; opacity: 0; }
  .pasture-site .shell-product__identity.is-spray [class*="shell-art"] > svg { animation: none; opacity: 1; }
}
.ps-theme-window { width: min(100%, 760px); margin: 28px auto 0; }
.ps-theme-window .ps-motion-stage { height: clamp(400px, calc(100svh - 360px), 460px); }
.ps-theme-window .ps-motion-card { padding: 26px 7%; }
.ps-theme-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.ps-demo-tools { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ps-demo-tools > .ps-tour-toggle, .ps-demo-popover > summary { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line); border-radius: 24px; background: transparent; color: var(--ink); cursor: pointer; }
.ps-demo-tools > .ps-tour-toggle { gap: 6px; padding: 8px 12px; }
.ps-demo-popover { position: relative; }
.ps-demo-popover > summary { width: 44px; list-style: none; }
.ps-demo-popover > summary::-webkit-details-marker { display: none; }
.ps-demo-tools .icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ps-demo-popover[open] > summary, .ps-demo-popover > summary:hover { background: color-mix(in srgb, var(--paper-highlight) 12%, var(--bg)); }
.ps-settings-panel, .ps-quick-panel { position: absolute; z-index: 80; right: calc(-1 * var(--panel-shift, 0px)); top: 54px; width: min(360px, calc(100vw - 44px)); max-height: var(--panel-height, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); box-shadow: 0 16px 45px #0002; }
.ps-demo-popover[data-side="up"] > :is(.ps-settings-panel,.ps-quick-panel) { top: auto; bottom: 54px; }
.ps-quick-panel { width: 252px; padding: 16px; }
.ps-quick-panel > .ps-label { display: block; color: var(--ink-2); margin-bottom: 10px; }
.ps-settings-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 12px/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.ps-settings-heading button { min-width: 44px; min-height: 44px; margin: -10px -10px -10px 0; background: transparent; border: 0; color: var(--ink-2); font-size: 24px; }
.ps-settings-panel fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.ps-settings-panel legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px; color: var(--ink-2); font: 10px/1.5 var(--font-mono); }
.ps-setting-options { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-setting-options button { flex: 1 1 auto; min-height: 44px; padding: 8px 10px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 22px; font: 10px/1.5 var(--font-mono); }
.ps-setting-options button[aria-pressed="true"] { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.ps-setting-options [data-font="sans"] { font: 14px/1.4 -apple-system, BlinkMacSystemFont, sans-serif; }
.ps-setting-options [data-font="serif"] { font: 16px/1.4 ui-serif, Georgia, serif; }
.ps-setting-options [data-font="mono"] { font: 12px/1.4 ui-monospace, monospace; }
.ps-setting-options [data-font="ortica"] { font: 16px/1.4 'Ortica Linear', Georgia, serif; }
.ps-setting-options [data-font="necto"] { font: 12px/1.4 'Necto Mono', monospace; }
.ps-size-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.ps-size-controls label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; color: var(--ink-2); font: 9px/1.5 var(--font-mono); }
.ps-size-controls input { width: 100%; min-height: 32px; accent-color: var(--ink); }
.ps-size-controls label:has(input:disabled) { opacity: .4; cursor: default; }
.ps-settings-reset { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; color: var(--ink-2); background: transparent; border: 0; font: 10px/1.5 var(--font-mono) !important; }
.ps-hero-motion .ps-demo-colors { display: block; }
.ps-color-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 5px; }
.ps-hero-motion .ps-color-heading .ps-palette-name { display: block; margin: 0; font-size: 9px; }
.ps-color-heading a { min-height: 30px; display: inline-flex; align-items: center; font: 9px/1.5 var(--font-mono); color: var(--ink-2); text-decoration: none; }
.ps-color-heading a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ps-hero-motion .ps-chip-row { width: 100%; justify-content: flex-start; }
.ps-hero-motion .ps-chip { width: 64px; height: 44px; }
.ps-hero-motion .ps-depth-dots { right: 5px; }
.ps-hero-motion .ps-depth-dots button { width: 24px; height: 24px; }
.ps-hero-motion .ps-depth-dots button::after { width: 4px; height: 4px; }
.ps-hero-motion .ps-depth-dots button[aria-current="true"]::after { width: 7px; height: 7px; box-shadow: none; }
.ps-hero-motion [data-pips="true"] .ps-depth-dots { display: flex; }
.ps-hero-motion [data-markers="true"] .ps-progress-track > span { display: block; }
.ps-motion-reader[data-progress="false"] .ps-progress-track,
.ps-motion-reader[data-count="false"] .ps-progress-meta,
.ps-motion-reader[data-title-mode="off"] [data-section-label],
.ps-motion-reader[data-neighbors="false"] .ps-motion-card.is-neighbor,
.ps-motion-reader[data-edges="false"] .ps-motion-card:not(.is-current):not(.is-neighbor) { display: none; }
.ps-motion-reader[data-layout="zen"] .ps-motion-card { top: 50%; padding: 32px 10%; border: 0; border-radius: 0; box-shadow: none; }
.ps-motion-reader[data-layout="zen"] :is(.ps-app-window,.ps-motion-stage) { background: var(--paper); }
.ps-motion-reader[data-layout="zen"] .ps-motion-card:not(.is-current) { display: none; }
.ps-motion-reader[data-layout="zen"] .ps-card-edge-label { display: none; }
@media (max-width: 800px) {
  .pasture-site .product-nav { padding: 3px var(--space-3); gap: var(--space-2); overflow: visible; }
  .pasture-site .product-nav__identity { position: static; flex: none; min-height: 44px; padding-right: 0; background: transparent; }
  .pasture-site .product-nav__links { flex: 1; min-width: 0; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; }
  .pasture-site .product-nav__links::-webkit-scrollbar { display: none; }
  .pasture-site .product-nav__links a { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
  .ps-hero-motion .ps-window-trail { display: inline; }
  .ps-settings-panel { max-height: var(--panel-height, 480px); }
}
@media (max-width: 1023px), (pointer: coarse) {
  .pasture-site .studio-strip .chip { min-width: 44px; min-height: 44px; justify-content: center; }
}
@media (min-width: 761px) and (max-width: 1120px), (max-width: 540px) {
  .ps-demo-playback { flex-direction: column; align-items: stretch; gap: 16px; }
  .ps-demo-tools { justify-content: center; }
}
@media (max-width: 420px) {
  .ps-motion-reader .ps-window-bar { padding-inline: 62px 16px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-motion-reader .ps-motion-card { animation: none !important; transition: none; }
  .ps-motion-sentence, .ps-progress-track i { transition: none !important; }
}
.ps-window-settings > button { display: flex; width: 100%; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; background: none; border: 0; font: 11px/1.5 var(--font-mono); color: var(--ink); cursor: pointer; text-align: left; }
.ps-window-settings > button > i { position: relative; flex: none; width: 32px; height: 18px; margin-left: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-recessed); }
.ps-window-settings > button > i::after { content: ''; position: absolute; width: 12px; height: 12px; left: 2px; top: 2px; border-radius: 50%; background: var(--ink-2); transition: transform .16s; }
.ps-window-settings > button[aria-checked="true"] > i { background: var(--ink); border-color: var(--ink); }
.ps-window-settings > button[aria-checked="true"] > i::after { background: var(--bg); transform: translateX(14px); }
.ps-window-settings > button:disabled { opacity: .4; cursor: default; }

.ps-present-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(280px, 1.22fr);
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 16px;
  align-items: center;
  padding-block: 96px;
  border-top: 1px solid var(--line);
}
.ps-present-section > .ps-section-heading { display: block; margin-bottom: 0; }
.ps-present-section > .ps-section-heading h2 { margin-top: 16px; }
.ps-present-section .ps-section-heading > .ps-lead { max-width: 36rem; margin-top: 18px; }
.ps-present-section > .ps-talk-visual { grid-column: 2; grid-row: 1 / span 2; }
.ps-present-section .ps-talk-visual > .ps-present-mount { flex: 1 1 auto; align-self: stretch; min-width: 0; }
.ps .ps-present-section .ps-present-note { grid-column: 1; margin: 0; color: var(--ink-2); }
.ps-present-section .ps-talk-chips > .ps-label { color: var(--ink-2); }
.ps .ps-present-section .ps-chip[aria-pressed="true"] { border-color: var(--paper-ink); }
.ps .ps-present-section .ps-talk-slide h3 { font-size: calc(max(20px, 2.5vw) * var(--reading-scale)); }
.ps .ps-present-section .ps-talk-slide p { font-size: calc(max(15px, 1.3vw) * var(--reading-scale)); }

/* The Markdown table stays inside the source sheet, not a separate page section. */
.ps-table-story { margin-top: 48px; }
.ps-data-table { width: 100%; margin-top: 16px; border-collapse: collapse; color: var(--paper-ink); font: 13px/1.45 var(--font-mono); }
.ps-data-table th, .ps-data-table td { padding: 10px 12px; border-bottom: 1px solid var(--paper-line); text-align: left; vertical-align: top; }
.ps-data-table th { color: var(--paper-muted); font-weight: 400; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ps-data-table tr:last-child td { border-bottom: 0; }

.ps-pen-honesty { max-width: 68ch; margin: 2px auto 0; color: var(--ink-2); font: 11px/1.7 var(--font-mono); text-align: center; }
.ps .ps-window-caption { margin-top: 12px; color: var(--ink-3); font: 10px/1.5 var(--font-mono); letter-spacing: .04em; text-align: center; }
.ps .ps-review-note { margin-top: 10px; color: var(--ink-2); font: 11px/1.6 var(--font-mono); }
.ps-download .ps-review-note { margin: 14px auto 8px; }
.ps .ps-button--large { min-height: 56px; padding: 18px 28px; font-size: 13px; }
.ps a[data-project-link="download"]:not([href]),
.ps a[data-project-link="download"][aria-disabled="true"] {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-strong);
  cursor: not-allowed;
}
.ps a[data-project-link="download"]:not([href]):hover,
.ps a[data-project-link="download"][aria-disabled="true"]:hover {
  background: transparent;
  color: var(--ink-2);
}
.ps-sample-links { margin: 6px 0 0; }
.ps-sample-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; }
.ps-sample-files a { font: 11px/1.6 var(--font-mono); text-underline-offset: 3px; }
.ps-sample-files li:not(:has(a:not([hidden]))) { display: none; }
.ps-download .ps-assurances { margin-top: 36px; text-align: left; }

.ps-offer, .ps-alongside { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-questions summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ps-pace { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.ps-pace-panel { margin: 0; min-width: 0; }
.ps-pace-doc, .ps-pace-deck { height: 500px; display: flex; flex-direction: column; }
.ps-pace-doc { background: var(--paper); }
.ps-pace-doc .ps-window-bar { background: var(--paper); }
.ps-pace-viewport { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ps-pace-viewport::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.ps-pace-track { animation: ps-pace-roll 72s linear infinite; }
.ps-pace.is-paused .ps-pace-track, .ps-pace-track:hover { animation-play-state: paused; }
@keyframes ps-pace-roll { to { transform: translateY(-50%); } }
.ps-pace-prose { padding: 28px 32px 64px; color: var(--paper-ink); }
.ps .ps-pace-prose h3 { margin: 0 0 .35em; font-size: clamp(28px, 2.6vw, 36px); }
.ps .ps-pace-prose h3:not(:first-child) { margin-top: 1.15em; }
.ps .ps-pace-prose p, .ps .ps-pace-prose li { font: 400 clamp(22px, 2.1vw, 28px)/1.45 var(--font-display); letter-spacing: -.02em; }
.ps .ps-pace-prose p { margin: 0 0 .7em; }
.ps .ps-pace-prose blockquote { margin: 0 0 1.1em; color: color-mix(in srgb, var(--paper-ink) 72%, var(--paper)); font: 400 clamp(20px, 1.8vw, 24px)/1.45 var(--font-display); }
.ps .ps-pace-prose ul, .ps .ps-pace-prose ol { margin: 0; padding-left: 1.15em; }
.ps .ps-pace-prose li { margin: 0 0 .4em; }
.ps .ps-pace-prose li::marker { color: color-mix(in srgb, var(--paper-ink) 45%, var(--paper)); }
.ps-pace .ps-motion-stage { flex: 1; height: auto; min-height: 0; }
.ps-pace .ps-motion-card { top: 50%; padding: 22px 10%; transition: transform .34s cubic-bezier(.22, .72, .2, 1), opacity .34s ease; }
.ps .ps-pace .ps-motion-text { overflow: hidden; font-size: calc(var(--scene-font) * min(var(--reading-scale), 1.2)); line-height: 1.35; text-align: center; text-wrap: balance; transition: none; }
.ps-pace .ps-scene-progress { bottom: 14px; }
.ps .ps-pace figcaption { display: grid; gap: 6px; margin: 0 0 12px; color: var(--ink); font: 400 clamp(17px, 1.5vw, 20px)/1.35 var(--font-display); letter-spacing: -.02em; text-transform: none; }
.ps-pace figcaption .ps-label { color: var(--ink-2); }
.ps-pace-frame { position: absolute; left: 50%; top: 0; height: 100%; width: var(--scene-card-width); transition: transform .55s cubic-bezier(.22, .72, .2, 1); }
.ps-pace-deck:not([data-ready]) .ps-pace-frame,
.ps-pace-deck:not([data-ready]) .ps-pace-frame .ps-motion-card { transition: none; }
.ps-pace-frame .ps-motion-card { left: 0; }
.ps-pace .ps-motion-card.is-neighbor.is-pile-front .ps-motion-text { visibility: visible; opacity: 1; }
.ps-pace .ps-motion-card.is-neighbor.is-left .ps-card-edge-label,
.ps-pace .ps-motion-card.is-neighbor.is-right .ps-card-edge-label { display: block; width: calc(var(--pace-peek) - 12px); overflow: hidden; text-overflow: ellipsis; }
.ps-pace .ps-motion-card.is-neighbor.is-left .ps-card-edge-label { left: auto; right: 8px; text-align: left; }
.ps-pace .ps-motion-card.is-neighbor.is-right .ps-card-edge-label { left: 8px; right: auto; text-align: left; }
.ps-alongside .ps-compare-switch { margin: 4px 0 28px; }
.ps-alongside .ps-segment button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.ps-compare-question { max-width: 22ch; margin: 0 0 22px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; }
.ps-comparison-scroll { display: none; margin: 0 0 12px; font: 10px/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ps-comparison { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.ps-matrix table { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: center; }
.ps-matrix col.feature { width: 28%; }
.ps-matrix th, .ps-matrix td { padding: 16px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ps-matrix thead th { border-top: 1px solid var(--line); vertical-align: bottom; padding-top: 20px; }
.ps-matrix thead th:first-child, .ps-matrix tbody th { text-align: left; font-weight: 400; }
.ps-matrix tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); }
.ps-matrix .ps-col-pasture { background: var(--bg-raised); }
.ps-matrix thead .ps-col-pasture { box-shadow: inset 0 2px 0 var(--ink); }
.ps-compare-product { color: inherit; font: 400 16px/1.15 var(--font-display); letter-spacing: -.03em; text-decoration: none; }
.ps-compare-product:hover { text-decoration: underline; text-underline-offset: 4px; }
.ps-out { margin-left: .35em; font: 10px/1 var(--font-mono); color: var(--ink-2); text-decoration: none; }
.ps-compare-role { display: block; margin-top: 6px; font: 9px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--ink-2); }
.ps-matrix tbody th[scope="row"] { font-size: 16px; letter-spacing: -.02em; line-height: 1.3; }
.ps-matrix tr.ps-matrix-group > th { position: static; background: transparent; border-bottom: 0; padding: 26px 10px 6px; font: 9px/1.6 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.ps-matrix tr.ps-matrix-group > td { border-bottom: 0; background: transparent; padding-top: 26px; padding-bottom: 6px; }
.ps-matrix tr.ps-matrix-group > td.ps-col-pasture { background: var(--bg-raised); }
.ps-compare-check, .ps-compare-no { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font: 13px/1 var(--font-mono); }
.ps-compare-check { border: 1px solid var(--ink-2); border-radius: 3px; }
.ps-col-pasture .ps-compare-check { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ps-compare-no { color: var(--ink-2); font-size: 16px; }
.ps-comparison-key { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; font: 10px/1.6 var(--font-mono); color: var(--ink-2); }
.ps-comparison-key > span { display: flex; align-items: center; gap: 8px; }
.ps-comparison-key .ps-compare-check { width: 16px; height: 16px; font-size: 11px; }
.ps-comparison-key b { font-weight: 400; font-size: 15px; }
.ps-compare-takeaway { max-width: 34em; margin: 36px 0 0; font-size: clamp(22px, 2.1vw, 28px); font-weight: 300; line-height: 1.35; letter-spacing: -.03em; }
.ps-editorial { width: 100%; border-collapse: collapse; }
.ps-editorial th, .ps-editorial td { padding: 20px 28px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.ps-editorial thead th { padding-bottom: 12px; font: 9px/1.6 var(--font-mono); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ps-editorial tbody th { width: 24%; font-weight: 400; }
.ps-editorial td { width: 38%; font-size: 16px; line-height: 1.45; }
.ps-editorial .ps-compare-product { font-size: 22px; }
.ps-editorial tr.is-pasture > * { background: var(--bg-raised); }
.ps-editorial tr.is-pasture th { box-shadow: inset 2px 0 0 var(--ink); padding-left: 16px; }
.ps-compare-foot { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 46em; }
.ps .ps-compare-foot p { margin: 0; color: var(--ink-2); font: 13px/1.5 var(--font-mono); }
@media (max-width: 980px) {
  .ps-offer, .ps-alongside { padding-block: 64px; }
}
@media (max-width: 860px) {
  .ps-pace { grid-template-columns: 1fr; }
  .ps-pace-doc, .ps-pace-deck { height: clamp(210px, 58vw, 248px); }
  .ps-comparison-scroll { display: block; }
  .ps-alongside .ps-segment { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ps-alongside .ps-segment button { border-bottom: 1px solid var(--line-strong); }
  .ps-alongside .ps-segment button:nth-child(2n) { border-right: 0; }
  .ps-alongside .ps-segment button:nth-last-child(-n+2) { border-bottom: 0; }
  .ps-editorial, .ps-editorial tbody, .ps-editorial tr, .ps-editorial th, .ps-editorial td { display: block; width: 100%; }
  .ps-editorial thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ps-editorial tr { padding: 8px 0 14px; }
  .ps-editorial th, .ps-editorial td { border-bottom: 0; padding: 8px 0; }
  .ps-editorial td::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 9px/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
  .ps-editorial tr.is-pasture th { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-pace-track { animation: none; }
}

@media (max-width: 900px) {
  .ps-present-section { display: block; }
  .ps-present-section > .ps-section-heading { margin-bottom: 28px; }
  .ps-present-section > .ps-talk-visual { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .ps-hero-motion .ps-motion-stage { height: clamp(240px, 42svh, 320px); }
}
@media (max-width: 640px) {
  .ps-table-story { margin-top: 28px; }
  .ps-data-table { font-size: 12px; }
  .ps-data-table th, .ps-data-table td { padding: 8px; }
}

/* Reading rooms. Miniature of the same deck pile, above Move your way. */
.ps-rooms { padding-block: 96px; border-top: 1px solid var(--line); }
.ps-rooms-head { max-width: 40rem; margin: 0 auto 48px; text-align: center; }
.ps-rooms-head h2 { margin-top: 14px; text-wrap: balance; }
.ps .ps-rooms-head .ps-lead { margin-top: 16px; color: var(--ink-2); text-wrap: balance; }
.ps-rooms-row { --room-progress: .5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.ps-room { position: relative; min-width: 0; }
.ps-room + .ps-room::before { content: ""; position: absolute; left: -14px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.ps-room-num { color: var(--ink-3); font: 11px/1 var(--font-mono); letter-spacing: .08em; }
.ps-room h3 { margin-top: 8px; font-size: clamp(30px, 2.6vw, 40px); }
.ps-room .ps-app-window { display: flex; flex-direction: column; height: 332px; margin-top: 16px; }
.ps-room .ps-motion-stage { flex: 1; height: auto; min-height: 0; }
.ps-room .ps-motion-card { top: 50%; padding: 16px 11%; transition: transform .72s cubic-bezier(.22, .72, .2, 1) var(--stack-delay, 0ms), opacity .72s ease; }
.ps-room .ps-motion-reader:not([data-ready]) .ps-motion-card { transition: none; }
.ps .ps-room .ps-motion-text { overflow: hidden; font-size: calc(var(--scene-font) * min(var(--reading-scale), 1.2)); line-height: 1.35; text-wrap: balance; }
.ps-room .ps-card-edge-label { font-size: 9px; letter-spacing: .03em; }
.ps-room .ps-motion-card.is-neighbor .ps-card-edge-label { display: none; }
.ps-room .ps-motion-card.is-neighbor.is-pile-front::before { top: 10px; height: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 8px; line-height: 12px; letter-spacing: .04em; }
.ps-room .ps-motion-card.is-neighbor.is-pile-front.is-left::before,
.ps-room .ps-motion-card.is-neighbor.is-pile-front.is-right::before { width: calc(var(--room-peek, 64px) - 10px); text-align: left; direction: ltr; }
.ps-room .ps-motion-card.is-neighbor.is-pile-front.is-left::before { left: auto; right: 6px; }
.ps-room .ps-motion-card.is-neighbor.is-pile-front.is-right::before { left: 6px; right: auto; }
.ps-room .ps-motion-reader[data-layout="zen"],
.ps-room .ps-motion-reader[data-layout="zen"] .ps-window-bar,
.ps-room .ps-motion-reader[data-layout="zen"] .ps-motion-stage { background: var(--paper); }
.ps-room .ps-motion-reader[data-layout="zen"] .ps-window-bar { color: color-mix(in srgb, var(--paper-ink) 62%, transparent); }
.ps-room .ps-motion-reader[data-layout="zen"] .ps-motion-card { padding: 34px 12% 40px; }
.ps-room .ps-motion-reader[data-layout="zen"] .ps-motion-card:not(.is-current) { display: flex; pointer-events: none; }
.ps-room .ps-motion-reader[data-layout="zen"] .ps-motion-text { transition: opacity .45s ease; }
.ps-room .ps-motion-reader[data-layout="zen"] .ps-motion-card:not(.is-current) .ps-motion-text { visibility: visible; opacity: 0; }
.ps-room-pips { position: absolute; z-index: 40; right: 8px; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translateY(-50%); }
.ps-room-pip { width: 3px; height: 3px; border-radius: 50%; background: color-mix(in srgb, var(--paper-ink) 16%, transparent); }
.ps-rooms-row[data-idea="0"] .ps-room-pip[data-for="0"],
.ps-rooms-row[data-idea="1"] .ps-room-pip[data-for="1"],
.ps-rooms-row[data-idea="2"] .ps-room-pip[data-for="2"] { width: 5px; height: 5px; background: color-mix(in srgb, var(--paper-ink) 55%, transparent); }
.ps-room-rail { position: absolute; z-index: 40; left: 0; right: 0; bottom: 0; height: 1.5px; background: color-mix(in srgb, var(--paper-ink) 8%, transparent); }
.ps-room-rail i { display: block; width: 100%; height: 100%; transform: scaleX(var(--room-progress, .5)); transform-origin: left center; background: color-mix(in srgb, var(--paper-ink) 32%, transparent); transition: transform .72s cubic-bezier(.22, .72, .2, 1); }
.ps .ps-room-line { margin-top: 18px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.ps .ps-room-note { margin-top: 6px; max-width: 36ch; color: var(--ink-2); font-size: 15px; line-height: 1.45; text-wrap: balance; }
.ps .ps-rooms-foot { margin: 36px 0 0; color: var(--ink-3); text-align: center; font: 12px/1.5 var(--font-mono); }
@media (max-width: 900px) {
  .ps-rooms { padding-block: 64px; }
  .ps-rooms-head { margin-bottom: 32px; }
  .ps-rooms-row { grid-template-columns: 1fr; gap: 32px; }
  .ps-room + .ps-room::before { display: none; }
  .ps-room + .ps-room { border-top: 1px solid var(--line); padding-top: 28px; }
  .ps-room .ps-app-window { height: 300px; }
  .ps .ps-room-note { max-width: 46ch; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-room .ps-motion-card, .ps-room-rail i { transition: none; }
}
