:root { color-scheme: light; }
* { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-width: 320px; min-height: 100svh; margin: 0; background: #26364b; color: #fff; font-family: "DM Sans", sans-serif; }
main { display: flex; flex: 1; flex-direction: column; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.home-header { position: absolute; z-index: 2; top: 24px; right: 28px; }
.home-hotbar { display: flex; align-items: center; gap: 4px; padding: 6px; border: 1px solid rgba(224,235,255,.22); border-radius: 16px; background: rgba(33,47,68,.82); box-shadow: 0 12px 35px rgba(21,34,57,.18); backdrop-filter: blur(14px); }
.home-hotbar a { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 5px; padding: 0 14px; border-radius: 10px; color: #e2ebff; font-size: .83rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .18s ease, color .18s ease, transform .18s ease; }
.home-hotbar a:hover { background: rgba(223,234,255,.14); color: #fff; }
.home-hotbar a:focus-visible { outline-color: #fff; outline-offset: 2px; }
.home-hotbar .home-hotbar__invite { background: #d7e6ff; color: #243b66; }
.home-hotbar .home-hotbar__invite:hover { background: #fff; color: #243b66; transform: translateY(-1px); }
.intro { position: relative; display: grid; flex: 1; min-height: clamp(360px, 62svh, 720px); padding: 86px 24px 35px; place-items: center; overflow: hidden; isolation: isolate; background: linear-gradient(140deg, #697c9b 0%, #768dad 50%, #526884 100%); }
.intro__ornaments { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro__logo { position: relative; width: clamp(170px, 20vw, 265px); height: auto; filter: drop-shadow(0 15px 28px rgba(19,33,63,.25)); }
.wave { height: clamp(112px, 13vw, 180px); margin-top: -1px; background: #526884; }
.wave svg { display: block; width: 100%; height: 100%; }
.home-footer { padding: 32px 24px 34px; background: #26364b; }
.home-footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 26px 48px; align-items: center; width: min(100%, 1120px); margin: 0 auto; }
.home-footer .dmca-badge { display: block; width: 120px; line-height: 0; }
.home-footer .dmca-badge img { display: block; max-width: 100%; height: auto; }
.home-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 23px; }
.home-footer__links a { color: #dfe9fa; font-size: .82rem; font-weight: 600; text-decoration: none; }
.home-footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-footer p { grid-column: 1 / -1; margin: 0; color: #b5c6df; font-size: .72rem; text-align: center; }
@media (max-width: 760px) {
  .home-header { position: relative; top: auto; right: auto; padding: 14px 14px 0; background: #697c9b; }
  .home-hotbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 540px); margin: 0 auto; }
  .home-hotbar a { padding: 0 8px; }
  .home-hotbar .home-hotbar__invite { grid-column: span 2; }
  .intro { min-height: 55svh; padding: 45px 20px 25px; }
  .intro__ornaments { opacity: .72; }
  .home-footer { padding: 28px 20px 32px; }
  .home-footer__inner { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .home-footer__links { justify-content: center; }
}
