
:root {

  --c-white: #0b0b0c;

  --c-black: #f4f4f5;

  --c-gray-100: #17181a;

  --c-gray-200: #26272b;

  --c-gray-300: #3a3b40;

  --c-gray-500: #9a9aa0;

  --c-gray-700: #d7d7db;

  --radius-lg: 18px;

  --radius-pill: 999px;

  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.5);

  --shadow-btn: 0 10px 24px rgba(255, 255, 255, 0.10);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

}

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}

html, body {

  height: 100%;

}

body {

  font-family: Helvetica, Arial, sans-serif;

  background: var(--c-white);

  color: var(--c-black);

  -webkit-font-smoothing: antialiased;

  text-rendering: optimizeLegibility;

  overflow-x: hidden;

  min-height: 100vh;

  min-height: 100dvh;

  display: flex;

  flex-direction: column;

}

.sr-only {

  position: absolute;

  width: 1px; height: 1px;

  overflow: hidden;

  clip: rect(0 0 0 0);

  white-space: nowrap;

}


.hp-field {

  position: absolute !important;

  left: -9999px !important;

  top: -9999px !important;

  width: 1px; height: 1px;

  opacity: 0;

  pointer-events: none;

}


#loader {

  position: fixed;

  inset: 0;

  z-index: 1000;

  background: var(--c-white);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 1;

  transition: opacity 0.8s var(--ease-out), visibility 0.8s;

}

#loader.loader-done {

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

}

.loader-inner {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 14px;

  animation: loaderFadeIn 0.9s var(--ease-out) both;

}

.loader-logo {

  width: 72px;

  height: 72px;

  object-fit: contain;

  animation: logoPulse 2.2s ease-in-out infinite;

}

.loader-title {

  font-size: 22px;

  font-weight: 700;

  letter-spacing: 0.32em;

  text-indent: 0.32em;

}

.loader-sub {

  font-size: 11px;

  font-weight: 400;

  letter-spacing: 0.5em;

  text-indent: 0.5em;

  color: var(--c-gray-500);

}

.loader-bar {

  margin-top: 18px;

  width: 168px;

  height: 2px;

  background: var(--c-gray-200);

  border-radius: var(--radius-pill);

  overflow: hidden;

}

.loader-bar-fill {

  width: 0%;

  height: 100%;

  background: var(--c-black);

  border-radius: var(--radius-pill);

  transition: width 0.35s var(--ease-out);

}

@keyframes loaderFadeIn {

  from { opacity: 0; transform: translateY(14px); }

  to   { opacity: 1; transform: translateY(0); }

}

@keyframes logoPulse {

  0%, 100% { transform: scale(1); opacity: 1; }

  50%      { transform: scale(1.06); opacity: 0.82; }

}


.bg-grid {

  position: fixed;

  inset: -60px;

  z-index: 0;

  pointer-events: none;

  background-image:

    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),

    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);

  background-size: 72px 72px;

  animation: gridDrift 40s linear infinite;

  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 30%, transparent 78%);

  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 30%, transparent 78%);

}

@keyframes gridDrift {

  from { transform: translate(0, 0); }

  to   { transform: translate(72px, 72px); }

}

.bg-light {

  position: fixed;

  z-index: 0;

  pointer-events: none;

  border-radius: 50%;

  filter: blur(90px);

}

.bg-light-1 {

  width: 46vw;

  height: 46vw;

  min-width: 380px;

  min-height: 380px;

  top: -12%;

  right: -10%;

  background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 65%);

  animation: lightDrift1 26s ease-in-out infinite alternate;

}

.bg-light-2 {

  width: 40vw;

  height: 40vw;

  min-width: 320px;

  min-height: 320px;

  bottom: -16%;

  left: -8%;

  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 65%);

  animation: lightDrift2 32s ease-in-out infinite alternate;

}

@keyframes lightDrift1 {

  from { transform: translate(0, 0) scale(1); }

  to   { transform: translate(-6vw, 5vh) scale(1.12); }

}

@keyframes lightDrift2 {

  from { transform: translate(0, 0) scale(1.08); }

  to   { transform: translate(5vw, -4vh) scale(1); }

}

.bg-noise {

  position: fixed;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  opacity: 0.5;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23ffffff' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");

}


.site-header {

  position: relative;

  z-index: 10;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 26px clamp(22px, 5vw, 64px);

}


.header-logo img,

.header-logo img {

  height: 34px;

  width: auto;

  display: block;

  transition: transform 0.4s var(--ease-out), opacity 0.4s;

}

.header-logo:hover img {

  transform: scale(1.05);

  opacity: 0.85;

}

.header-status {

  display: flex;

  align-items: center;

  gap: 9px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.28em;

  color: var(--c-gray-700);

  padding: 9px 18px;

  border: 1px solid var(--c-gray-200);

  border-radius: var(--radius-pill);

  background: rgba(11, 11, 12, 0.65);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

}

.status-dot {

  width: 7px;

  height: 7px;

  border-radius: 50%;

  background: var(--c-black);

  animation: dotPulse 2s ease-in-out infinite;

}

@keyframes dotPulse {

  0%, 100% { opacity: 1; transform: scale(1); }

  50%      { opacity: 0.35; transform: scale(0.8); }

}


.hero {

  position: relative;

  z-index: 10;

  flex: 1;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 40px clamp(22px, 6vw, 64px) 72px;

  gap: 0;

}

.hero-title {

  font-size: clamp(40px, 7vw, 100px);

  font-weight: 700;

  line-height: 1.04;

  letter-spacing: -0.035em;

  max-width: 15ch;

  text-wrap: balance;

}

.hero-sub {

  margin-top: 26px;

  font-size: clamp(15px, 1.6vw, 19px);

  font-weight: 400;

  color: var(--c-gray-500);

  letter-spacing: 0.01em;

  max-width: 46ch;

}

/* Reveal animation — aktywowane po zakończeniu loadingu */

.reveal {

  opacity: 0;

  transform: translateY(28px);

}

body.loaded .reveal {

  animation: revealUp 1s var(--ease-out) forwards;

}

body.loaded .hero-title      { animation-delay: 0.10s; }

body.loaded .hero-sub        { animation-delay: 0.28s; }

body.loaded .waitlist-form   { animation-delay: 0.46s; }

@keyframes revealUp {

  to { opacity: 1; transform: translateY(0); }

}


.waitlist-form {

  margin-top: 52px;

  display: flex;

  align-items: stretch;

  gap: 10px;

  width: 100%;

  max-width: 620px;

  padding: 8px;

  background: var(--c-white);

  border: 1px solid var(--c-gray-200);

  border-radius: var(--radius-pill);

  box-shadow: var(--shadow-soft);

  transition: box-shadow 0.4s var(--ease-out), border-color 0.4s;

}

.waitlist-form:focus-within {

  border-color: var(--c-gray-300);

  box-shadow: 0 14px 44px rgba(255, 255, 255, 0.08);

}

.waitlist-input {

  flex: 1;

  min-width: 0;

  border: 1.5px solid transparent;

  background: var(--c-gray-100);

  border-radius: var(--radius-pill);

  padding: 16px 26px;

  font-family: inherit;

  font-size: 15px;

  color: var(--c-black);

  outline: none;

  transition: border-color 0.3s var(--ease-out), background-color 0.3s, box-shadow 0.3s;

}

.waitlist-input::placeholder {

  color: var(--c-gray-500);

}

.waitlist-input:focus {

  background: var(--c-white);

  border-color: var(--c-black);

  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);

}

.waitlist-btn {

  flex-shrink: 0;

  border: none;

  cursor: pointer;

  background: var(--c-black);

  color: var(--c-white);

  border-radius: var(--radius-pill);

  padding: 16px 32px;

  font-family: inherit;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.16em;

  white-space: nowrap;

  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background-color 0.25s, opacity 0.25s;

}

.waitlist-btn:hover:not(:disabled) {

  transform: scale(1.035);

  box-shadow: var(--shadow-btn);

}

.waitlist-btn:active:not(:disabled) {

  transform: scale(0.98);

}

.waitlist-btn:disabled {

  opacity: 0.55;

  cursor: wait;

}

.form-error {

  margin-top: 18px;

  font-size: 13.5px;

  color: var(--c-black);

  background: var(--c-gray-100);

  border: 1px solid var(--c-gray-200);

  border-radius: var(--radius-pill);

  padding: 10px 22px;

  animation: revealUp 0.4s var(--ease-out);

}


.site-footer {

  position: relative;

  z-index: 10;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 26px 22px 30px;

  font-size: 12.5px;

  letter-spacing: 0.06em;

  color: var(--c-gray-500);

}

.footer-dot {

  color: var(--c-gray-300);

}


.toast-container {

  position: fixed;

  right: 22px;

  bottom: 22px;

  z-index: 1100;

  display: flex;

  flex-direction: column;

  gap: 12px;

  pointer-events: none;

}

.toast {

  pointer-events: auto;

  display: flex;

  align-items: center;

  gap: 12px;

  max-width: 360px;

  padding: 15px 22px;

  background: var(--c-black);

  color: var(--c-white);

  border-radius: var(--radius-lg);

  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);

  font-size: 14px;

  line-height: 1.45;

  transform: translateX(120%);

  opacity: 0;

  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);

}

.toast.toast-visible {

  transform: translateX(0);

  opacity: 1;

}

.toast.toast-leaving {

  transform: translateX(120%);

  opacity: 0;

}

.toast-icon {

  flex-shrink: 0;

  width: 24px;

  height: 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  font-size: 13px;

  font-weight: 700;

}

.toast-success .toast-icon {

  background: var(--c-white);

  color: var(--c-black);

}

.toast-info {

  background: var(--c-gray-100);

  color: var(--c-black);

  border: 1px solid var(--c-gray-200);

}

.toast-info .toast-icon {

  background: var(--c-black);

  color: var(--c-white);

}


@media (max-width: 768px) {

  .hero-title { letter-spacing: -0.028em; }

  .waitlist-form {

    flex-direction: column;

    border-radius: 28px;

    padding: 10px;

    max-width: 460px;

  }

  .waitlist-input { padding: 15px 22px; }

  .waitlist-btn   { padding: 15px 22px; }

  .header-status  { padding: 8px 14px; font-size: 10px; }

}

@media (max-width: 480px) {

  .site-header { padding: 20px 18px; }

  .header-logo img { height: 28px; }

  .hero { padding: 24px 18px 56px; }

  .hero-sub { margin-top: 20px; }

  .waitlist-form { margin-top: 40px; }

  .toast-container { right: 14px; bottom: 14px; left: 14px; }

  .toast { max-width: none; }

}


@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after {

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

  }

  .reveal { opacity: 1; transform: none; }

  .bg-grid, .bg-light-1, .bg-light-2, .loader-logo, .status-dot { animation: none; }

}