@font-face {
  font-family: "InterVar";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
  unicode-range: U+0000-00FF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html, body {
  height: 100%;
}

body {
  min-height: 100dvh;
  overflow: hidden;
  background: #d8e2ec;
  color: #152033;
  font-family: "InterVar", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-a {
  width: 72vw;
  height: 72vw;
  left: -14%;
  top: -24%;
  background: radial-gradient(circle, #f3f8ff 0%, rgba(243, 248, 255, 0) 70%);
  opacity: 0.95;
}

.orb-b {
  width: 58vw;
  height: 58vw;
  right: -12%;
  top: 10%;
  background: radial-gradient(circle, #b9cce0 0%, rgba(185, 204, 224, 0) 70%);
  opacity: 0.9;
}

.orb-c {
  width: 46vw;
  height: 46vw;
  left: 32%;
  bottom: -18%;
  background: radial-gradient(circle, #c5d4f0 0%, rgba(197, 212, 240, 0) 70%);
  opacity: 0.7;
}

.frost {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.48) 0%, rgba(230, 238, 247, 0.16) 46%, rgba(210, 222, 235, 0.34) 100%);
  backdrop-filter: blur(36px) saturate(140%);
  -webkit-backdrop-filter: blur(36px) saturate(140%);
}

.sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 28%, rgba(255, 255, 255, 0.55), transparent 62%);
}

.glow {
  position: absolute;
  width: 52vmax;
  height: 52vmax;
  left: var(--lx, 50%);
  top: var(--ly, 50%);
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(243, 248, 255, 0.18) 32%, rgba(216, 226, 236, 0) 68%);
  filter: blur(12px);
  mix-blend-mode: soft-light;
}

main {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
}

.layout-mobile { display: none; }
.layout-desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  text-align: center;
  padding: 8vh 8vw;
}

h1, p {
  font-family: inherit;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  font-weight: 520;
  font-size: clamp(64px, 6.8vw, 104px);
  line-height: 0.95;
  color: #152033;
}

p {
  margin-top: 0.45em;
  font-weight: 430;
  font-size: clamp(22px, 2.2vw, 32px);
  color: rgba(21, 32, 51, 0.55);
}

@media (max-width: 720px) {
  .layout-desktop { display: none; }
  .layout-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100dvh;
    text-align: center;
    padding: 22vh 28px 20vh;
  }
  .layout-mobile h1 {
    font-size: clamp(40px, 11vw, 54px);
  }
  .layout-mobile p {
    margin-top: 0;
    font-size: clamp(18px, 4.8vw, 22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow { left: 50%; top: 50%; }
}
