@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Paper Mono";
  src: url("GeistMono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Instrument Serif", Georgia, serif;
  --font-accent: var(--font-display);
  --mono: "Paper Mono", ui-monospace, monospace;
  --paper-lean: 0deg;
  --paper-edition-x: 0px;
  --chapter-space: clamp(112px, 12vw, 176px);
  --section-gap: clamp(112px, 12svh, 176px);
  --header-height: 84px;
}

:root[data-theme="light"] {
  --background: #ede8e1;
  --foreground: #20241f;
  --surface: #e9e2d8;
  --surface-raised: #e1dbd1;
  --muted: #585c54;
  --subtle: #62635b;
  --line: #323a3024;
  --line-strong: #323a3045;
  --selection: #204e720b;
  --paper-blue: #204e72;
  --paper-blue-wash: #204e7209;
  --page-wash: #ede8e1cf;
  --sheet-wash: #e9e2d859;
  --paper-shadow: #39362c12;
  --button-bg: #204e72;
  --button-text: #f7f2e9;
  --button-hover: #183d5a;
  --brief-paper-image: url("brief-folded-light.webp");
  --brief-paper-blend: darken;
}

:root[data-theme="dark"] {
  --background: #000000;
  --foreground: #f5f5f5;
  --surface: #000000;
  --surface-raised: #080808;
  --muted: #bfbfbf;
  --subtle: #b5b5b5;
  --line: #ffffff27;
  --line-strong: #ffffff43;
  --selection: #a7cce013;
  --paper-blue: #a7cce0;
  --paper-blue-wash: #a7cce009;
  --page-wash: #000000;
  --sheet-wash: #000000;
  --paper-shadow: #00000024;
  --button-bg: #a7cce0;
  --button-text: #000000;
  --button-hover: #c4dce9;
  --brief-paper-image: url("brief-folded-dark.webp");
  --brief-paper-blend: lighten;
}

body { overflow-x: clip; }
/* Isolated artwork layers need the same painted paper backdrop as the page. */
body,
.site-header::before,
.story-stage > .paper-hero::before,
.story-stage--footer > .sticky-surface {
  background-color: var(--background);
  background-image: linear-gradient(var(--page-wash), var(--page-wash)), url("paper-grain.webp");
  background-size: auto, 627px 627px;
}
h2 { font-family: var(--font-display); font-weight: 400; font-size: 3.5rem; letter-spacing: -.018em; line-height: 1.05; }
::selection { background: var(--paper-blue); color: var(--button-text); }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline-color: var(--paper-blue); }
.site-header { z-index: 20; isolation: isolate; border-bottom: 1px solid var(--line); }
/* Extend the opaque page-colored bar without changing the navigation's content width. */
.site-header::before { content: ""; position: absolute; z-index: -1; inset: 0 calc((100% - 100vw) / 2); pointer-events: none; }
.brand { min-height: 44px; margin-left: 0; letter-spacing: -.055em; }
.top-nav, .header-actions { gap: 22px; }
.top-nav a, .login { color: var(--foreground); }
.top-nav a { position: relative; }
.top-nav a::after { content: ""; position: absolute; inset: auto 0 3px; height: 1px; background: var(--paper-blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.top-nav a:hover, .top-nav a:focus-visible, .login:hover { color: var(--paper-blue); }
.top-nav a:hover::after, .top-nav a:focus-visible::after { transform: scaleX(1); }
.theme-toggle { border: 1px solid var(--line); border-radius: 2px; color: var(--paper-blue); }
.button, .button.small { border-radius: 2px; }
.button { border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, translate .2s ease; }
.primary { border-color: var(--paper-blue); box-shadow: inset 0 1px 0 #ffffff1c, 2px 2px 0 var(--background), 3px 3px 0 var(--paper-blue); }
.primary:hover { translate: 0 -1px; box-shadow: inset 0 1px 0 #ffffff1c, 3px 3px 0 var(--background), 4px 4px 0 var(--paper-blue); }
.primary:active { translate: 1px 1px; box-shadow: none; }
.outline { border-color: var(--paper-blue); color: var(--paper-blue); box-shadow: 2px 2px 0 var(--paper-blue-wash); }
.outline:hover { background: var(--paper-blue-wash); border-color: var(--paper-blue); }
.ghost { color: var(--paper-blue); border-radius: 0; border-bottom-color: var(--line-strong); padding-inline: 8px; }
.ghost:hover { border-bottom-color: var(--paper-blue); background: transparent; }
.text-link { color: var(--paper-blue); text-underline-offset: 5px; }
.text-link .icon, .ghost .icon { color: var(--paper-blue); }
.heading-secondary { color: var(--paper-blue); }
.eyebrow, .hero-eyebrow, .mini-label { font-family: var(--mono); font-size: .875rem; letter-spacing: .025em; }
.eyebrow, .hero-eyebrow { color: var(--paper-blue); }
.hero-eyebrow, .section-heading .eyebrow, .platform-copy > .eyebrow, .closing-copy > .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.hero-eyebrow::before, .section-heading .eyebrow::before, .platform-copy > .eyebrow::before, .closing-copy > .eyebrow::before {
  content: "";
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: linear-gradient(var(--paper-blue), var(--paper-blue)) center / 1px 13px no-repeat, linear-gradient(var(--paper-blue), var(--paper-blue)) center / 13px 1px no-repeat;
}
.reading-progress { height: 2px; }
.reading-progress span { background: var(--paper-blue); opacity: .8; }

.paper-hero {
  width: min(1440px, calc(100% - 80px));
  padding: 64px 0 100px;
  min-height: 660px;
  margin-bottom: clamp(80px, 10vh, 128px);
  isolation: auto;
}
.paper-hero::before { display: none; }
.hero-copy { position: relative; z-index: 1; max-width: 890px; margin-left: auto; }
.paper-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 6vw, 5.75rem); line-height: 1.03; letter-spacing: -.025em; }
.paper-hero h1 .heading-secondary { color: var(--paper-blue); }
.paper-hero .hero-description { max-width: 665px; }
.paper-hero .hero-emphasis { display: block; }
.paper-hero .hero-actions { margin-top: 30px; }
.paper-hero .helper { margin-top: 17px; }
.paper-hero-stage {
  position: absolute;
  left: calc((100% - 100vw) / 2 - 20px);
  top: 0;
  bottom: 0;
  width: min(49vw, 800px);
  overflow: clip;
  pointer-events: none;
  mix-blend-mode: normal;
}
.paper-hero-stage .paper-art-motion {
  position: absolute;
  bottom: -38px;
  width: 100%;
  transform-origin: 24% 88%;
}
.paper-art-image { display: block; width: 100%; height: auto; filter: none; user-select: none; -webkit-user-drag: none; }
/* Asset-specific cutouts exclude the photographed matte without recoloring the print. */
.paper-art-image[src$="paper-hero-opportunity-blue.webp"] {
  clip-path: polygon(
    .7% 11.65%, 15.8% 2.95%, 17.5% 14.2%, 40.3% 24.2%,
    40.5% 35.6%, 61% 44.6%, 64.2% 56.3%, 73.5% 59.9%,
    72.4% 66.2%, 84.2% 74.9%, 83% 79.6%, 90.8% 82.3%,
    90.8% 89.3%, 99.4% 91.9%, 97.5% 99.3%, .7% 99.3%
  );
}
.paper-art-image[src$="paper-footer-blue.webp"] {
  clip-path: polygon(
    1.61% 58.86%, 9.03% 14.93%, 16.21% 31.48%, 21.48% 25.18%,
    29.3% 33.97%, 38.57% 24.74%, 44.87% 34.85%, 50.58% 24.01%,
    55.91% 33.82%, 62.2% 25.62%, 66.75% 31.77%, 73.73% 20.94%,
    80.47% 27.23%, 91.4% 12.3%, 98.34% 65.89%, 95.75% 60.62%,
    85.06% 71.89%, 76.95% 68.96%, 67.68% 78.92%, 62.35% 74.67%,
    55.47% 80.82%, 50.63% 72.91%, 43.7% 79.94%, 38.28% 71.6%,
    36.77% 70%, 31.74% 78.33%, 27.2% 77.01%, 24.02% 78.33%,
    15.33% 70.86%, 9.62% 72.32%, 2.44% 57.25%
  );
}
.paper-art-motion {
  transform: perspective(1400px) translate3d(calc(var(--paper-x, 0px) + var(--paper-edition-x)), var(--paper-y, 0px), 0) rotateY(calc(var(--paper-turn, 0deg) + var(--paper-lean))) rotateZ(var(--paper-roll, 0deg));
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1);
}
.paper-scene-active .paper-art-motion { will-change: transform; }
[data-offering-view="security"] { --paper-lean: -2.2deg; --paper-edition-x: -9px; }

.demo-section { position: relative; z-index: 2; padding-top: 64px; padding-bottom: var(--chapter-space); }
.demo-heading { margin-bottom: 30px; }
.demo-heading h2 { font-size: 3rem; margin-top: 10px; letter-spacing: -.015em; }
.steps { justify-content: center; gap: 12px; margin-bottom: 27px; border-bottom-color: var(--line-strong); }
.steps button { text-align: center; padding: 14px 17px; border: 1px solid transparent; border-bottom: 0; border-radius: 2px 2px 0 0; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.steps button:hover { color: var(--paper-blue); background: var(--paper-blue-wash); }
.steps button[aria-selected="true"] { color: var(--paper-blue); border-color: var(--line-strong); background: var(--paper-blue-wash); }
.steps button[aria-selected="true"]::after { background: var(--paper-blue); height: 2px; left: 17px; right: 17px; }
.brief-paper-stage { position: relative; isolation: isolate; }
.brief-frame, [data-theme="light"] .brief-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  padding: 18px 14px 32px;
  background: var(--background);
  color: var(--foreground);
  box-shadow: none;
}
.brief-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  /* Nine-slice keeps corners intact; round tiling prevents grain stretching on mobile. */
  border: 92px solid transparent;
  border-image: var(--brief-paper-image) 250 fill / 92px / 0 round;
  filter: none;
  mix-blend-mode: var(--brief-paper-blend);
}
.brief-frame > * { position: relative; z-index: 1; }
.brief-frame > .brief-header { grid-area: 1 / 1; }
.brief-frame > .sample-disclosure { grid-area: 2 / 1; }
.brief-frame > .demo-panel { grid-area: 3 / 1; align-self: start; }
.brief-frame > .brief-bottom { grid-area: 4 / 1; }
/* Every tab contributes to one shared paper size; inactive pages remain unfocusable and unannounced. */
.brief-frame > .demo-panel[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.brief-paper-stage > .brief-frame--snapshot { position: absolute; z-index: 3; inset: 0 0 auto; pointer-events: none; user-select: none; }
.brief-paper-stage.is-flip-preparing > .brief-frame:not(.brief-frame--snapshot) { opacity: 0; }
.paper-curl-canvas { position: absolute; z-index: 4; inset: 0; display: block; pointer-events: none; }
.paper-capture-host { position: fixed; left: -24000px; top: 0; pointer-events: none; }
.paper-capture-host .brief-frame { position: relative; inset: auto; opacity: 1 !important; background: transparent !important; }
.paper-capture-host .brief-frame::before { display: none; }
.motion-enabled .brief-paper-stage .demo-panel:not([hidden]),
.motion-enabled .brief-frame--snapshot .demo-panel:not([hidden]) { animation: none; }
.document-icon { border-radius: 1px; border-color: var(--paper-blue); background: var(--paper-blue-wash); color: var(--paper-blue); }
.brief-header { padding-top: 30px; }
.brief-heading h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; letter-spacing: -.01em; }
.brief-date, .mini-label, .source-date { font-variant-numeric: tabular-nums; }
.brief-context .mini-label, .brief-columns h4 { color: var(--paper-blue); }
.brief-context { border-bottom-color: var(--line-strong); }
.opening-block blockquote { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.35; letter-spacing: 0; }
.question-index, .ledger-number { color: var(--paper-blue); }
.question-purpose { color: var(--paper-blue); }
.source-link, .source-stack a, .panel-footnote a { color: var(--paper-blue); text-decoration-color: var(--line-strong); }
.source-link:hover, .source-stack a:hover { text-decoration-color: var(--paper-blue); }
.brief-bottom { padding-block: 18px; background: transparent; }
.evidence-tag { color: var(--paper-blue); font-family: var(--mono); font-size: .875rem; }
.ledger-row:nth-child(n+2) .evidence-tag { color: var(--paper-blue); }
.panel-intro h4 { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.15; }
.account-background { max-width: 900px; margin: 0 0 26px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.account-background a { color: var(--paper-blue); }
.timing-ledger-row .timing-question { margin-block: 14px; color: var(--paper-blue); }
.fixed-evidence { background: var(--paper-blue-wash); border-left-color: var(--paper-blue); }
.offering-switch { border-radius: 2px; border-color: var(--line-strong); padding: 3px; }
.offering-switch button { border-radius: 1px; }
.offering-switch button[aria-pressed="true"] { color: var(--button-text); background: var(--button-bg); box-shadow: inset 0 -2px var(--paper-blue); }
.product-interpretation .product-question { color: var(--paper-blue); }
.product-interpretation .mini-label { font-size: .875rem; }

.approach-section { padding-top: calc(var(--chapter-space) * .3); padding-bottom: var(--chapter-space); }
.approach-flow { gap: 24px; }
.approach-flow .approach-paper {
  position: relative;
  isolation: isolate;
  border: 1px solid #20241f12;
  border-radius: 2px;
  padding: 28px 28px 190px;
  min-height: 460px;
  overflow: clip;
  background: #eeece6;
  color: #20241f;
  box-shadow: 0 2px 3px #00000005, 0 16px 28px -24px #00000040;
}
.approach-art { position: absolute; z-index: -1; inset: auto 0 0; width: 100%; height: auto; pointer-events: none; user-select: none; }
.approach-paper .flow-index { color: #204e72; font-family: var(--mono); }
.approach-paper h3 { font-size: 1.1875rem; margin-top: 20px; }
.approach-paper p { color: #454842; }
/* Darken the card stock, not the print. Cutouts expose that stock around the original paper folds. */
[data-theme="dark"] .approach-paper { background: #060606; border-color: #ffffff0d; color: #f5f5f5; box-shadow: none; }
[data-theme="dark"] .approach-paper .approach-art { filter: none; }
[data-theme="dark"] .approach-art[src$="approach-product.webp"] {
  clip-path: polygon(0 50.5%, 25.1% 56.6%, 43.6% 69.1%, 67.8% 66%, 95.8% 79.5%, 95.8% 100%, 76.4% 100%, 64.4% 94.8%, 39.4% 99.9%, 20% 86.6%, 0 91.6%);
}
[data-theme="dark"] .approach-art[src$="approach-connection.webp"] {
  clip-path: polygon(0 58.1%, 13.9% 64.2%, 19% 69.5%, 32.9% 73.7%, 49.2% 82.4%, 50.7% 83.2%, 52.2% 82.4%, 67.5% 73.9%, 82.9% 69.1%, 88.8% 63.6%, 100% 58%, 100% 80.5%, 89% 85.9%, 84% 91.1%, 67.9% 91.2%, 50.9% 96.9%, 48.9% 96.4%, 32.5% 91.4%, 16.1% 91.1%, 13.3% 87.3%, 0 81.3%);
}
[data-theme="dark"] .approach-art[src$="approach-angle.webp"] {
  clip-path: polygon(0 90.4%, 86.8% 54.9%, 100% 60%, 100% 100%, 0 100%);
}
[data-theme="dark"] .approach-paper .flow-index { color: var(--paper-blue); }
[data-theme="dark"] .approach-paper p { color: #c7c7c7; }
.comparison-note { border-left: 2px solid var(--paper-blue); border-top: 0; padding: 2px 0 2px 22px; }
.platform-section { padding-block: var(--chapter-space); background: var(--paper-blue-wash); }
.platform-section, .closing { position: relative; }
.platform-section { --section-art-height: clamp(160px, 33vw, 380px); }
.section-paper-background { position: absolute; inset: auto 0 0; height: var(--section-art-height); overflow: clip; pointer-events: none; user-select: none; }
.section-paper-background img { position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: min(100%, 1200px); height: auto; max-width: none; filter: none; }
.platform-layout, .closing-copy, .request-panel { position: relative; z-index: 1; }
.platform-layout { gap: 84px; }
.platform-copy h2 { font-size: 3.5rem; }
.platform-capabilities dt span { font-family: var(--mono); font-size: .875rem; color: var(--paper-blue); }
.platform-capabilities dt strong { font-size: 1.1875rem; }
.faq-section { padding-block: var(--chapter-space); }
.faq-copy h2 { font-size: 3.25rem; }
.faq-list { position: relative; border-left: 1px solid var(--line); margin-left: 6px; }
.faq-list details { position: relative; padding-inline: 28px 8px; }
/* Registration marks sit exactly on the ruled border junctions, as on the live landing page. */
.faq-list::before, .faq-list details::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  left: -6.5px;
  pointer-events: none;
  background: linear-gradient(var(--paper-blue), var(--paper-blue)) center / 1px 12px no-repeat,
    linear-gradient(var(--paper-blue), var(--paper-blue)) center / 12px 1px no-repeat, var(--background);
}
.faq-list::before { top: -5.5px; }
.faq-list details::after { bottom: -6.5px; }
.faq-list summary { min-height: 74px; transition: color .2s ease; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--paper-blue); }
.faq-list summary .icon { color: var(--paper-blue); }
.faq-list summary .faq-chevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s ease-out; }
.faq-list details[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-list details[data-faq-closing] summary .faq-chevron { transform: none; }
.faq-list details[open] > summary { color: var(--paper-blue); }
.faq-answer { overflow: hidden; }
.faq-answer p { color: var(--muted); font-size: 1rem; line-height: 1.8; padding: 0 24px 24px 0; }

.closing { padding-top: 48px; padding-bottom: 40px; gap: 110px; }
.closing-copy h2 { font-size: clamp(3.5rem, 4.8vw, 4.5rem); }
.closing-copy h2 .heading-secondary { color: var(--foreground); }
.closing-copy h2 .type-accent { color: var(--paper-blue); }
.closing-copy > p { max-width: 440px; }
.closing-copy > .text-link { text-decoration: underline; text-decoration-color: var(--line-strong); }
.walkthrough-agenda { max-width: 450px; margin-top: 26px; }
.walkthrough-agenda li { padding-block: 11px; }
.walkthrough-agenda li > span { color: var(--paper-blue); }
.request-panel { position: relative; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 24px 0 0; background: transparent; }
.request-panel::before { content: ""; position: absolute; left: 0; top: -1px; width: 50px; height: 3px; background: var(--paper-blue); }
.request-panel h3 { font-family: var(--font-display); font-size: 2.25rem; font-weight: 400; margin-top: 10px; letter-spacing: -.01em; }
#demo-request-form { margin-top: 24px; }
#demo-request-form label { color: var(--paper-blue); }
#demo-request-form input {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 12px;
  background-color: var(--surface);
  background-image: linear-gradient(var(--sheet-wash), var(--sheet-wash)), url("paper-grain.webp");
  background-size: auto, 627px 627px;
  box-shadow: inset 0 1px 2px var(--paper-shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
#demo-request-form input:focus-visible { outline-offset: 3px; border-color: var(--paper-blue); box-shadow: inset 0 -1px var(--paper-blue); }
#demo-request-form input::placeholder { color: var(--subtle); }
.completion-mark { border-color: var(--paper-blue); color: var(--paper-blue); border-radius: 2px; }
.request-submit { margin-top: 20px; min-height: 49px; }
.request-preview-note, .request-alternative { font-size: .8125rem; }

.paper-coda {
  position: relative;
  z-index: 0;
  margin-block: 4px 0;
  overflow: clip;
  mix-blend-mode: normal;
  perspective: 1600px;
}
.paper-coda .paper-art-motion {
  width: 100%;
  margin: 0;
  transform-origin: 50% 74%;
}
.site-footer { position: relative; z-index: 1; border-top: 0; padding-top: 14px; padding-bottom: 28px; }
.footer-branding { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; }
.footer-brand-separator { color: var(--subtle); font-size: 1rem; flex-shrink: 0; }
.footer-branding .footer-note { min-width: 0; }
.site-footer nav { color: var(--paper-blue); }
.site-footer nav a:hover { color: var(--paper-blue); }
.site-footer .copyright { margin-top: 1px; }
.request-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.request-error { margin-top: 12px; color: var(--foreground); font-size: .875rem; line-height: 1.6; }
.request-submit:disabled { cursor: wait; opacity: .65; }

@keyframes paper-arrive {
  from { opacity: 0; translate: -12px 12px; }
  to { opacity: 1; translate: 0 0; }
}
.motion-enabled [data-reveal] { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .paper-hero-stage { animation: paper-arrive 1100ms cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy { animation: paper-arrive 1000ms 120ms cubic-bezier(.2, .7, .2, 1) both; }
}

@media (max-width: 1399px) and (min-width: 1101px) {
  .paper-hero { min-height: 615px; padding-top: 52px; padding-bottom: 90px; }
  .hero-copy { max-width: 800px; }
  .paper-hero-stage { width: 650px; left: calc((100% - 100vw) / 2 - 112px); }
  .paper-hero h1 { font-size: 4.875rem; }
}
@media (max-width: 1150px) {
  .top-nav { gap: 16px; }
  .header-actions { gap: 12px; }
  .closing, .platform-layout { gap: 65px; }
}
@media (max-width: 1100px) {
  .paper-hero { width: calc(100% - 64px); padding: 50px 0 254px; min-height: 0; }
  .hero-copy { margin-inline: auto; max-width: 860px; }
  .paper-hero h1 { font-size: clamp(4rem, 7.8vw, 5.25rem); }
  .paper-hero-stage { top: auto; bottom: 0; left: calc((100% - 100vw) / 2 - 28px); width: 565px; height: 220px; }
  .paper-hero-stage .paper-art-motion { bottom: -190px; }
  .demo-section { padding-top: 48px; }
  .closing-copy h2 { font-size: 3.75rem; }
}
@media (max-width: 760px) {
  h2, .platform-copy h2 { font-size: 3.25rem; }
  .paper-hero h1 { font-size: clamp(3.3rem, 8.2vw, 4rem); }
  .paper-hero .hero-description { font-size: 1.125rem; max-width: 570px; }
  .demo-heading h2 { font-size: 2.75rem; }
  .steps { gap: 8px; }
  .approach-flow { gap: 18px; }
  .approach-flow .approach-paper { padding: 22px 20px 160px; }
  .platform-layout, .closing { gap: 42px; }
  .closing { padding-bottom: 12px; }
  .request-panel { padding: 24px 0 0; }
  .paper-coda { margin-top: 26px; }
}
@media (max-width: 600px) {
  :root { --chapter-space: 100px; --header-height: 72px; }
  .paper-hero { width: calc(100% - 40px); padding: 33px 0 205px; }
  .paper-hero { margin-bottom: 56px; }
  h2, .platform-copy h2, .faq-copy h2 { font-size: 2.875rem; }
  .paper-hero h1 { font-size: clamp(2.7rem, 9.6vw, 3.6rem); line-height: 1.08; }
  .paper-hero .hero-eyebrow { font-size: .875rem; max-width: 340px; }
  .paper-hero .hero-description { font-size: 1.0625rem; line-height: 1.65; }
  .paper-hero .hero-actions { margin-top: 24px; }
  .paper-hero .helper { margin-top: 10px; }
  .paper-hero-stage { width: min(440px, calc(100vw + 16px)); height: 172px; left: -36px; }
  .paper-hero-stage .paper-art-motion { width: 440px; bottom: -165px; }
  .demo-section { padding-top: 40px; padding-bottom: var(--chapter-space); }
  .demo-heading { gap: 15px; }
  .demo-heading h2 { font-size: 2.5rem; }
  .steps { gap: 5px; }
  .steps button { padding: 11px 8px; overflow-wrap: anywhere; }
  .steps button[aria-selected="true"]::after { left: 8px; right: 8px; }
  .brief-frame, [data-theme="light"] .brief-frame { padding: 10px 2px 28px; }
  .brief-frame::before { border-width: 54px; border-image-width: 54px; }
  .brief-header { padding-top: 22px; }
  .brief-heading h3 { font-size: 1.875rem; }
  .opening-block blockquote { font-size: 1.625rem; }
  .panel-intro h4 { font-size: 2.125rem; }
  .brief-bottom { padding-block: 16px; }
  .approach-section { padding-top: 24px; padding-bottom: var(--chapter-space); }
  .approach-flow .approach-paper { min-height: 430px; padding: 28px 28px 190px; }
  .approach-paper h3 { max-width: 260px; }
  .faq-list details { padding-inline: 20px 0; }
  .faq-answer p { padding-right: 4px; }
  .platform-section { padding-block: var(--chapter-space); }
  .faq-section { padding-block: var(--chapter-space); }
  .closing { padding-top: 24px; gap: 38px; }
  .closing-copy h2 { font-size: 3.5rem; }
  .closing-copy > p { font-size: 1rem; }
  .request-panel h3 { font-size: 2.125rem; }
  .paper-coda { margin-top: 26px; }
  .site-footer { padding-top: 14px; gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .brief-paper-stage { height: auto !important; }
  .brief-paper-stage > .brief-frame { transform: none !important; opacity: 1 !important; will-change: auto !important; }
  .brief-paper-stage > .brief-frame--snapshot, .paper-curl-canvas { display: none; }
  .paper-art-motion { transform: none !important; transition: none !important; }
  .paper-hero-stage, .hero-copy { animation: none !important; }
  [data-paper-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .button, .top-nav a::after { translate: none !important; transition: none !important; }
  .paper-scene-active .paper-art-motion { will-change: auto; }
  .faq-list summary .faq-chevron { transition: none; }
}
@media print {
  .brief-paper-stage { height: auto !important; }
  .brief-paper-stage > .brief-frame { transform: none !important; }
  .brief-paper-stage > .brief-frame--snapshot, .paper-curl-canvas { display: none; }
  body, .brief-frame { background: white !important; color: black !important; box-shadow: none !important; }
  .brief-frame::before { display: none; }
  [data-paper-reveal] { opacity: 1 !important; transform: none !important; }
  .paper-hero-stage, .paper-coda { display: none; }
  .paper-hero { padding-block: 24px; min-height: 0; }
  .hero-copy { margin-inline: auto; }
}

/* Preserve the spacious layout without scroll-driven visibility or transforms. */
html[data-design="lenticular"] { scroll-snap-type: none; scroll-behavior: auto; scroll-padding-top: calc(var(--header-height) + 28px); }
.story-stage { position: relative; z-index: 0; min-height: 100svh; display: grid; align-content: center; padding-block: clamp(56px, 7vh, 96px); }
.story-stage > .demo-section, .sticky-surface > .approach-section, .sticky-surface > .platform-section,
.sticky-surface > .faq-section, .sticky-surface > .closing { padding-block: 0; margin-block: 0; }
/* The next stage's top padding preserves breathing room throughout the native handoff. */
.story-stage[data-sticky-section] { display: block; align-content: normal; min-height: 0; padding-block: var(--section-gap); }
.sticky-surface { position: relative; display: grid; min-height: 0; padding: 0; }
.story-stage[data-sticky-fit="true"] { min-height: calc(var(--section-height) + clamp(180px, 32svh, 400px) + var(--section-gap)); padding: var(--section-gap) 0 0; }
.story-stage[data-sticky-fit="true"] > .sticky-surface { position: sticky; top: var(--section-top); }
.sticky-surface > .platform-section { padding-bottom: calc(var(--section-art-height) + 32px); }
.story-stage[data-story-stage="hero"] { padding: 0; }
.story-stage > .paper-hero { min-height: 100svh; margin-block: 0; padding: 132px 0 96px; display: grid; align-content: center; }
.story-stage > .paper-hero { isolation: isolate; }
.story-stage > .paper-hero::before {
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0 calc((100% - 100vw) / 2);
}
.story-stage > .paper-hero .hero-copy { width: 100%; }
.story-stage > .paper-hero .paper-hero-stage { width: min(54vw, 860px); }
.sticky-surface > .platform-section { border: 0; background: transparent; }
.site-header { position: fixed; top: 0; left: 50%; translate: -50% 0; }
.story-stage--footer > .sticky-surface { gap: 24px; }
.story-stage--footer .paper-coda { margin-top: 0; }
@media (max-width: 1100px) {
  .story-stage > .paper-hero { padding: 126px 0 280px; }
  .story-stage > .paper-hero .paper-hero-stage { width: 600px; height: 240px; }
}
@media (max-width: 600px) {
  .story-stage { padding-block: 48px; }
  .story-stage > .paper-hero { padding: 108px 0 228px; }
  .story-stage > .paper-hero .paper-hero-stage { width: min(440px, calc(100vw + 16px)); height: 186px; }
}
@media (max-width: 760px), (max-height: 700px), (prefers-reduced-motion: reduce) {
  .story-stage[data-sticky-section] { min-height: 0; padding-block: 56px; }
  .story-stage[data-sticky-section] > .sticky-surface { position: relative; top: 0; }
}
@media print {
  .story-stage { display: block; min-height: 0; padding-block: 24px; }
  .story-stage[data-sticky-section] { min-height: 0; padding-block: 24px; }
  .story-stage[data-sticky-section] > .sticky-surface { position: static; min-height: 0; padding: 0; }
  .section-paper-background, .approach-art { display: none; }
  .sticky-surface > .platform-section { padding-bottom: 0; }
  .approach-flow .approach-paper { min-height: 0; padding: 20px; background: white; color: black; box-shadow: none; }
  .approach-paper p, .approach-paper .flow-index { color: black !important; }
  .story-stage > .paper-hero { min-height: 0; padding-block: 24px; }
  .site-header { position: static; translate: none; opacity: 1 !important; }
  .site-header::before { display: none; }
}
