/* /facts/ and /for-ai/ (prefix fx-). Reuses b2.css tokens. Transform and opacity motion only. */
.fx-hero { position: relative; overflow: hidden; padding: clamp(56px, 12vw, 132px) 0 clamp(40px, 8vw, 88px); isolation: isolate; }
.fx-hero__in { position: relative; z-index: 1; }
.fx-title { max-width: 16ch; }
.fx-title { margin: 0 0 20px; animation: fx-up .8s var(--b2-ease) both; }
.fx-lede { margin: 0; max-width: 62ch; color: var(--b2-ink-2); animation: fx-up .8s var(--b2-ease) .12s both; }

/* Sunrise light: three soft discs drifting slowly behind the headline. */
.fx-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.fx-glow i { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .7; animation: fx-drift 22s ease-in-out infinite alternate; }
.fx-glow__a { width: 46vmax; height: 46vmax; left: -12vmax; top: -18vmax; background: var(--b2-light-peach); }
.fx-glow__b { width: 38vmax; height: 38vmax; right: -10vmax; top: -8vmax; background: var(--b2-light-berry); animation-duration: 28s; animation-delay: -6s; }
.fx-glow__c { width: 30vmax; height: 30vmax; left: 30%; bottom: -20vmax; background: var(--b2-light-gold); animation-duration: 34s; animation-delay: -12s; }

.fx-sec { padding-block: clamp(32px, 6vw, 72px); }
.fx-h2 { margin: 0 0 clamp(20px, 3vw, 32px); }

.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 0; }
.fx-fact { position: relative; overflow: hidden; margin: 0; padding: 22px 22px 24px; border: 1px solid var(--b2-line); border-radius: var(--b2-radius-l); background: var(--b2-surface); box-shadow: var(--b2-shadow-1); animation: fx-up .7s var(--b2-ease) both; transition: transform .4s var(--b2-ease), box-shadow .4s var(--b2-ease); }
.fx-fact::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--fx-tone, var(--b2-light-berry)); }
.fx-fact:hover { transform: translateY(-3px); box-shadow: var(--b2-shadow-2); }
.fx-fact--0 { --fx-tone: var(--b2-strawberry); }
.fx-fact--1 { --fx-tone: var(--b2-mango); animation-delay: .05s; }
.fx-fact--2 { --fx-tone: var(--b2-blueberry); animation-delay: .1s; }
.fx-fact--3 { --fx-tone: var(--b2-leaf); animation-delay: .15s; }
.fx-fact--4 { --fx-tone: var(--b2-gold); animation-delay: .2s; }
.fx-fact dt { margin: 0 0 8px; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--b2-ink-3); }
.fx-fact dd { margin: 0; font-family: var(--b2-display); font-size: 1.15rem; line-height: 1.35; color: var(--b2-ink); overflow-wrap: anywhere; }

.fx-faq { display: grid; gap: 0; border-top: 1px solid var(--b2-line); }
.fx-qa { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--b2-line); }
@media (min-width: 820px) { .fx-qa { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; } }
.fx-q { margin: 0; font-family: var(--b2-display); font-size: 1.2rem; line-height: 1.3; }
.fx-a { margin: 0; color: var(--b2-ink-2); line-height: 1.6; overflow-wrap: anywhere; }

.fx-quote { margin: 0; padding: clamp(22px, 4vw, 40px); border-radius: var(--b2-radius-l); background: var(--b2-bg-soft); border: 1px solid var(--b2-line); box-shadow: var(--b2-shadow-1); animation: fx-up .8s var(--b2-ease) .2s both; }
.fx-quote p { margin: 0; font-family: var(--b2-display); font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.45; color: var(--b2-ink); }

.fx-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--b2-line); }
.fx-files li { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--b2-line); }
.fx-files a { display: inline-block; min-height: 44px; line-height: 44px; font-family: var(--b2-mono); font-weight: 500; }
.fx-files span { color: var(--b2-ink-2); }

.fx-machine, .fx-note { max-width: 70ch; margin: 24px 0 0; color: var(--b2-ink-2); line-height: 1.6; }
.fx-note { font-size: .92rem; color: var(--b2-ink-3); }
.fx-a a, .fx-fact a, .fx-machine a, .fx-note a { color: var(--b2-berry-ink); text-underline-offset: 3px; }

@keyframes fx-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fx-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4vmax, 3vmax, 0) scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
  .fx-title, .fx-lede, .fx-fact, .fx-quote, .fx-glow i { animation: none; }
  .fx-fact { transition: none; }
}
