/* Promotional motion stays scoped to the landing page. Content is visible by default. */
.hero { perspective: 1200px; }
.hero-copy { position: relative; z-index: 2; }
.headline-line { display: block; overflow: clip; padding: .06em .06em .14em; margin: -.06em -.06em -.14em; }
.headline-line > span { display: block; }
.hero-art { transform-style: preserve-3d; }
.hero-art::before { background: radial-gradient(ellipse, #b5f84323, transparent 67%); }
.editor-window { animation: none; position: relative; }
.orbit { border-color: #b8d57135; }
.orbit-tracer { position: absolute; inset: 0; border-radius: inherit; }
.orbit-tracer::before { content: ''; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #e5ffad; box-shadow: 0 0 12px 3px #d4f97d88, 0 0 30px 8px #d4f97d22; }
.orbit-two .orbit-tracer::before { width: 4px; height: 4px; }
.editor-window::after { content: ''; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 37%, #d4f97d03 44%, #e8ffb524 50%, #d4f97d03 56%, transparent 63%); transform: translateX(-110%); }
.rewrite-word { display: inline-block; }
.rewrite-words { display: block; min-height: 3em; }
.art-caption { display: flex; gap: 7px; align-items: center; }
.preview-pulse { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.feature-card { isolation: isolate; }
.feature-card::after { content: ''; position: absolute; z-index: -1; width: 280px; height: 280px; top: -140px; left: -140px; background: radial-gradient(circle, #d4f97d16, transparent 68%); opacity: 0; pointer-events: none; transition: opacity 200ms; }
.kinetic-section { position: relative; padding: 95px 0 70px; border-top: 1px solid var(--line); overflow: clip; text-align: center; background: radial-gradient(ellipse at 50% 30%, #b3db4114, transparent 65%); }
.kinetic-section .eyebrow { justify-content: center; margin-bottom: 35px; }
.kinetic-heading { font-size: clamp(44px, 7.6vw, 100px); line-height: 1.12; }
.kinetic-heading > span { display: block; color: #7e8770; }
.kinetic-heading em { display: block; color: var(--lime); }
.kinetic-description { color: var(--muted); font-size: 14px; margin-top: 28px; }
.kinetic-ribbon { margin-top: 70px; padding: 22px 0; border-block: 1px solid #d4f97d25; background: #d4f97d05; transform: rotate(-3deg) scale(1.04); }
.ribbon-track { display: flex; width: max-content; }
.ribbon-track > span { display: block; flex: none; font-size: clamp(40px, 6vw, 78px); font-weight: 650; letter-spacing: -.04em; line-height: 1.25; color: transparent; -webkit-text-stroke: 1px #afc583; }
.ribbon-track b { display: inline-block; color: var(--lime); font-size: .6em; vertical-align: .13em; margin-inline: .45em; -webkit-text-stroke: 0; }
.motion-toggle { position: fixed; z-index: 60; right: 20px; bottom: 20px; min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid #71814e; border-radius: 99px; background: #1b2116f5; color: #d5e3bd; box-shadow: 0 4px 20px #0004; font-size: 10px; line-height: 1.4; }
.motion-toggle[hidden] { display: none; }
.motion-toggle-icon { color: var(--lime); font-size: 13px; }
.motion-toggle:active { transform: scale(.97); }
.motion-toggle:disabled { cursor: default; opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .headline-line > span { animation: title-rise 850ms cubic-bezier(.16,1,.3,1) both; }
  .motion-ready .headline-line:nth-child(2) > span { animation-delay: 110ms; }
  .motion-ready .hero-copy > .eyebrow { animation: soft-enter 650ms 50ms both; }
  .motion-ready .hero-description { animation: soft-enter 700ms 240ms both; }
  .motion-ready .hero-actions, .motion-ready .hero-note { animation: soft-enter 700ms 340ms both; }
  .motion-ready .editor-window { animation: studio-enter 1100ms 120ms cubic-bezier(.16,1,.3,1) both; }
  .motion-ready .floating-label { animation: label-enter 800ms 550ms both; }
  .motion-ready .floating-note { animation: note-enter 850ms 850ms cubic-bezier(.16,1,.3,1) both; }
  .motion-ready .hero-art.is-in-view .orbit-tracer { animation: orbit-travel 22s linear infinite; }
  .motion-ready .hero-art.is-in-view .orbit-two .orbit-tracer { animation: orbit-travel 30s linear infinite reverse; }
  .motion-ready .hero-art.is-in-view .editor-window::after { animation: light-sweep 8s 300ms ease-in-out infinite; }
  .motion-ready .hero-art.is-in-view .rewrite-word { animation: rewrite-arrive 8s cubic-bezier(.2,.7,.2,1) infinite; }
  .motion-ready .hero-art.is-in-view .word-0 { animation-delay: 0ms; }
  .motion-ready .hero-art.is-in-view .word-1 { animation-delay: 65ms; }
  .motion-ready .hero-art.is-in-view .word-2 { animation-delay: 130ms; }
  .motion-ready .hero-art.is-in-view .word-3 { animation-delay: 195ms; }
  .motion-ready .hero-art.is-in-view .word-4 { animation-delay: 260ms; }
  .motion-ready .hero-art.is-in-view .word-5 { animation-delay: 325ms; }
  .motion-ready .hero-art.is-in-view .word-6 { animation-delay: 390ms; }
  .motion-ready .hero-art.is-in-view .word-7 { animation-delay: 455ms; }
  .motion-ready .hero-art.is-in-view .word-8 { animation-delay: 520ms; }
  .motion-ready .hero-art.is-in-view .word-9 { animation-delay: 585ms; }
  .motion-ready .kinetic-section.is-in-view .ribbon-track { animation: ribbon-travel 32s linear infinite; }
  .motion-ready .reveal.is-entering { animation: none; }
}
@keyframes title-rise { from { transform: translateY(110%) rotate(2deg); opacity: .15; } to { transform: translateY(0) rotate(0); opacity: 1; } }
@keyframes soft-enter { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes studio-enter { from { transform: perspective(900px) rotateY(-14deg) rotateX(7deg) rotate(-5deg) translateY(36px) scale(.94); opacity: 0; } to { transform: perspective(900px) rotateY(0) rotateX(0) rotate(-2deg) translateY(0) scale(1); opacity: 1; } }
@keyframes label-enter { from { translate: 0 14px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes note-enter { from { translate: 15px 20px; scale: .94; opacity: 0; } to { translate: 0 0; scale: 1; opacity: 1; } }
@keyframes orbit-travel { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes light-sweep { 0%, 8% { transform: translateX(-110%); opacity: 0; } 12% { opacity: 1; } 37%, 100% { transform: translateX(110%); opacity: 0; } }
@keyframes rewrite-arrive { 0%, 7% { transform: translateY(12px); opacity: 0; } 17%, 94% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes ribbon-travel { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after,
.motion-background *, .motion-background *::before, .motion-background *::after { animation-play-state: paused !important; }
/* Pausing midway must never leave the message half revealed. */
.motion-paused .rewrite-word, .motion-paused .headline-line > span,
.motion-paused .hero-copy > .eyebrow, .motion-paused .hero-description,
.motion-paused .hero-actions, .motion-paused .hero-note, .motion-paused .editor-window,
.motion-paused .floating-label, .motion-paused .floating-note { animation: none !important; }
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover::after { opacity: 1; }
  .button.primary { position: relative; overflow: hidden; isolation: isolate; }
  .button.primary::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg,transparent 30%,#fff8 48%,transparent 65%); transform: translateX(-110%); }
  .button.primary:hover::after { animation: button-sheen 650ms ease-out; }
  @keyframes button-sheen { to { transform: translateX(110%); } }
}
@media (max-width: 800px) { .kinetic-section { padding-top: 65px; } .kinetic-ribbon { margin-top: 45px; } }
@media (max-width: 560px) {
  .kinetic-section { padding-block: 60px 40px; }
  .kinetic-section .eyebrow { margin-bottom: 25px; }
  .kinetic-heading { font-size: clamp(37px, 10.5vw, 57px); }
  .kinetic-description { font-size: 12px; max-width: 250px; margin-inline: auto; }
  .kinetic-ribbon { padding-block: 15px; }
  .motion-toggle { right: 12px; bottom: 12px; min-height: 44px; padding-inline: 12px; }
  .rewrite-words { min-height: 4.5em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art, .phone, .feature-card { translate: none !important; rotate: none !important; }
  .headline-line > span, .rewrite-word { opacity: 1 !important; transform: none !important; }
  .editor-window::after { display: none; }
}
