@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --noc: #0c0a1d;
  --zmierzch-2: #231b47;
  --krawedz-mocna: rgba(216, 180, 254, 0.28);
  --ametyst: #a855f7;
  --lawenda: #d8b4fe;
  --ksiezyc: #f4f0ff;
  --mgla: #aaa3c9;
  --mgla-ciemna: #7d76a0;
  --f-text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.3125rem;
  --t-h1: clamp(2.75rem, 1.2rem + 5vw, 6rem);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r-m: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --top-h: 68px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--noc);
  color: var(--ksiezyc);
  font: 400 var(--t-m) / 1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: var(--lawenda);
  text-underline-offset: 3px;
}
h1 {
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--lawenda);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: rgba(168, 85, 247, 0.45);
  color: #fff;
}
.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ksiezyc);
  color: var(--noc);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(100% - 2 * var(--gut), var(--wrap));
  margin-inline: auto;
}

.btn {
  --bg: var(--zmierzch-2);
  --fg: var(--ksiezyc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--r-m);
  background: var(--bg);
  color: var(--fg);
  font: 600 var(--t-m) / 1.1 var(--f-text);
  text-decoration: none;
  cursor: pointer;

  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover {
  color: var(--fg);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn--primary {
  --bg: var(--ametyst);
  --fg: #fff;
}
.btn--primary:hover {
  background: #b56bf9;
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: var(--t-s);
}
.btn--lg {
  min-height: 60px;
  padding: 16px 28px;
  font-size: var(--t-l);
  border-radius: 14px;
}
.btn__icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--top-h);
}
.top__in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ksiezyc);
  text-decoration: none;
  font: 700 1.1875rem / 1 var(--f-text);
  letter-spacing: -0.01em;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand:hover {
  color: #fff;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--noc);
}
.intro canvas {
  width: 200px;
  height: 200px;
}
.intro__skip {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--krawedz-mocna);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 75% 10%, rgba(120, 70, 220, 0.28), transparent 60%),
    linear-gradient(180deg, #0a0820 0%, #120d2c 55%, #1c1440 100%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero--static {
  background:
    linear-gradient(180deg, rgba(12, 10, 29, 0.2), rgba(12, 10, 29, 0.85)),
    url(../img/panorama.png) center bottom / cover no-repeat,
    var(--noc);
  image-rendering: pixelated;
}
.hero--static .hero__canvas {
  display: none;
}
.hero__in {
  padding-block: calc(var(--top-h) + 48px) 96px;
}
.hero__copy {
  max-width: 720px;
}
.hero__title {
  font: 800 var(--t-h1) / 0.98 var(--f-text);
  letter-spacing: -0.035em;
}
.hero__title .line {
  display: block;
}
.split-line {
  overflow: hidden;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}
.hero__lead {
  margin-top: 28px;
  max-width: 50ch;
  color: #cbc4e6;
  font-size: var(--t-l);
  line-height: 1.55;
}
.hero__cta {
  margin-top: 36px;
}
.hero__meta {
  margin-top: 18px;
  color: var(--mgla-ciemna);
  font-size: var(--t-s);
}
.hero__meta strong {
  color: var(--mgla);
  font-weight: 500;
}

.hero__copy > * {
  text-shadow: 0 2px 24px rgba(12, 10, 29, 0.6);
}
.hero__legal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  color: var(--mgla-ciemna);
  font-size: 0.75rem;
  opacity: 0.8;
}
@media (max-width: 860px) {
  .hero {
    align-items: flex-start;
  }
  .hero__in {
    padding-block: calc(var(--top-h) + 28px) 52vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
