:root {
    --page: oklch(99.2% 0.001 264);
    --ink: oklch(18% 0.018 264);
    --ink-soft: oklch(44% 0.016 264);
    --ink-faint: oklch(56% 0.012 264);
    --line: oklch(90.5% 0.006 264);
    --line-soft: oklch(94.5% 0.004 264);
    --panel: oklch(97% 0.004 264);
    --accent: oklch(48% 0.17 264);
    --accent-dark: oklch(40% 0.16 264);
    --accent-wash: oklch(96% 0.02 264);
    --valid: oklch(52% 0.15 145);
    --valid-wash: oklch(96% 0.03 145);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
    --shell: 72rem;
    --pad: clamp(1.25rem, 4vw, 4rem);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 clamp(1rem, .97rem + .15vw, 1.0625rem)/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.04em; line-height: .98; text-wrap: balance; }
p { text-wrap: pretty; }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--pad); }
.shell-wide { width: min(100%, 86rem); margin-inline: auto; padding-inline: clamp(.75rem, 3vw, 2.5rem); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; background: var(--ink); color: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid oklch(58% .19 264); outline-offset: 3px; border-radius: .25rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; background: oklch(99.2% .001 264 / .82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: .65rem; font-weight: 650; letter-spacing: -.025em; text-decoration: none; }
.brand img { flex: none; border-radius: 7px; }
.primary-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.2vw, 2rem); }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-soft); font-size: .875rem; text-decoration: none; }
.primary-nav a:hover { color: var(--ink); }
.primary-nav .nav-download { min-height: 36px; padding: 0 1rem; color: white; background: var(--accent); border-radius: 999px; font-weight: 600; }
.primary-nav .nav-download:hover { color: white; background: var(--accent-dark); }

/* Hero */
.hero { padding-top: clamp(8.5rem, 15vw, 12rem); }
.hero-copy { text-align: center; }
.kicker { margin-bottom: 1.25rem; color: var(--accent); font-size: .825rem; font-weight: 650; letter-spacing: .025em; }
.hero h1 { max-width: 16ch; margin: 0 auto; font-size: clamp(3.15rem, 2rem + 5.4vw, 6rem); letter-spacing: -.04em; }
.hero-lede { max-width: 41rem; margin: 1.75rem auto 0; color: var(--ink-soft); font-size: clamp(1.08rem, .95rem + .65vw, 1.4rem); line-height: 1.48; }
.download-cluster { margin-top: 2.25rem; display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.download-button { min-height: 50px; padding: .8rem 1.45rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border-radius: .72rem; background: var(--accent); color: white; font-weight: 600; text-decoration: none; box-shadow: 0 1px 1px oklch(20% .02 264 / .16); transition: transform 180ms var(--ease), background 180ms ease; }
.download-button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.download-button:active { transform: none; }
.download-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.download-cluster p { margin: 0; color: var(--ink-faint); font-size: .78rem; }

/* Faithful HTML reconstruction of the real SwiftUI window */
.product-reveal { margin-top: clamp(3.5rem, 8vw, 7rem); perspective: 1600px; }
.app-window { height: clamp(35rem, 63vw, 49rem); overflow: hidden; border: 1px solid oklch(70% .006 264 / .58); border-radius: 13px; background: #ededed; box-shadow: 0 42px 95px -45px oklch(15% .02 264 / .58), 0 8px 28px -16px oklch(15% .02 264 / .3); transform-origin: 50% 100%; animation: window-arrival 950ms var(--ease) both; }
.window-bar { height: 52px; padding: 0 15px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #d8d8d8; background: #f6f6f6; }
.bar-left { display: flex; align-items: center; gap: 13px; min-width: 0; }
.bar-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.traffic-lights { display: flex; gap: 8px; }
.traffic-lights i { width: 12px; height: 12px; border: 1px solid #e0463e; border-radius: 50%; background: #ff5f57; }
.traffic-lights i:nth-child(2) { border-color: #dfa025; background: #febc2e; }
.traffic-lights i:nth-child(3) { border-color: #1dad36; background: #28c840; }
/* The toolbar's own controls: close the document, and show or hide the pages. */
.bar-buttons { display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: #e6e6e6; }
.bar-glyph { width: 27px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: #fbfbfb; box-shadow: 0 1px 2px #0000001f; color: #3a3a3a; font-size: 12px; }
.bar-sidebar::before { content: ""; width: 13px; height: 11px; border: 1.3px solid #3a3a3a; border-radius: 2.5px; background: linear-gradient(to right, #3a3a3a 4.5px, transparent 4.5px); }
.window-title { min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-pill { height: 27px; padding: 0 11px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: #e9e9e9; color: #2c2c2c; font-size: 12px; font-variant-numeric: tabular-nums; }
.bar-pill b { color: #8a8a8a; font-size: 9px; font-weight: 600; }
.page-pill { justify-self: center; }
.bar-round { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #e9e9e9; color: #2c2c2c; font-size: 14px; }
.app-layout { height: calc(100% - 52px); display: grid; grid-template-columns: 132px minmax(0, 1fr) 300px; }

/* Page thumbnails, the column the app shows for any document past one page. */
.thumbnail-rail { overflow: hidden; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 13px; border-right: 1px solid #cfcfcf; background: #e4e4e4; }
.thumb { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.thumb img { width: 84px; height: auto; background: white; box-shadow: 0 1px 5px #00000026; }
.thumb figcaption { color: #6b6b6b; font-size: 10px; font-variant-numeric: tabular-nums; }
.thumb.is-current img { outline: 2px solid var(--accent); outline-offset: 1px; }

.document-workspace { position: relative; overflow: hidden; display: grid; place-items: start center; padding: 26px 30px 0; background: #d7d7d7; }
.document-page { position: relative; width: min(88%, 470px); background: white; box-shadow: 0 3px 14px #0002; }
.document-page > img { width: 100%; height: auto; }
/* A placed signature: dashed while it sits there, with the corner handles that
   move and resize it. */
.placement-box { position: absolute; left: 10.1%; bottom: 11.1%; width: 27%; height: 14.1%; border: 1.5px dashed var(--accent); background: oklch(96% .02 264 / .42); }
.handle { position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--accent); border-radius: 50%; background: white; }
.handle:nth-child(1) { left: -5px; top: -5px; }
.handle:nth-child(2) { right: -5px; top: -5px; }
.handle:nth-child(3) { left: -5px; bottom: -5px; }
.handle:nth-child(4) { right: -5px; bottom: -5px; }

.app-inspector { position: relative; overflow: hidden; display: flex; flex-direction: column; border-left: 1px solid #cfcfcf; background: oklch(96.5% .003 264 / .96); color: #252525; }
/* Sign and verify are one switch, not two competing halves of a form. */
.mode-switch { margin: 13px 16px; padding: 2px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 8px; background: #e3e3e3; font-size: 12px; text-align: center; }
.mode-switch span { padding: 4px 0; border-radius: 6px; color: #444; }
.mode-switch .is-active { background: var(--accent); color: white; font-weight: 600; }
.inspector-body { flex: 1; min-height: 0; padding: 3px 0 0; }
.inspector-section { margin: 0 16px; padding: 17px 0 0; }
.inspector-section h2 { margin: 0 0 9px; color: #777; font-size: 10px; font-weight: 650; letter-spacing: .07em; line-height: 1.2; text-transform: uppercase; }
.app-row { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.card-row { margin: 0 16px; }
.card-row strong { font-size: 11.5px; }
.status-dot { width: 17px; height: 17px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--valid); color: white; font-size: 10px; font-weight: 700; }
.placement-icon { width: 15px; height: 12px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--accent); border-radius: 2px; color: var(--accent); font-size: 8px; font-weight: 700; }
.inspector-hint { margin: 8px 0 0; color: #6f6f6f; font-size: 10.5px; line-height: 1.4; }
.app-actions { margin-top: 11px; display: flex; align-items: center; gap: 12px; }
.app-button { min-height: 24px; padding: 2px 10px; display: inline-flex; align-items: center; border: 1px solid #c5c5c5; border-radius: 6px; background: #fff; color: #333; font-size: 11px; }
.app-link { color: var(--accent); font-size: 11px; }
.image-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.signature-chip { width: 96px; height: auto; border-radius: 4px; background: #0000000a; }
.app-disclosure { margin: 18px 16px 0; color: #3a3a3a; font-size: 11.5px; }
.app-disclosure span { margin-right: 5px; color: #8a8a8a; }
.inspector-action { padding: 16px; border-top: 1px solid #d2d2d2; }
.app-primary { width: 100%; min-height: 36px; display: flex; align-items: center; justify-content: center; gap: .25rem; border-radius: 7px; background: #0668c9; color: white; font-size: 12px; font-weight: 600; }
.inspector-action small { display: block; margin-top: 8px; color: #666; font-size: 10px; line-height: 1.35; }
.proof-line { margin-bottom: 0; padding-block: 2rem clamp(7rem, 12vw, 11rem); display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); list-style: none; }
.proof-line li { margin: 0; padding: .4rem clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; align-items: center; gap: .15rem; text-align: center; border-right: 1px solid var(--line); }
.proof-line li:last-child { border: 0; }
.proof-line strong { font-size: .9rem; }
.proof-line span { color: var(--ink-soft); font-size: .82rem; }

/* Why FirmaCR */
.advantage { padding-block: clamp(7rem, 14vw, 12rem) clamp(5.5rem, 10vw, 8rem); background: var(--accent-wash); border-bottom: 1px solid var(--line-soft); }
.advantage-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(4rem, 10vw, 9rem); align-items: start; }
.advantage-heading { position: sticky; top: 8rem; }
.advantage-heading h2 { max-width: 10ch; margin-bottom: 1.75rem; font-size: clamp(2.65rem, 2rem + 3.25vw, 5.1rem); }
.advantage-heading p { max-width: 34rem; margin: 0; color: var(--ink-soft); font-size: clamp(1rem, .94rem + .3vw, 1.16rem); line-height: 1.65; }
.advantage-list { margin: 0; }
.advantage-list > div { padding: 2rem 0 2.15rem; border-top: 1px solid var(--line); }
.advantage-list > div:last-child { border-bottom: 1px solid var(--line); }
.advantage-list dt { margin-bottom: .55rem; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.advantage-list dd { max-width: 38rem; margin: 0; color: var(--ink-soft); line-height: 1.65; }
.trademark-note { margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: 0; color: var(--ink-faint); font-size: .72rem; }

/* Narrative */
.story { overflow: clip; }
.story-intro { padding-block: clamp(6.5rem, 13vw, 12rem) clamp(5rem, 9vw, 8rem); text-align: center; }
.story-intro h2, .trust-heading h2, .ready h2, .final-cta h2 { font-size: clamp(2.65rem, 2rem + 3.25vw, 5.1rem); }
.story-intro h2 { max-width: 13ch; margin: 0 auto; }
.moment { min-height: min(850px, 92vh); display: grid; align-items: center; padding-block: clamp(4.5rem, 9vw, 8rem); border-top: 1px solid var(--line-soft); }
.moment-grid { display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(25rem, 1.28fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.moment:nth-of-type(even) .moment-copy { order: 2; }
.moment-copy { max-width: 29rem; }
.moment-number { display: block; margin-bottom: 1.75rem; color: var(--accent); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.moment-copy h3 { margin-bottom: 1.5rem; font-size: clamp(2.5rem, 1.75rem + 3vw, 4.7rem); }
.moment-copy p { margin: 0; color: var(--ink-soft); font-size: clamp(1rem, .92rem + .35vw, 1.18rem); line-height: 1.6; }
.moment-visual { min-height: clamp(24rem, 48vw, 38rem); position: relative; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; }
.paper-fragment, .signed-paper { width: min(72%, 30rem); aspect-ratio: .77; position: relative; padding: 9% 10%; background: white; box-shadow: 0 30px 65px -40px #0008; }
.paper-heading, .paper-line { display: block; height: 8px; margin-bottom: 16px; background: #e3e4e7; }
.paper-heading { width: 48%; height: 14px; margin-bottom: 38px; background: #bfc2c8; }
.paper-line { width: 76%; }.paper-line.long { width: 100%; }.paper-line.short { width: 57%; }
.selection { position: absolute; left: 11%; right: 11%; bottom: 13%; height: 26%; display: grid; place-items: center; border: 2px solid var(--accent); background: var(--accent-wash); }
.selection img { position: absolute; left: 9%; top: 13%; width: 82%; height: 58%; object-fit: cover; object-position: top center; mix-blend-mode: multiply; }
.selection span { position: absolute; left: -2px; top: -27px; padding: 4px 7px; background: var(--accent); color: white; font-size: 9px; font-weight: 650; }
.signed-visual { background: var(--accent-wash); }
.signed-paper > p { padding-bottom: 1rem; border-bottom: 1px solid #ddd; font-weight: 600; }
.signature-output { position: absolute; left: 10%; right: 10%; bottom: 8%; overflow: hidden; }
.signature-output img { width: 125%; max-width: none; height: auto; object-fit: contain; object-position: left bottom; mix-blend-mode: multiply; }
.verify-visual { background: #f5f6f5; }
.verify-panel { width: min(84%, 34rem); display: flex; gap: 1.15rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid oklch(82% .03 145); border-radius: 13px; background: white; box-shadow: 0 22px 50px -38px #0009; }
.verify-seal { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--valid-wash); color: var(--valid); }
.verify-seal svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.verify-panel small, .verify-panel strong { display: block; }
.verify-panel small { margin-bottom: .35rem; color: var(--ink-faint); font-size: .75rem; }
.verify-panel strong { color: var(--valid); font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -.025em; }
.verify-panel p { margin: .65rem 0 0; color: var(--ink-soft); font-size: .88rem; }

/* Evidence and requirements */
.trust { padding-block: clamp(7rem, 14vw, 12rem); background: var(--ink); color: white; }
.trust-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 10vw, 9rem); }
.trust-heading { align-self: start; position: sticky; top: 8rem; }
.trust-heading .kicker { color: #8aaeff; }
.trust-heading h2 { max-width: 9ch; }
.trust-heading > p:last-child { max-width: 30rem; color: oklch(79% .012 264); }
.evidence-list { margin: 0; }
.evidence-list > article { padding: 0 0 3.25rem; margin-bottom: 3.25rem; border-bottom: 1px solid oklch(100% 0 0 / .16); }
.evidence-list > article:last-child { margin-bottom: 0; }
.evidence-list h3 { margin-bottom: .8rem; font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); font-weight: 620; letter-spacing: -.03em; line-height: 1.1; }
.evidence-list article > p { max-width: 39rem; margin: 0 0 1rem; color: oklch(78% .012 264); }
.evidence-list a { min-height: 44px; display: inline-flex; align-items: center; color: #a9c1ff; font-size: .9rem; text-underline-offset: .25rem; }
.ready { padding-block: clamp(7rem, 13vw, 11rem); }
.ready-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 10vw, 9rem); }
.ready h2 { max-width: 9ch; }
.requirements { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.requirements li { padding: 1.5rem 0; display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.requirements li > span { color: var(--accent); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.requirements p { margin: 0; color: var(--ink-soft); }
.requirements strong { display: block; margin-bottom: .2rem; color: var(--ink); }
.requirements a { color: var(--accent); text-underline-offset: .2rem; }

/* Guides on the home page */
.guides { padding-block: clamp(7rem, 13vw, 11rem); border-top: 1px solid var(--line); }
.guides-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 10vw, 9rem); align-items: start; }
.guides-heading { position: sticky; top: 8rem; }
.guides-heading h2 { max-width: 10ch; margin-bottom: 1.5rem; font-size: clamp(2.65rem, 2rem + 3.25vw, 5.1rem); }
.guides-heading > p:last-child { max-width: 31rem; margin: 0; color: var(--ink-soft); }
.guide-links { border-top: 1px solid var(--line); }
.guide-links > a { position: relative; display: block; padding: 1.8rem 3.5rem 1.9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-links > a::after { content: "→"; position: absolute; right: .25rem; top: 50%; color: var(--accent); font-size: 1.4rem; transform: translateY(-50%); transition: transform 180ms var(--ease); }
.guide-links > a:hover::after { transform: translate(.25rem, -50%); }
.guide-links span { display: block; margin-bottom: .45rem; color: var(--accent); font-size: .78rem; font-weight: 650; }
.guide-links strong { display: block; max-width: 34rem; font-size: clamp(1.25rem, 1.05rem + .75vw, 1.65rem); letter-spacing: -.025em; line-height: 1.18; }
.guide-links p { max-width: 35rem; margin: .55rem 0 0; color: var(--ink-soft); font-size: .92rem; }

/* Shared interior pages */
.interior-header { position: relative; border-bottom-color: var(--line); background: var(--page); }
.interior-header .brand { color: var(--ink); }
.interior-main { padding-top: 64px; }
.breadcrumbs { padding-top: 2rem; color: var(--ink-faint); font-size: .8rem; }
.breadcrumbs ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--line); }
.breadcrumbs a { text-underline-offset: .2rem; }
.article-header { padding-block: clamp(4rem, 9vw, 7.5rem); border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 17ch; margin-bottom: 1.5rem; font-size: clamp(2.75rem, 1.9rem + 4vw, 5.35rem); }
.article-header .lede { max-width: 46rem; margin: 0; color: var(--ink-soft); font-size: clamp(1.08rem, .98rem + .5vw, 1.35rem); line-height: 1.55; }
.article-meta { margin-top: 1.5rem; color: var(--ink-faint); font-size: .8rem; }
.article-layout { padding-block: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.article-prose { max-width: 46rem; }
.article-prose > :first-child { margin-top: 0; }
.article-prose h2 { margin: 4rem 0 1.25rem; font-size: clamp(2rem, 1.55rem + 1.7vw, 3rem); line-height: 1.05; }
.article-prose h3 { margin: 2.5rem 0 .8rem; font-size: 1.35rem; line-height: 1.2; }
.article-prose p, .article-prose li { color: var(--ink-soft); line-height: 1.72; }
.article-prose a { color: var(--accent); text-underline-offset: .22rem; }
.article-prose ul, .article-prose ol { padding-left: 1.25rem; }
.article-prose li + li { margin-top: .7rem; }
.steps { margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: guide-step; border-top: 1px solid var(--line); }
.steps > li { counter-increment: guide-step; position: relative; padding: 1.5rem 0 1.55rem 3rem; border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(guide-step, decimal-leading-zero); position: absolute; left: 0; top: 1.65rem; color: var(--accent); font-size: .75rem; font-weight: 700; }
.steps strong { display: block; margin-bottom: .3rem; color: var(--ink); font-size: 1.08rem; }
.steps p { margin: 0; }
.callout { margin-block: 2rem; padding: 1.35rem 1.5rem; border-radius: .75rem; background: var(--accent-wash); }
.callout strong { display: block; margin-bottom: .35rem; color: var(--ink); }
.callout p { margin: 0; }
.article-aside { position: sticky; top: 6rem; padding-top: .25rem; }
.article-aside h2 { margin-bottom: .8rem; font-size: 1rem; letter-spacing: -.01em; line-height: 1.25; }
.article-aside p { color: var(--ink-soft); font-size: .84rem; }
.article-aside .download-button { width: 100%; margin-top: .5rem; font-size: .9rem; }
.aside-links { margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
.aside-links a { min-height: 40px; display: flex; align-items: center; color: var(--ink-soft); font-size: .82rem; text-underline-offset: .2rem; }
.article-figure { margin: 2.5rem 0; padding: clamp(1.5rem, 5vw, 3.5rem); background: var(--panel); border-radius: 14px; }
.article-figure img { width: 100%; height: auto; }
.article-figure figcaption { margin-top: 1rem; color: var(--ink-faint); font-size: .78rem; }
.related { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); background: var(--panel); }
.related h2 { margin-bottom: 2rem; font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem); }
.related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--line); }
.related-links a { padding: 1.35rem 2.5rem 1.45rem 0; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.3; text-decoration: none; }
.legal-main { min-height: calc(100vh - 64px); display: grid; place-items: center; padding-block: 5rem; }
.error-copy { max-width: 42rem; text-align: center; }
.error-code { display: block; margin-bottom: 1rem; color: var(--accent); font-size: .85rem; font-weight: 700; }
.error-copy h1 { margin-bottom: 1.25rem; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); }
.error-copy p { margin-bottom: 2rem; color: var(--ink-soft); }

/* Finish */
.final-cta { padding-block: clamp(7rem, 14vw, 12rem); text-align: center; background: var(--accent-wash); border-block: 1px solid var(--line-soft); }
.final-cta img { margin: 0 auto 2rem; border-radius: 17px; box-shadow: 0 12px 28px -18px #0009; }
.final-cta h2 { max-width: 14ch; margin: 0 auto 1.5rem; }
.final-cta p { max-width: 39rem; margin: 0 auto 2rem; color: var(--ink-soft); }
.final-cta .installation-note { margin: .9rem auto 0; font-size: .82rem; color: var(--ink-faint); }
.site-footer { padding-block: 3.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 4rem; }
.footer-about { max-width: 34rem; }
.footer-about .brand { margin-bottom: 1rem; }
.footer-about p { margin: 0; color: var(--ink-faint); font-size: .78rem; line-height: 1.55; }
.site-footer nav { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-soft); font-size: .8rem; }

@keyframes window-arrival { from { opacity: 0; transform: translateY(26px) rotateX(1.5deg) scale(.985); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
    .moment-copy, .moment-visual { animation: reveal linear both; animation-timeline: view(); animation-range: entry 8% cover 34%; }
    @keyframes reveal { from { transform: translateY(30px); } to { transform: none; } }
}

@media (max-width: 800px) {
    .primary-nav a:not(.nav-download) { display: none; }
    .hero { padding-top: 7.8rem; }
    .guides-layout, .article-layout { grid-template-columns: 1fr; }
    .guides-heading, .article-aside { position: static; }
    .article-aside { padding-top: 2rem; border-top: 1px solid var(--line); }
    .article-aside .download-button { width: auto; }
    .related-links { grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(3rem, 13vw, 5rem); }
    .app-window { height: 570px; }
    .app-layout { position: relative; display: block; }
    .thumbnail-rail { display: none; }
    .document-workspace { height: 100%; padding: 24px 210px 40px 22px; place-items: start; }
    .document-page { width: 310px; min-width: 310px; }
    .app-inspector { position: absolute; z-index: 2; width: 225px; right: 13px; top: 18px; bottom: 18px; border: 1px solid #c4c4c4; border-radius: 10px; box-shadow: 0 15px 35px -24px #000c; }
    .inspector-section { margin-inline: 13px; padding-top: 13px; }
    .mode-switch, .card-row { margin-inline: 13px; }
    .inspector-action { padding: 13px; }
    .proof-line { grid-template-columns: 1fr; padding-block: 1.5rem 6rem; }
    .proof-line li { padding-block: .85rem; border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .proof-line li:last-child { border: 0; }
    .moment { min-height: auto; }
    .advantage-layout, .moment-grid, .trust-layout, .ready-layout { grid-template-columns: 1fr; }
    .advantage-heading { position: static; }
    .advantage-heading h2 { max-width: 12ch; }
    .moment:nth-of-type(even) .moment-copy { order: initial; }
    .moment-copy { max-width: 36rem; }
    .moment-visual { min-height: min(125vw, 35rem); }
    .trust-heading { position: static; }
    .trust-heading h2, .ready h2 { max-width: 12ch; }
    .footer-inner { flex-direction: column; gap: 2rem; }
}

@media (max-width: 480px) {
    :root { --pad: 1.25rem; }
    .header-inner { min-height: 58px; }
    .brand img { width: 25px; height: 25px; }
    .primary-nav .nav-download { min-height: 36px; }
    .hero { padding-top: 7.25rem; }
    .hero h1 { font-size: clamp(2.8rem, 13.5vw, 4rem); }
    .hero-lede { font-size: 1.04rem; }
    .download-cluster p { max-width: 22rem; line-height: 1.5; }
    .product-reveal { margin-top: 3.5rem; padding-inline: .65rem; }
    .app-window { height: 500px; border-radius: 11px; }
    .window-bar { height: 44px; padding-inline: 12px; }
    .traffic-lights { gap: 6px; }.traffic-lights i { width: 10px; height: 10px; }
    .window-title { font-size: 11px; }.window-title img { width: 15px; height: 15px; }
    .document-workspace { padding: 18px 120px 36px 15px; }
    /* At this width the panel is a sliver: it keeps the switch, the placement
       and the action, and drops the explanatory lines. */
    .inspector-hint, .app-link { display: none; }
    .app-button { white-space: nowrap; }
    .document-page { width: 250px; min-width: 250px; }
    .app-inspector { width: 210px; right: 9px; top: 14px; bottom: 14px; }
    .card-row { display: none; }
    .story-intro { padding-top: 6.5rem; }
    .story-intro h2, .trust-heading h2, .ready h2, .final-cta h2 { font-size: 2.65rem; }
    .moment-grid { gap: 2.5rem; }
    .moment-copy h3 { font-size: 2.7rem; }
    .moment-visual { margin-inline: -.5rem; min-height: 28rem; border-radius: 14px; }
    .paper-fragment, .signed-paper { width: 84%; }
    .verify-panel { width: 91%; padding: 1.25rem; }
    .verify-panel p { font-size: .8rem; }
    .site-footer nav { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--page); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line-soft); } }
@media (prefers-contrast: more) { :root { --ink-soft: oklch(31% .015 264); --ink-faint: oklch(39% .012 264); --line: oklch(72% .008 264); } }
