/* Qyx.ai sign-up (compact card) */
.qyx-signup,
.qyx-signup *,
.qyx-signup *::before,
.qyx-signup *::after {
  box-sizing: border-box;
}

.qyx-signup {
  --qyx-bg: #f3f3f1;
  --qyx-surface: #fff;
  --qyx-ink: #12131c;
  --qyx-muted: #4b5063;
  --qyx-subtle: #737889;
  --qyx-placeholder: #9296a6;
  --qyx-line: #dcdde3;
  --qyx-line-soft: #e8e8ec;
  --qyx-accent: #6047f7;
  --qyx-accent-hover: #5238ea;
  --qyx-ok: #129144;
  --qyx-danger: #c8322b;
  --qyx-cta: #84f09a;
  --qyx-cta-hover: #6fe688;
  --qyx-cta-ink: #0f2a17;
  --qyx-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --qyx-radius: 0.625rem;
  --qyx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: var(--qyx-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--qyx-ink);
  background: var(--qyx-bg);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.qyx-signup :where(h1, h2, p, ul, figure, blockquote, fieldset, legend) {
  margin: 0;
  padding: 0;
}

.qyx-signup :where(ul) {
  list-style: none;
}

.qyx-signup :where(fieldset) {
  min-width: 0;
  border: 0;
}

.qyx-signup :where(svg) {
  display: block;
  flex-shrink: 0;
}

.qyx-signup [hidden] {
  display: none !important;
}

.qyx-signup a:focus-visible,
.qyx-signup button:focus-visible {
  outline: 3px solid var(--qyx-accent);
  outline-offset: 3px;
}

/* Backdrop: brand glow on top */
.qyx-signup__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.qyx-signup__backdrop::before {
  content: "";
  position: absolute;
  top: -8.5rem;
  left: 50%;
  width: min(50rem, 130vw);
  height: 10rem;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f0abfc 0%, #a855f7 30%, #6d4dff 50%, #60a5fa 72%, #a7f3d0 100%);
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.55;
}


/* Logo in the card */
.qyx-signup__card > .qyx-signup__brand {
  justify-self: center;
  margin-bottom: 1.125rem;
}
.qyx-signup__top {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.25rem 0;
}

.qyx-signup__brand {
  display: inline-block;
  border-radius: 0.375rem;
}

.qyx-signup__brand img {
  display: block;
  width: auto;
  height: 1.625rem;
}

.qyx-signup__note {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--qyx-subtle);
  text-align: center;
}

/* Layout */
.qyx-signup__main {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 37rem;
  margin-inline: auto;
  padding: clamp(2rem, 9vh, 5.5rem) 1rem 3rem;
  text-align: center;
}

.qyx-signup__title {
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Monthly allowance tiles */
.qyx-signup__stats {
  width: 100%;
  margin-top: 1.125rem;
}

.qyx-signup__stats-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--qyx-subtle);
}

.qyx-signup__stats ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.qyx-signup__stats li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  text-align: left;
  background: var(--qyx-surface);
  border: 1px solid rgb(18 19 28 / 0.06);
  border-radius: 0.75rem;
}

.qyx-signup__stat-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--qyx-cta-ink);
  background: var(--qyx-cta);
  border-radius: 0.625rem;
}

.qyx-signup__stat-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.qyx-signup__stats strong {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--qyx-ink);
  font-variant-numeric: tabular-nums;
}

.qyx-signup__stat-label {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--qyx-muted);
}

@media (max-width: 30em) {
  .qyx-signup__stats ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

.qyx-signup__card {
  display: grid;
  width: 100%;
  margin-top: 1.25rem;
  padding: clamp(1.125rem, 4vw, 1.25rem);
  text-align: left;
  background: var(--qyx-surface);
  border-radius: 0.875rem;
  box-shadow: 0 1px 2px rgb(18 19 28 / 0.04), 0 12px 32px -18px rgb(18 19 28 / 0.18);
}

/* Google */
.qyx-signup__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--qyx-ink);
  text-decoration: none;
  background: var(--qyx-surface);
  border: 1px solid var(--qyx-line);
  border-radius: var(--qyx-radius);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.qyx-signup__google:hover {
  background: #fafafb;
  border-color: #c7c9d3;
}

.qyx-signup__google svg {
  width: 1.125rem;
  height: 1.125rem;
}

.qyx-signup__or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.125rem 0 0;
  font-size: 0.8125rem;
  color: var(--qyx-subtle);
}

.qyx-signup__or::before,
.qyx-signup__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--qyx-line-soft);
}

/* Form */
.qyx-signup__form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.125rem;
  text-align: left;
}

.qyx-signup__card > .qyx-signup__form:first-child {
  margin-top: 0;
}

.qyx-signup__more {
  display: grid;
  gap: 0.75rem;
}


.qyx-signup__field {
  display: grid;
  align-content: start;
  gap: 0.375rem;
}

.qyx-signup__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--qyx-ink);
}

.qyx-signup__control {
  position: relative;
}

.qyx-signup__input {
  display: block;
  width: 100%;
  height: 3rem;
  margin: 0;
  padding: 0 0.9375rem;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--qyx-ink);
  background: var(--qyx-surface);
  border: 1px solid var(--qyx-line);
  border-radius: var(--qyx-radius);
  outline: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qyx-signup__input::placeholder {
  color: var(--qyx-placeholder);
  opacity: 1;
}

.qyx-signup__input:hover {
  border-color: #c7c9d3;
}

.qyx-signup__input:focus-visible {
  border-color: var(--qyx-accent);
  box-shadow: 0 0 0 4px rgb(96 71 247 / 0.14);
}

.qyx-signup__input[aria-invalid="true"] {
  border-color: var(--qyx-danger);
}

.qyx-signup__input--password {
  padding-right: 3.25rem;
}

.qyx-signup__toggle {
  position: absolute;
  inset: 0.3125rem 0.3125rem 0.3125rem auto;
  display: grid;
  place-items: center;
  width: 2.5rem;
  padding: 0;
  color: var(--qyx-subtle);
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
}

.qyx-signup__toggle:hover {
  color: var(--qyx-ink);
  background: #f2f2f5;
}

.qyx-signup__toggle svg {
  width: 1.125rem;
  height: 1.125rem;
}

.qyx-signup__toggle[aria-pressed="true"] .qyx-signup__eye-open,
.qyx-signup__toggle[aria-pressed="false"] .qyx-signup__eye-closed {
  display: none;
}

.qyx-signup__error {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--qyx-danger);
}

/* Email typo suggestion */
.qyx-signup__suggest {
  font-size: 0.8125rem;
  color: var(--qyx-muted);
}

.qyx-signup__suggest button {
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--qyx-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Password strength */
.qyx-signup__strength {
  display: grid;
  gap: 0.375rem;
}

.qyx-signup__strength-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
}

.qyx-signup__strength-bar i {
  height: 0.25rem;
  background: var(--qyx-line-soft);
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.qyx-signup__strength-label {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--qyx-subtle);
}

.qyx-signup__strength[data-level="0"] i:nth-child(-n + 1),
.qyx-signup__strength[data-level="1"] i:nth-child(-n + 1) {
  background: var(--qyx-danger);
}

.qyx-signup__strength[data-level="2"] i:nth-child(-n + 2) {
  background: #d9a21b;
}

.qyx-signup__strength[data-level="3"] i:nth-child(-n + 3),
.qyx-signup__strength[data-level="4"] i {
  background: var(--qyx-ok);
}

.qyx-signup__strength[data-level="3"] .qyx-signup__strength-label,
.qyx-signup__strength[data-level="4"] .qyx-signup__strength-label {
  color: var(--qyx-ok);
}

.qyx-signup__strength[data-level="0"] .qyx-signup__strength-label,
.qyx-signup__strength[data-level="1"] .qyx-signup__strength-label {
  color: var(--qyx-danger);
}

/* Honeypot: off-screen for people, still in the form for bots */
.qyx-signup__hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.qyx-signup__captcha {
  display: block;
  min-height: 78px;
}

.qyx-signup__alert {
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #8a1f1a;
  background: #fdf1f0;
  border: 1px solid #f5cdca;
  border-radius: var(--qyx-radius);
}

.qyx-signup__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  padding: 0 1.25rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--qyx-cta-ink);
  background: var(--qyx-cta);
  border: 0;
  border-radius: var(--qyx-radius);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.35) inset, 0 10px 22px -14px rgb(22 120 52 / 0.55);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.qyx-signup__submit:hover {
  background: var(--qyx-cta-hover);
}

.qyx-signup__submit:active {
  transform: translateY(1px);
}

.qyx-signup__submit svg {
  width: 1rem;
  height: 1rem;
}

.qyx-signup__arrow {
  transition: transform 0.2s var(--qyx-ease);
}

.qyx-signup__submit:hover .qyx-signup__arrow {
  transform: translateX(3px);
}

.qyx-signup__spinner {
  display: none !important;
}

.qyx-signup__submit[aria-busy="true"] {
  cursor: progress;
  filter: saturate(0.8);
}

.qyx-signup__submit[aria-busy="true"] .qyx-signup__arrow {
  display: none;
}

.qyx-signup__submit[aria-busy="true"] .qyx-signup__spinner {
  display: block !important;
  animation: qyx-spin 0.8s linear infinite;
}


/* Price summary inside the card */
.qyx-signup__summary {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  margin-top: 0.875rem;
  padding: 0.875rem 1rem 1rem;
  text-align: center;
  background: #fbfbfa;
  border: 1px solid var(--qyx-line-soft);
  border-radius: var(--qyx-radius);
}

.qyx-signup__price {
  font-size: 0.875rem;
  color: var(--qyx-muted);
}

.qyx-signup__price strong {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--qyx-ink);
}

.qyx-signup__price-note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--qyx-subtle);
}

.qyx-signup__price-note strong {
  font-size: 0.8125rem;
  color: var(--qyx-ink);
}

.qyx-signup__secure {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--qyx-muted);
  border-top: 1px solid var(--qyx-line-soft);
}

.qyx-signup__secure svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--qyx-ok);
}

.qyx-signup__methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.qyx-signup__method {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 1.75rem;
  padding: 0.25rem 0.375rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qyx-line);
  border-radius: 0.3125rem;
}

.qyx-signup__method img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.qyx-signup__method--paypal img,
.qyx-signup__method--klarna img {
  max-height: 0.9375rem;
}

.qyx-signup__method--amex {
  padding: 0.125rem;
  background: #1f72cd;
  border-color: #1f72cd;
}

.qyx-signup__method--klarna {
  background: #ffb3c7;
  border-color: #ffb3c7;
}

.qyx-signup__paused {
  font-size: 0.9375rem;
  color: var(--qyx-muted);
  text-align: center;
}

/* Checks under the card */
.qyx-signup__checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.125rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--qyx-muted);
}

.qyx-signup__checks li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.qyx-signup__checks svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--qyx-ok);
}

/* Below */
.qyx-signup__legal {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--qyx-muted);
}

.qyx-signup__legal a,
.qyx-signup__eu {
  color: var(--qyx-muted);
}

.qyx-signup__legal a {
  text-underline-offset: 2px;
}

.qyx-signup__eu {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
}

.qyx-signup__signin {
  margin-top: 1.125rem;
  font-size: 0.875rem;
  color: var(--qyx-muted);
}

.qyx-signup__signin a {
  font-weight: 600;
  color: var(--qyx-accent);
  text-underline-offset: 3px;
}

.qyx-signup__signin a:hover {
  color: var(--qyx-accent-hover);
}

/* Founder note (layout adapted from Preline UI blockquote, MIT) */
.qyx-signup__quote {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  padding: 1.75rem 1.5rem 1.375rem 2.25rem;
  overflow: hidden;
  text-align: left;
  background: var(--qyx-surface);
  border: 1px solid rgb(18 19 28 / 0.07);
  border-radius: 1rem;
}

.qyx-signup__quote-mark {
  position: absolute;
  top: 0.5rem;
  left: 0.75rem;
  width: 4rem;
  height: 4rem;
  color: var(--qyx-cta);
  opacity: 0.45;
  pointer-events: none;
}

.qyx-signup__quote blockquote {
  position: relative;
  z-index: 1;
}

.qyx-signup__quote blockquote p {
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--qyx-ink);
  text-wrap: pretty;
}

.qyx-signup__quote figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.qyx-signup__quote figcaption strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--qyx-ink);
}

.qyx-signup__quote figcaption strong + span {
  display: block;
  font-size: 0.75rem;
  color: var(--qyx-subtle);
}

.qyx-signup__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  font-weight: 700;
  color: var(--qyx-cta-ink);
  background: var(--qyx-cta);
  border-radius: 50%;
}

.qyx-signup__sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 48em) {
  .qyx-signup__top {
    padding: 1.5rem 2rem 0;
  }
}

@keyframes qyx-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes qyx-spin {
  to {
    transform: rotate(360deg);
  }
}

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