/*
 * Members-only welcome page. Standalone: the theme's styles are dequeued on
 * this page, so everything it needs is here. Palette and type follow the
 * storefront (woo-proxy-shell.css, app/globals.css).
 */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
}

body.pp-site-gate {
  --ppag-ink: #161419;
  --ppag-muted: #6d6479;
  --ppag-faint: #a79db3;
  --ppag-primary: #5c2b8e;
  --ppag-primary-deep: #451f6b;
  --ppag-primary-soft: #f3eef9;
  --ppag-lilac: #cdb6ef;
  --ppag-border: #e7dfef;
  --ppag-border-strong: #d8cee7;
  --ppag-bg: #fcfbfd;
  --ppag-danger: #9d221c;
  --ppag-danger-soft: #fbecea;
  --ppag-success: #21634a;
  --ppag-success-soft: #eaf6f0;
  --ppag-font: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ppag-ease: cubic-bezier(0.22, 0.8, 0.2, 1);

  margin: 0;
  min-height: 100vh;
  background: var(--ppag-bg);
  color: var(--ppag-ink);
  font-family: var(--ppag-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.pp-site-gate *,
body.pp-site-gate *::before,
body.pp-site-gate *::after {
  box-sizing: border-box;
}

.ppag {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.ppag a {
  color: inherit;
}

.ppag svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ */
/* Brand panel                                                         */
/* ------------------------------------------------------------------ */

.ppag-brand {
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: clamp(28px, 3.6vw, 52px) clamp(28px, 4.5vw, 64px);
  color: #fff;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(118, 62, 182, 0.55), transparent 62%),
    radial-gradient(90% 60% at 100% 100%, rgba(64, 38, 128, 0.7), transparent 60%),
    linear-gradient(160deg, #1b0e2e 0%, #24113f 46%, #331759 100%);
}

.ppag-brand__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ppag-brand__glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  animation: ppag-drift 22s var(--ppag-ease) infinite alternate;
}

.ppag-brand__glow span:nth-child(1) {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: #8b52d1;
}

.ppag-brand__glow span:nth-child(2) {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -100px;
  background: #4c6fd8;
  opacity: 0.32;
  animation-duration: 28s;
  animation-delay: -6s;
}

.ppag-brand__glow span:nth-child(3) {
  width: 260px;
  height: 260px;
  top: 42%;
  left: 46%;
  background: #c08ae8;
  opacity: 0.22;
  animation-duration: 34s;
  animation-delay: -12s;
}

.ppag .ppag-brand__lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  stroke: rgba(205, 182, 239, 0.16);
  stroke-width: 1;
  pointer-events: none;
}

.ppag .ppag-brand__lines path {
  vector-effect: non-scaling-stroke;
}

.ppag-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ppag-logo__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55);
}

.ppag-logo__mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.ppag-logo__words {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ppag-logo__name {
  font-size: 1.6rem;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ppag-logo__name em {
  font-style: normal;
  color: var(--ppag-lilac);
}

.ppag-logo__tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ppag-brand__body {
  max-width: 560px;
  margin-block: auto;
  animation: ppag-rise 0.8s var(--ppag-ease) both;
}

.ppag-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ppag-lilac);
}

body.pp-site-gate .ppag-title {
  margin: 0;
  max-width: 15ch;
  color: #fff;
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.ppag-lede {
  margin: 22px 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
}

.ppag-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 34px 0 0;
  padding: 18px 20px;
  max-width: 520px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ppag-proof__badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  flex: none;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(140deg, #b98ced 0%, #7a3fc0 55%, #5c2b8e 100%);
  box-shadow: 0 12px 26px -12px rgba(185, 140, 237, 0.9);
}

.ppag-proof blockquote {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 520;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.ppag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ppag-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 520;
  color: rgba(255, 255, 255, 0.86);
}

.ppag-chips svg {
  width: 17px;
  height: 17px;
  color: var(--ppag-lilac);
}

.ppag-brand__foot {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.ppag-ruo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 560;
  color: rgba(255, 255, 255, 0.85);
}

.ppag-ruo svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ppag-lilac);
}

.ppag-support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
}

.ppag-support a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 560;
}

.ppag-support a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ppag-dot {
  opacity: 0.45;
}

/* ------------------------------------------------------------------ */
/* Sign-in panel                                                       */
/* ------------------------------------------------------------------ */

.ppag-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: clamp(24px, 4vw, 56px);
  background:
    radial-gradient(circle at 12% 0%, rgba(92, 43, 142, 0.07), transparent 28rem),
    radial-gradient(circle at 100% 85%, rgba(118, 166, 213, 0.1), transparent 26rem),
    var(--ppag-bg);
}

.ppag-card {
  width: min(100%, 468px);
  padding: 26px 30px 24px;
  border: 1px solid var(--ppag-border);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 36px 80px -36px rgba(52, 29, 82, 0.38),
    0 2px 6px rgba(52, 29, 82, 0.05);
  animation: ppag-rise 0.7s 0.08s var(--ppag-ease) both;
}

.ppag-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--ppag-primary-soft);
}

body.pp-site-gate .ppag-tabs button {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 42px;
  min-height: 0;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  text-transform: none;
  color: var(--ppag-muted);
  font: 600 14px/1 var(--ppag-font);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.25s ease;
}

body.pp-site-gate .ppag-tabs button:hover {
  background: transparent;
  color: var(--ppag-ink);
}

body.pp-site-gate .ppag-tabs button[aria-selected="true"] {
  color: var(--ppag-ink);
}

body.pp-site-gate .ppag-tabs button:focus-visible {
  outline: 2px solid var(--ppag-primary);
  outline-offset: 2px;
}

.ppag-tabs__thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: 42px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(52, 29, 82, 0.45), 0 1px 2px rgba(52, 29, 82, 0.08);
  transition: transform 0.38s var(--ppag-ease);
}

.ppag[data-ppag-tab="login"] .ppag-tabs__thumb {
  transform: translateX(100%);
}

.ppag-pane[hidden] {
  display: none;
}

.ppag-pane:not([hidden]) {
  animation: ppag-fade 0.35s var(--ppag-ease) both;
}

.ppag-pane__title {
  margin: 0;
  font-size: 1.62rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ppag-ink);
}

.ppag-pane__lede {
  margin: 6px 0 22px;
  font-size: 15px;
  color: var(--ppag-muted);
}

.ppag-form {
  display: grid;
  gap: 16px;
  margin: 0;
}

.ppag-form p {
  margin: 0;
}

.ppag-field,
.ppag-form .form-row {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.ppag-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ppag-ink);
}

.ppag-form .required {
  color: var(--ppag-primary);
  text-decoration: none;
}

.ppag-form input[type="text"],
.ppag-form input[type="email"],
.ppag-form input[type="password"],
.ppag-form input[type="tel"],
.ppag-form select,
.ppag-form textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--ppag-border-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ppag-ink);
  font: 400 16px/1.3 var(--ppag-font);
  box-shadow: 0 1px 2px rgba(52, 29, 82, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.ppag-form textarea {
  padding-top: 12px;
  min-height: 96px;
}

.ppag-form select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236d6479' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 8 4.5 4.5L14.5 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.ppag-form input::placeholder {
  color: var(--ppag-faint);
}

.ppag-form input:focus,
.ppag-form select:focus,
.ppag-form textarea:focus {
  outline: none;
  border-color: var(--ppag-primary);
  box-shadow: 0 0 0 4px rgba(92, 43, 142, 0.14);
}

/* WooCommerce wraps password inputs and adds a show/hide button. */
.ppag-form .password-input {
  position: relative;
  display: block;
}

.ppag-form .password-input input {
  padding-right: 52px;
}

.ppag-form .show-password-input {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6479' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.ppag-form .show-password-input.display-password {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c2b8e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18M10.6 5.6A9.7 9.7 0 0 1 12 5.5C18 5.5 21.5 12 21.5 12a17 17 0 0 1-3 3.8M6.6 6.6A17 17 0 0 0 2.5 12S6 18.5 12 18.5a9.5 9.5 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}

.ppag-form .show-password-input:hover {
  background-color: var(--ppag-primary-soft);
}

.ppag-form .show-password-input::after {
  content: none;
}

.woocommerce-password-strength {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
  background: var(--ppag-danger-soft);
  color: var(--ppag-danger);
}

.woocommerce-password-strength.good {
  background: var(--ppag-primary-soft);
  color: var(--ppag-primary);
}

.woocommerce-password-strength.strong {
  background: var(--ppag-success-soft);
  color: var(--ppag-success);
}

.woocommerce-password-hint {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ppag-muted);
}

.ppag-hint,
.ppag-form .woocommerce-privacy-policy-text,
.ppag-form .woocommerce-privacy-policy-text p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ppag-muted);
}

.ppag-form .woocommerce-privacy-policy-text a,
.ppag-confirm a,
.ppag-attest a {
  color: var(--ppag-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* Research profile fields (pp-research-profile, added through woocommerce_register_form). */
.ppag-form .pp-rp-group {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--ppag-border);
  border-radius: 18px;
  background: #faf8fd;
}

.ppag-form .pp-rp-group__title {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--ppag-ink);
}

.ppag-form .pp-rp-group__note {
  margin: -10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ppag-muted);
}

.ppag-form .pp-rp-hint {
  font-size: 12.5px;
  color: var(--ppag-muted);
}

/* 21+ and Terms confirmation (sign-up). */
.ppag-confirm {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--ppag-border);
  border-radius: 16px;
  background: #faf8fd;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ppag-confirm:hover {
  border-color: var(--ppag-border-strong);
}

.ppag-confirm input {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
}

.ppag-confirm__box {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--ppag-border-strong);
  border-radius: 7px;
  background: #fff center / 14px no-repeat;
  transition: all 0.2s ease;
}

.ppag-confirm input:checked + .ppag-confirm__box {
  border-color: var(--ppag-primary);
  background-color: var(--ppag-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E");
}

.ppag-confirm input:focus-visible + .ppag-confirm__box {
  box-shadow: 0 0 0 4px rgba(92, 43, 142, 0.18);
}

.ppag-confirm:has(input:checked) {
  border-color: rgba(92, 43, 142, 0.35);
  background: var(--ppag-primary-soft);
}

.ppag-confirm__text {
  font-size: 14px;
  font-weight: 520;
  line-height: 1.45;
  color: var(--ppag-ink);
}

.ppag-attest {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ppag-muted);
}

/* Keep me signed in / Forgot password. */
.ppag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ppag-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 520 !important;
  color: var(--ppag-ink);
}

.ppag-remember input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.ppag-toggle {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--ppag-border-strong);
  transition: background-color 0.25s ease;
}

.ppag-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(22, 20, 25, 0.25);
  transition: transform 0.25s var(--ppag-ease);
}

.ppag-remember input:checked + .ppag-toggle {
  background: var(--ppag-primary);
}

.ppag-remember input:checked + .ppag-toggle::after {
  transform: translateX(16px);
}

.ppag-remember input:focus-visible + .ppag-toggle {
  box-shadow: 0 0 0 4px rgba(92, 43, 142, 0.18);
}

.ppag .ppag-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ppag-primary);
  font: 600 14px/1.4 var(--ppag-font);
  text-decoration: none;
  cursor: pointer;
}

.ppag .ppag-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Primary action. */
.ppag-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  margin: 2px 0 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7038ab 0%, #5c2b8e 50%, #45206c 100%);
  color: #fff;
  font: 650 15px/1 var(--ppag-font);
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 16px 30px -14px rgba(92, 43, 142, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s var(--ppag-ease), box-shadow 0.2s ease, filter 0.2s ease;
}

.ppag-submit svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: transform 0.25s var(--ppag-ease);
}

.ppag-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 20px 36px -14px rgba(92, 43, 142, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ppag-submit:hover svg {
  transform: translateX(3px);
}

.ppag-submit:focus-visible {
  outline: 3px solid rgba(92, 43, 142, 0.35);
  outline-offset: 3px;
}

.ppag-submit:disabled,
.ppag-submit.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  filter: none;
}

.ppag-form.is-submitting .ppag-submit {
  pointer-events: none;
}

.ppag-form.is-submitting .ppag-submit svg {
  display: none;
}

.ppag-form.is-submitting .ppag-submit::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ppag-spin 0.8s linear infinite;
}

.ppag-switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ppag-muted);
}

.ppag-legal {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--ppag-border);
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ppag-muted);
}

.ppag-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  font-size: 13px;
}

.ppag-links a {
  color: var(--ppag-muted);
  text-decoration: none;
  font-weight: 520;
}

.ppag-links a:hover {
  color: var(--ppag-primary);
}

.ppag-mobile-support {
  display: none;
}

/* WooCommerce notices (errors from the forms). */
.ppag-notices:empty {
  display: none;
}

.ppag-notices .woocommerce-notices-wrapper:empty {
  display: none;
}

.ppag-notices :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
  margin: 0 0 18px;
  padding: 12px 14px 12px 16px;
  list-style: none;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.ppag-notices .woocommerce-error {
  border-color: rgba(157, 34, 28, 0.18);
  background: var(--ppag-danger-soft);
  color: var(--ppag-danger);
}

.ppag-notices :is(.woocommerce-message, .woocommerce-info) {
  border-color: var(--ppag-border);
  background: var(--ppag-primary-soft);
  color: var(--ppag-primary-deep);
}

.ppag-notices :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) li {
  margin: 0;
}

/* WooCommerce focuses the error so screen readers announce it. */
.ppag-notices :is(.woocommerce-error, .woocommerce-message, .woocommerce-info):focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(157, 34, 28, 0.1);
}

.ppag-notices a {
  color: inherit;
  font-weight: 600;
}

/* Turnstile and other widgets added through WooCommerce form hooks. */
.ppag-form .cf-turnstile,
.ppag-form .sct-turnstile {
  min-height: 65px;
}

/* ------------------------------------------------------------------ */
/* Small screens: brand header on top, card overlapping it.            */
/* ------------------------------------------------------------------ */

@media (max-width: 960px) {
  .ppag {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ppag-brand {
    position: relative;
    height: auto;
    gap: 22px;
    padding: 20px 22px 80px;
  }

  .ppag-logo__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .ppag-logo__mark img {
    width: 26px;
    height: 26px;
  }

  .ppag-logo__name {
    font-size: 1.35rem;
  }

  .ppag-kicker {
    display: none;
  }

  .ppag-title {
    font-size: clamp(1.9rem, 7.4vw, 2.6rem);
    max-width: 17ch;
  }

  .ppag-lede {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .ppag-chips {
    margin-top: 14px;
  }

  .ppag-proof {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .ppag-proof__badge {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 1.1rem;
  }

  .ppag-proof blockquote {
    font-size: 0.95rem;
  }

  .ppag-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -22px;
    padding-right: 22px;
    scrollbar-width: none;
  }

  .ppag-chips::-webkit-scrollbar {
    display: none;
  }

  .ppag-chips li {
    white-space: nowrap;
  }

  .ppag-brand__foot {
    display: none;
  }

  .ppag-panel {
    justify-content: flex-start;
    margin-top: -60px;
    padding: 0 14px 34px;
    background: transparent;
  }

  .ppag-card {
    padding: 20px 20px 20px;
    border-radius: 26px;
  }

  .ppag-mobile-support {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    font-size: 13px;
    color: var(--ppag-muted);
  }

  .ppag-mobile-support p {
    margin: 0;
  }

  .ppag-mobile-support a {
    color: var(--ppag-primary);
    font-weight: 600;
    text-decoration: none;
  }
}

@keyframes ppag-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

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

@keyframes ppag-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-40px, 30px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(30px, -20px, 0) scale(0.96);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .ppag *,
  .ppag *::before,
  .ppag *::after {
    animation: none !important;
    transition: none !important;
  }
}
