:root {
  --bg: #f6f0ff;
  --bg-soft: #fcf9ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --stroke: rgba(131, 95, 214, 0.14);
  --stroke-strong: rgba(131, 95, 214, 0.24);
  --text-main: #241536;
  --text-soft: #6d5f7e;
  --primary: #9b73ff;
  --primary-strong: #8457ff;
  --primary-soft: #e7dbff;
  --accent: #f4a5ff;
  --success: #54d5b0;
  --shadow-xl: 0 28px 90px rgba(100, 59, 177, 0.18);
  --shadow-lg: 0 20px 46px rgba(109, 67, 184, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(223, 205, 255, 0.84), transparent 34%),
    radial-gradient(circle at top right, rgba(244, 165, 255, 0.4), transparent 28%),
    linear-gradient(180deg, #fffcff 0%, #f6f0ff 50%, #f4ecff 100%);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  gap: 16px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.68), transparent 36%),
    linear-gradient(180deg, rgba(252, 248, 255, 0.98), rgba(244, 236, 255, 0.98));
  transition:
    opacity 480ms ease,
    visibility 480ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-bubbles {
  position: relative;
  width: 140px;
  height: 140px;
}

.bubble {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(132, 87, 255, 0.95), rgba(241, 159, 255, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 20px 42px rgba(133, 88, 221, 0.2);
  animation: bubbleFloat 1.9s ease-in-out infinite;
}

.bubble::after {
  content: "";
  position: absolute;
  inset: 14% auto auto 18%;
  width: 26%;
  height: 26%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(1px);
}

.bubble-1 {
  width: 52px;
  height: 52px;
  top: 12px;
  left: 18px;
}

.bubble-2 {
  width: 34px;
  height: 34px;
  top: 10px;
  right: 22px;
  animation-delay: -0.4s;
}

.bubble-3 {
  width: 62px;
  height: 62px;
  right: 18px;
  bottom: 26px;
  animation-delay: -0.8s;
}

.bubble-4 {
  width: 28px;
  height: 28px;
  bottom: 20px;
  left: 28px;
  animation-delay: -1.2s;
}

.bubble-5 {
  width: 20px;
  height: 20px;
  top: 56px;
  left: 56px;
  animation-delay: -1.5s;
}

.preloader-text {
  margin: 0;
  color: #5c4a78;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(102, 65, 176, 0.08) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.5) 0.7px, transparent 0.7px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
}

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.66;
  pointer-events: none;
}

.ambient-left {
  top: 44px;
  left: -100px;
  width: 260px;
  height: 260px;
  background: rgba(182, 147, 255, 0.5);
}

.ambient-right {
  top: 160px;
  right: -90px;
  width: 230px;
  height: 230px;
  background: rgba(244, 165, 255, 0.28);
}

.ambient-bottom {
  bottom: 40px;
  left: 50%;
  width: 320px;
  height: 160px;
  transform: translateX(-50%);
  background: rgba(155, 115, 255, 0.2);
}

.landing {
  width: min(calc(100% - 24px), 460px);
  margin: 0 auto;
  padding: 16px 0 calc(148px + env(safe-area-inset-bottom));
}

.hero {
  display: grid;
  gap: 20px;
}

.hero-copy,
.hero-visual,
.mini-steps {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(145, 107, 220, 0.14);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(120, 79, 198, 0.08);
}

.pill-solid {
  color: #ffffff;
  background: linear-gradient(135deg, #9b73ff 0%, #c389ff 100%);
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 13vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  max-width: 6ch;
}

.lead {
  margin: 14px 0 0;
  font-size: clamp(1.18rem, 5vw, 1.55rem);
  line-height: 1.1;
  font-weight: 800;
  color: #392151;
  max-width: 16ch;
}

.support {
  margin: 12px 0 0;
  max-width: 30ch;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(133, 94, 212, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.45);
  color: #4e3b71;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(112, 73, 188, 0.08);
}

.hero-actions {
  margin-top: 18px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 14px 22px;
  border-radius: 22px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, var(--primary-strong) 0%, #b37cff 58%, #f19fff 100%);
  box-shadow:
    0 24px 58px rgba(128, 86, 220, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 28px 66px rgba(128, 86, 220, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: saturate(1.06);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(132, 87, 255, 0.22);
  outline-offset: 4px;
}

.cta-icon {
  width: 22px;
  height: 22px;
}

.cta-icon svg,
.input-shell button svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.micro-note {
  margin-top: 12px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-visual {
  padding-top: 18px;
  padding-bottom: 28px;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 237, 255, 0.82)),
    linear-gradient(135deg, rgba(155, 115, 255, 0.18), rgba(244, 165, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow:
    0 34px 88px rgba(96, 57, 169, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.phone-glare {
  position: absolute;
  inset: -28% auto auto -10%;
  width: 180px;
  height: 320px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  transform: rotate(24deg);
  filter: blur(8px);
  pointer-events: none;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 34px rgba(115, 73, 194, 0.08);
}

.phone-camera {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7345d2, #d6c2ff);
  box-shadow: 0 0 16px rgba(115, 69, 210, 0.34);
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, #8757ff 0%, #f19fff 100%);
  box-shadow: 0 12px 24px rgba(131, 87, 214, 0.24);
}

.profile p,
.profile span {
  margin: 0;
}

.profile p {
  font-size: 0.95rem;
  font-weight: 800;
}

.profile span {
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding: 6px 2px 2px;
}

.message {
  max-width: 84%;
  padding: 14px 16px;
  border-radius: 20px;
  line-height: 1.45;
  font-size: 0.95rem;
  box-shadow: 0 14px 28px rgba(106, 70, 176, 0.08);
  animation: floatMessage 7s ease-in-out infinite;
}

.message:nth-child(2) {
  animation-delay: -1s;
}

.message:nth-child(3) {
  animation-delay: -2s;
}

.message:nth-child(4) {
  animation-delay: -3s;
}

.message:nth-child(5) {
  animation-delay: -4s;
}

.incoming {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(145, 107, 220, 0.1);
}

.outgoing {
  align-self: flex-end;
  color: #ffffff;
  background: linear-gradient(135deg, #976dfb 0%, #c08bff 100%);
}

.accent {
  background: linear-gradient(135deg, #8757ff 0%, #f19fff 100%);
}

.reward-card {
  display: grid;
  gap: 4px;
  max-width: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.5), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 230, 255, 0.82));
  border: 1px solid rgba(145, 107, 220, 0.12);
}

.reward-label {
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8f62ff 0%, #d68dff 100%);
}

.reward-card strong {
  font-size: 1rem;
}

.reward-card small {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.phone-footer {
  margin-top: 12px;
}

.input-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.input-shell span {
  color: #8b7c9f;
  font-size: 0.92rem;
}

.input-shell button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #8757ff 0%, #c081ff 100%);
  box-shadow: 0 16px 28px rgba(125, 82, 216, 0.26);
}

.floating-badge,
.floating-panel {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #4b356f;
  font-size: 0.82rem;
  font-weight: 800;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8757ff, #f19fff);
  box-shadow: 0 0 18px rgba(135, 87, 255, 0.4);
}

.badge-top {
  top: 0;
  left: 10px;
  animation: drift 7s ease-in-out infinite;
}

.badge-middle {
  top: 126px;
  right: 8px;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  animation: drift 8s ease-in-out infinite -2s;
}

.badge-middle span {
  color: var(--text-soft);
  font-weight: 700;
}

.badge-bottom {
  left: 12px;
  right: 12px;
  bottom: -12px;
  padding: 14px 16px;
  border-radius: 20px;
  animation: drift 9s ease-in-out infinite -3s;
}

.mini-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #8757ff 0%, #d985ff 100%);
}

.floating-panel strong {
  display: block;
  line-height: 1.35;
  font-size: 0.92rem;
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.step-card {
  padding: 16px 12px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.48);
  text-align: center;
  box-shadow: 0 18px 42px rgba(118, 80, 196, 0.08);
}

.step-card strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #8757ff 0%, #cf8cff 100%);
}

.step-card span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 800;
  color: #4b3966;
}

.compliance-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(134, 98, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.46);
  box-shadow: 0 18px 42px rgba(116, 79, 194, 0.08);
}

.compliance-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: center;
}

.legal-footer {
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(134, 98, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.48);
  box-shadow: 0 20px 48px rgba(109, 71, 184, 0.08);
}

.legal-copy strong {
  display: block;
  font-size: 0.95rem;
}

.legal-copy p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.legal-links a,
.legal-home {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(133, 94, 212, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.42);
  color: #4e3b71;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(112, 73, 188, 0.08);
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(calc(100% - 16px), 468px);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 54px rgba(87, 51, 155, 0.18);
}

.sticky-copy {
  min-width: 0;
  flex: 1;
  padding-left: 6px;
}

.sticky-copy strong,
.sticky-copy span {
  display: block;
}

.sticky-copy strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.sticky-copy span {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.25;
}

.sticky-button {
  width: auto;
  min-width: 176px;
  min-height: 54px;
  border-radius: 18px;
  box-shadow:
    0 18px 42px rgba(128, 86, 220, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.legal-page {
  overflow-x: hidden;
}

.legal-main {
  width: min(calc(100% - 24px), 860px);
  margin: 0 auto;
  padding: 18px 0 34px;
}

.legal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.legal-brand {
  color: #4e3b71;
  font-size: 0.9rem;
  font-weight: 800;
}

.legal-card {
  padding: 22px 18px;
  border-radius: 26px;
  border: 1px solid rgba(134, 98, 214, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 58px rgba(107, 70, 181, 0.1);
}

.legal-card h1 {
  max-width: none;
  font-size: clamp(2.1rem, 9vw, 3.4rem);
}

.legal-updated {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.legal-intro {
  margin-top: 14px;
  color: #4f3e69;
  line-height: 1.65;
}

.legal-sections {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.legal-section {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(134, 98, 214, 0.1);
  background: rgba(255, 255, 255, 0.52);
}

.legal-section h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.legal-section p,
.legal-section li {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-section p {
  margin: 0;
}

.legal-section ul {
  margin: 0;
  padding-left: 18px;
}

body.legal-page .sticky-cta {
  display: none;
}

body.legal-page .landing {
  display: none;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes floatMessage {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes bubbleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.06);
  }
}

@media (max-width: 390px) {
  .landing {
    width: min(calc(100% - 18px), 460px);
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 3.5rem);
  }

  .badge-middle {
    top: 138px;
  }

  .mini-steps {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    gap: 8px;
  }

  .sticky-copy {
    display: none;
  }

  .sticky-button {
    width: 100%;
    min-width: 0;
  }

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

@media (min-width: 700px) {
  .landing {
    width: min(calc(100% - 28px), 980px);
    padding-top: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
  }

  .hero-copy {
    padding-right: 10px;
  }

  .hero-visual {
    padding-top: 36px;
  }

  .phone-frame {
    max-width: 430px;
    margin-left: auto;
  }

  .badge-top {
    left: auto;
    right: 236px;
  }

  .badge-middle {
    right: 0;
    top: 154px;
  }

  .badge-bottom {
    right: 84px;
    left: auto;
    bottom: 16px;
    width: 220px;
  }

  .mini-steps {
    max-width: 760px;
    margin: 26px auto 0;
  }

  .sticky-cta {
    width: min(calc(100% - 24px), 520px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
