/* The plans page (/planos, /en/planos, /es/planos). Cards, modules and the comparison are drawn by
   js/plans.js from the Synapse API at runtime: nothing here holds a price. Builds on the sales landing
   kit (css/sales-landing.css) for the tokens, buttons and FAQ, under `.pl` beside `.sl`.
   Motion follows the site rule: css/evolution.css switches every animation and transition off under
   prefers-reduced-motion, and the rules below never hide content behind one. */

@property --pl-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.pl {
  --pl-r: 22px;
  --pl-sticky: 72px;
  --pl-shadow: 0 1px 2px rgba(4, 3, 33, 0.04), 0 22px 44px -34px rgba(4, 3, 33, 0.38);
  --pl-shadow-up: 0 2px 4px rgba(4, 3, 33, 0.05), 0 32px 60px -30px rgba(4, 3, 33, 0.42);
  --tone-cyan: #e3f5fb;
  --tone-cyan-ink: #046c8e;
  --tone-orange: #fff0e3;
  --tone-orange-ink: #b4570f;
  --tone-violet: #efedff;
  --tone-violet-ink: #5a4bd1;
  --tone-green: #e4f6ee;
  --tone-green-ink: #0f7a4f;
}

.pl-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;
}

.pl-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* ---------- hero ---------- */

.pl-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 60px) clamp(28px, 3.5vw, 40px);
}

.pl-hero .sl-orbs {
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}

.pl-hero-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.pl-h1 {
  max-width: 16em;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.pl-hero .sl-lead {
  max-width: 40em;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  text-wrap: balance;
}

.pl-assure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.92rem;
}

.pl-assure li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pl-assure svg {
  color: var(--green);
}

.pl-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

/* A choice between two: native radios drawn as one switch, with a sliding thumb. */
.pl-switch {
  position: relative;
  display: inline-grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 10px 26px -18px rgba(4, 3, 33, 0.4);
}

.pl-switch[hidden] {
  display: none;
}

.pl-switch::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 8px 18px -8px rgba(4, 3, 33, 0.6);
  transition: translate 0.32s var(--ease-out);
}

.pl-switch:has(label:last-of-type input:checked)::before {
  translate: 100% 0;
}

.pl-switch label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--text);
  font: 700 0.95rem/1 var(--body);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease;
}

.pl-switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pl-switch label:has(input:checked) {
  color: #fff;
}

.pl-switch label:has(input:focus-visible) {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- the cards ---------- */

.pl-list {
  padding-block: 12px clamp(56px, 7vw, 88px);
}

.pl-view[hidden] {
  display: none;
}

/* Rows line up across the cards (subgrid): head, price, people and credits, extra people, button,
   modules, what is different. */
.pl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 22px;
}

.pl-grid.is-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1060px;
  margin-inline: auto;
}

.pl-grid.is-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
}

.pl-grid.is-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.pl-card {
  position: relative;
  display: grid;
  grid-row: span 7;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: 24px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--pl-r);
  background: var(--paper);
  box-shadow: var(--pl-shadow);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s ease;
}

.pl-card > * {
  min-width: 0;
}

.pl-card:hover,
.pl-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow-up);
}

.pl-card.is-raised {
  z-index: 30;
}

.pl-view.is-entering .pl-card {
  animation: pl-up 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 85ms + 40ms);
}

.pl-view.is-entering .pl-solo-side {
  animation: pl-up 0.7s var(--ease-out) 0.15s both;
}

@keyframes pl-up {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}

/* The recommended plan: a ring of the brand colours turning slowly, and a glow that breathes. */
.pl-card.is-highlighted {
  border-color: transparent;
  box-shadow: 0 2px 4px rgba(4, 3, 33, 0.04), 0 30px 64px -32px rgba(0, 178, 233, 0.55);
}

.pl-card.is-highlighted::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--pl-angle), var(--cyan), var(--violet), var(--orange), #ffd2ad, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: pl-turn 9s linear infinite;
  pointer-events: none;
}

.pl-view.is-entering .pl-card.is-highlighted {
  animation: pl-up 0.7s var(--ease-out) both, pl-breathe 7s ease-in-out 0.8s infinite alternate;
  animation-delay: calc(var(--i, 0) * 85ms + 40ms), 0.8s;
}

.pl-card.is-highlighted:not(.pl-view.is-entering *) {
  animation: pl-breathe 7s ease-in-out infinite alternate;
}

@keyframes pl-turn {
  to {
    --pl-angle: 360deg;
  }
}

@keyframes pl-breathe {
  0% {
    box-shadow: 0 2px 4px rgba(4, 3, 33, 0.04), 0 30px 64px -32px rgba(0, 178, 233, 0.6);
  }

  50% {
    box-shadow: 0 2px 4px rgba(4, 3, 33, 0.04), 0 30px 64px -30px rgba(124, 107, 240, 0.6);
  }

  100% {
    box-shadow: 0 2px 4px rgba(4, 3, 33, 0.04), 0 30px 64px -32px rgba(246, 139, 53, 0.55);
  }
}

/* head */
.pl-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pl-name {
  margin: 0;
  color: var(--ink);
  font: 700 1.5rem/1.1 var(--display);
  letter-spacing: -0.02em;
}

.pl-badge {
  flex: none;
  padding: 5px 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), #ffb070);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.1;
}

.pl-desc {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* price: the one loud element */
.pl-price {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  container-type: inline-size;
}

.pl-price-vis {
  display: grid;
  align-content: start;
  gap: 4px;
}

.pl-was {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  height: 24px;
  margin: 0;
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1;
}

.pl-was.is-empty {
  visibility: hidden;
}

/* a card alone has nothing to line up with */
.pl-grid.is-count-1 .pl-was.is-empty {
  display: none;
}

.pl-off {
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--green-tint);
  color: #0d6b45;
  font-size: 0.76rem;
  font-weight: 800;
}

.pl-until {
  font-size: 0.8rem;
}

.pl-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 5px;
  min-height: 2.6rem;
  color: var(--ink);
}

.pl-num {
  display: inline-block;
  font: 700 clamp(1.7rem, 14.5cqi, 2.35rem)/1.1 var(--display);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.pl-num.is-text {
  font-size: clamp(1.5rem, 12cqi, 1.95rem);
}

.pl-per {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.pl-note {
  margin: 2px 0 0;
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.45;
}

.pl-note.is-warn {
  color: #a8540f;
  font-weight: 600;
}

.is-swap {
  animation: pl-swap 0.42s var(--ease-out) both;
}

@keyframes pl-swap {
  from {
    opacity: 0;
    translate: 0 0.45em;
    filter: blur(3px);
  }
}

.pl-card.is-pending .pl-num,
.pl-card.is-pending .pl-big {
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

/* people and credits: two equal tiles, same baseline in every card */
.pl-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.pl-tile {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 3px;
  padding: 11px 9px 10px 11px;
  border-radius: 14px;
  background: var(--cream);
  container-type: inline-size;
}

.pl-big-box {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 2rem;
  color: var(--cyan-deep);
}

.pl-big-box svg {
  flex: none;
}

.pl-big {
  display: inline-block;
  color: var(--ink);
  font: 700 clamp(1.2rem, 16cqi, 1.55rem)/1.1 var(--display);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.pl-big.is-text {
  font-size: clamp(0.78rem, 9.2cqi, 1.05rem);
  letter-spacing: -0.015em;
}

.pl-tile-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 22px;
  color: var(--text-2);
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
}

.pl-info {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: -2px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--cyan-deep);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}

.pl-info:hover,
.pl-info[aria-expanded="true"] {
  background: var(--cyan-tint);
  transform: scale(1.08);
}

/* popovers: what credits are, a plan's modules */
.pl-pop {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  width: min(270px, 78vw);
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: left;
  animation: pl-pop-in 0.22s var(--ease-out) both;
}

.pl-pop[hidden] {
  display: none;
}

.pl-pop p {
  margin: 0;
}

.pl-pop.is-dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 44px -20px rgba(4, 3, 33, 0.65);
}

.pl-pop.is-dark::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: var(--ink);
  rotate: 45deg;
}

@keyframes pl-pop-in {
  from {
    opacity: 0;
    translate: 0 -6px;
    scale: 0.97;
  }
}

/* extra people */
.pl-more {
  margin-top: 12px;
  container-type: inline-size;
}

@container (max-width: 240px) {
  .pl-step {
    padding-left: 10px;
  }

  .pl-step label {
    font-size: 0.8rem;
  }

  .pl-stepper button {
    width: 28px;
  }

  .pl-stepper input {
    width: 2em;
  }
}

.pl-more:empty {
  margin-top: 0;
}

.pl-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
}

.pl-step label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.pl-stepper {
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
  background: var(--cream);
}

.pl-stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: 600 1.15rem/1 var(--body);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

.pl-stepper button:hover:not(:disabled) {
  background: var(--paper);
  box-shadow: 0 4px 10px -6px rgba(4, 3, 33, 0.35);
}

.pl-stepper button:active:not(:disabled) {
  transform: scale(0.86);
}

.pl-stepper button:disabled {
  color: rgba(4, 3, 33, 0.25);
  cursor: default;
}

.pl-stepper input {
  width: 2.6em;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 1rem/1 var(--body);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.pl-stepper input::-webkit-outer-spin-button,
.pl-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.pl-stepper input.is-bump {
  animation: pl-bump 0.3s var(--ease-out);
}

@keyframes pl-bump {
  40% {
    scale: 1.22;
    color: var(--cyan-deep);
  }
}

.pl-step-help {
  margin: 6px 2px 0;
  color: var(--text-2);
  font-size: 0.76rem;
  line-height: 1.4;
}

.pl-more-note {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin: 0;
  padding: 0 12px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.35;
}

.pl-more-note svg {
  flex: none;
  color: var(--text-2);
}

.pl-more-note.is-rollout {
  border-style: solid;
  border-color: transparent;
  background: var(--tone-green);
  color: var(--tone-green-ink);
  font-weight: 600;
}

.pl-more-note.is-rollout svg {
  color: var(--tone-green-ink);
}

/* the one button */
.pl-action {
  display: grid;
  align-content: start;
  gap: 8px;
  margin-top: 16px;
}

.pl-action .sl-btn {
  width: 100%;
  min-height: 50px;
  padding-inline: 14px;
  white-space: normal;
  text-align: center;
}

.pl-card.is-highlighted .pl-action .sl-btn.is-primary {
  background: linear-gradient(90deg, var(--orange), #ffa65e);
  color: var(--ink);
  box-shadow: 0 16px 34px -14px rgba(246, 139, 53, 0.75);
}

.pl-trial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: var(--text-2);
  font-size: 0.8rem;
  text-align: center;
}

.pl-trial svg {
  color: var(--green);
}

/* the modules a plan opens */
.pl-mods {
  position: relative;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pl-mods-btn {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.pl-stack {
  display: flex;
  align-items: center;
  height: 34px;
}

.pl-mi {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: -7px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--tone-cyan);
  color: var(--tone-cyan-ink);
  transition: translate 0.25s var(--ease-out);
}

.pl-mi:first-child {
  margin-left: 0;
}

.pl-mi.is-orange {
  background: var(--tone-orange);
  color: var(--tone-orange-ink);
}

.pl-mi.is-violet {
  background: var(--tone-violet);
  color: var(--tone-violet-ink);
}

.pl-mi.is-green {
  background: var(--tone-green);
  color: var(--tone-green-ink);
}

.pl-mi.is-more {
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

/* what a plan adds to the base: its category's colour and a ring of it */
.pl-stack-plus {
  margin: 0 5px 0 6px;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 800;
}

.pl-stack-plus + .pl-mi {
  margin-left: 0;
}

.pl-mi.is-extra {
  background: var(--violet);
  color: #fff;
}

.pl-mi.is-extra.is-exclusive {
  background: var(--orange);
}

.pl-mi.is-extra.is-mixed {
  background: linear-gradient(135deg, var(--violet), var(--orange));
}

.pl-mods-btn:hover .pl-mi,
.pl-mods-btn:focus-visible .pl-mi,
.pl-mods-btn[aria-expanded="true"] .pl-mi {
  translate: 0 -3px;
  transition-delay: calc(var(--j, 0) * 35ms);
}

/* the name of a module, over its icon */
.pl-stack .pl-mi[data-name]::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  translate: -50% 4px;
  transition: opacity 0.16s ease, translate 0.16s ease;
  pointer-events: none;
}

.pl-stack .pl-mi[data-name]:hover::after {
  opacity: 1;
  translate: -50% 0;
}

.pl-mods-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pl-mods-text svg {
  flex: none;
  color: var(--text-2);
  transition: rotate 0.25s var(--ease), color 0.2s ease;
}

.pl-mods-btn:hover .pl-mods-text svg {
  color: var(--cyan-deep);
}

.pl-mods-btn[aria-expanded="true"] .pl-mods-text svg {
  rotate: 180deg;
  color: var(--cyan-deep);
}

.pl-mods-label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.pl-mods-btn:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 10px;
}

.pl-mods-static {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.pl-pop.is-mods {
  top: calc(100% + 10px);
  left: -8px;
  right: auto;
  width: min(300px, 86vw);
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 26px 56px -24px rgba(4, 3, 33, 0.45);
}

.pl-pop-h {
  margin: 10px 0 6px !important;
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pl-pop-h:first-child {
  margin-top: 0 !important;
}

.pl-pop-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pl-pop-n {
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--cream);
  color: var(--ink);
  letter-spacing: 0;
}

.pl-pop-h.is-early_access {
  color: var(--tone-violet-ink);
}

.pl-pop-h.is-early_access .pl-pop-n {
  background: var(--tone-violet);
  color: var(--tone-violet-ink);
}

.pl-pop-h.is-exclusive {
  color: var(--tone-orange-ink);
}

.pl-pop-h.is-exclusive .pl-pop-n {
  background: var(--tone-orange);
  color: var(--tone-orange-ink);
}

.pl-pop-h.is-custom {
  color: var(--tone-cyan-ink);
}

.pl-pop-line {
  margin: 0;
  color: var(--text);
  font-size: 0.8rem;
}

.pl-pop.is-mods ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-pop.is-mods li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.pl-pop.is-mods .pl-mi {
  width: 24px;
  height: 24px;
  margin: 0;
  border: 0;
}



/* only what is different about this plan */
.pl-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.pl-tags:empty {
  margin-top: 0;
}

.pl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.pl-tag svg {
  flex: none;
}


.pl-tag.is-early_access {
  background: var(--tone-violet);
  color: var(--tone-violet-ink);
}

.pl-tag.is-exclusive {
  background: var(--tone-orange);
  color: var(--tone-orange-ink);
}

.pl-tag.is-custom {
  background: var(--tone-cyan);
  color: var(--tone-cyan-ink);
}

.pl-tag.is-rollout {
  background: var(--tone-green);
  color: var(--tone-green-ink);
}

.pl-tag.is-benefit,
.pl-tag.is-areas {
  background: var(--cream);
  color: var(--ink);
}

.pl-tag.is-areas svg {
  color: var(--cyan-deep);
}

/* a plan limited by work areas: how many to pick, then the areas as chips */
.pl-areas {
  margin-top: 14px;
  container-type: inline-size;
}

.pl-areas-h {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.pl-areas-plus {
  color: var(--text-2);
  font-weight: 800;
}

.pl-areas-h .pl-info {
  margin-left: auto;
}

.pl-areas-h .pl-pop {
  font-weight: 400;
}

.pl-areas-h .pl-pop.is-dark::before {
  right: 5px;
}

.pl-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-chip-li {
  position: relative;
}

.pl-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 32px;
  padding: 3px 8px 3px 3px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.pl-chip .pl-mi {
  width: 24px;
  height: 24px;
  margin: 0;
  border: 0;
}

.pl-chip-name {
  min-width: 0;
}

/* four cards in a row on a narrower screen: the longest area name still fits its half */
@container (max-width: 256px) {
  .pl-chip {
    gap: 5px;
    padding-right: 6px;
    font-size: 0.72rem;
  }

  .pl-chip .pl-mi {
    width: 20px;
    height: 20px;
  }

  .pl-chip .pl-mi svg {
    width: 12px;
    height: 12px;
  }
}

.pl-chip:hover,
.pl-chip-li.is-open .pl-chip {
  border-color: rgba(4, 3, 33, 0.24);
  background: var(--cream);
}

.pl-chip:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* what an area opens, over its chip; the right column opens leftwards so it stays on the card */
.pl-tip.is-chip {
  bottom: calc(100% + 6px);
  left: 0;
  display: grid;
  gap: 6px;
  max-width: 230px;
}

.pl-chip-li:nth-child(even) > .pl-tip.is-chip {
  left: auto;
  right: 0;
}

.pl-tip-row {
  display: grid;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.35;
}

.pl-tip-row b {
  color: #fff;
}

.pl-chip:hover + .pl-tip,
.pl-chip:focus-visible + .pl-tip,
.pl-chip-li.is-open > .pl-tip {
  opacity: 1;
  visibility: visible;
  translate: none;
}

.pl-extras > .pl-tags:empty {
  display: none;
}

/* the personal plan beside what it includes */
.pl-solo {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.pl-solo-side {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--pl-r);
  background: var(--paper);
  box-shadow: var(--pl-shadow);
}

.pl-solo-h {
  margin: 0 0 18px;
  color: var(--ink);
  font: 700 1.3rem/1.2 var(--display);
  letter-spacing: -0.02em;
}

.pl-solo-mods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-solo-mods li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pl-solo-mods b {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.pl-solo-mods li > span:last-child span {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.45;
}

.pl-solo-sub {
  margin: 24px 0 10px;
  color: var(--text-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pl-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-limits li {
  padding: 6px 11px;
  border-radius: 99px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.pl-solo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

/* module icon in a round tile, by group */
.pl-micon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tone-cyan);
  color: var(--tone-cyan-ink);
}

.pl-micon.is-orange {
  background: var(--tone-orange);
  color: var(--tone-orange-ink);
}

.pl-micon.is-violet {
  background: var(--tone-violet);
  color: var(--tone-violet-ink);
}

.pl-micon.is-green {
  background: var(--tone-green);
  color: var(--tone-green-ink);
}

/* ---------- loading, failure, no script ---------- */

.pl-card.is-skeleton {
  display: grid;
  grid-row: auto;
  grid-template-rows: none;
  align-content: start;
  gap: 14px;
  min-height: 520px;
  box-shadow: none;
}

.pl-card.is-skeleton:hover {
  transform: none;
}

.pl-bone {
  display: block;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eceef2 0%, #f6f7f9 50%, #eceef2 100%);
  background-size: 200% 100%;
  animation: pl-shimmer 1.4s ease-in-out infinite;
}

.pl-bone.is-title {
  width: 55%;
  height: 26px;
}

.pl-bone.is-price {
  width: 70%;
  height: 40px;
  margin-top: 18px;
}

.pl-bone.is-short {
  width: 40%;
}

.pl-bone.is-tiles {
  height: 92px;
  border-radius: 14px;
}

.pl-bone.is-button {
  height: 50px;
  margin-top: 6px;
  border-radius: 12px;
}

@keyframes pl-shimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

.pl-error,
.pl-noscript {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--pl-r);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

.pl-error[hidden] {
  display: none;
}

.pl-error p {
  margin: 0;
}

.pl-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px !important;
}

.pl-noscript a,
.pl-foot a {
  color: var(--cyan-deep);
  font-weight: 600;
  text-decoration: underline;
}

.pl-foot {
  margin: 26px 0 0;
  color: var(--text-2);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- section heads ---------- */

.pl-sec-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.pl-sec-head .sl-h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.pl-sec-head .sl-lead {
  text-wrap: balance;
}

.pl-nowrap {
  white-space: nowrap;
}

.pl-eyebrow {
  color: var(--cyan-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- what comes in the plans ---------- */

.pl-modules {
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--cream) 340px);
}

.pl-modules[hidden],
.pl-cats-wrap[hidden] {
  display: none;
}

/* four job cards, each a dense list of its modules */
.pl-jobs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pl-job {
  padding: 16px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--pl-shadow);
}

.pl-job-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 4px 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.pl-job-head .pl-micon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.pl-job-head h3 {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font: 700 1.08rem/1.2 var(--display);
  letter-spacing: -0.01em;
}

.pl-job-n {
  flex: none;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--cream);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 700;
}

/* one module per row: icon, name and tagline; the full sentence on hover, focus or tap */
.pl-mrows {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-mrow-li {
  position: relative;
}

.pl-mrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 5px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.pl-mrow:hover,
.pl-mrow-li.is-open .pl-mrow {
  background: var(--cream);
}

.pl-mrow .pl-mi {
  width: 26px;
  height: 26px;
  margin: 0;
  border: 0;
}

.pl-mrow-text {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.35;
}

.pl-mrow-text b {
  margin-right: 6px;
  color: var(--ink);
  font-weight: 700;
}

.pl-tip {
  position: absolute;
  bottom: calc(100% - 2px);
  left: 44px;
  z-index: 20;
  width: max-content;
  max-width: min(320px, calc(100% - 44px));
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: 0 16px 34px -16px rgba(4, 3, 33, 0.6);
  opacity: 0;
  visibility: hidden;
  translate: 0 4px;
  transition: opacity 0.15s ease, translate 0.15s ease, visibility 0.15s;
  pointer-events: none;
}

.pl-mrow:hover + .pl-tip,
.pl-mrow:focus-visible + .pl-tip,
.pl-mrow-li.is-open > .pl-tip {
  opacity: 1;
  visibility: visible;
  translate: none;
}

/* cards and band columns fade in as they scroll into view */
.pl-reveal {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.55s var(--ease-out), translate 0.55s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.pl-reveal.is-in {
  opacity: 1;
  translate: none;
}

/* beyond the company modules: previews, exclusive, custom */
.pl-cats-wrap {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: var(--night);
  color: rgba(255, 255, 255, 0.78);
}

.pl-cats-wrap .sl-orb.is-c {
  opacity: 0.32;
}

.pl-cats-head {
  position: relative;
  max-width: 640px;
  margin-bottom: 28px;
}

.pl-cats-head .sl-h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.pl-cats-head p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.pl-cats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pl-beyond-col {
  padding: 4px 24px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pl-beyond-col:first-child {
  padding-left: 0;
  border-left: 0;
}

.pl-beyond-col:last-child {
  padding-right: 0;
}

.pl-beyond-col h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  margin: 0 0 10px;
  color: #fff;
  font: 700 1.12rem/1.25 var(--display);
  letter-spacing: -0.01em;
}

.pl-beyond-plans {
  color: rgba(255, 255, 255, 0.55);
  font: 600 0.88rem/1.25 var(--body);
  letter-spacing: 0;
}

.pl-beyond-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--violet);
  color: #fff;
}

.pl-beyond-col.is-exclusive .pl-beyond-icon {
  background: var(--orange);
}

.pl-beyond-col.is-custom .pl-beyond-icon {
  background: var(--cyan-deep);
}

.pl-beyond-col > p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pl-mrows.is-dark {
  margin: 0 -8px;
}

.pl-mrows.is-dark .pl-mrow-text {
  color: rgba(255, 255, 255, 0.6);
}

.pl-mrows.is-dark .pl-mrow-text b {
  color: #fff;
}

.pl-mrows.is-dark .pl-mrow:hover,
.pl-mrows.is-dark .pl-mrow-li.is-open .pl-mrow {
  background: rgba(255, 255, 255, 0.07);
}

.pl-mrows.is-dark .pl-mi.is-early_access {
  background: var(--violet);
  color: #fff;
}

.pl-mrows.is-dark .pl-mi.is-exclusive {
  background: var(--orange);
  color: #fff;
}

.pl-mrows.is-dark .pl-tip {
  background: #fff;
  color: var(--ink);
}

/* ---------- side by side ---------- */

.pl-cmp-sec {
  padding-block: clamp(56px, 7vw, 96px) 0;
}

.pl-cmp-sec[hidden] {
  display: none;
}

.pl-cmp-picker {
  display: none;
}

.pl-cmp-card {
  padding: 6px clamp(10px, 2vw, 24px) 10px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--pl-shadow);
}

.pl-cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.pl-cmp.is-switching tbody td.pl-c,
.pl-cmp.is-switching thead th.pl-c {
  animation: pl-fade 0.3s ease both;
}

@keyframes pl-fade {
  from {
    opacity: 0;
  }
}

.pl-cmp-corner {
  width: 30%;
}

.pl-cmp thead th {
  position: sticky;
  top: var(--pl-sticky);
  z-index: 3;
  padding: 18px 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  vertical-align: bottom;
}

.pl-cmp thead th.is-hl {
  background: #eff9fd;
  box-shadow: inset 0 3px 0 var(--cyan);
}

.pl-ch-off {
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 99px;
  background: var(--green-tint);
  color: #0d6b45;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: 2px;
}

.pl-ch {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.pl-ch-name {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink);
  font: 700 1.08rem/1.2 var(--display);
}

.pl-ch-badge {
  padding: 3px 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), #ffb070);
  color: var(--ink);
  font: 800 0.66rem/1.1 var(--body);
}

.pl-ch-price {
  color: var(--ink);
  white-space: nowrap;
}

.pl-ch-price strong {
  font: 700 1.05rem/1.2 var(--body);
}

.pl-ch-price small {
  color: var(--text-2);
  font-size: 0.76rem;
  font-weight: 600;
}

.pl-ch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--ink) !important;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pl-ch-cta:hover,
.pl-cmp thead th.is-hl .pl-ch-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff !important;
}

.pl-cmp tbody th[scope="row"] {
  padding: 15px 12px 15px 4px;
  border-bottom: 1px solid rgba(4, 3, 33, 0.06);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
}

.pl-cmp td {
  padding: 15px 10px;
  border-bottom: 1px solid rgba(4, 3, 33, 0.06);
  color: var(--ink);
  font-size: 0.9rem;
  text-align: center;
  vertical-align: middle;
}

.pl-cmp td.is-hl {
  background: rgba(0, 178, 233, 0.045);
}

.pl-cmp tbody:last-child tr:last-child > * {
  border-bottom: 0;
}

.pl-cmp-gh th {
  padding: 26px 4px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.pl-yes {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(22, 163, 107, 0.9);
}

.pl-yes svg {
  stroke-width: 3;
}

.pl-no {
  display: inline-block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: rgba(4, 3, 33, 0.16);
  vertical-align: middle;
}

/* ---------- responsive ---------- */

@media (max-width: 1279px) {
  .pl-grid,
  .pl-grid.is-count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 860px;
    margin-inline: auto;
  }

  .pl-grid.is-count-1 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  .pl-solo {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }

  .pl-cats {
    grid-template-columns: minmax(0, 1fr);
  }

  .pl-beyond-col,
  .pl-beyond-col:first-child,
  .pl-beyond-col:last-child {
    padding: 18px 0 6px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .pl-beyond-col:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 759px) {
  .pl-jobs {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .pl-cmp-picker {
    position: sticky;
    top: calc(var(--pl-sticky) + 8px);
    z-index: 4;
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 4px;
    margin: 0 0 14px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    /* the band above it, under the site header, so rows never show between the two */
    box-shadow: 0 -9px 0 1px var(--cream), 0 10px 24px -18px rgba(4, 3, 33, 0.5);
  }

  .pl-cmp-picker label {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 40px;
    padding: 0 6px;
    border-radius: 10px;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .pl-cmp-picker input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  .pl-cmp-picker label:has(input:checked) {
    background: var(--ink);
    color: #fff;
  }

  .pl-cmp-picker label:has(input:focus-visible) {
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
  }

  /* One plan column at a time: the hidden columns must not keep their share of the width. */
  .pl-cmp {
    table-layout: auto;
  }

  .pl-cmp-corner,
  .pl-cmp tbody th[scope="row"] {
    width: 56%;
  }

  .pl-cmp thead th {
    top: calc(var(--pl-sticky) + 58px);
  }

  .pl-cmp[data-active="0"] .pl-c:not(.c-0),
  .pl-cmp[data-active="1"] .pl-c:not(.c-1),
  .pl-cmp[data-active="2"] .pl-c:not(.c-2),
  .pl-cmp[data-active="3"] .pl-c:not(.c-3),
  .pl-cmp[data-active="4"] .pl-c:not(.c-4),
  .pl-cmp[data-active="5"] .pl-c:not(.c-5) {
    display: none;
  }

  .pl-ch {
    justify-items: end;
    text-align: right;
  }

  .pl-cmp td {
    text-align: right;
  }
}

@media (max-width: 640px) {
  .pl-grid,
  .pl-grid.is-count-2,
  .pl-grid.is-count-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  /* one card per row: nothing to line up with, so no space kept for a discount */
  .pl-was.is-empty {
    display: none;
  }

  .pl-card {
    padding: 22px 18px 20px;
  }

  .pl-controls {
    display: grid;
    width: 100%;
    max-width: 360px;
  }

  .pl-switch label {
    padding: 0 12px;
  }

  .pl-solo-mods {
    grid-template-columns: minmax(0, 1fr);
  }

  .pl-solo-side {
    padding: 22px 18px;
  }

  .pl-job {
    padding: 14px 10px 8px;
  }
}

@media (max-width: 520px) {
  .pl {
    --pl-sticky: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-reveal {
    opacity: 1;
    translate: none;
  }

  .pl-card:hover,
  .pl-card:focus-within {
    transform: none;
  }
}
