:root {
  /* Premium dark / glass tokens */
  --wl-bg: #0b0b0b;
  --wl-text: rgba(255, 255, 255, 0.92);
  --wl-muted: rgba(255, 255, 255, 0.60);
  --wl-border: rgba(255, 255, 255, 0.10);
  --wl-border-strong: rgba(255, 255, 255, 0.16);

  /* Ambient lighting (deep teal, atmospheric) */
  /* #36B8B7 */
  --wl-teal-rgb: 54 184 183;

  /* ~30% stronger than previous pass */
  --wl-ambient-1a: 0.104;
  --wl-ambient-2a: 0.065;
  --wl-ambient-3a: 0.039;
  --wl-ambient-rim-a: 0.13;
  --wl-ambient-bloom-a: 0.0585;
  --wl-ambient-near-a: 0.078;

  --wl-surface: rgba(255, 255, 255, 0.06);
  --wl-surface-2: rgba(255, 255, 255, 0.08);
  --wl-shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.55);
  --wl-shadow-deep: 0 22px 70px rgba(0, 0, 0, 0.65);
  --wl-glow: 0 0 48px rgba(255, 255, 255, 0.06);
  --wl-highlight-inset: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --wl-blur: 14px;

  --wl-primary-bg: #ffffff;
  --wl-primary-text: #0b0b0b;

  --wl-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--wl-font-sans);
  background: var(--wl-bg);
  color: var(--wl-text);
}

.wl-hidden {
  display: none;
}

.wl-page {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.wl-page::before,
.wl-page::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
}

.wl-page::before {
  background: radial-gradient(
      800px 500px at 20% 20%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    radial-gradient(
      700px 500px at 80% 30%,
      rgba(255, 255, 255, 0.05),
      transparent 60%
    );
  opacity: 0.9;
}

.wl-page::after {
  background: radial-gradient(
    1200px 900px at 50% 60%,
    rgba(0, 0, 0, 0.55),
    transparent 65%
  );
  opacity: 1;
}

.wl-logo {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 10;
  user-select: none;
}

.wl-logo-img {
  height: 40px;
  width: auto;
  display: block;
  user-select: none;
  opacity: 0.92;
}

.wl-logo-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.wl-center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px clamp(16px, 3vw, 40px) 64px;
  position: relative;
  z-index: 1;
}

.wl-stack {
  width: 100%;
  max-width: 1040px;
  display: grid;
  gap: 20px;
  justify-items: center;
}

.wl-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--wl-highlight-inset);
  backdrop-filter: blur(var(--wl-blur));
  -webkit-backdrop-filter: blur(var(--wl-blur));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
}

.wl-headline {
  font-size: clamp(42px, 7.5vw, 88px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0;
}

.wl-copy {
  margin: 0;
  max-width: 56ch;
  text-align: center;
  font-size: clamp(15px, 2.1vw, 20px);
  line-height: 1.55;
  font-weight: 500;
  color: var(--wl-muted);
}

.wl-copySecondary {
  display: inline;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92em;
  font-weight: 450;
}

.wl-bar {
  height: 72px;
  width: 100%;
  border: 1px solid var(--wl-border);
  border-radius: 28px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--wl-surface);
  backdrop-filter: blur(var(--wl-blur));
  -webkit-backdrop-filter: blur(var(--wl-blur));
  box-shadow: var(--wl-shadow-deep), var(--wl-shadow-soft),
    0 0 40px 6px
      rgb(var(--wl-teal-rgb) / var(--wl-ambient-1a)),
    0 0 90px 18px
      rgb(var(--wl-teal-rgb) / var(--wl-ambient-2a)),
    0 0 140px 40px
      rgb(var(--wl-teal-rgb) / var(--wl-ambient-3a)),
    var(--wl-glow),
    inset 0 1px 0
      rgb(var(--wl-teal-rgb) / var(--wl-ambient-rim-a)),
    var(--wl-highlight-inset);
  position: relative;
  transition: border-color 240ms ease, background-color 240ms ease;
}

.wl-bar::before {
  /* Static near-bloom around the bar */
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 999px;
  background: radial-gradient(
    70% 90% at 50% 50%,
    rgb(var(--wl-teal-rgb) / var(--wl-ambient-near-a)),
    transparent 62%
  );
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.wl-bar::after {
  /* Background bloom behind the bar (very low opacity, large radius) */
  content: "";
  position: absolute;
  inset: -160px -140px;
  border-radius: 999px;
  background: radial-gradient(
      70% 90% at 50% 50%,
      rgb(var(--wl-teal-rgb) / var(--wl-ambient-near-a)),
      transparent 62%
    ),
    radial-gradient(
      55% 60% at 50% 50%,
      rgb(var(--wl-teal-rgb) / var(--wl-ambient-bloom-a)),
      transparent 70%
    );
  filter: blur(72px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -2;
}

.wl-bar:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.wl-bar:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.075);
}

.wl-inputShell {
  flex: 1 1 auto;
  height: 100%;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--wl-border-strong);
  background: var(--wl-surface-2);
  font-size: 18px;
  color: var(--wl-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  outline: none;
  transition: border-color 240ms ease, background-color 240ms ease,
    box-shadow 240ms ease;
}

.wl-inputShell::placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.wl-inputShell:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05),
    0 0 0 8px rgb(var(--wl-teal-rgb) / 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.wl-button {
  flex: 0 0 auto;
  height: 100%;
  padding: 0 clamp(14px, 2.6vw, 22px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: var(--wl-primary-bg);
  color: var(--wl-primary-text);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10), 0 12px 26px rgba(0, 0, 0, 0.32);
  transition: filter 260ms ease, transform 260ms ease;
}

.wl-button:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.wl-button:active {
  transform: translateY(0px);
  filter: brightness(0.98);
}

.wl-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--wl-highlight-inset);
  backdrop-filter: blur(var(--wl-blur));
  -webkit-backdrop-filter: blur(var(--wl-blur));
  transition: transform 240ms ease, filter 240ms ease, box-shadow 240ms ease,
    border-color 240ms ease;
}

.wl-instagram:hover {
  filter: brightness(1.06);
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.08), var(--wl-highlight-inset);
}

.wl-instagram:active {
  transform: scale(1.02);
  filter: brightness(1.02);
}

.wl-instagram-icon {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .wl-button,
  .wl-bar,
  .wl-inputShell,
  .wl-instagram {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .wl-center {
    padding-top: 92px;
    padding-bottom: 60px;
  }

  .wl-stack {
    gap: 18px;
  }

  .wl-bar {
    height: 64px;
  }

  .wl-inputShell {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .wl-logo {
    top: 16px;
    left: 16px;
  }

  .wl-logo-img {
    height: 32px;
  }

  .wl-center {
    padding: 84px 16px 48px;
  }

  .wl-stack {
    gap: 14px;
  }

  .wl-bar {
    height: 58px;
    border-radius: 24px;
    padding: 8px;
    gap: 10px;
  }

  .wl-inputShell {
    padding: 0 14px;
    font-size: 16px;
  }

  .wl-button {
    padding: 0 14px;
    border-radius: 999px;
    font-size: 15px;
  }

  .wl-bar::before {
    opacity: 0.45;
  }

  .wl-bar::after {
    opacity: 0.35;
  }

  .wl-instagram {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 520px) {
  .wl-bar {
    height: auto;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-radius: 22px;
  }

  .wl-inputShell,
  .wl-button {
    width: 100%;
    height: 56px;
  }
}

