/*//////////////////////////////////////////////////////////
  47Flare — BASE / RESET
//////////////////////////////////////////////////////////*/

* { box-sizing: border-box; }
html, body { height: 100%; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 15% 40%, rgba(0,199,182,0.25), transparent 60%),
    radial-gradient(900px 650px at 90% 20%, rgba(0,199,182,0.18), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg0));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: calc(24px + var(--safe-top)) 18px calc(104px + var(--safe-bottom));
}

@media (min-width: 900px) {
  .wrap { padding-bottom: calc(110px + var(--safe-bottom)); }
}

/* --- Anti micro horizontal scroll (mobile safe) --- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip){
  html, body { overflow-x: hidden; }
}

/* Stops sideways “rubber band” feel on some browsers */
body { overscroll-behavior-x: none; }


/* --- Anti micro horizontal scroll (mobile safe) --- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip){
  html, body { overflow-x: hidden; }
}

/* Stops sideways “rubber band” feel on some browsers */
body { overscroll-behavior-x: none; }

