/* One motion owner. Continuous effects use transform / opacity, never blur or layout.
   motion.js activates only visible regions, and pauses the whole page in the background. */
.icon { display:inline-block; flex:none; width:20px; height:20px; vertical-align:middle; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.icon path { vector-effect:non-scaling-stroke; }
.button,.button:hover,.button:active { position:relative; isolation:isolate; transform:none; transition:none; }
.button { overflow:hidden; }
.button:before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; border-radius:inherit; background:linear-gradient(110deg,#ffffff24,transparent 65%); opacity:0; transition:opacity .22s ease; }
.button-dark,.button-dark:hover { background:linear-gradient(130deg,color-mix(in srgb,var(--forest) 85%,#b1c2ff),var(--forest)); box-shadow:inset 0 1px 0 #ffffff5c,0 8px 24px #495fbc26; }
.button-light,.button-light:hover { background:var(--glass-solid); box-shadow:inset 0 1px 0 var(--glass-highlight),var(--glass-shadow); }
.button:hover:before,.button:focus-visible:before { opacity:1; }
.button:active:before { opacity:.35; }
.button-arrow { width:36px; height:36px; border-radius:50%; border-color:currentColor; border-color:color-mix(in srgb,currentColor 22%,transparent); transition:background-color .22s ease; }
.button-arrow .icon { width:19px; height:19px; transition:transform .25s cubic-bezier(.2,.8,.2,1); }
.button:hover .button-arrow,.button:focus-visible .button-arrow { background:#ffffff12; transform:none; }
.button:hover .button-arrow .icon,.button:focus-visible .button-arrow .icon { transform:translate(2px,-2px); }
.button:active .button-arrow .icon { transform:translate(1px,-1px) scale(.9); }
.header-contact span,.header-contact:hover span { transform:none; transition:background-color .22s ease; }
.header-contact .icon,.text-link .icon,.back-link .icon,.release-note .icon,.email-card .icon { width:18px; height:18px; transition:transform .24s ease; }
.header-contact:hover .icon,.text-link:hover .icon { transform:translate(2px,-2px); }
.back-link:hover .icon { transform:translateX(-3px); }
.release-note a:hover .icon { transform:translateX(3px); }
.intro-line>a .icon { transition:transform .24s ease; }
.intro-line>a:hover .icon { transform:translateY(3px); }
.theme-chevron { display:grid; place-items:center; transition:transform .2s ease; }
.theme-picker[open] .theme-chevron { transform:rotate(180deg); }
.theme-options { animation:menu-arrive .2s ease both; }
.theme-options button { transition:background-color .18s ease; }
.text-link,.back-link { display:inline-flex; align-items:center; gap:8px; }
.release-note a { display:inline-flex; align-items:center; gap:4px; }
.demo-step { position:relative; transition:background-color .22s ease,color .22s ease; }
.demo-step b { display:grid; place-items:center; }
.demo-step b .icon { width:19px; height:19px; transition:transform .24s ease; }
.demo-step:hover b .icon { transform:translate(2px,-2px); }
.demo-step.is-active b .icon { transform:rotate(45deg); }
.demo-step.is-active:hover b .icon { transform:rotate(45deg) translate(2px,-2px); }
.drawing-pair b .icon { width:25px; height:25px; }
.drawing-ripple .icon { width:23px; height:23px; }
.boundary-symbol .icon { width:38px; height:38px; stroke-width:1.25; }
.empty-symbol .icon { width:42px; height:42px; stroke-width:1.4; }
.contact-card .button>span .icon { width:19px; height:19px; }
.demo-status-icon .icon { width:30px; height:30px; stroke-width:1.7; }

.motion-ready [data-reveal] { opacity:0; transform:translateY(24px); transition:opacity .6s ease var(--reveal-delay,0s),transform .8s cubic-bezier(.16,1,.3,1) var(--reveal-delay,0s); }
.motion-ready [data-reveal].is-revealed { opacity:1; transform:none; }
.hero-copy>* { --entry-order:0; }
.hero-copy h1 { --entry-order:1; }
.hero-copy .hero-description { --entry-order:2; }
.hero-copy .button { --entry-order:3; }
.hero-copy .release-note { --entry-order:4; }
.motion-ready .hero-copy.is-revealed>* { animation:copy-arrive .8s cubic-bezier(.16,1,.3,1) calc(var(--entry-order)*85ms) both; }
/* Never animate the button's hit area, including during entry. */
.motion-ready .hero-copy.is-revealed>.button { animation:copy-fade .6s ease .25s both; }
.status-light { position:relative; box-shadow:none; }
.status-light:after { content:""; position:absolute; inset:-5px; border:1px solid var(--forest); border-radius:50%; animation:care-pulse 3.8s ease-out infinite; }
.steps article { --reveal-delay:0ms; }
.life-art { overflow:hidden; }
.little-window { animation:window-glow 6s ease-in-out infinite; }
.trip-star { animation:trip-drift 5s ease-in-out infinite; }
.art-note>span { animation:note-float 6s ease-in-out infinite; }
.demo-status-icon { position:relative; }
.demo-status-icon:after { content:""; position:absolute; inset:-9px; border:1px solid currentColor; border-radius:50%; animation:care-pulse 4s ease-out infinite; }
.closing-orbit { animation:closing-turn 22s ease-in-out infinite alternate; }
.status-light:after,.little-window,.trip-star,.art-note>span,.demo-status-icon:after,.closing-orbit { animation-play-state:paused; }
[data-motion-active="true"] .status-light:after,[data-motion-active="true"] .little-window,
[data-motion-active="true"] .trip-star,[data-motion-active="true"] .art-note>span,
[data-motion-active="true"].demo-stage .demo-status-icon:after,[data-motion-active="true"] .closing-orbit { animation-play-state:running; }
:root[data-motion-paused="true"] *,:root[data-motion-paused="true"] *:before,:root[data-motion-paused="true"] *:after { animation-play-state:paused!important; }
.faq summary:after { content:""; width:12px; height:12px; background:linear-gradient(currentColor,currentColor) center/12px 1px no-repeat,linear-gradient(currentColor,currentColor) center/1px 12px no-repeat; transition:transform .3s ease; }
.faq details[open] summary:after { content:""; transform:rotate(135deg); }
.faq details[open] p { animation:answer-arrive .32s ease both; }
@supports(interpolate-size:allow-keywords) {
  .faq details { interpolate-size:allow-keywords; }
  .faq details::details-content { height:0; overflow:clip; transition:height .32s ease,content-visibility .32s allow-discrete; }
  .faq details[open]::details-content { height:auto; }
}
@supports(animation-timeline:scroll()) {
  .reading-progress { position:absolute; left:24px; right:24px; bottom:0; height:2px; background:var(--forest); opacity:.45; transform:scaleX(0); transform-origin:left; animation:reading-progress linear both; animation-timeline:scroll(root); }
}
@media(hover:hover) and (pointer:fine) {
  .life-art>* { transition:translate .4s cubic-bezier(.16,1,.3,1); }
  .life-card:hover .life-art>* { translate:0 -4px; }
}
@keyframes copy-arrive { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes copy-fade { from { opacity:0; } to { opacity:1; } }
@keyframes menu-arrive { from { opacity:0; transform:translateY(-5px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes care-pulse { 0% { transform:scale(.75); opacity:.35; } 75%,100% { transform:scale(1.25); opacity:0; } }
@keyframes window-glow { 0%,100% { opacity:.65; } 50% { opacity:1; } }
@keyframes trip-drift { 0%,100% { transform:translate(0,0) rotate(0); } 50% { transform:translate(7px,-6px) rotate(30deg); } }
@keyframes note-float { 0%,100% { transform:rotate(-8deg) translateY(0); } 50% { transform:rotate(-4deg) translateY(-5px); } }
@keyframes closing-turn { from { transform:translateY(-50%) rotate(-9deg) scaleX(1.1); opacity:.5; } to { transform:translateY(-50%) rotate(9deg) scaleX(.95); opacity:.85; } }
@keyframes answer-arrive { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:none; } }
@keyframes reading-progress { to { transform:scaleX(1); } }
@media(max-width:620px) {
  .closing-orbit { animation:none; }
  .motion-ready [data-reveal] { transform:translateY(16px); transition-duration:.45s,.55s; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*:before,*:after,details::details-content { animation:none!important; transition:none!important; }
  .motion-ready [data-reveal] { opacity:1!important; transform:none!important; }
  .reading-progress { display:none; }
}
