/*
 * Blocks skin for the freesaas theme: the parent's light palette over an isometric
 * Three.js constructor (assets/scene.js). Only what must change to let the scene show through.
 */
html {
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--grad-a), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, var(--grad-b), transparent 50%),
    linear-gradient(180deg, #eef3f7 0%, var(--bg0) 28%, var(--bg0) 100%);
  background-attachment: fixed;
}
body { background: transparent; }
.fx-canvas { transition: opacity 0.6s ease; }
html:not(.fx-on) .fx-canvas { opacity: 0 !important; }

/* Sections must not paint over the scene */
.scene--capabilities { background: transparent; }

/* Cards: a touch of glass so blocks read through without hurting the text */
.home-hero__stat,
.why-stage,
button.cap-tile,
.cap-core {
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}
.home-hero__stat { background: rgba(255, 255, 255, 0.66); }
.why-stage { background: rgba(255, 255, 255, 0.84); }
button.cap-tile { background: rgba(255, 255, 255, 0.86); }
button.cap-tile.is-on {
  box-shadow: 0 0 0 1px var(--accent-ring), 0 14px 30px rgba(13, 148, 136, 0.14);
}
.site-footer { background: rgba(238, 243, 247, 0.9); }

/* Leave room for the constructor next to the hero copy on wide screens */
@media (min-width: 1100px) {
  html.fx-on .home-hero__title { max-width: 14em; }
}
