/* LND Aura landing: extra motion. Small on purpose: no libraries, transforms and opacity only. Driven by fx.js. */
#fxbar { position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 300; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3)); box-shadow: 0 0 12px var(--accent); }
/* magnetic buttons, tilting cards with a light that follows the pointer */
.cta, .ghost { will-change: transform; }
.fxt { transform-style: preserve-3d; }
.fxt.in { transition: transform .22s ease-out, opacity .8s var(--ease), box-shadow .3s; }
.fxt.fxon { background-image: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 17%, transparent), transparent 70%); box-shadow: 0 30px 60px -34px var(--accent); }
.orb-wrap { transition: transform .35s ease-out; will-change: transform; }

/* the hero lines rise one word at a time */
.hero h1 .nowrap { display: inline-block; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(6px); animation: fxWord .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.12s + var(--i) * .07s); }
@keyframes fxWord { to { opacity: 1; transform: none; filter: none; } }

/* the story: teach it, ask it, share it */
.story { margin: 22px 0 0; padding: 22px 24px 18px; border-radius: 30px; border: 1px solid var(--line2); background: var(--panel); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow: hidden; position: relative; }
.st-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; } .st-head b { font: 700 26px/1.1 var(--serif); } .st-head span { color: var(--muted); font-size: 13.5px; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1.35fr); gap: 18px; align-items: center; min-height: 190px; }
.st-src { display: grid; gap: 10px; justify-items: start; }
.st-f { --fx: 190px; --fy: 0px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; border: 1px solid var(--line2); background: color-mix(in srgb, var(--bg0) 55%, transparent); font-size: 14.5px; transition: transform .9s cubic-bezier(.6,0,.3,1), opacity .6s ease .35s; transition-delay: calc(var(--k) * .22s), calc(var(--k) * .22s + .35s); }
.st-f em { font: 700 10.5px var(--mono, monospace); font-style: normal; letter-spacing: .06em; padding: 6px 7px; border-radius: 8px; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.st-f.f1 { --k: 0; } .st-f.f2 { --k: 1; } .st-f.f3 { --k: 2; }
.s1 .st-f { transform: translate(var(--fx), var(--fy)) scale(.25); opacity: 0; }
.s0:not(.s1) .st-f { animation: fxBob 3.2s ease-in-out infinite; animation-delay: calc(var(--k) * .4s); } @keyframes fxBob { 50% { transform: translateX(6px); } }
.st-core { display: grid; justify-items: center; gap: 12px; text-align: center; }
.st-orb { position: relative; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #fff, var(--o1, var(--accent)) 38%, var(--o2, var(--accent2)) 72%, var(--o-core, #1a1240)); box-shadow: 0 0 40px -6px var(--accent), inset 0 -10px 22px rgba(0,0,0,.25); animation: fxFloat 4s ease-in-out infinite; }
.st-orb::before, .st-orb::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.s1 .st-orb::before { animation: fxPulse 1.2s ease-out 3; } .s1 .st-orb::after { animation: fxPulse 1.2s ease-out .4s 3; } .s3:not(.s4) .st-orb { animation: fxFloat 4s ease-in-out infinite, fxTalk .6s ease-in-out infinite alternate; }
@keyframes fxFloat { 50% { transform: translateY(-8px); } } @keyframes fxPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } } @keyframes fxTalk { to { filter: brightness(1.25) saturate(1.3); } }
.st-status { margin: 0; font-size: 13.5px; color: var(--soft); min-height: 2.6em; transition: opacity .3s; }
.st-chat { display: grid; gap: 10px; align-content: center; }
.st-b { max-width: 88%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.st-b.q { justify-self: end; border-bottom-right-radius: 6px; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); min-height: 2.6em; }
.st-b.a { justify-self: start; border-bottom-left-radius: 6px; border: 1px solid var(--line2); background: color-mix(in srgb, var(--bg0) 60%, transparent); } .st-b.a small { display: block; margin-top: 6px; width: fit-content; padding: 2px 9px; border-radius: 999px; font-size: 12px; color: var(--accent); border: 1px solid var(--accent); }
.s2 .st-b.q, .s3 .st-b.a { opacity: 1; transform: none; }
.st-link { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line2); opacity: .0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.s4 .st-link { opacity: 1; transform: none; }
.st-url { flex: 1 1 220px; min-width: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line2); background: color-mix(in srgb, var(--bg0) 55%, transparent); font: 13.5px var(--mono, monospace); color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .st-url u { color: var(--accent); text-decoration: none; }
.st-copy { height: 40px; padding: 0 16px; border-radius: 999px; border: 0; font: 600 14px var(--font); color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); pointer-events: none; transition: transform .2s; } .st-copy.done { transform: scale(1.06); background: linear-gradient(135deg, #5ce6a8, var(--accent2)); }
.st-cost { font-size: 13px; color: var(--muted); } .s4 .st-cost { animation: fxCost 1.6s ease-out 1.1s both; } @keyframes fxCost { 0% { opacity: 0; transform: translateY(10px); } 30% { opacity: 1; transform: none; } 100% { opacity: 1; } }
.st-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; } .st-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line2); transition: width .3s, background .3s; } .st-dots i.on { width: 22px; background: var(--accent); }

@media (max-width: 760px) {
  .story { padding: 18px 16px 14px; border-radius: 24px; }
  .st-grid { grid-template-columns: 1fr; gap: 14px; justify-items: stretch; }
  .st-src { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; } .st-f { --fx: 0px; --fy: 120px; font-size: 13.5px; }
  .st-core { grid-template-columns: auto 1fr; text-align: left; justify-items: start; align-items: center; } .st-orb { width: 64px; height: 64px; } .st-b { max-width: 94%; }
}
@media (prefers-reduced-motion: reduce) { .hero h1 .w { opacity: 1; transform: none; filter: none; animation: none; } .st-orb, .s0 .st-f { animation: none !important; } }
:root[data-lite="1"] .st-orb, :root[data-lite="1"] .st-f { animation: none !important; }

/* once learned, the sources settle back, dimmed, so the left side is never empty */
.s3 .st-f { transform: none; opacity: .55; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s ease; transition-delay: calc(var(--k) * .12s); animation: none; }
.s3 .st-f::after { content: "✓"; color: var(--accent); font-weight: 700; margin-left: 2px; }
