/* Pooly — multi-page layer: page heroes, inner sections, mobile menu, footer, legal */

@view-transition {
  navigation: auto;
}

.site-header {
  view-transition-name: site-header;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
}

body.page {
  background: var(--lav);
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: pageIn 0.6s var(--ease) both;
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Mobile menu —— */
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(12, 12, 18, 0.06);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-burger span {
  position: relative;
}

.nav-burger span::before,
.nav-burger span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-burger span::before {
  top: -5px;
}

.nav-burger span::after {
  top: 5px;
}

body.menu-open .nav-burger span {
  background: transparent;
}

body.menu-open .nav-burger span::before {
  transform: translateY(5px) rotate(45deg);
}

body.menu-open .nav-burger span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: 96px 24px 32px;
  background:
    radial-gradient(70% 40% at 100% 0%, rgba(122, 92, 240, 0.22), transparent 70%),
    #f7f6fb;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

body.menu-open .site-header--stage {
  position: fixed;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border-color: transparent;
}

.mobile-menu__links {
  display: grid;
  gap: 4px;
}

.mobile-menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}

.mobile-menu__links a.is-active {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mobile-menu__links a::after {
  content: '→';
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(12, 12, 18, 0.3);
  -webkit-text-fill-color: rgba(12, 12, 18, 0.3);
}

.mobile-menu__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu__lang {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(12, 12, 18, 0.06);
}

.mobile-menu__lang button,
.ft-lang button {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
}

.mobile-menu__lang button.is-active {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 900px) {
  .nav-burger {
    display: grid;
  }
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}

/* —— Page hero —— */
.ph {
  position: relative;
  padding: clamp(128px, 17vh, 168px) 0 clamp(64px, 9vw, 110px);
  background:
    radial-gradient(50% 60% at 82% 30%, rgba(122, 92, 240, 0.2), transparent 70%),
    radial-gradient(40% 50% at 8% 0%, rgba(91, 77, 255, 0.1), transparent 70%),
    var(--lav);
  overflow: hidden;
  isolation: isolate;
}

.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(77, 62, 232, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 10%, transparent 70%);
}

.ph::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12, 12, 18, 0.1), transparent);
}

.ph__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.ph--center .ph__grid {
  grid-template-columns: 1fr;
  text-align: center;
}

.ph--center .ph__copy {
  max-width: 760px;
  margin-inline: auto;
}

.ph__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.ph__crumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.ph__crumb a:hover {
  text-decoration: none;
  background: #22222e;
}

.ph__title {
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.ph__title > span,
.ph__title > em {
  display: block;
}

.ph__lead {
  margin: 24px 0 0;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
}

.ph--center .ph__lead {
  margin-inline: auto;
}

.ph__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ph--center .ph__actions {
  justify-content: center;
}

.ph__visual {
  position: relative;
  height: clamp(340px, 38vw, 470px);
  perspective: 1400px;
}

.ph-obj {
  --mx: 0px;
  --my: 0px;
  --rx: 0deg;
  --ry: 0deg;
  --rot: 0deg;
  position: absolute;
  will-change: transform;
  transform: translate3d(var(--mx), var(--my), 0) rotate(var(--rot)) rotateX(var(--rx)) rotateY(var(--ry));
}

.ph-obj img {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .ph-obj {
    animation: heroObjIn 1s var(--ease) both;
  }

  .ph-obj:nth-child(2) {
    animation-delay: 0.15s;
  }

  .ph-obj:nth-child(3) {
    animation-delay: 0.3s;
  }
}

.ph-glow {
  position: absolute;
  inset: 12% 8% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107, 92, 255, 0.4), transparent);
  filter: blur(30px);
}

/* App hero: phone + card */
.ph-obj--phone {
  --rot: -6deg;
  width: 44%;
  left: 18%;
  top: 2%;
  filter: drop-shadow(0 34px 44px rgba(20, 12, 60, 0.35));
}

.ph-obj--card {
  --rot: 16deg;
  width: 52%;
  right: 0;
  bottom: 12%;
  filter: drop-shadow(0 22px 30px rgba(30, 14, 90, 0.35));
}

/* Features hero: balance card + feed + card */
.ph-obj--balance {
  --rot: -5deg;
  width: min(330px, 70%);
  left: 4%;
  top: 8%;
}

.ph-obj--balance .pl-balance {
  box-shadow: 0 34px 60px rgba(40, 24, 140, 0.4);
}

.ph-obj--mini {
  --rot: 4deg;
  width: min(300px, 62%);
  right: 0;
  bottom: 6%;
  padding: 16px 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(20, 16, 60, 0.14);
}

.ph-obj--mini .pl-feed {
  margin: 0;
}

.ph-obj--mini .pl-feed li {
  padding: 9px 0;
}

.ph-obj--mini .pl-feed i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.ph-obj--chip {
  --rot: 10deg;
  width: 36%;
  right: -2%;
  top: -6%;
  filter: drop-shadow(0 20px 26px rgba(30, 14, 90, 0.3));
}

/* Pricing hero: two plan badges + card */
.ph-obj--bigcard {
  --rot: -10deg;
  width: 78%;
  left: 10%;
  top: 16%;
  filter: drop-shadow(0 34px 44px rgba(30, 14, 90, 0.4));
}

.ph-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(20, 16, 60, 0.14);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.ph-pill b {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.ph-pill small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.ph-pill--dark {
  background: var(--night);
  border-color: transparent;
  color: #fff;
}

.ph-pill--dark small {
  color: #b7aaff;
}

.ph-pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
}

.ph-obj--pfree {
  left: 0;
  top: 4%;
  --rot: -4deg;
}

.ph-obj--ppremium {
  right: 0;
  bottom: 8%;
  --rot: 3deg;
}

/* —— Section wrappers —— */
.pl-sec {
  padding: clamp(80px, 11vw, 130px) 0;
}

.pl-sec--white {
  background: #fff;
}

.pl-sec--lav {
  background: var(--lav);
}

.pl-sec--tight-top {
  padding-top: clamp(40px, 6vw, 72px);
}

.pl-cta--lav {
  background: var(--lav);
}

.pl-cta--pad {
  padding-top: clamp(72px, 10vw, 120px);
}

.pl-features--page {
  padding-top: clamp(56px, 7vw, 88px);
}

.pl-steps--flush {
  padding-top: clamp(80px, 11vw, 130px);
}

/* —— Home: explore cards —— */
.pl-explore {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
}

.xcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 30px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.xcard:hover {
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(40, 30, 120, 0.14);
}

.xcard__num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.xcard h3 {
  margin: 12px 0 10px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.xcard p {
  margin: 0;
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.xcard__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.xcard__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  transition: transform 0.4s var(--ease);
}

.xcard:hover .xcard__arrow {
  transform: rotate(-45deg);
}

.xcard__visual {
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
  z-index: -1;
  pointer-events: none;
}

.xcard--app {
  background:
    radial-gradient(70% 55% at 60% 100%, rgba(91, 77, 255, 0.6), transparent 70%),
    var(--night);
  border-color: transparent;
  color: #fff;
}

.xcard--app .xcard__num,
.xcard--app p {
  color: rgba(255, 255, 255, 0.6);
}

.xcard--app .xcard__arrow {
  background: #fff;
  color: var(--ink);
}

.xcard--app .xcard__visual img {
  position: absolute;
  width: 46%;
  left: 50%;
  bottom: -50%;
  transform: translateX(-50%) rotate(-4deg);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s var(--ease);
}

.xcard--app:hover .xcard__visual img {
  transform: translateX(-50%) translateY(-14px) rotate(0deg);
}

.xcard--features .xcard__visual .pl-balance {
  position: absolute;
  width: 84%;
  left: 12%;
  bottom: -14%;
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease);
}

.xcard--features:hover .xcard__visual .pl-balance {
  transform: rotate(0deg) translateY(-10px);
}

.xcard--pricing {
  background: linear-gradient(160deg, #ffffff 0%, #ece9ff 100%);
}

.xcard--pricing .xcard__visual img {
  position: absolute;
  width: 78%;
  right: -20%;
  bottom: 8%;
  transform: rotate(-14deg);
  filter: drop-shadow(0 26px 34px rgba(30, 14, 90, 0.35));
  transition: transform 0.6s var(--ease);
}

.xcard--pricing:hover .xcard__visual img {
  transform: rotate(-6deg) translateY(-12px);
}

.xcard__price {
  position: absolute;
  left: 30px;
  bottom: 30px;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}

.xcard__price small {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

/* —— App: inside rows + mocks —— */
.pl-rows {
  display: grid;
  gap: clamp(64px, 9vw, 120px);
}

.pl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.pl-row:nth-child(even) .pl-row__visual {
  order: -1;
}

.pl-row__copy h3 {
  margin: 16px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.pl-row__copy > p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.pl-checks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pl-checks li {
  position: relative;
  padding-left: 32px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.pl-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(77, 62, 232, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2 7.6 11.8 13 6.4' fill='none' stroke='%234d3ee8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.pl-row__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 34px;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(122, 92, 240, 0.18), transparent 70%),
    #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.pl-row__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(77, 62, 232, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}

.mock {
  position: relative;
  width: min(360px, 100%);
}

.mock-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mock-actions > span {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(20, 16, 60, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.mock-actions i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--lav);
  color: var(--purple);
  font-style: normal;
}

.mock-actions > span:first-child i {
  background: var(--ink);
  color: #fff;
}

.mock-panel {
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(20, 16, 60, 0.12);
}

.mock-panel__title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mock-amount {
  padding: 18px;
  border-radius: 18px;
  background: var(--lav);
}

.mock-amount small {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.mock-amount strong {
  display: block;
  margin-top: 4px;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.mock-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 14px 0;
  padding: 4px;
  border-radius: 14px;
  background: var(--lav);
}

.mock-seg span {
  padding: 9px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.mock-seg span.is-on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(20, 16, 60, 0.08);
}

.mock-lines {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.86rem;
}

.mock-lines div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.mock-lines div b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.mock-lines div:last-child {
  padding-top: 8px;
  border-top: 1px dashed rgba(12, 12, 18, 0.14);
}

.mock-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(77, 62, 232, 0.08);
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
}

.mock-pay {
  display: block;
  padding: 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.mock-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.mock-filters span {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--lav);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.mock-filters span.is-on {
  background: var(--ink);
  color: #fff;
}

.mock-float {
  position: absolute;
  right: -14%;
  top: -12%;
  width: 46%;
  transform: rotate(14deg);
  filter: drop-shadow(0 18px 24px rgba(30, 14, 90, 0.3));
}

/* —— Security band —— */
.pl-secure {
  position: relative;
  padding: clamp(80px, 11vw, 130px) 0;
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(91, 77, 255, 0.35), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(122, 92, 240, 0.25), transparent 70%),
    var(--night);
  color: #fff;
  overflow: hidden;
}

.pl-secure .pl-title {
  color: #fff;
}

.pl-secure .pl-accent {
  background: linear-gradient(100deg, #b7aaff 0%, #8f7dff 50%, #6b5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.pl-secure__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pl-secure__item {
  padding: 26px 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}

.pl-secure__item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(183, 170, 255, 0.35);
  transform: translateY(-4px);
}

.pl-secure__item h3 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.pl-secure__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

/* Shared icon badge */
.pl-ico {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(77, 62, 232, 0.1);
  color: var(--purple);
}

.pl-ico svg {
  width: 22px;
  height: 22px;
}

.pl-ico--dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #b7aaff;
}

/* —— Features: before / after —— */
.pl-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pl-vs__col {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 30px;
  overflow: hidden;
}

.pl-vs__col h3 {
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pl-vs__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pl-vs__col li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 0.98rem;
  font-weight: 600;
}

.pl-vs__col li i {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 800;
}

.pl-vs__foot {
  margin: 24px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.pl-vs__col--before {
  background: #e9e8ef;
  color: #55556a;
}

.pl-vs__col--before li {
  background: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
  text-decoration-color: rgba(85, 85, 106, 0.35);
}

.pl-vs__col--before li:nth-child(odd) {
  transform: rotate(-1deg);
}

.pl-vs__col--before li:nth-child(even) {
  transform: rotate(0.8deg) translateX(8px);
}

.pl-vs__col--before li i {
  background: rgba(200, 16, 46, 0.1);
  color: #c8102e;
}

.pl-vs__col--before .pl-vs__foot {
  color: #8a8a9c;
}

.pl-vs__col--after {
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(91, 77, 255, 0.55), transparent 70%),
    var(--night);
  color: #fff;
}

.pl-vs__col--after li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pl-vs__col--after li i {
  background: rgba(183, 170, 255, 0.2);
  color: #d4ccff;
}

.pl-vs__col--after .pl-vs__foot {
  color: #b7aaff;
}

/* —— Features: use cases —— */
.pl-uc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pl-uc__item {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pl-uc__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(40, 30, 120, 0.1);
}

.pl-uc__item h3 {
  margin: 22px 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pl-uc__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

/* —— Pricing: compare table —— */
.pl-compare {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.pl-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pl-compare th,
.pl-compare td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.pl-compare tr:last-child td {
  border-bottom: none;
}

.pl-compare thead th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--lav);
}

.pl-compare th:nth-child(n + 2),
.pl-compare td:nth-child(n + 2) {
  width: 26%;
  text-align: center;
}

.pl-compare thead th:last-child {
  background: var(--night);
  color: #fff;
}

.pl-compare td:last-child {
  background: rgba(77, 62, 232, 0.04);
  font-weight: 700;
  color: var(--ink);
}

.pl-compare td {
  color: var(--text);
}

.pl-compare .is-yes,
.pl-compare .is-no,
.pl-compare .is-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pl-compare .is-yes {
  color: var(--purple);
}

.pl-compare .is-yes::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(77, 62, 232, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2 7.6 11.8 13 6.4' fill='none' stroke='%234d3ee8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.pl-compare .is-no {
  color: rgba(12, 12, 18, 0.3);
}

.pl-compare .is-soon {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 12, 18, 0.05);
  color: var(--muted);
}

.pl-compare .is-small {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.pl-compare tr.is-hl td:last-child {
  color: var(--purple);
}

/* —— FAQ —— */
.pl-faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.pl-faq details {
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}

.pl-faq details[open] {
  border-color: rgba(77, 62, 232, 0.25);
  box-shadow: 0 20px 50px rgba(40, 30, 120, 0.08);
}

.pl-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.pl-faq summary::-webkit-details-marker {
  display: none;
}

.pl-faq summary::after {
  content: '';
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lav) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%230c0c12' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.2s;
}

.pl-faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(77, 62, 232, 0.12);
}

.pl-faq details p {
  margin: 0;
  padding: 0 26px 24px;
  max-width: 680px;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--muted);
}

/* —— Pricing fees card —— */
.pl-feecard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 22px 26px;
  border-radius: 24px;
  background: var(--lav);
  border: 1px solid var(--line);
}

.pl-feecard p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

.pl-feecard p + p {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.pl-feecard strong {
  font-weight: 700;
}

/* —— Contact —— */
.pl-channels {
  display: grid;
  gap: 12px;
}

.pl-channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}

.pl-channel:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(77, 62, 232, 0.25);
  box-shadow: 0 22px 50px rgba(40, 30, 120, 0.1);
}

.pl-channel h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 800;
}

.pl-channel p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.pl-channel b {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--purple);
}

.pl-channel__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lav);
  transition: transform 0.35s var(--ease), background 0.2s, color 0.2s;
}

.pl-channel:hover .pl-channel__arrow {
  transform: rotate(-45deg);
  background: var(--ink);
  color: #fff;
}

.pl-channel--info {
  grid-template-columns: auto 1fr;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(91, 77, 255, 0.5), transparent 70%),
    var(--night);
  border-color: transparent;
  color: #fff;
}

.pl-channel--info:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.pl-channel--info p {
  color: rgba(255, 255, 255, 0.6);
}

.pl-contact--page {
  padding-top: clamp(56px, 7vw, 88px);
}

/* —— Footer —— */
.ft {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 28px;
  background:
    radial-gradient(50% 40% at 85% 0%, rgba(91, 77, 255, 0.28), transparent 70%),
    var(--night);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.ft a {
  color: inherit;
  text-decoration: none;
}

.ft__top {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  gap: clamp(40px, 6vw, 96px);
}

.ft__logo img {
  display: block;
  height: 34px;
  width: auto;
  filter: invert(1);
}

.ft__tagline {
  margin: 28px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.ft__tagline span,
.ft__tagline em {
  display: block;
}

.ft__tagline em {
  background: linear-gradient(100deg, #b7aaff 0%, #8f7dff 50%, #6b5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ft__lead {
  margin: 18px 0 0;
  max-width: 400px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.ft__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ft .pl-btn--light {
  color: var(--ink);
}

.ft .pl-btn--outline {
  color: #fff;
}

.ft__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ft__cols h3 {
  margin: 6px 0 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.ft__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ft__cols a {
  position: relative;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.ft__cols a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.ft__cols a:hover {
  color: #fff;
}

.ft__cols a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ft__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(40px, 5vw, 64px);
}

.ft__badges > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.ft__badges svg {
  width: 15px;
  height: 15px;
  color: #b7aaff;
}

.ft__giant {
  margin: clamp(36px, 5vw, 56px) 0 0;
  aspect-ratio: 674 / 258;
  width: 100%;
  background: linear-gradient(180deg, rgba(183, 170, 255, 0.28) 0%, rgba(107, 92, 255, 0.04) 85%);
  -webkit-mask: url('assets/pooly-wordmark-header.png') center / contain no-repeat;
  mask: url('assets/pooly-wordmark-header.png') center / contain no-repeat;
  pointer-events: none;
}

.ft__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.ft__bottom p {
  margin: 0;
}

.ft__bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ft-lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.ft-lang button {
  padding: 6px 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.ft-lang button.is-active {
  background: #fff;
  color: var(--ink);
}

.ft__admin {
  color: rgba(255, 255, 255, 0.4) !important;
}

.ft__admin:hover,
.ft__top-link:hover {
  color: #fff !important;
}

.ft__top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* —— Legal —— */
.lg-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 30px;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.lg-tabs a {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.lg-tabs a:hover {
  text-decoration: none;
  color: var(--ink);
}

.lg-tabs a.is-active {
  background: var(--ink);
  color: #fff;
}

.lg-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

.lg-updated::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.lg-body {
  padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 10vw, 120px);
  background: var(--lav);
}

.lg-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.lg-toc {
  position: sticky;
  top: 100px;
}

.lg-toc h2 {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lg-toc ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
}

.lg-toc a {
  position: relative;
  display: block;
  padding: 7px 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.lg-toc a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}

.lg-toc a:hover {
  color: var(--ink);
  text-decoration: none;
}

.lg-toc a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.lg-toc a.is-active::before {
  transform: scaleY(1);
}

.lg-doc {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(20, 16, 40, 0.05);
  counter-reset: lg;
}

.lg-doc > div > p:first-child {
  margin-top: 0;
}

.lg-doc h2 {
  counter-increment: lg;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 44px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  scroll-margin-top: 100px;
}

.lg-doc h2::before {
  content: counter(lg, decimal-leading-zero);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lg-doc > div > h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.lg-doc > div > p.lg-intro + h2 {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.lg-doc h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.lg-doc p,
.lg-doc li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #3a3a4c;
}

.lg-doc ul {
  margin: 12px 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.lg-doc ul li {
  position: relative;
  padding-left: 22px;
}

.lg-doc ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.55;
}

.lg-doc strong {
  color: var(--ink);
}

.lg-intro {
  font-size: 1.05rem !important;
  color: var(--text) !important;
}

.lg-card {
  margin: 16px 0;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--lav);
  border: 1px solid var(--line);
}

.lg-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  font-size: 0.93rem;
}

.lg-card dt {
  font-weight: 600;
  color: var(--muted);
}

.lg-card dd {
  margin: 0;
  color: var(--ink);
}

.lg-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding: 24px 26px;
  border-radius: 24px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(91, 77, 255, 0.5), transparent 70%),
    var(--night);
  color: #fff;
}

.lg-help h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.lg-help p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* —— Responsive —— */
@media (max-width: 1000px) {
  .pl-explore {
    grid-template-columns: 1fr 1fr;
  }

  .xcard--app {
    grid-column: span 2;
    min-height: 420px;
  }

  .xcard--app .xcard__visual img {
    width: 30%;
    left: auto;
    right: 6%;
    bottom: -40%;
    transform: rotate(-6deg);
  }

  .xcard--app:hover .xcard__visual img {
    transform: translateY(-14px) rotate(0deg);
  }

  .xcard--app .xcard__visual {
    height: 100%;
  }

  .pl-secure__grid,
  .pl-uc {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 900px) {
  .ph__grid {
    grid-template-columns: 1fr;
  }

  .ph__visual {
    height: 360px;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .pl-row {
    grid-template-columns: 1fr;
  }

  .pl-row:nth-child(even) .pl-row__visual {
    order: 0;
  }

  .pl-row__visual {
    min-height: 360px;
  }

  .pl-vs {
    grid-template-columns: 1fr;
  }

  .lg-layout {
    grid-template-columns: 1fr;
  }

  .lg-toc {
    position: static;
    padding: 18px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .pl-explore,
  .pl-secure__grid,
  .pl-uc {
    grid-template-columns: 1fr;
  }

  .xcard--app {
    grid-column: auto;
    min-height: 480px;
  }

  .xcard--app .xcard__visual {
    height: 56%;
  }

  .xcard--app .xcard__visual img {
    width: 48%;
    left: 50%;
    right: auto;
    bottom: -58%;
    transform: translateX(-50%) rotate(-4deg);
  }

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

  .ft__cols > div:first-child {
    grid-column: span 2;
  }

  .pl-compare th,
  .pl-compare td {
    padding: 14px 12px;
    font-size: 0.85rem;
  }

  .pl-compare .is-yes::before {
    display: none;
  }

  .pl-feecard {
    grid-template-columns: 1fr;
  }

  .pl-channel {
    grid-template-columns: auto 1fr;
  }

  .pl-channel__arrow {
    display: none;
  }

  .lg-card dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .lg-card dd {
    margin-bottom: 10px;
  }

  .lg-tabs {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lg-tabs a {
    flex: none;
    padding: 9px 14px;
    font-size: 0.85rem;
  }
}
