.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
:root { --section-space: clamp(40px,5.5vw,80px); }
.feature-content {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  row-gap: clamp(68px,9vw,144px);
  padding-block: var(--section-space);
  background: var(--paper);
}
.feature-content > .feature-section { min-width: 0; scroll-margin-top: 84px; }
.feature-heading { margin-bottom: clamp(23px,3vw,38px); }
.feature-heading h2 {
  margin: 0; font-size: clamp(27px,3.05vw,40px); font-weight: 730;
  letter-spacing: -.045em; line-height: 1.32; text-wrap: pretty;
}
.feature-heading p { margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature-content button, .feature-content input, .feature-content select { font-family: inherit; }
.feature-content :where(summary,select):focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.feature-content button:active:not(:disabled,.drag-piece) { transform: scale(.98); }
.feature-content button:disabled { opacity: .48; cursor: default; }
.quiet-link { color: #545862; font-size: 13px; line-height: 1.4; text-underline-offset: 4px; }
.quiet-link:hover { text-decoration: underline; }
.segmented { display: inline-flex; gap: 3px; padding: 3px; border-radius: 11px; background: #eeeff0; }
.segmented button {
  border: 1px solid transparent; padding: 7px 12px; border-radius: 8px;
  background: transparent; color: #565a62; font-size: 13px; line-height: 1.35; white-space: nowrap;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { color: var(--ink); background: white; border-color: #e5e5e8; box-shadow: 0 1px 3px #2021240b; font-weight: 650; }

.entry-guide { display: grid; grid-template-columns: minmax(228px,.75fr) minmax(0,2.25fr); align-items: center; gap: clamp(20px,3.5vw,48px); }
.entry-guide-copy .feature-heading { margin-bottom: 18px; }
.entry-guide-copy h2 { text-wrap: balance; }
.entry-keep { white-space: nowrap; }
.entry-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.entry-demo { min-width: 0; container-type: inline-size; }
.entry-window {
  --entry-bar-height: clamp(29px,4.2cqw,45px); --entry-rail-width: clamp(32px,5.45cqw,53px);
  position: relative; display: grid; grid-template-rows: var(--entry-bar-height) minmax(0,1fr);
  aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid #e0e3e8; border-radius: 16px; background: #fff;
}
.entry-window-bar {
  display: flex; align-items: center; gap: .6cqw; padding-inline: 1.7cqw;
  font-size: clamp(10px,1.12cqw,13px);
}
.entry-window-bar > strong { margin-left: 1.55cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry-rail-toggle { display: grid; place-items: center; width: 1.55cqw; aspect-ratio: 1; flex: none; border-radius: 50%; border: 1px solid #e6e9ed; color: #707b89; }
.entry-window-actions { display: flex; align-items: center; gap: 11px; margin-left: auto; color: #414751; }
.entry-credits { display: flex; align-items: center; gap: .7cqw; padding: .58cqw .9cqw; border: 1px solid #e1e4e8; border-radius: 999px; color: #5d6a7a; font-size: clamp(8px,.92cqw,12px); font-weight: 650; white-space: nowrap; }
.entry-credits span + span { border-left: 1px solid #e1e4e8; padding-left: .7cqw; }
.entry-window-actions > span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #eef0f2; border-radius: 50%; color: #6d747d; background: #f5f6f7; font-size: 11px; }
.entry-window-actions svg, .entry-rail svg, .entry-preview-modes svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linejoin: round; stroke-linecap: round; }
.entry-workspace { display: grid; grid-template-columns: var(--entry-rail-width) minmax(0,1fr) minmax(124px,37.7%); min-height: 0; background: #fff; }
.entry-rail { display: flex; flex-direction: column; align-items: center; gap: .35cqw; padding: 1cqw 0; background: #fff; color: #414951; }
.entry-rail span { display: grid; place-items: center; flex: none; width: 3.65cqw; height: 2.8cqw; }
.entry-rail svg { width: 1.43cqw; height: 1.43cqw; }
.entry-rail .is-active { border-radius: .75cqw; background: #e8eaec; }
.entry-rail .entry-rail-rule { width: 2.8cqw; height: 1px; margin-block: .4cqw; background: #edf0f2; }
.entry-rail .entry-rail-muted { color: #a0a5aa; }
.entry-rail .entry-rail-docs { margin-top: auto; }
.entry-workspace-main { display: grid; grid-template: auto minmax(0,1fr) / minmax(0,1fr); min-width: 0; min-height: 0; margin: .65cqw 0 .9cqw .8cqw; overflow: hidden; border-radius: 1.85cqw; background: #f3f3f3; }
.entry-assistant { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; padding: 10px 12px 8px; color: #343b44; background: #fff; font-size: clamp(10px,1.55cqw,13px); }
.entry-assistant-heading { display: flex; align-items: center; gap: 7px; color: #22262b; }
.entry-assistant-heading img { flex: none; }
.entry-assistant p { margin-block: 0; line-height: 1.55; }
.entry-assistant-doc { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid #e6e8eb; border-radius: 8px; white-space: nowrap; overflow: hidden; }
.entry-assistant-doc div { display: grid; gap: .3cqw; min-width: 0; }
.entry-assistant-doc strong { overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.entry-assistant-doc small, .entry-assistant-input small { color: #6e7d90; font-size: .8em; }
.entry-doc-glyph { font-size: 15px; color: #2761ab; }
.entry-assistant-card { display: grid; gap: 6px; padding: 7px; border: 1px solid #e6e8ec; border-radius: 8px; background: #f5f6f8; }
.entry-assistant-card > div { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 5px; border-radius: 6px; background: #fff; }
.entry-assistant-card span:not(.entry-orange) { padding: 4px 5px; border: 1px solid #e1e4e8; border-radius: 999px; }
.entry-assistant-input { display: grid; gap: 10px; margin-top: auto; padding: 7px; border: 1px solid #e5e7eb; border-radius: 8px; color: #707985; }
.entry-assistant-input div { display: flex; align-items: center; justify-content: space-between; gap: .6cqw; }
.entry-assistant-send { padding: 3px 7px; border-radius: 999px; background: #f0f1f3; }
.entry-project-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 7px 10px; border-bottom: 1px solid #e6e8ec; color: var(--ink); background: #f3f4f5;
}
.entry-tabs, .entry-project-actions { display: flex; align-items: center; gap: clamp(4px,1.05cqw,10px); color: #616a77; font-size: clamp(9px,1.38cqw,12px); white-space: nowrap; }
.entry-tabs { justify-content: flex-end; min-width: 0; overflow: hidden; gap: clamp(4px,.72cqw,8px); font-size: clamp(8px,1.04cqw,12px); }
.entry-project-actions { flex: none; margin-left: auto; }
.entry-project-actions .entry-orange, .entry-assistant-card .entry-orange { padding: 5px 8px; font-size: 11px; }
.entry-preview-modes { display: flex; justify-content: center; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: #e9ebee; }
.entry-preview-modes svg { width: 16px; height: 16px; padding: 2px; }
.entry-preview-modes svg:first-child { border-radius: 50%; background: #fff; }
.entry-tabs strong { color: var(--ink); border-bottom: 2px solid currentColor; padding-block: 6px 4px; }
.entry-orange { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.entry-secondary-action { padding: 5px 10px; border: 1px solid #e2e5e9; border-radius: 999px; }
.entry-target, .entry-mode-action, .entry-convert, .entry-download-action, .entry-confirm-action { position: relative; }
.entry-preview { min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr); align-content: start; gap: 1.25cqw; padding: 2.35cqw 1.85cqw; }
.entry-preview-notice { display: flex; align-items: center; gap: .6cqw; padding: .55cqw .9cqw; border: 1px solid #ffd5be; border-radius: .65cqw; background: #fff6f0; color: #697688; font-size: clamp(8px,1.02cqw,13px); }
.entry-preview-notice > span:first-child { color: var(--orange); }
.entry-preview-notice > span:last-child { margin-left: auto; }
.entry-preview .entry-preview-card { align-self: start; padding: 5px; width: 100%; gap: 5px; }
.entry-preview-head { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 2px; color: #5b646e; font-size: clamp(8px,1.28cqw,11px); }
.entry-preview-head > span:first-child { flex: none; }
.entry-preview-actions { display: flex; justify-content: flex-end; gap: 3px; white-space: nowrap; }
.entry-preview-actions span { padding: 3px 5px; border: 1px solid #ebedf0; border-radius: 999px; }
.entry-preview-actions span:last-child { background: #f3f4f6; }
.entry-preview-card { display: grid; gap: 7px; justify-items: start; width: min(100%,575px); padding: 9px; border: 1px solid #e0e5e9; border-radius: 9px; background: #fff; }
.entry-preview-card > span { padding-left: 3px; color: #515c67; font-size: 12px; }
.entry-preview-card svg, .entry-page svg, .entry-mode svg { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid #e3ebee; border-radius: 5px; }
.entry-states { position: absolute; inset: 0; pointer-events: none; }
.entry-demo-scene { position: absolute; inset: 0; }
.entry-demo-scene[hidden] { display: none; }
.entry-overlay, .entry-confirm-wrap { display: grid; place-items: center; background: #22262d70; }
.entry-modal, .entry-confirm { color: #20242b; background: #fff; box-shadow: 0 1.5cqw 3.5cqw #1c263124; }
.entry-title { color: #21252c; font-size: clamp(10px,1.87cqw,22px); line-height: 1.3; }
.entry-modal {
  display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; gap: 1.25cqw; width: 96.25%; height: 94%;
  padding: 2.25cqw 2.55cqw 0; border-radius: 2.05cqw;
}
.entry-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.entry-modal .entry-title { font-size: clamp(11px,2.04cqw,25px); }
.entry-dialog-close { display: grid; place-items: center; width: 2.8cqw; aspect-ratio: 1; border-radius: 50%; color: #68717d; background: #f2f3f4; font-size: 1.8cqw; line-height: 1; }
.entry-mode-toolbar { display: flex; align-items: center; justify-content: space-between; color: #626b77; font-size: clamp(6px,1cqw,12px); }
.entry-mode-toggle { display: flex; align-items: center; padding: .28cqw; border-radius: 999px; background: #f0f1f2; }
.entry-mode-toggle > * { padding: .66cqw 1.35cqw; border-radius: 999px; }
.entry-mode-toggle strong { color: #252a31; background: #fff; font-weight: 600; }
.entry-mode-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.35cqw; min-height: 0; }
.entry-mode { display: grid; grid-template-rows: auto auto auto minmax(0,1fr); gap: .65cqw; min-width: 0; padding: 1.5cqw; border: 1px solid #dfe2e5; border-radius: 1.25cqw; }
.entry-mode-heading, .entry-mode-meta { display: flex; justify-content: space-between; align-items: center; gap: .35cqw; }
.entry-mode-heading { font-size: clamp(8px,1.42cqw,17px); }
.entry-mode small { color: #626b77; font-size: clamp(6px,1.04cqw,13px); }
.entry-mode-meta { margin-top: .6cqw; color: #727b88; font-size: clamp(6px,.94cqw,11px); white-space: nowrap; }
.entry-mode-meta > span:first-child { padding: .4cqw .6cqw; border-radius: .35cqw; background: #f1f2f3; }
.entry-mode-meta b { color: #23272d; font-size: clamp(10px,1.86cqw,22px); }
.entry-mode-preview { min-height: 0; display: grid; place-items: center; }
.entry-mode-preview svg { width: 72%; max-height: 94%; margin: 0; border: 0; }
.entry-mode-picked { border-color: var(--orange); box-shadow: inset 0 0 0 .06cqw var(--orange); }
.entry-mode-picked strong { color: var(--orange); }
.entry-mode-check { display: grid; place-items: center; width: 1.6cqw; aspect-ratio: 1; flex: none; border: 1px solid #d6dbe1; border-radius: 50%; color: #fff; font-size: 1cqw; line-height: 1; }
.entry-mode-picked .entry-mode-check { border-color: var(--orange); background: var(--orange); }
.entry-modal-actions, .entry-confirm-actions { display: flex; align-items: center; justify-content: flex-end; gap: .7cqw; border-top: 1px solid #ebedf0; }
.entry-modal-actions { margin-inline: -2.55cqw; margin-top: .48cqw; padding: 1.4cqw 2.55cqw 1.65cqw; color: #6d7683; font-size: clamp(6px,.96cqw,12px); }
.entry-modal-actions > span:first-child { margin-right: auto; }
.entry-dialog-cancel, .entry-modal-actions .entry-orange, .entry-confirm-actions .entry-orange { border-radius: 999px; padding: .82cqw 1.7cqw; font-size: clamp(7px,1.12cqw,13px); font-weight: 650; white-space: nowrap; }
.entry-dialog-cancel { color: #626b77; background: #f1f2f4; }

.entry-selection-view {
  position: absolute; inset: calc(var(--entry-bar-height) + .65cqw) 1.25cqw 1.25cqw max(calc(var(--entry-rail-width) + .8cqw),1.25cqw);
  display: none; background: #f3f3f3; border-radius: 1.85cqw; overflow: hidden;
}
.entry-guide[data-entry-current="2"] .entry-selection-view, .entry-guide[data-entry-current="3"] .entry-selection-view { display: block; }
.entry-guide:is([data-entry-current="2"],[data-entry-current="3"]) :is(.entry-window-bar > strong,.entry-workspace-main,.entry-assistant) { visibility: hidden; }
.entry-selection-head { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 1.4cqw; min-height: 9.2cqw; padding: 1.65cqw 2.5cqw; background: none; }
.entry-selection-title { display: grid; flex: 1; min-width: 0; gap: .65cqw; }
.entry-selection-title strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry-selection-title small { grid-area: 2 / 1; color: #758291; font-size: clamp(6px,1.06cqw,14px); line-height: 1.5; }
.entry-selection-actions { display: flex; flex: none; align-items: center; gap: .58cqw; }
.entry-selection-actions > span { padding: .81cqw 1.12cqw; border: 1px solid #dfe4eb; border-radius: 999px; color: #344459; background: #fff; font-size: clamp(6px,1cqw,13px); line-height: 1.2; font-weight: 650; white-space: nowrap; }
.entry-selection-actions .entry-convert { display: grid; place-items: center; border-color: var(--orange); background: var(--orange); color: #fff; }
.entry-convert > span { grid-area: 1 / 1; }
.entry-guide[data-entry-current="2"] .entry-download-action, .entry-guide[data-entry-current="3"] .entry-convert { opacity: .5; }
.entry-pages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25cqw; padding: 0 2.5cqw; }
.entry-page { min-width: 0; padding: .72cqw; border: 1px solid transparent; border-radius: 1.45cqw; background: #fff; }
.entry-page-picked { border-color: var(--orange); }
.entry-guide[data-entry-current="3"] .entry-page-picked { border-color: transparent; }
.entry-page-head { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 0 .3cqw .45cqw; color: #4d5d70; font-size: clamp(6px,.98cqw,12px); font-weight: 650; }
.entry-page-badge { padding: .22cqw .65cqw; border-radius: 999px; color: #738191; background: #eff0f1; font-size: clamp(6px,.86cqw,11px); white-space: nowrap; }
.entry-page-badge.entry-during, .entry-page-badge.entry-after { position: absolute; top: 0; right: .3cqw; color: #b44400; background: #fff0e7; }
.entry-page-thumb { position: relative; overflow: hidden; border-radius: .8cqw; }
.entry-page-thumb svg { border: 0; border-radius: 0; }
.entry-page-mark { position: absolute; bottom: .63cqw; right: .63cqw; display: grid; place-items: center; width: 1.68cqw; aspect-ratio: 1; border: 1px solid #98a1ac; border-radius: 50%; color: #fff; background: #ffffffdf; font-size: clamp(6px,1.04cqw,13px); line-height: 1; }
.entry-page-picked .entry-page-mark { border-color: var(--orange); background: var(--orange); }
.entry-scanner { position: absolute; inset: 0; display: flex; align-items: end; justify-content: end; padding: .8cqw; background: radial-gradient(circle,#ffffff80 0 1px,transparent 1.2px) 0 0 / 1.45cqw 1.45cqw, #17253d40; }
.entry-scanner > span { padding: .6cqw .8cqw; border-radius: 999px; background: #fff; color: #536172; font-size: clamp(6px,.85cqw,11px); }
.entry-selection-view :is(.entry-all-pages,.entry-during,.entry-after) { visibility: hidden; }
.entry-guide[data-entry-current="3"] .entry-selection-view .entry-before { visibility: hidden; }
.entry-guide[data-entry-current="3"] .entry-selection-view .entry-after { visibility: visible; }

.entry-confirm-wrap { position: absolute; inset: 0; visibility: hidden; opacity: 0; }
.entry-confirm {
  display: grid; align-content: space-between; gap: 1.15cqw; width: 50%; min-width: min(290px,94%); height: 84%; overflow: hidden;
  padding: 2.45cqw 1.9cqw 0; border-radius: 1.25cqw; font-size: clamp(6px,1.08cqw,13px); line-height: 1.4;
}
.entry-confirm .entry-title { font-size: clamp(9px,1.67cqw,20px); }
.entry-confirm small, .entry-font-heading > span { color: #626d79; }
.entry-confirm-subtitle { margin-top: -.55cqw; }
.entry-confirm em { color: var(--orange); font-style: normal; }
.entry-confirm-warnings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 1.3cqw 0; border-radius: 1cqw; background: #fff6f1; }
.entry-confirm-warnings span { padding: 0 .85cqw; }
.entry-confirm-warnings span + span { border-left: 1px solid #ffcbb1; }
.entry-font-heading { display: flex; justify-content: space-between; gap: .5cqw; }
.entry-confirm-fonts, .entry-confirm-details { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .85cqw; }
.entry-confirm-fonts > div { display: grid; align-content: start; min-width: 0; padding: .8cqw; border: 1px solid #e0e4e8; border-radius: .9cqw; }
.entry-confirm-fonts > div:first-child { border-color: var(--orange); }
.entry-confirm-fonts > div:first-child { position: relative; }
.entry-confirm-fonts > div:first-child::after { content: "✓"; position: absolute; top: .45cqw; right: .45cqw; display: grid; place-items: center; width: 1.15cqw; aspect-ratio: 1; border-radius: 50%; background: var(--orange); color: #fff; font-size: .8cqw; }
.entry-confirm-fonts strong { font-size: 1.45em; white-space: nowrap; }
.entry-confirm-fonts small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry-confirm-fonts span { margin-top: .5cqw; padding-top: .4cqw; border-top: 1px solid #e5e8ec; color: #586c83; font-size: .8em; line-height: 1.25; }
.entry-confirm-details > div { min-width: 0; padding: .8cqw; border-radius: .85cqw; color: #586272; background: #f4f5f6; }
.entry-confirm-details b { display: block; margin-top: .4cqw; color: #20242d; font-size: 1.73em; white-space: nowrap; }
.entry-confirm-details b small { font-size: .5em; font-weight: 500; }
.entry-confirm-note { line-height: 1.5; }
.entry-confirm-actions { margin-inline: -1.9cqw; padding: 1.25cqw 1.9cqw 1.7cqw; }
.entry-proof { position: absolute; inset: var(--entry-bar-height) 0 0; display: grid; grid-template-rows: auto minmax(0,1fr); justify-items: center; gap: 7px; padding: 10px clamp(12px,4vw,48px); background: #edf1f4; visibility: hidden; }
.entry-proof-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; width: min(100%,660px); font-size: 13px; }
.entry-proof-head span { color: #4d5963; }
.entry-proof-photo-label { margin-left: auto; }
.entry-proof-slide { display: block; width: 100%; height: 100%; min-height: 0; max-width: 660px; }
.entry-edit-icon { color: var(--orange); }
.entry-edit-photo { transform: translate(8px,-24px); }
.entry-photo-origin, .entry-photo-outline, .entry-icon-outline { fill: none; stroke: var(--orange); stroke-width: 3; }
.entry-photo-origin { stroke-dasharray: 7 7; opacity: 0; }
.entry-photo-outline { opacity: 0; }
.entry-photo-outline path { stroke-width: 8px; stroke-linecap: round; }
.entry-icon-outline { opacity: 1; }
.entry-demo-controls { display: flex; justify-content: flex-end; padding-top: 7px; }
.entry-guide-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; list-style: none; padding: 0; margin: 0; counter-reset: guide-step; }
.entry-guide-steps li { counter-increment: guide-step; }
.entry-guide :is(.entry-guide-steps,.entry-demo-controls) button { min-height: 40px; padding: 5px 8px; border: 1px solid transparent; border-radius: 7px; color: var(--ink); background: transparent; font-size: 13px; white-space: nowrap; }
.entry-guide-steps button { display: inline-flex; align-items: center; gap: 5px; width: 100%; }
.entry-guide-steps button::before { content: counter(guide-step); display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #4c5561; background: #eff1f3; font-size: 11px; font-weight: 700; }
.entry-guide :is(.entry-guide-steps,.entry-demo-controls) button:hover { background: #f3f5f7; }
.entry-guide-steps button[aria-pressed="true"] { background: #fff6f0; border-color: #ffd7bf; font-weight: 700; }
.entry-guide-steps button[aria-pressed="true"]::before, .entry-guide .entry-guide-link.button.orange { background: var(--orange); color: #fff; }
.entry-demo-controls [data-entry-play] { border-color: #dfe3e9; }
.entry-guide button:focus-visible, .entry-guide a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.entry-guide-link { margin-top: 15px; }

@media (max-width: 820px) {
  .entry-guide { grid-template-columns: minmax(0,1fr); align-items: start; gap: 20px; }
  .entry-guide-steps { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 450px) { .entry-guide-steps { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@container (max-width: 800px) {
  .entry-tabs .entry-tab-secondary:nth-child(-n+2) { display: none; }
}
@container (max-width: 685px) {
  .entry-tabs .entry-tab-secondary { display: none; }
  .entry-project-toolbar { padding-inline: 7px; }
  .entry-preview-actions span:first-child, .entry-preview-modes { display: none; }
}
@container (max-width: 530px) {
  .entry-window { --entry-rail-width: 0px; }
  .entry-workspace { grid-template-columns: minmax(0,1fr); }
  .entry-rail, .entry-rail-toggle, .entry-credits, .entry-assistant, .entry-secondary-action, .entry-preview-actions, .entry-preview .entry-preview-card + .entry-preview-card { display: none; }
  .entry-workspace-main { border-radius: 8px; margin: 2px 5px 5px; }
  .entry-window-bar { gap: 5px; font-size: 11px; }
  .entry-window-bar img { width: 19px; height: 19px; }
  .entry-project-toolbar { padding: 4px 8px; gap: 4px; }
  .entry-tabs strong { padding-block: 4px 2px; }
  .entry-orange { padding: 4px 7px; font-size: 11px; }
  .entry-preview { padding: 5px; grid-template-columns: minmax(0,1fr); place-items: start center; }
  .entry-preview .entry-preview-card { width: min(68cqw,320px); }
  .entry-window-actions > span { width: 19px; height: 19px; }
  .entry-window-actions svg { width: 13px; height: 13px; }
  .entry-selection-actions { flex-wrap: wrap; justify-content: flex-end; max-width: 54%; }
  .entry-selection-head { min-height: 11cqw; padding-block: 1cqw; }
  .entry-selection-actions > span { padding-block: .6cqw; }
  .entry-page-thumb svg { max-height: 13cqw; }
  .entry-confirm { gap: .55cqw; min-height: 90%; }
  .entry-confirm-fonts > div { padding-block: .52cqw; }
  .entry-confirm-note { display: none; }
  .entry-proof { padding: 6px; gap: 3px; }
  .entry-proof-head { font-size: 11px; }
}
@container (max-width: 330px) {
  .entry-page-thumb svg { max-height: 11.5cqw; }
  .entry-confirm { min-height: 94%; padding-top: 1.7cqw; gap: .42cqw; }
  .entry-confirm-actions { padding-bottom: 1.25cqw; }
}

@media (prefers-reduced-motion: no-preference) {
  .entry-guide { --entry-play-state: paused; }
  .entry-guide[data-entry-playing] { --entry-play-state: running; }
  .entry-guide[data-entry-current="0"] .entry-target::after,
  .entry-demo-scene:not([hidden]) :is(.entry-mode-action,.entry-confirm-action)::after,
  .entry-guide[data-entry-current="2"] .entry-convert::after,
  .entry-guide[data-entry-current="3"] .entry-download-action::after {
    content: ""; position: absolute; right: 3px; bottom: 3px; width: clamp(6px,1.6cqw,14px); aspect-ratio: 1;
    border: 2px solid #fff; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--orange);
    animation: entry-tap 1.25s .37s both; animation-play-state: var(--entry-play-state);
  }
  .entry-demo-scene:not([hidden]) .entry-mode-action::after { animation-delay: 1.6s; }
  .entry-demo-scene:not([hidden]) .entry-confirm-action::after { animation-delay: 3.15s; }
  .entry-guide[data-entry-current="3"] .entry-download-action::after { animation-delay: 1.35s; }
  @keyframes entry-tap { 0% { opacity: 0; transform: translate(5px,5px); } 47%,82% { opacity: 1; transform: none; } 63% { transform: scale(1.28); } 100% { opacity: 0; } }
  .entry-demo-scene:not([hidden]) .entry-modal { animation: entry-modal-in .32s ease-out both; }
  @keyframes entry-modal-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
  .entry-demo-scene:not([hidden]) .entry-confirm-wrap { animation: entry-confirm-motion 6.1s both; }
  @keyframes entry-confirm-motion {
    0%,22%,73%,100% { visibility: hidden; opacity: 0; }
    26%,69% { visibility: visible; opacity: 1; }
  }
  .entry-guide[data-entry-current="2"] .entry-selection-view .entry-before { animation: entry-before-convert 6.1s step-end both; }
  .entry-guide[data-entry-current="2"] .entry-selection-view .entry-all-pages { animation: entry-all-pages 6.1s step-end both; }
  .entry-guide[data-entry-current="2"] .entry-selection-view .entry-during { animation: entry-during-convert 6.1s step-end both; }
  .entry-guide[data-entry-current="2"] .entry-page-picked { animation: entry-unselect-page 6.1s step-end both; }
  .entry-guide[data-entry-current="2"] .entry-page:not(.entry-page-picked) { animation: entry-all-borders 6.1s step-end both; }
  .entry-guide[data-entry-current="2"] .entry-page-mark:has(.entry-all-pages) { animation: entry-all-checks 6.1s step-end both; }
  .entry-guide[data-entry-current="2"] .entry-page-picked .entry-page-head .entry-before,
  .entry-guide[data-entry-current="2"] .entry-page-picked .entry-page-mark.entry-before { animation-name: entry-raw-page; }
  @keyframes entry-all-pages { 0% { visibility: visible; } 12%,100% { visibility: hidden; } }
  @keyframes entry-all-borders { 0% { border-color: var(--orange); } 12%,100% { border-color: transparent; } }
  @keyframes entry-all-checks { 0% { border-color: var(--orange); background: var(--orange); } 12%,100% { border-color: #98a1ac; background: #ffffffdf; } }
  @keyframes entry-before-convert { 0% { visibility: hidden; } 12% { visibility: visible; } 73%,100% { visibility: hidden; } }
  @keyframes entry-raw-page { 0% { visibility: visible; } 73%,100% { visibility: hidden; } }
  @keyframes entry-during-convert { 0% { visibility: hidden; } 73%,100% { visibility: visible; } }
  @keyframes entry-unselect-page { 73%,100% { border-color: transparent; } }
  .entry-demo-scene:not([hidden]) .entry-proof { animation: entry-proof-in .38s 2.9s both; }
  @keyframes entry-proof-in { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
  .entry-demo-scene:not([hidden]) .entry-edit-photo { animation: entry-move-photo 8.5s both; }
  @keyframes entry-move-photo { 0%,48% { transform: none; } 63%,100% { transform: translate(8px,-24px); } }
  .entry-demo-scene:not([hidden]) .entry-photo-origin { animation: entry-photo-origin 8.5s both; }
  @keyframes entry-photo-origin { 0%,48%,74%,100% { opacity: 0; } 57%,67% { opacity: .85; } }
  .entry-demo-scene:not([hidden]) :is(.entry-photo-outline,.entry-proof-photo-label) { animation: entry-select-photo 8.5s both; }
  @keyframes entry-select-photo { 0%,41%,74%,100% { opacity: 0; } 46%,69% { opacity: 1; } }
  .entry-demo-scene:not([hidden]) .entry-edit-icon { animation: entry-change-icon 8.5s both; }
  @keyframes entry-change-icon { 0%,77% { color: #00b49e; } 85%,100% { color: var(--orange); } }
  .entry-demo-scene:not([hidden]) :is(.entry-icon-outline,.entry-proof-icon-label) { animation: entry-select-icon 8.5s both; }
  @keyframes entry-select-icon { 0%,72% { opacity: 0; } 76%,100% { opacity: 1; } }
  .entry-guide[data-entry-current] .entry-selection-view :is(.entry-all-pages,.entry-before,.entry-during,.entry-page,.entry-page-mark),
  .entry-demo-scene:not([hidden]) :is(.entry-modal,.entry-confirm-wrap,.entry-proof,.entry-edit-photo,.entry-photo-origin,.entry-photo-outline,.entry-proof-photo-label,.entry-edit-icon,.entry-icon-outline,.entry-proof-icon-label) { animation-play-state: var(--entry-play-state); }
}

.highlights > .wrap { min-width: 0; }
.highlights .feature-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom: clamp(15px,2vw,24px); }
.highlight-heading h3 {
  margin: 0; font-size: clamp(21px,2.2vw,29px); font-weight: 720;
  letter-spacing: -.035em; line-height: 1.35; text-wrap: pretty;
}
.highlight-heading p { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.65; }
.rebuild-note { color: var(--orange); }
.case-gallery {
  overflow: hidden; border: 1px solid #c9cdd2; border-radius: 9px; background: #e4e6ea;
  box-shadow: 0 13px 32px #252d3c13;
}
.drag-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 32px; padding: 3px 15px; background: #af4027; color: white;
}
.workspace-name { font-size:13px; font-weight:400; }
.window-glyphs { display:flex; gap:21px; align-items:center; padding-right:3px; }
.window-glyphs i { position:relative; width:9px; height:9px; }
.window-glyphs i:first-child { height:1px; background:currentColor; }
.window-glyphs i:nth-child(2) { border:1px solid currentColor; }
.window-glyphs i:last-child::before,.window-glyphs i:last-child::after { content:""; position:absolute; left:4px; top:-1px; width:1px; height:11px; background:currentColor; transform:rotate(45deg); }
.window-glyphs i:last-child::after { transform:rotate(-45deg); }
.highlights .feature-heading > div { max-width:74ch; }
.highlights .feature-heading p { text-wrap:pretty; }
.case-file { margin-left:auto; background:#202124; color:#fff; }
.case-file:hover { background: #383a3e; border-color: #383a3e; }
.case-file:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.office-tabs { display:flex; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; align-items:stretch; padding:0 8px; background:#faf9f8; border-bottom:1px solid #d7d5d3; }
.office-tabs::-webkit-scrollbar { display:none; }
.office-tabs span { flex:none; padding:5px clamp(4px,1vw,14px) 3px; border-bottom:3px solid transparent; font-size:12px; line-height:1.4; }
.office-tabs [aria-current] { position:relative; color:#973c26; font-weight:650; }
.office-tabs [aria-current]::after { content:""; position:absolute; left:50%; bottom:-3px; width:2.6em; height:3px; border-radius:2px; background:#ad432b; transform:translateX(-50%); }
.sample-ribbon { display:flex; overflow-x:auto; background:white; padding:3px 8px; border-bottom:1px solid #c9cdd2; }
.sample-group { display:grid; grid-auto-flow:column; grid-template-rows:auto auto; flex:none; justify-items:center; padding:0 8px; }
.sample-group + .sample-group { border-left:1px solid #e1e3e6; }
.sample-group small { grid-row:2; grid-column:1 / span var(--tool-count,1); font-size:10px; color:#68707a; line-height:14px; }
.sample-group:has(.tool-sample:nth-child(3)) { --tool-count:3; }
.tool-sample { grid-row:1; display:grid; justify-items:center; gap:2px; padding:2px 8px; font-size:11px; line-height:15px; white-space:nowrap; }
.tool-sample img { width:26px; height:26px; }
.canvas-controls,.mode-switch,.object-controls { display:flex; align-items:center; gap:3px; }
.canvas-controls { justify-content:space-between; flex-wrap:wrap; gap:4px 8px; margin-bottom:8px; }
.mode-switch {
  display:grid; grid-template-columns:repeat(2,1fr); position:relative; isolation:isolate;
  padding:3px; background:#cfd4da; border-radius:999px;
}
.mode-switch::before {
  content:""; position:absolute; z-index:-1; inset:3px auto 3px 3px; width:calc((100% - 9px) / 2);
  border-radius:inherit; background:white; box-shadow:0 1px 3px #0002;
}
.mode-switch:has([data-editor-mode="original"][aria-pressed="true"])::before { transform:translateX(calc(100% + 3px)); }
.canvas-controls button { appearance:none; font:inherit; font-size:12px; line-height:18px; padding:5px 12px; color:#414852; border:1px solid transparent; background:transparent; border-radius:999px; }
.mode-switch button[aria-pressed=true] { color:#222; }
.object-controls { gap:6px; }
.object-controls button { background:#f5f6f8; border-color:#c7cdd4; }
.object-controls button[aria-pressed=true] { color:#424952; border-color:#a6aeb8; }
.canvas-controls button:not(:disabled):hover { box-shadow:inset 0 0 0 1px #696e764d; }
.workspace-body { display: grid; grid-template-columns: clamp(110px,12vw,142px) minmax(0,1fr); }
.workspace-pages { min-width: 0; background: #f8f9fa; border-right: 1px solid #c9cdd2; }
.case-choices { min-width: 0; padding: 6px 7px; display: grid; gap: 3px; align-content: start; }
.case-choices button {
  min-width: 0; display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 4px 5px;
  padding: 5px; border: 1px solid transparent; border-radius: 4px;
  color: var(--ink); background: transparent; text-align: left; font-size: 12px; align-items: start;
}
.case-choices .case-number { color: #626875; font-size: 11px; font-variant-numeric: tabular-nums; padding-top: 3px; }
.case-choices .case-caption { grid-column: 2; line-height: 1.3; }
.case-choices button img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border: 1px solid #d9dee4; border-radius: 2px; background: white;
}
.case-choices button:hover { background: #ebedf0; }
.case-choices button[aria-pressed="true"] { font-weight: 680; }
.case-choices button[aria-pressed="true"] img { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.case-choices button[aria-pressed="true"] .case-number { color: var(--orange); }
.case-viewer {
  min-width: 0; display: grid; align-content: center; padding: clamp(11px,2vw,27px);
  background: #e2e4e8;
}
.workspace-viewport { min-width:0; aspect-ratio:16 / 9; overflow:clip; }
.workspace-viewport:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.case-slide-stage {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9;
  border: 1px solid #b9bfc7; border-radius: 2px; background: white center / 100% 100% no-repeat;
}
.workspace-status {
  min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 6px 12px;
  padding: 4px 9px 4px 12px; background: #fafbfc; border-top: 1px solid #c9cdd2; color: #4e555e; font-size: 12px;
}
.workspace-slide-status { display: flex; align-items: center; min-width: 0; gap: 9px; }
#editor-slide-number { white-space: nowrap; }
#editor-case-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 9px; border-left: 1px solid #d4d8de; }
.workspace-zoom { display:flex; flex:none; align-items:center; gap:6px; color:#666e78; font-variant-numeric:tabular-nums; user-select:none; }
.fit-window-icon { width:16px; height:16px; margin-left:2px; }
.workspace-zoom i { position:relative; width:clamp(18px,4vw,56px); height:2px; background:#b8bfc6; }
.workspace-zoom i::after { content:""; position:absolute; top:-3px; left:48%; width:3px; height:8px; background:#7d8691; border-radius:2px; }
.drag-board {
  position: relative; isolation: isolate; width: 100%; height: 100%; aspect-ratio: 16 / 9;
  background: white center / 100% 100% no-repeat;
  user-select: none; -webkit-user-select: none;
}
.case-original-layer { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: fill; }
.case-original-layer[inert] { opacity: 0; visibility: hidden; pointer-events: none; }
.drag-board[inert] { visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .case-original-layer { transition: opacity 360ms ease-in-out, visibility 0s; }
  .case-original-layer[inert] { transition-delay: 0s, 360ms; }
  .drag-board[inert] { transition: visibility 0s 360ms; }
  .mode-switch::before { transition: transform 300ms cubic-bezier(.25,.75,.25,1); }
}
.case-gallery [hidden] { display: none !important; }
.drag-loading { display: grid; height: 100%; place-items: center; color: var(--muted); font-size: 14px; }
.drag-piece {
  position: absolute; display: block; padding: 0; border: 0; background-color: transparent;
  background-repeat: no-repeat; cursor: grab; touch-action: none;
}
.drag-board .drag-piece:disabled { opacity: 1; pointer-events: none; }
.drag-piece[data-dragging] { z-index: 1; cursor: grabbing; }
.drag-piece[data-divider]::before { content: ""; position: absolute; inset: -3px; }
.drag-board .drag-piece:focus-visible { outline:0; z-index:1; }
.drag-piece::after {
  content:""; position:absolute; inset:-1px; pointer-events:none;
}
[data-show-bounds] .drag-piece::after,
.drag-piece:focus-visible::after, .drag-piece[data-selected]::after {
  --frame:linear-gradient(#5285b5,#5285b5);
  --anchor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Crect x='.5' y='.5' width='4' height='4' fill='white' stroke='%235285b5'/%3E%3C/svg%3E");
  --size:clamp(3px,.3vw,5px);
  inset:calc(-.5 * var(--size));
  background:
    var(--anchor) left top, var(--anchor) right top,
    var(--anchor) left bottom, var(--anchor) right bottom,
    var(--frame) center top calc(var(--size) / 2), var(--frame) center bottom calc(var(--size) / 2),
    var(--frame) left calc(var(--size) / 2) center, var(--frame) right calc(var(--size) / 2) center;
  background-size:
    var(--size) var(--size), var(--size) var(--size), var(--size) var(--size), var(--size) var(--size),
    calc(100% - var(--size)) 1px, calc(100% - var(--size)) 1px, 1px calc(100% - var(--size)), 1px calc(100% - var(--size));
  background-repeat:no-repeat;
}
.font-workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,.40fr); align-items: start; gap: clamp(13px,2.2vw,26px); }
.type-figure { margin: 0; }
.type-board {
  position: relative; display: grid; align-items: center; width: 100%;
  aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #fcfcfc;
  box-shadow: 0 8px 28px #30272212,0 0 0 1px #30272218;
}
.type-board img { display:block; width:100%; height:100%; object-fit:contain; }
.type-board .font-outgoing { position:absolute; inset:0; pointer-events:none; }
.font-choices { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.font-choice {
  min-width: 0; min-height: 54px; padding: 8px 10px; display: grid; align-content: center; gap: 3px;
  border: 1px solid #e4e5e8; border-radius: 9px; color: #31343a; background: #fff;
  font-size: 13px; line-height: 1.3; text-align: left; overflow-wrap: anywhere;
}
.font-choice small { color: #686e79; font-size: 11px; font-weight: 400; }
.font-choice:hover { background: #f6f6f7; }
.font-choice:focus-visible { outline-offset: -3px; }
.font-choice[aria-pressed="true"] { border-color: var(--orange); background: #fff5ee; font-weight: 660; }
.highlight-pair {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  gap: clamp(16px,2.3vw,32px);
}
.highlight-card {
  min-width: 0; display: grid; grid-template-rows: 1fr auto auto;
  overflow: hidden; border: 1px solid #e4e6e9; border-radius: 18px; background: #fff;
}
.highlight-card .highlight-heading { padding: clamp(17px,2.2vw,28px); padding-bottom: clamp(16px,1.9vw,24px); }
.highlight-card .highlight-heading h3 { font-size: clamp(19px,2vw,26px); }
.highlight-card .highlight-heading p { font-size: 14px; }
.highlight-media {
  margin-inline: clamp(12px,1.5vw,19px); aspect-ratio: 16 / 9; min-width: 0;
  border: 1px solid #e7e8eb; border-radius: 11px; overflow: hidden;
}
.icon-compare {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  aspect-ratio: 4 / 3;
  background: #fbfbfc radial-gradient(#dedfe5 1px,transparent 1px) center / 12px 12px;
}
@media (min-width: 761px) {
  @supports (grid-template-rows: subgrid) {
    .highlight-pair { row-gap: 0; }
    .highlight-card { grid-row: span 3; grid-template-rows: subgrid; }
    .icon-compare { aspect-ratio: auto; }
  }
}
.icon-tile {
  margin: 0; min-width: 0; display: grid; justify-items: center; align-content: center;
  gap: clamp(5px,1vw,14px);
}
.icon-tile + .icon-tile { border-left: 1px solid #e7e8eb; }
.icon-tile figcaption { color: var(--muted); font-size: 13px; }
.icon-specimen {
  display: grid; place-items: center; width: 70%; max-width: 172px; aspect-ratio: 1;
  overflow: hidden; background: white; border: 1px solid #ebedf0; border-radius: 10px;
}
.icon-specimen img { display: block; width: 100%; height: 100%; }
.background-compare { position: relative; }
.background-compare > [data-redraw-case] { position: absolute; inset: 0; }
.icon-specimen > [data-icon-example] { grid-area: 1 / 1; }
:is([data-icon-example],[data-redraw-case])[inert] { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  :is([data-icon-example],[data-redraw-case]) { transition: opacity 520ms ease-in-out, visibility 0s; }
  :is([data-icon-example],[data-redraw-case])[inert] { transition-delay: 0s, 520ms; }
}
.native-icon {
  display: grid; place-items: center; width: 74.8%; aspect-ratio: 1; border-radius: 50%;
  color: #f65f92; background: color-mix(in srgb, currentColor 18%, #fafafa);
}
.native-icon svg { display: block; width: 65%; height: auto; fill: currentColor; }
.highlight-controls {
  min-height: 62px; display: flex; align-items: center; gap: 3px;
  padding-inline: clamp(14px,2vw,25px); color: var(--muted); font-size: 13px;
}
.icon-controls,.background-labels { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 0; }
.icon-case-picker,.redraw-case-picker { grid-column: 2; margin: 0; --dot-ink: #676d78; }
.icon-color-control {
  position: relative; display: grid; place-items: center; justify-self: end;
  width: 44px; height: 44px; isolation: isolate;
}
.icon-color-control::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%;
  background: conic-gradient(#ff3d66,#ff9c25,#f1d718,#43ca81,#12a9e3,#8b53ed,#ff3d66);
  box-shadow: 0 0 0 2px white, 0 0 0 3px #dfe2e7;
}
.icon-color-control:hover::before,.icon-color-control:focus-within::before { box-shadow: 0 0 0 2px white, 0 0 0 3px var(--orange); }
.icon-color-control input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}

.background-frame { --split: 53%; position: relative; width: 100%; height: 100%; }
.background-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.background-original {
  position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.background-divider {
  position: absolute; inset: 0 auto 0 var(--split);
  width: 2px; transform: translateX(-50%); background: white; box-shadow: 0 0 8px #112a4240;
  pointer-events: none;
}
.background-divider span {
  position: absolute; top: 50%; left: 50%; display: grid; place-items: center;
  width: 37px; height: 37px; border-radius: 50%;
  transform: translate(-50%,-50%); background: white; color: var(--ink);
  box-shadow: 0 2px 9px #112a4238; font: 700 17px/1 Arial,sans-serif; white-space: pre;
}
.background-range {
  appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.background-range::-webkit-slider-thumb { appearance: none; width: 2px; height: 44px; }
.background-range::-moz-range-thumb { width: 2px; height: 44px; border: 0; }
.background-frame:focus-within .background-divider span { outline: 2px solid var(--orange); outline-offset: 3px; }
.background-labels > span:last-child { justify-self: end; }

/* The live canvas only intercepts the grip and the visible part of the original. */
.cutout-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,2vw,24px); }
.cutout-grid figure {
  margin: 0; min-width: 0; overflow: hidden; border: 1px solid #e2e5e8;
  border-radius: 14px; background: #fff;
}
.cutout-grid figcaption { padding: 12px 15px 14px; font-size: 15px; font-weight: 675; }
.cutout-stage {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9;
  background: repeating-conic-gradient(#edf0f2 0% 25%,#fafbfc 0% 50%) 0 0 / 18px 18px;
}
.cutout-case { position: absolute; inset: 0; isolation: isolate; }
.cutout-case-grid { --target-width: 18.5%; }
.cutout-asset { position: absolute; inset: 0; pointer-events: none; }
.cutout-asset .cutout-marker { z-index: 3; }
.cutout-page { position: absolute; inset: 0; z-index: 1; }
.cutout-page img { display: block; width: 100%; height: 100%; }
.cutout-marker {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border: 1px solid var(--orange); border-radius: 3px; box-shadow: 0 0 0 1px #fff9;
}
.cutout-layer {
  position: absolute; z-index: 2; left: var(--to-x,50%); top: var(--to-y,50%); width: var(--target-width);
  transform: translate(-50%,-50%);
}
.cutout-layer img { display: block; width: 100%; height: auto; }
.cutout-layer-source { position: absolute; inset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .cutout-showcase { --animation-state: paused; }
  .cutout-showcase[data-in-view] { --animation-state: running; }
  .cutout-showcase > figure:nth-child(2) { --cutout-delay: .45s; }
  .cutout-showcase > figure:nth-child(3) { --cutout-delay: .9s; }
  .cutout-showcase > figure:nth-child(4) { --cutout-delay: 1.35s; }
  .cutout-stage :is(.cutout-page,.cutout-marker,.cutout-layer,.cutout-layer-source) {
    animation-delay: var(--cutout-delay,0s); animation-fill-mode: backwards;
    animation-duration: 7.5s; animation-direction: alternate; animation-timing-function: linear;
    animation-iteration-count: infinite; animation-play-state: var(--animation-state);
  }
  .cutout-page { animation-name: cutout-page-fade; }
  .cutout-marker { animation-name: cutout-target; }
  .cutout-layer-source {
    mask-image: linear-gradient(90deg,transparent 45%,#000 55%);
    mask-size: 260% 100%; mask-repeat: no-repeat; mask-position: right center;
    animation-name: cutout-remove-background;
  }
  .cutout-layer { animation-name: cutout-lift; }
  @keyframes cutout-page-fade {
    0%, 23.2% { opacity: 1; }
    39.2%, 100% { opacity: 0; }
  }
  @keyframes cutout-target {
    0%, 6.4%, 28.8%, 100% { opacity: 0; }
    12.8%, 20% { opacity: 1; }
  }
  @keyframes cutout-remove-background {
    0%, 23.2% { mask-position: right center; }
    39.2%, 100% { mask-position: left center; }
  }
  @keyframes cutout-lift {
    0%, 20% {
      opacity: 0;
      left: calc(var(--x) + var(--w) / 2); top: calc(var(--y) + var(--h) / 2); width: var(--w);
    }
    23.2%, 39.2% {
      opacity: 1;
      left: calc(var(--x) + var(--w) / 2); top: calc(var(--y) + var(--h) / 2); width: var(--w);
      animation-timing-function: cubic-bezier(.2,.65,.27,1);
    }
    /* Alternate playback holds the extracted artwork from 4.86s to 10.14s. */
    64.8%, 100% { opacity: 1; left: var(--to-x,50%); top: var(--to-y,50%); width: var(--target-width); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .cutout-page, .cutout-marker, .cutout-layer-source { display: none; }
}

.flow .feature-heading { margin-bottom: clamp(10px,1.6vw,24px); }
.flow-atlas {
  position: relative; isolation: isolate; background: var(--paper);
  height: clamp(300px,calc(39vw + 32px),512px);
}
.flow-atlas:has(> canvas[hidden]) { height: auto; }
.flow-atlas canvas {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  cursor: grab; touch-action: pan-y;
}
.flow-atlas canvas:active { cursor: grabbing; }
.flow-atlas canvas:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.flow-atlas > img:not([hidden]) { display: block; width: 100%; max-width: 1440px; height: auto; margin-inline: auto; }
.flow-atlas-tip {
  position: absolute; z-index: 2; width: min(280px,calc(100% - 16px)); padding: 14px 17px 16px;
  border: 1px solid #e0e3e6; border-radius: 12px; background: white;
  box-shadow: 0 2px 5px #20242a0a, 0 10px 28px -8px #20242a30;
}
.flow-atlas-tip-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.flow-atlas-tip-head h3 { margin: 0; color: #212327; font-size: 16px; font-weight: 650; line-height: 1.45; }
.flow-atlas-tip-head button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #656971; font-size: 19px; line-height: 1; cursor: pointer; }
.flow-atlas-tip-head button:is(:hover,:focus-visible) { background: #f1f2f4; color: #24262a; }
.flow-atlas-tip p { margin: 5px 0 0; color: #505660; font-size: 14px; line-height: 1.7; }
.flow-atlas-access { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.flow-atlas-access button {
  position: absolute; translate: -50% -50%; transform: var(--floor-projection); pointer-events: auto;
  padding: 2px 4px; border: 0; background: transparent; color: #35383c;
  font: inherit; font-weight: 600; line-height: 1.4; white-space: nowrap; cursor: pointer;
}
.flow-atlas-access button:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
@media (max-width: 650px) {
  .flow-atlas { height: clamp(765px,226vw,960px); }
}
.capabilities-section {
  --cap-column-gap: clamp(18px,3vw,44px);
}
.capabilities-section .feature-heading { margin-bottom: clamp(32px,3.6vw,52px); }
.capabilities-section dl, .capabilities-section dd { margin: 0; }
.capabilities-section dt { font-weight: 650; }
.capabilities-section dd { color: var(--muted); font-size: 15px; line-height: 1.75; }
.capability-types { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: var(--cap-column-gap); }
.capability-types > div {
  border-top: 1px solid #e1e4e8;
  display: grid; grid-template-columns: 22px minmax(0,1fr); align-content: start;
  column-gap: clamp(8px,1vw,12px); row-gap: 10px; padding-block: clamp(22px,2.2vw,32px);
}
.capability-types dt {
  grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center;
  font-size: 18px; line-height: 1.4;
}
.capability-types dt img { display: block; }
.capability-types dd { grid-column: 2; text-wrap: pretty; }
.capability-limits > div {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: var(--cap-column-gap);
  align-items: baseline; padding-block: clamp(20px,1.9vw,28px); border-top: 1px solid #e1e4e8;
}
.capability-limits dt { font-size: 16px; line-height: 1.6; }
.capability-limits dd { grid-column: span 2; text-wrap: pretty; }
@media (max-width: 760px) {
  .capability-types { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .capability-types dt { font-size: 16px; }
  .capability-limits > div { grid-template-columns: minmax(0,1fr); row-gap: 10px; }
  .capability-limits dd { grid-column: auto; }
}
.faq-grid { display: grid; grid-template-columns: minmax(160px,1fr) minmax(0,2.05fr); gap: 28px; }
.faq-list { border-top: 1px solid #e4e5e8; }
.faq-list details { border-bottom: 1px solid #e4e5e8; }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none;
  padding: 20px 2px; font-weight: 650; font-size: 16px; cursor: pointer; line-height: 1.5;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(#555b64,#555b64) center / 10px 1.5px no-repeat,
              linear-gradient(#555b64,#555b64) center / 1.5px 10px no-repeat, #fff;
}
.faq-list details[open] summary::after { background-size: 10px 1.5px,1.5px 0; }
.faq-answer { padding: 0 24px 18px 2px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq-answer dl, .faq-answer dd, .faq-answer ol, .faq-answer p { margin: 0; }
.faq-answer dt, .faq-answer strong { font-weight: 650; color: #272a30; }
.faq-answer dt + dd, .faq-answer li p { margin-top: 4px; }
.faq-answer dd + dt, .faq-answer > ol > li + li { margin-top: 16px; }
.faq-answer ol { padding-inline-start: 1.5em; }
.faq-answer > ol > li::marker { color: #272a30; font-weight: 650; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details::details-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 340ms cubic-bezier(.4,0,.2,1), opacity 180ms ease,
                content-visibility 340ms allow-discrete;
  }
  .faq-list details[open]::details-content {
    grid-template-rows: 1fr; opacity: 1;
    transition-delay: 0s, 45ms, 0s;
  }
  .faq-answer { min-height: 0; overflow: hidden; padding-block-end: 0; }
  .faq-answer > :last-child { margin-bottom: 20px; }
  .faq-list summary::after { transition: background-size 280ms ease; }
}
.feature-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: var(--section-space); padding: clamp(32px,4.5vw,58px) clamp(24px,4.2vw,52px);
  border-radius: 20px; color: #fafafa; background: #202124;
}
.feature-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle,#ffffff24 1px,transparent 1.3px) 0 0 / 12px 12px;
  mask-image: linear-gradient(110deg,transparent 40%,#000);
}
.feature-cta h3 { margin: 0; font-size: clamp(23px,2.6vw,36px); font-weight: 720; line-height: 1.32; letter-spacing: -.035em; }
.cta-intro { display: block; margin-bottom: 12px; color: #dadbdd; font-size: 15px; font-weight: 550; letter-spacing: 0; }
.cta-phrase,.cta-emphasis { display: inline-block; }
.cta-emphasis { color: var(--orange); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cta-actions .button { min-height: 44px; }
.cta-secondary { color: #fafafa; border-color: #858689; }
.cta-secondary:is(:hover,:focus-visible) { background: #37383b; border-color: #c4c5c7; }

.foot { border-top: 1px solid var(--line); background: var(--paper); padding: 32px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3,minmax(0,1fr)); gap: 24px; }
.foot-brand, .foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-brand-row { display: flex; align-items: center; gap: 8px; color: #1f2329; font-size: 17px; font-weight: 700; }
.foot-brand-row img { display: block; object-fit: contain; }
.foot-brand-sub { color: #8a9099; font-size: 14px; line-height: 1.7; }
.foot-col { font-size: 15px; }
.foot-col-title { color: #3a3f46; font-weight: 700; }
.foot-col a { color: #8a9099; transition: color .17s ease; }
.foot-col a:hover, .foot-col a:focus-visible { color: #1f2329; }
#footer-support > button:disabled { border: 0; background: transparent; padding: 0; color: #b4bac2; cursor: not-allowed; }
.foot-copyright { margin-top: 24px; padding-top: 14px; border-top: 1px solid #f1f2f4; color: #b4bac2; font-size: 14px; }

@media (max-width: 800px) {
  .feature-cta { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 920px) {
  .font-workspace { grid-template-columns: minmax(0,1fr); }
  .font-choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .highlight-pair { grid-template-columns: 1fr; }
  .icon-compare { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .workspace-body { grid-template-columns: minmax(0,1fr); }
  .workspace-pages { border-right: none; border-bottom: 1px solid #c9cdd2; }
  .case-choices { display: flex; overflow: auto; scroll-snap-type: x proximity; padding-block: 3px 6px; }
  .case-choices button { flex: 0 0 87px; scroll-snap-align: start; }
  .feature-content > .feature-section { scroll-margin-top: 72px; }
  .feature-heading { margin-bottom: 20px; }
  .feature-heading h2 { font-size: clamp(24px,6.3vw,29px); letter-spacing: -.035em; }
  .feature-heading p { font-size: 14px; }
  .highlight-heading p { font-size: 14px; }
  .highlight-controls { min-height: 54px; }
  .segmented button { min-height: 34px; padding: 5px 7px; font-size: 12px; }
  .font-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .font-choice { min-height: 49px; }
  .cutout-grid { grid-template-columns: minmax(0,1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-list summary { padding-block: 16px; font-size: 14px; }
}
@media (max-width: 460px) {
  .foot { padding: 24px 0 20px; }
  .foot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion:no-preference) {
}
