.pricing-page {
  overflow: clip;
}

/* Hide the reload's top-of-page paint while restoring a currency switch. */
html.smart2027-restoring-currency-scroll body {
  visibility: hidden;
}

.pricing-page .section-frame {
  position: relative;
  border-top: 1px solid var(--section-rule);
}

.pricing-page .section-frame::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(var(--frame-max), calc(100% - (var(--frame-gutter) * 2)));
  border-inline: 1px solid var(--section-rule);
  transform: translateX(-50%);
  pointer-events: none;
}

.pricing-hero {
  background: #fff;
}

.pricing-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(34px, 4vw, 52px);
}

.pricing-eyebrow {
  margin: 0 0 18px;
  color: var(--purple-light);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.pricing-hero-inner > p {
  margin: 9px 0 0;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.5;
}

.pricing-plans {
  padding-block: 52px 82px;
  background: var(--mist);
}

.pricing-plans > .container,
.pricing-guidance > .container,
.pricing-faq > .container {
  position: relative;
  z-index: 1;
}

.pricing-notice {
  margin-bottom: 30px;
  padding: 18px 20px;
  border: 1px solid #d2b4e5;
  background: #fff;
  color: var(--purple);
}

.pricing-currency {
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-controls {
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
}

.pricing-controls .pricing-currency {
  margin: 0;
}

.pricing-billing {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-billing > span {
  margin-right: 4px;
}

.pricing-billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--ink);
}

.pricing-billing-switch input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.pricing-billing-track {
  width: 44px;
  height: 26px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #cbd5df;
  box-shadow: inset 0 0 0 1px rgba(29, 18, 46, 0.08);
  transition: background-color var(--motion-quick), box-shadow var(--motion-quick);
}

.pricing-billing-track span {
  width: 20px;
  height: 20px;
  display: block;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(29, 18, 46, 0.24);
  transition: transform var(--motion-quick);
}

.pricing-billing-switch input:checked + .pricing-billing-track {
  background: #26aa5f;
}

.pricing-billing-switch input:checked + .pricing-billing-track span {
  transform: translateX(18px);
}

.pricing-billing-switch input:focus-visible + .pricing-billing-track {
  outline: 3px solid rgba(66, 0, 112, 0.24);
  outline-offset: 3px;
}

.pricing-billing-save {
  padding: 4px 7px;
  border-radius: 3px;
  background: #d9f8e7;
  color: #167043;
  font-size: 0.76rem;
  font-weight: 700;
}

.pricing-currency .tiv-switcher {
  --tiv-switcher-gap: 6px;
  --tiv-switcher-inactive-opacity: 1;
}

.pricing-currency .tiv-switcher-list {
  gap: 6px;
}

.pricing-currency .tiv-switcher-style-flat .tiv-switcher-link {
  min-width: 68px;
  min-height: 38px;
  padding: 8px 12px;
  justify-content: center;
  border: 1px solid rgba(66, 0, 112, 0.16);
  border-radius: 4px;
  background: transparent;
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color var(--motion-quick), background-color var(--motion-quick), color var(--motion-quick);
}

.pricing-currency .tiv-switcher-style-flat .tiv-switcher-link:hover,
.pricing-currency .tiv-switcher-style-flat .tiv-switcher-link:focus-visible {
  border-color: rgba(66, 0, 112, 0.48);
  background: rgba(66, 0, 112, 0.04);
  color: var(--purple);
}

.pricing-currency .tiv-switcher-style-flat .tiv-switcher-item-current .tiv-switcher-link {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
}

.plan-grid {
  position: sticky;
  z-index: 8;
  top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 10px 0 10px;
  background: var(--mist);
}

body.admin-bar .plan-grid {
  top: 32px;
}

.plan-card {
  --plan-accent: var(--purple);
  --plan-wash: rgba(66, 0, 112, 0.025);
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--plan-accent);
  background: #fff;
  box-shadow: inset 0 5px 0 var(--plan-accent);
  transition: border-color var(--motion-smooth), background-color var(--motion-smooth), box-shadow var(--motion-smooth);
}

.plan-card:hover,
.plan-card:focus-within {
  background: var(--plan-wash);
  box-shadow: inset 0 6px 0 var(--plan-accent);
}

.plan-card.featured {
  border-color: var(--purple);
}

.plan-card.current {
  border-color: var(--green);
}

.plan-card--payg {
  --plan-accent: #7a8da2;
  --plan-wash: #f6f8fa;
}

.plan-card--essentials {
  --plan-accent: var(--purple);
  --plan-wash: #faf7fc;
}

.plan-card--pro {
  --plan-accent: #198457;
  --plan-wash: #f4fbf7;
}

.plan-ribbon {
  width: 148px;
  height: 148px;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}

.plan-ribbon span {
  width: 202px;
  min-height: 32px;
  padding: 8px 0;
  position: absolute;
  top: 28px;
  right: -57px;
  background: #fa5968;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(45deg);
}

.plan-card-top {
  min-height: 310px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
}

.plan-badge {
  width: fit-content;
  min-height: 28px;
  margin: -15px 0 18px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: var(--purple);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.current-badge {
  background: var(--green);
  color: #113523;
}

.plan-card h2 {
  margin: 0 0 14px;
  color: var(--plan-accent);
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  letter-spacing: -0.035em;
}

.plan-card-top > p {
  min-height: 82px;
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.55;
}

.plan-price {
  margin: auto 0 20px;
  display: block;
}

.plan-price strong,
.plan-price .woocommerce-Price-amount {
  color: var(--ink);
  font-size: clamp(2.75rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  display: block;
}

.plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.plan-price-main s {
  color: var(--slate);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration-thickness: 1.5px;
}

.plan-price span {
  margin-top: 6px;
  display: block;
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.35;
}

.plan-price .plan-annual-saving {
  display: block;
  margin-top: 8px;
  color: #167043;
  font-size: 0.88rem;
  font-weight: 700;
}

.plan-price .plan-annual-total {
  display: block;
  margin-top: 5px;
  color: var(--slate);
  font-size: 0.84rem;
  line-height: 1.35;
}

.plan-card .button {
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
}

.plan-current-button {
  display: flex;
  align-items: center;
  justify-content: center !important;
  border: 1px solid rgba(66, 0, 112, 0.2);
  border-radius: 4px;
  background: #f7f4f9;
  color: var(--purple);
  font-weight: 700;
}

.plan-feature-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}

.plan-feature-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}

.plan-comparison {
  margin-top: 2px;
  border: 1px solid rgba(66, 0, 112, 0.16);
  background: #fff;
}

.comparison-scroll {
  position: relative;
}

.comparison-plan-intro,
.comparison-plan-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
}

.comparison-plan-intro {
  background: #fff;
}

.comparison-intro-label {
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(66, 0, 112, 0.018);
}

.comparison-intro-label strong {
  color: var(--purple);
  font-size: 1rem;
}

.comparison-intro-label span {
  max-width: 280px;
  color: var(--slate);
  font-size: 0.84rem;
  line-height: 1.45;
}

.comparison-plan-card {
  --plan-accent: var(--purple);
  --plan-wash: rgba(66, 0, 112, 0.025);
  min-width: 0;
  min-height: 224px;
  padding: 30px 24px 26px;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(66, 0, 112, 0.1);
  box-shadow: inset 0 5px 0 var(--plan-accent);
  background: #fff;
}

.comparison-plan-card h2 {
  margin: 0 0 13px;
  color: var(--plan-accent);
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.comparison-plan-card > p {
  margin: 0;
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.55;
}

.comparison-plan-card .plan-badge {
  margin: -10px 0 12px;
}

.comparison-heading {
  min-height: 54px;
  position: sticky;
  z-index: 6;
  top: 0;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
  align-items: center;
  border-top: 1px solid rgba(66, 0, 112, 0.12);
  border-bottom: 1px solid rgba(66, 0, 112, 0.14);
  background: #fff;
  box-shadow: 0 5px 10px rgba(28, 33, 41, 0.06);
  color: var(--purple);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.comparison-heading strong {
  padding-left: 22px;
  color: var(--slate);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

body.admin-bar .comparison-heading {
  top: 32px;
}

.comparison-row {
  min-height: 64px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
  align-items: stretch;
  border-bottom: 1px solid rgba(66, 0, 112, 0.1);
  transition: background-color var(--motion-smooth);
}

.comparison-row:hover,
.comparison-row:focus-within {
  background: rgba(66, 0, 112, 0.025);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-feature {
  min-width: 0;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
}

.comparison-feature-trigger {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--purple);
  cursor: help;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.comparison-feature-trigger:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.comparison-info {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

.comparison-tooltip {
  width: min(330px, calc(100vw - 48px));
  padding: 13px 15px;
  position: absolute;
  z-index: 5;
  left: 22px;
  top: calc(100% - 2px);
  border: 1px solid rgba(66, 0, 112, 0.18);
  border-radius: 4px;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(28, 33, 41, 0.16);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--motion-quick), transform var(--motion-quick);
}

.comparison-feature:hover .comparison-tooltip,
.comparison-feature:focus-within .comparison-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.comparison-status {
  min-width: 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(66, 0, 112, 0.08);
  color: var(--purple);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.comparison-status:first-of-type {
  border-left: 0;
}

.comparison-status svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.comparison-status.unavailable {
  color: #9aa1ae;
}

.comparison-plan-footer {
  border-top: 1px solid rgba(66, 0, 112, 0.12);
  background: #fff;
}

.comparison-footer-label {
  padding: 26px 22px;
  display: flex;
  align-items: center;
  color: var(--purple);
  font-size: 0.95rem;
  font-weight: 700;
}

.comparison-footer-plan {
  min-width: 0;
  padding: 24px;
  border-left: 1px solid rgba(66, 0, 112, 0.08);
}

.comparison-footer-plan .plan-price {
  margin: 0 0 18px;
}

.comparison-footer-plan .plan-price strong,
.comparison-footer-plan .plan-price .woocommerce-Price-amount {
  font-size: clamp(2.25rem, 3.2vw, 3.25rem);
}

.comparison-footer-plan .button {
  width: 100%;
  min-height: 50px;
  justify-content: space-between;
}

.citizenship-note {
  max-width: 930px;
  margin: 28px auto 0;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: center;
}

.citizenship-note a,
.pricing-faq a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.pricing-guidance {
  padding-block: 112px;
  background: #fff;
}

.guidance-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
  align-items: start;
}

.guidance-grid h2,
.pricing-faq h2 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.guidance-copy > p {
  margin: 6px 0 0;
  color: var(--slate);
  font-size: 1.125rem;
  line-height: 1.7;
}

.guidance-demo-button {
  width: fit-content;
  min-height: 50px;
  margin-top: 28px;
  text-decoration: none;
}

.pricing-faq {
  padding-block: 100px 120px;
  background: var(--mist);
  border-bottom: 1px solid var(--section-rule);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.faq-layout > div:first-child > p {
  margin-top: 28px;
  color: var(--slate);
  font-size: 1rem;
}

.faq-help-button {
  width: fit-content;
  min-height: 50px;
  margin-top: 24px;
  text-decoration: none !important;
}

.faq-list {
  border-top: 1px solid rgba(66, 0, 112, 0.14);
}

.faq-list details {
  border-bottom: 1px solid rgba(66, 0, 112, 0.14);
}

.faq-list summary {
  min-height: 76px;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary span {
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 14px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  background: var(--purple);
  transition: transform var(--motion-quick);
}

.faq-list summary span::before {
  width: 14px;
  height: 2px;
  left: 0;
  top: 6px;
}

.faq-list summary span::after {
  width: 2px;
  height: 14px;
  left: 6px;
  top: 0;
}

.faq-list details[open] summary span::after {
  transform: scaleY(0);
}

.faq-list details p {
  max-width: 680px;
  margin: -4px 0 0;
  padding: 0 36px 28px 4px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .plan-grid {
    position: static;
    grid-template-columns: 1fr;
  }

  .plan-card {
    display: block;
  }

  .plan-card-top {
    min-height: 0;
  }

  .plan-card-top > p {
    min-height: 0;
  }

  .plan-price {
    margin-top: 48px;
  }

  .guidance-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .guidance-copy > p {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .pricing-hero-inner {
    padding-block: 52px 58px;
  }

  .pricing-hero-inner {
    padding-block: 30px;
  }

  .pricing-plans,
  .pricing-guidance,
  .pricing-faq {
    padding-block: 68px;
  }

  .pricing-currency {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .pricing-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .pricing-currency .tiv-switcher,
  .pricing-currency .tiv-switcher-list {
    width: 100%;
  }

  .pricing-currency .tiv-switcher-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-currency .tiv-switcher-style-flat .tiv-switcher-link {
    width: 100%;
  }

  .plan-card {
    display: block;
  }

  .plan-card-top {
    padding: 30px 24px;
  }

  .plan-comparison {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-scroll {
    min-width: 760px;
  }

  .comparison-tooltip {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    top: auto;
    width: auto;
    transform: translateY(8px);
  }

  .guidance-grid h2,
  .pricing-faq h2 {
    font-size: clamp(28px, 8vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-card,
  .faq-list summary span::after {
    transition: none;
  }
}

/* Plan-led comparison: progressive capability lists with accessible tooltips. */
.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-plan {
  --plan-accent: var(--purple);
  --plan-wash: rgba(66, 0, 112, 0.025);
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--plan-accent);
  background: #fff;
  box-shadow: inset 0 5px 0 var(--plan-accent);
  transition: background-color var(--motion-smooth), border-color var(--motion-smooth), box-shadow var(--motion-smooth);
}

/* Distinct plan accents carry through the card border, inset rule and heading. */
.pricing-plan.plan-card--payg {
  --plan-accent: #7a8da2;
  --plan-wash: #f6f8fa;
}

.pricing-plan.plan-card--essentials {
  --plan-accent: var(--purple);
  --plan-wash: #faf7fc;
}

.pricing-plan.plan-card--pro {
  --plan-accent: #198457;
  --plan-wash: #f4fbf7;
}

.pricing-plan.current {
  box-shadow: inset 0 5px 0 var(--plan-accent), 0 0 0 2px rgba(45, 191, 104, 0.28);
}

.pricing-plan.current:hover,
.pricing-plan.current:focus-within {
  box-shadow: inset 0 6px 0 var(--plan-accent), 0 0 0 2px rgba(45, 191, 104, 0.45);
}

.pricing-plan:hover,
.pricing-plan:focus-within {
  background: var(--plan-wash);
  box-shadow: inset 0 6px 0 var(--plan-accent);
}

.pricing-plan-top {
  min-height: 360px;
  padding: 34px 32px 30px;
  display: flex;
  flex-direction: column;
}

.pricing-plan .current-badge {
  min-height: 0;
  margin: 0;
  padding: 6px 10px;
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  border: 1px solid rgba(17, 53, 35, 0.14);
  background: var(--green);
  color: #113523;
  font-size: 0.76rem;
  line-height: 1.15;
}

.pricing-plan .current-badge[hidden],
.pricing-plan [data-plan-saving][hidden],
.pricing-plan [data-plan-annual-total][hidden],
.pricing-plan [data-plan-regular-price][hidden] {
  display: none !important;
}

.pricing-plan h2 {
  margin: 0 0 14px;
  color: var(--plan-accent);
  font-size: clamp(2rem, 2.65vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.pricing-plan-top > p {
  min-height: 84px;
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.55;
}

.pricing-plan .plan-price {
  margin: auto 0 20px;
}

.pricing-plan .plan-price strong,
.pricing-plan .plan-price .woocommerce-Price-amount {
  font-size: clamp(3rem, 4vw, 4.15rem);
}

.pricing-plan .plan-price .woocommerce-Price-currencySymbol {
  display: inline-block;
  margin-right: 0.08em;
  color: var(--slate);
  font-size: 0.46em;
  font-weight: 700;
  line-height: 1;
  vertical-align: 0.16em;
}

.pricing-plan .plan-price-main s .woocommerce-Price-amount {
  display: inline;
  color: inherit;
  font-size: inherit;
  letter-spacing: normal;
}

.pricing-plan .button {
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
}

.pricing-plan-features {
  padding: 0 32px 32px;
}

.pricing-plan-features > p {
  min-height: 46px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.pricing-plan-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-plan-feature {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 17px;
}

.pricing-plan-check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: #2dbf68;
}

.pricing-plan-check svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.pricing-plan-feature-copy {
  min-width: 0;
  position: relative;
}

.pricing-plan-feature-trigger {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 2px dotted rgba(66, 0, 112, 0.42);
  background: transparent;
  color: var(--slate);
  cursor: help;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.38;
  text-align: left;
  transition: border-color var(--motion-quick), color var(--motion-quick);
}

.pricing-plan-feature-trigger:hover,
.pricing-plan-feature-trigger:focus-visible {
  border-bottom-color: var(--purple);
  color: var(--purple);
  outline: 0;
}

.pricing-plan-feature-trigger:focus-visible {
  box-shadow: 0 0 0 3px rgba(112, 235, 166, 0.55);
}

.pricing-plan-feature-value {
  display: block;
  margin-top: 3px;
  color: var(--plan-accent);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.pricing-plan-tooltip {
  width: min(290px, calc(100vw - 56px));
  padding: 11px 13px;
  position: absolute;
  z-index: 9;
  left: 0;
  bottom: calc(100% + 9px);
  border: 1px solid rgba(66, 0, 112, 0.24);
  border-radius: 4px;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(28, 33, 41, 0.16);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity var(--motion-quick), transform var(--motion-quick);
}

.pricing-plan-feature-copy:hover .pricing-plan-tooltip,
.pricing-plan-feature-copy:focus-within .pricing-plan-tooltip {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .pricing-plan-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pricing-plan-top {
    min-height: 0;
  }

  .pricing-plan-top > p,
  .pricing-plan-features > p {
    min-height: 0;
  }

  .pricing-plan .plan-price {
    margin-top: 42px;
  }
}

@media (max-width: 680px) {
  .pricing-plan-top,
  .pricing-plan-features {
    padding-inline: 24px;
  }

  .pricing-plan-top {
    padding-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-plan,
  .pricing-plan-feature-trigger,
  .pricing-plan-tooltip {
    transition: none;
  }
}
