:root {
  --bg0: #03050a;
  --bg1: #080c14;
  --glass: rgba(255, 255, 255, 0.06);
  --glassHi: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.62);
  --shadow: rgba(0, 0, 0, 0.6);
  --accent: #5afff6;
  --accent-dim: rgba(90, 255, 246, 0.14);
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", var(--font-sans);
  --radius-lg: 22px;
  --radius-md: 16px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  height: 100%;
}

::selection {
  background: rgba(90, 255, 246, 0.28);
  color: #fff;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: radial-gradient(ellipse 140% 90% at 50% -8%, #0f1828 0%, var(--bg1) 42%, var(--bg0) 100%);
  overflow-x: hidden;
  overflow-y: auto;
}

#fluid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(90, 255, 246, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 60%, rgba(120, 140, 255, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 45% at 15% 75%, rgba(90, 255, 246, 0.05), transparent 45%);
  pointer-events: none;
}

/* Film grain — premium texture without perf hit */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.siteHeader__logo {
  font-family: "Syne", var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: auto;
}

.siteHeader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  pointer-events: none;
}

.shell {
  position: relative;
  z-index: 10;
  min-height: 100%;
  min-height: 95dvh;
  display: grid;
  place-items: center;
  padding: 56px 24px 150px;
}

@media (min-width: 780px) {
  .siteHeader {
    display: flex;
  }

  .shell {
    /* Make room for the floating header on desktop only */
    padding-top: 88px;
  }
}

.layout {
  width: min(1020px, 100%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.card {
  position: relative;
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.07), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 40px 100px -20px rgba(0, 0, 0, 0.65),
    0 0 80px -34px rgba(90, 255, 246, 0.09);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02) 45%, rgba(90, 255, 246, 0.15));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.name {
  font-family: "Syne", var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: 20px;
  line-height: 1.1;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(220, 255, 252, 0.92);
  background: linear-gradient(180deg, rgba(90, 255, 246, 0.09), rgba(90, 255, 246, 0.02));
  border: 1px solid rgba(90, 255, 246, 0.16);
  box-shadow: 0 0 18px rgba(90, 255, 246, 0.06);
}

.headline {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.headline__plain {
  background: linear-gradient(120deg, #ffffff 0%, rgba(255, 255, 255, 0.88) 35%, rgba(180, 250, 245, 0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Shimmering liquid metal / fluid highlight */
.headline__liquid {
  display: inline-block;
  position: relative;
  padding: 0 0.02em;
  margin: 0 -0.02em;
  background:
    radial-gradient(ellipse 80% 120% at 30% 50%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(
      118deg,
      #d8fffd 0%,
      #5afff6 18%,
      #3ec9c4 38%,
      #7ef0ea 52%,
      #5afff6 68%,
      #1fa8a2 82%,
      #b8fff9 100%
    );
  background-size:
    180% 200%,
    280% 280%;
  background-position:
    20% 50%,
    0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headlineLiquidFlow 7s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(90, 255, 246, 0.35));
}

@keyframes headlineLiquidFlow {
  0%,
  100% {
    background-position:
      20% 50%,
      0% 48%;
  }
  33% {
    background-position:
      75% 40%,
      55% 52%;
  }
  66% {
    background-position:
      40% 60%,
      100% 45%;
  }
}

.lead {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 450;
  max-width: 42ch;
}

.form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 22px;
}

input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(255, 255, 255, 0.07), transparent 55%),
    rgba(6, 10, 18, 0.55);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

input[type="email"]:focus {
  border-color: rgba(90, 255, 246, 0.5);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.form button {
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(90, 255, 246, 0.35);
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: #061016;
  background: linear-gradient(180deg, #b8fff9 0%, var(--accent) 45%, #3dd4ce 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 40px -8px rgba(0, 0, 0, 0.45),
    0 0 40px -10px rgba(90, 255, 246, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.form button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 22px 50px -10px rgba(0, 0, 0, 0.5),
    0 0 50px -8px rgba(90, 255, 246, 0.55);
}

.form button:active:not(:disabled) {
  transform: translateY(0);
}

.form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cookie__card {
  width: min(980px, 100%);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(100% 80% at 30% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: auto;
}

.cookie__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.cookie__text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 255, 246, 0.35);
  transition: border-color 0.15s ease;
}

.cookie__text a:hover {
  border-bottom-color: rgba(90, 255, 246, 0.7);
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie__btn {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 20, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cookie__btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cookie__btn--primary {
  border-color: rgba(90, 255, 246, 0.35);
  background: linear-gradient(180deg, rgba(90, 255, 246, 0.22), rgba(90, 255, 246, 0.1));
  color: #fff;
}

.status {
  margin-top: 14px;
  min-height: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.status.ok {
  color: rgba(120, 255, 200, 0.95);
}

.status.bad {
  color: rgba(255, 195, 130, 0.95);
}

.fineprint {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

.heroTop {
  margin: 2px 0 18px;
  display: grid;
  place-items: center;
}

.heroTop__gif {
  width: min(360px, 100%);
  max-height: min(36vh, 280px);
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: contain;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.45));
}

.siteFooter {
  position: relative;
  z-index: 10;
  padding: 10px 24px 26px;
}

.siteFooter__inner {
  width: min(1020px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.siteFooter__links {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.siteFooter__links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 2px;
}

.siteFooter__links a:hover {
  color: rgba(255, 255, 255, 0.68);
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.siteFooter__fine {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #fluid {
    display: none;
  }

  .card {
    animation: none;
  }

  .headline__liquid {
    animation: none;
    background-position:
      50% 50%,
      45% 50%;
    filter: drop-shadow(0 0 12px rgba(90, 255, 246, 0.25));
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 28px 18px 160px;
  }

  .card {
    padding: 22px 20px 20px;
  }

  .brand {
    margin-bottom: 14px;
  }

  .heroTop {
    margin: 0 0 14px;
  }

  .heroTop__gif {
    width: min(320px, 100%);
    max-height: min(28vh, 210px);
    border-radius: 14px;
    filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.42));
  }

  .siteFooter__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie__card {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie__actions {
    justify-content: flex-end;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .form button {
    width: 100%;
  }
}
