/* LedgerLayer integration layer. The recovered LAUNCH-04 motion stylesheet remains intact. */
.frontstage-skip { position:fixed;top:10px;left:14px;z-index:1200;padding:12px 18px;background:var(--ink);color:var(--paper);transform:translateY(-180%);font-weight:700; }
.frontstage-skip:focus { transform:none; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid var(--orange);outline-offset:5px; }
.frontstage-sr { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.frontstage-example-note { margin:0;padding:11px 18px;border-bottom:1px solid rgba(255,255,255,.13);color:#bec4b7;font:10px/1.5 var(--mono);letter-spacing:.035em; }
.frontstage-demo-link { font:11px/1.5 var(--mono);text-decoration:underline;text-underline-offset:4px; }
.hero-actions-v2 { flex-wrap:wrap; }
.network-state i { animation:none;box-shadow:none; }
.frontstage-access { display:grid;grid-template-columns:1.1fr 1fr;gap:70px;padding-block:65px;border-block:1px solid var(--line); }
.frontstage-access span,.frontstage-note>span { font:700 10px/1.5 var(--mono);letter-spacing:.11em; }
.frontstage-access h2 { margin:16px 0;font:700 clamp(24px,3.3vw,43px)/1.06 var(--sans);letter-spacing:-.05em; }
.frontstage-access p { max-width:500px;color:var(--soft-ink);font-size:15px;line-height:1.7; }
.frontstage-access a,.frontstage-note a { display:inline-block;margin-top:13px;font:700 12px/1.5 var(--mono);text-decoration:underline;text-underline-offset:5px; }
.frontstage-note { padding-block:22px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:25px; }
.frontstage-note p { flex:1;margin:0;color:var(--soft-ink);font-size:12px;line-height:1.6; }
.frontstage-note a { margin:0;white-space:nowrap; }
.verify-actions a { padding:13px 15px;border:1px solid #d9ddd2;color:#203019;text-decoration:none;font:700 9px/1.5 var(--mono); }
.verify-actions a:hover { background:#e8efdf; }
.footer-links { grid-template-columns:repeat(4,minmax(0,1fr));gap:20px; }
/* Content remains readable when scripts fail or are disabled. */
.reveal { opacity:1;transform:none; }
.frontstage-js .reveal:not(.visible) { opacity:0;transform:translateY(18px); }
body.is-motion-paused *,body.is-motion-paused *::before,body.is-motion-paused *::after { animation-play-state:paused!important; }
body.is-reduced-motion *,body.is-reduced-motion *::before,body.is-reduced-motion *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
body.is-reduced-motion .reveal { opacity:1!important;transform:none!important; }
body.is-reduced-motion .hero-proof-stage,body.is-reduced-motion .runtime-receipt,body.is-reduced-motion .runtime-stream,body.is-reduced-motion .transcript-card,body.is-reduced-motion .verifier-card,body.is-reduced-motion .receipt-card { transform:none!important;translate:none!important; }
@media(max-width:1100px) { .launch-nav { gap:18px; }.header-actions .network-state { display:none; }.brand-word { font-size:20px; } }
@media(max-width:900px) { .frontstage-access { gap:30px;padding-block:42px; }.frontstage-note { align-items:flex-start;flex-wrap:wrap;gap:12px; }.frontstage-note p { flex-basis:100%;order:3; }.frontstage-example-note { font-size:9px; }.subpage .frontstage-note { margin-top:8px; }.subpage .mobile-nav { display:flex;position:fixed;left:14px;right:14px;top:84px;z-index:40;background:#0b0c0b;color:#fff;border-radius:17px;padding:16px;flex-direction:column;box-shadow:0 20px 55px rgba(0,0,0,.22);opacity:0;pointer-events:none;transform:translateY(-10px);transition:.22s; }.subpage .mobile-nav.is-open { opacity:1;pointer-events:auto;transform:none; }.subpage .mobile-nav a { padding:14px 6px;border-bottom:1px solid rgba(255,255,255,.1);font:700 10px/1.5 var(--mono); } }
@media(max-width:600px) { .frontstage-access { grid-template-columns:1fr;gap:34px; }.hero-actions-v2 { gap:15px; }.frontstage-demo-link { flex-basis:100%; }.frontstage-note { padding-block:18px; }.frontstage-access h2 { font-size:30px; }.verify-actions { flex-wrap:wrap; }.footer-links { grid-template-columns:repeat(2,minmax(0,1fr));gap:30px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.frontstage-js .reveal:not(.visible) { opacity:1;transform:none; }.hero-proof-stage,.runtime-receipt,.runtime-stream,.transcript-card,.verifier-card,.receipt-card { transform:none!important;translate:none!important; } }

/* Let the recovered motion layouts shrink to the viewport, rather than to
   their longest headline, hash or diagram. Wide evidence stays locally scrollable. */
@media(max-width:900px) {
  .hero-v2,.hero-bottom,.product-stage,.developers-grid,.demo-heading,.architecture-head,.reference-head { grid-template-columns:minmax(0,1fr); }
  .hero-copy-v2,.hero-bottom,.hero-title-v2,.hero-lede-v2,.hero-actions-v2,.hero-principles,.hero-proof-stage,.proof-lab,.product-diagram,.arch-map,.browser-frame,.final-cta-copy { min-width:0;max-width:100%; }
  .hero-copy-v2,.hero-bottom,.hero-lede-v2 { width:100%; }
  .hero-v2>*,.proof-stage-body>*,.proof-lab-grid>*,.product-stage>*,.developers-grid>*,.architecture-head>*,.manifesto-grid>*,.games-row>*,.arch-services>*,.agent-stage>*,.verify-app>*,.verify-detail-grid>*,.security-statement>*,.pilot-grid>*,.roadmap-line>*,.site-footer>*,.footer-links>* { min-width:0; }
  .hero-lede-v2,.frontstage-access p,.frontstage-note p { overflow-wrap:anywhere; }
  .hero-handoff-track,.reference-table,.cap-grid,.agent-evidence-rail,.pilot-criteria,.terminal-body,.diagram-flow { min-width:0;max-width:100%;overscroll-behavior-x:contain; }
  .terminal-body { overflow-x:auto; }
  .footer-links a { max-width:100%;overflow-wrap:anywhere; }
}
@media(max-width:820px) {
  .agent-stage,.verify-app,.verify-detail-grid,.pilot-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:720px) {
  .proof-lab-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:700px) {
  .hero-title-v2 { font-size:clamp(44px,15vw,88px);padding-right:12px; }
  .hero-principles,.proof-stage-body { grid-template-columns:minmax(0,1fr); }
  .runtime-verifier { grid-template-columns:minmax(0,1fr) 122px; }
  .proof-stage-ident,.runtime-stream,.runtime-verifier,.runtime-receipt,.lab-panel-head>div { min-width:0; }
  .runtime-stream header { grid-template-columns:28px minmax(0,1fr) auto; }
  .proof-stage-ident b,.runtime-stream header small,.runtime-stream footer code,.lab-hash code { overflow-wrap:anywhere; }
}
@media(max-width:620px) {
  .manifesto-grid,.games-row,.sdk-strip,.site-footer { grid-template-columns:minmax(0,1fr); }
  .roadmap-line { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .manifesto-copy h2,.products-head h2,.architecture-head h2,.developers-copy h2,.reference-head h2,.roadmap-head h2 { font-size:clamp(38px,11vw,51px); }
  .future-inner h2 { font-size:clamp(42px,12vw,58px); }
  .future-inner .accent-line { margin-right:28px; }
  .final-cta-copy h2,.final-cta-copy h3 { font-size:clamp(42px,12.8vw,60px); }
  .pilot-card h3 { font-size:clamp(38px,11vw,49px); }
  .section-shell h2,.section-shell h3,.roadmap-step strong,.security-statement p,.final-cta-copy>span { overflow-wrap:anywhere; }
  .pilot-criteria { margin-inline:0; }
  .verify-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .verify-actions a { min-width:0;overflow-wrap:anywhere; }
}
@media(max-width:360px) {
  .hero-actions-v2 { flex-flow:column nowrap;align-items:stretch; }
  .hero-actions-v2 .frontstage-demo-link { flex:0 0 auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere; }
}
