:root {
  --bg: #060b18;
  --bg2: #0b1326;
  --card: rgba(255, 255, 255, .04);
  --stroke: rgba(255, 255, 255, .09);
  --text: #eef2fb;
  --muted: #9aa7c1;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: #7cc4ff; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
code, kbd { font-family: "Cascadia Mono", Consolas, monospace; font-size: .88em; background: rgba(255, 255, 255, .08); padding: 2px 6px; border-radius: 5px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 11, 24, .72); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--stroke); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--text); text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 10px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 8px 24px rgba(59, 130, 246, .35); border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; font: inherit; font-weight: 600; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(59, 130, 246, .45); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.big { padding: 14px 28px; font-size: 17px; }
.btn.ghost { background: rgba(255, 255, 255, .06); box-shadow: none; border: 1px solid var(--stroke); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 40px; text-align: center; }
.glow { position: absolute; inset: -200px 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at 50% 40%, rgba(59, 130, 246, .35), transparent 70%), radial-gradient(ellipse 30% 30% at 70% 30%, rgba(6, 182, 212, .25), transparent 70%), radial-gradient(ellipse 30% 30% at 28% 35%, rgba(139, 92, 246, .22), transparent 70%); }
.hero-in { position: relative; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, .05); font-size: 14px; color: var(--muted); }
.pill b { color: var(--text); }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.05; margin: 22px 0 18px; letter-spacing: -.03em; font-weight: 800; }
.grad { background: linear-gradient(90deg, #60a5fa, #22d3ee 60%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 14px; }
.fine { color: var(--muted); font-size: 14px; }
.shot-hero { margin-top: 48px; position: relative; }
.shot-hero img { border-radius: 14px; border: 1px solid var(--stroke); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04); }

/* sections */
.section { padding: 90px 20px; }
.section h2 { font-size: clamp(30px, 4vw, 44px); text-align: center; margin: 0 0 8px; letter-spacing: -.02em; }
.sub { text-align: center; color: var(--muted); margin: 0 0 44px; font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--stroke); }
.feature h3 { margin: 16px 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }
.ficon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ficon.a { background: linear-gradient(135deg, #3b82f6, #2563eb); } .ficon.b { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.ficon.c { background: linear-gradient(135deg, #8b5cf6, #6d28d9); } .ficon.d { background: linear-gradient(135deg, #f97316, #ea580c); }
.ficon.e { background: linear-gradient(135deg, #10b981, #059669); } .ficon.f { background: linear-gradient(135deg, #ec4899, #db2777); }

/* tour */
.tour, .install { background: var(--bg2); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.tab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--stroke); background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.tab:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.tab.on { background: var(--text); color: #0b1326; border-color: var(--text); }
.viewer { margin: 0; }
.viewer img { border-radius: 12px; border: 1px solid var(--stroke); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); cursor: zoom-in; transition: opacity .2s; }
.viewer figcaption { text-align: center; color: var(--muted); margin-top: 16px; }

/* downloads */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.dl { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--stroke); }
.dl.rec { border-color: rgba(59, 130, 246, .6); background: linear-gradient(180deg, rgba(59, 130, 246, .12), rgba(255, 255, 255, .03)); }
.dl .tag { position: absolute; top: -12px; left: 24px; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.dl h3 { margin: 0 0 8px; font-size: 22px; }
.dl p { color: var(--muted); margin: 0 0 12px; }
.dl ul { margin: 0 0 22px; padding-left: 18px; color: var(--muted); flex: 1; }
.dl .meta { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.dl .btn.disabled { opacity: .5; pointer-events: none; }
.sums { margin-top: 28px; border: 1px solid var(--stroke); border-radius: 12px; padding: 12px 18px; background: var(--card); }
.sums summary { cursor: pointer; color: var(--muted); }
.sums pre { white-space: pre-wrap; word-break: break-all; font-size: 13px; color: var(--muted); }

/* install */
.guide { display: none; max-width: 760px; margin: 0 auto; }
.guide.on { display: block; }
.guide ol { counter-reset: s; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.guide li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; border-radius: 12px; background: var(--card); border: 1px solid var(--stroke); }
.guide li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.req { max-width: 900px; margin: 56px auto 0; }
.req h3 { text-align: center; font-size: 22px; margin: 0 0 18px; }
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.req-grid div { padding: 16px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--card); display: flex; flex-direction: column; }
.req-grid span { color: var(--muted); font-size: 14px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--stroke); border-radius: 12px; background: var(--card); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 17px; }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--stroke); padding: 30px 0; }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-in .muted { margin-left: auto; font-size: 14px; }

/* click-sound switch */
.sound-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--stroke); background: transparent;
  color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.sound-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.sound-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .mute, .sound-toggle[aria-pressed="false"] .waves { display: none; }
.sound-toggle[aria-pressed="false"] .mute { display: inline; }
.sound-toggle[aria-pressed="true"] { color: #7cc4ff; border-color: rgba(96, 165, 250, .35); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .85); display: grid; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; border-radius: 10px; }

@media (max-width: 900px) {
  .features, .downloads, .req-grid { grid-template-columns: 1fr; }
  .links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 64px; }
  .section { padding: 64px 16px; }
  .wrap { padding: 0 16px; }
}

/* ---------------------------------------------------------------- animations
   Everything below is decoration. fx.js adds the "fx" class to <html>, so
   without JavaScript (or with "reduce motion" on) the page is simply static. */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* nav: animated logo, scroll progress, active section */
.brand .logo { flex: none; }
.fx .brand .logo rect { transform-origin: center; transform-box: fill-box; animation: logo-pop .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.fx .brand .logo path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s .35s cubic-bezier(.6, 0, .2, 1) forwards; }
.brand:hover .logo { animation: wobble .6s; }
@keyframes logo-pop { from { transform: scale(.2) rotate(-90deg); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wobble { 30% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(6deg); } }
.nav { transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(6, 11, 24, .88); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, #60a5fa, #22d3ee, #a78bfa); box-shadow: 0 0 12px rgba(34, 211, 238, .7); }
.links a { position: relative; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.links a.on { color: var(--text); }

/* hero background: drifting aurora, moving grid floor, star field */
.aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(60px); }
.aurora i { position: absolute; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border-radius: 50%; }
.aurora i:nth-child(1) { left: 8%; top: -10%; background: radial-gradient(circle, rgba(59, 130, 246, .5), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { right: 6%; top: -4%; background: radial-gradient(circle, rgba(6, 182, 212, .4), transparent 65%); animation: drift2 19s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 32%; top: 18%; background: radial-gradient(circle, rgba(139, 92, 246, .38), transparent 65%); animation: drift3 23s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 10vh) scale(1.25); } }
@keyframes drift2 { to { transform: translate(-16vw, 14vh) scale(.85); } }
@keyframes drift3 { to { transform: translate(10vw, -12vh) scale(1.2); } }
.grid-floor { position: absolute; left: -50%; right: -50%; top: 430px; height: 900px; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(96, 165, 250, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(96, 165, 250, .22) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: top;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 45%, transparent 85%); mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 45%, transparent 85%); }
.fx .grid-floor { animation: grid-move 2.4s linear infinite; }
@keyframes grid-move { to { background-position: 0 64px, 0 64px; } }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in, .shot-hero { z-index: 1; }

/* hero text: staggered entrance */
.pill .dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #22d3ee; vertical-align: 1px; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); } }
.hero h1 .line { display: block; overflow: hidden; padding: 0 .08em .14em; margin-bottom: -.14em; }
.hero h1 .line > span { display: inline-block; }
.fx .hero h1 .line > span { animation: line-up 1s var(--d, 0s) cubic-bezier(.2, .8, .2, 1) both; }
@keyframes line-up { from { transform: translateY(110%) rotate(3deg); filter: blur(8px); opacity: 0; } }
.grad { background-image: linear-gradient(90deg, #60a5fa, #22d3ee 25%, #a78bfa 50%, #22d3ee 75%, #60a5fa); background-size: 200% auto; }
.fx .hero h1 .grad { animation: line-up 1s var(--d, 0s) cubic-bezier(.2, .8, .2, 1) both, shimmer 6s 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% center; } }
.fx .rise { animation: rise .9s var(--d, 0s) cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { transform: translateY(26px); opacity: 0; filter: blur(6px); } }

/* hero screenshot: tilted back, flattens as you scroll, leans toward the mouse */
.shot-hero { perspective: 1600px; }
.fx .shot-hero { animation: shot-in 1.4s .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes shot-in { from { transform: translateY(120px); opacity: 0; } }
.shot-tilt { position: relative; border-radius: 14px; will-change: transform; }
.shot-tilt::before { content: ""; position: absolute; inset: -2px; border-radius: 16px; z-index: -1; filter: blur(34px); opacity: .5;
  background: conic-gradient(from var(--a), #3b82f6, #22d3ee, #a78bfa, #ec4899, #3b82f6); }
.fx .shot-tilt::before { animation: spin 8s linear infinite; }
@keyframes spin { to { --a: 360deg; } }
.sheen { position: absolute; inset: 0; border-radius: 14px; pointer-events: none; overflow: hidden; }
.sheen::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent); transform: skewX(-18deg); }
.fx .sheen::after { animation: sheen 7s 2.2s ease-in-out infinite; }
@keyframes sheen { 0% { left: -60%; } 22%, 100% { left: 130%; } }

/* stats strip with count-up numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 70px; padding-bottom: 10px; position: relative; z-index: 1; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); border: 1px solid var(--stroke); background: var(--card); }
.stat b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff, #9cc8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 15px; }

/* scroll reveal (fx.js tags elements with .reveal and a stagger index --i) */
.fx .reveal { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(4px);
  transition: opacity .8s calc(var(--i, 0) * 90ms) cubic-bezier(.2, .8, .2, 1), transform .8s calc(var(--i, 0) * 90ms) cubic-bezier(.2, .8, .2, 1), filter .8s calc(var(--i, 0) * 90ms); }
.fx .reveal.shown { opacity: 1; transform: none; filter: none; }
.fx .reveal.settled { transition: transform .25s ease-out, border-color .3s, background .3s, box-shadow .3s; }
.section h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan), #a78bfa); }
.fx .section h2::after { transform: scaleX(0); transition: transform .9s .35s cubic-bezier(.2, .8, .2, 1); }
.fx .section h2.shown::after { transform: scaleX(1); }

/* cards: cursor spotlight and 3D tilt (fx.js), bouncing icons */
.feature, .dl, .stat { position: relative; isolation: isolate; }
.feature::before, .dl::after, .stat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, .16), transparent 60%); }
.feature:hover::before, .dl:hover::after, .stat:hover::before { opacity: 1; }
.feature:hover, .stat:hover { border-color: rgba(96, 165, 250, .35); }
.feature .ficon { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), box-shadow .4s; }
.feature:hover .ficon { transform: translateY(-4px) rotate(-8deg) scale(1.1); box-shadow: 0 12px 26px rgba(59, 130, 246, .35); }
.feature:hover .ficon svg { animation: icon-bob 1.2s ease-in-out infinite; }
@keyframes icon-bob { 50% { transform: translateY(-2px); } }

/* buttons: light sweep on hover, ripple on click */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transition: left .6s; }
.btn:hover::before { left: 125%; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.fx .hero .btn.big:not(.ghost) { animation: glow-pulse 2.8s 2s ease-in-out infinite; }
@keyframes glow-pulse { 50% { box-shadow: 0 8px 40px rgba(34, 211, 238, .6), 0 0 0 6px rgba(59, 130, 246, .14); } }

/* tabs: a pill that slides to the selected tab */
.tabs { position: relative; }
.tabs .tab { position: relative; z-index: 1; transition: color .3s, background .2s, border-color .2s; }
.tabs .ind { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 999px; background: var(--text); box-shadow: 0 6px 20px rgba(255, 255, 255, .15); pointer-events: none;
  transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), width .45s cubic-bezier(.3, 1.3, .5, 1), height .3s; }
.fx .tabs.has-ind .tab.on { background: transparent; border-color: transparent; }
.tabs .tab .bar { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(11, 19, 38, .3); transform-origin: left; transform: scaleX(0); }
.tabs .tab.on .bar.run { animation: bar var(--t, 6s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

/* tour: screenshots cross-fade with a zoom */
.viewer img { transition: opacity .22s, transform .45s cubic-bezier(.2, .8, .2, 1), filter .22s; }
.viewer img.out { opacity: 0; transform: scale(.97) translateY(8px); filter: blur(6px); }
.viewer figcaption { transition: opacity .22s, transform .3s; }
.viewer figcaption.out { opacity: 0; transform: translateY(6px); }

/* downloads: spinning gradient border on the recommended card */
.dl { transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; }
.dl:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.dl.rec { border-color: transparent; }
.dl.rec::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), #3b82f6, #22d3ee, #a78bfa, #3b82f6 40%, rgba(59, 130, 246, .25) 60%, #3b82f6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.fx .dl.rec::before { animation: spin 4s linear infinite; }
.fx .dl .tag { animation: tag-bounce 3s 1s ease-in-out infinite; }
@keyframes tag-bounce { 0%, 80%, 100% { transform: none; } 86% { transform: translateY(-5px); } 92% { transform: none; } 96% { transform: translateY(-2px); } }

/* install guide: steps fly in whenever a tab opens */
.fx .guide.on li { animation: step-in .55s calc(var(--i, 0) * 80ms) cubic-bezier(.2, .8, .2, 1) both; }
.fx .guide.on li::before { animation: num-pop .5s calc(var(--i, 0) * 80ms + .2s) cubic-bezier(.3, 1.8, .5, 1) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(-30px); } }
@keyframes num-pop { from { transform: scale(0) rotate(-120deg); } }
.guide li, .req-grid div, .faq details { transition: border-color .3s, background .3s, transform .3s; }
.guide li:hover { border-color: rgba(96, 165, 250, .35); transform: translateX(4px); }
.req-grid div:hover { border-color: rgba(96, 165, 250, .35); transform: translateY(-3px); }

/* FAQ: smooth open and close with a turning + */
.faq summary { list-style: none; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 400; line-height: 1; color: var(--muted); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); color: #22d3ee; }
.faq details:hover { border-color: rgba(96, 165, 250, .3); }
.faq details[open] { background: rgba(59, 130, 246, .06); border-color: rgba(96, 165, 250, .3); }

/* lightbox: zoom in from the page */
.lightbox { animation: fade .25s both; }
.lightbox img { animation: zoom-in .4s cubic-bezier(.2, .8, .2, 1) both; }
.lightbox.closing { animation: fade-out .2s both; }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes zoom-in { from { transform: scale(.85); opacity: 0; } }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); padding-top: 48px; }
  .grid-floor { top: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stars { display: none; }
}
