/* Separate plans share a quiet default, with emphasis on hover. */
@property --token-plan-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.token-plans-section {
  background:
    radial-gradient(48% 62% at 6% 2%, rgb(214 245 231 / 0.3), transparent 72%),
    radial-gradient(52% 66% at 96% 94%, rgb(173 224 237 / 0.16), transparent 72%), #fff;
}
.token-plans-heading {
  align-items: flex-end;
  gap: 32px;
}
.token-plans-heading > .text-link {
  align-self: flex-end;
  margin-bottom: 3px;
  white-space: nowrap;
  gap: 9px;
}
.token-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.token-plan-shell {
  position: relative;
  min-width: 0;
}
.token-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 576px;
  height: 100%;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px #18232d03;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    translate 0.3s ease;
}
.token-plan-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--plan-glare-x, 50%) var(--plan-glare-y, 35%),
    #0dac670a,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.token-plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  color: #7e8994;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.13em;
}
.token-plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid #0dac6726;
  border-radius: 20px;
  background: #f0faf5;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.token-plan-card h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.token-plan-description {
  min-height: 40px;
  max-width: 310px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.token-plan-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 28px 0;
  color: var(--brand-navy);
  white-space: nowrap;
}
.token-plan-price > strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 48px;
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.token-plan-price > strong > span {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
}
.token-plan-price > strong > em {
  margin-left: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0;
}
.token-plan-price.is-login-price > strong {
  color: var(--brand-navy);
  font-size: 28px;
  letter-spacing: -0.035em;
}
.token-plan-quota {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 15px 16px;
  border-radius: 7px;
  background: #f4faf7;
}
.token-plan-quota > span {
  color: var(--muted);
  font-size: 11px;
}
.token-plan-quota > strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.token-plan-quota > strong > span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.token-plan-includes {
  margin-top: 28px;
  margin-bottom: 32px;
}
.token-plan-includes > p {
  margin-bottom: 10px;
  color: #89939d;
  font-size: 10px;
}
.token-plan-features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.token-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.8;
}
.token-plan-features svg {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--accent);
  stroke-width: 1.8;
}
.token-plan-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 16px;
  border: 1px solid #dce2e7;
  border-radius: 6px;
  background: #fff;
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 550;
}
.token-plan-action > * {
  position: relative;
  z-index: 1;
}
.token-plan-action::before,
.token-plan-action::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: -1px;
  padding: 1px;
  border-radius: 7px;
  background: conic-gradient(
    from var(--token-plan-border-angle),
    transparent 0deg 278deg,
    #65f3ae00 292deg,
    #65f3ae24 318deg,
    #8fffc1b3 342deg,
    #65f3ae38 352deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.token-plan-action::before {
  z-index: 0;
  filter: blur(1.5px);
}
.token-plan-card
  :is(
    .token-plan-topline,
    .token-plan-badge,
    h3,
    .token-plan-description,
    .token-plan-price,
    .token-plan-price > span,
    .token-plan-quota,
    .token-plan-quota > span,
    .token-plan-quota > strong,
    .token-plan-includes > p,
    .token-plan-features li,
    .token-plan-features svg,
    .token-plan-action
  ) {
  transition:
    color 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease;
}
@media (hover: hover) and (pointer: fine) {
  .token-plan-shell:is(:hover, :focus-within) {
    z-index: 2;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-card {
    border-color: #b5d8c4;
    box-shadow:
      0 16px 36px #163c2a0b,
      0 3px 10px #163c2a05;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-card::before {
    opacity: 1;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-topline {
    color: var(--accent);
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-badge {
    border-color: #0dac6733;
    background: #eaf6ef;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-price {
    color: var(--accent);
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-quota {
    background: #f0f7f3;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-action {
    border-color: var(--brand-navy);
    background: var(--brand-navy);
    color: var(--brand-mint);
    box-shadow: 0 4px 12px #0824490a;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-action:hover {
    background: #102e50;
    color: #9affcc;
    border-color: #102e50;
    box-shadow: 0 6px 18px #08244912;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .token-plan-shell {
    perspective: 1100px;
  }
  .token-plan-card {
    transform: rotateX(var(--plan-rotate-x, 0deg)) rotateY(var(--plan-rotate-y, 0deg));
    transform-style: preserve-3d;
  }
  .token-plan-card::before {
    transform: translateZ(1px);
  }
  .token-plan-card > * {
    transform: translateZ(0);
  }
  .token-plan-card
    :is(
      .token-plan-topline,
      h3,
      .token-plan-description,
      .token-plan-price,
      .token-plan-quota,
      .token-plan-includes,
      .token-plan-action
    ) {
    transition:
      transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
      color 0.24s ease,
      background-color 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.3s ease;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-card {
    translate: 0 -4px;
  }
  .token-plan-shell:hover .token-plan-topline {
    transform: translateZ(4px);
  }
  .token-plan-shell:hover h3 {
    transform: translateZ(8px);
  }
  .token-plan-shell:hover .token-plan-description {
    transform: translateZ(4px);
  }
  .token-plan-shell:hover .token-plan-price {
    transform: translateZ(14px);
  }
  .token-plan-shell:hover .token-plan-quota {
    transform: translateZ(6px);
  }
  .token-plan-shell:hover .token-plan-includes {
    transform: translateZ(4px);
  }
  .token-plan-shell:hover .token-plan-action {
    transform: translateZ(10px);
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-action::before,
  .token-plan-shell:is(:hover, :focus-within) .token-plan-action::after {
    animation: token-plan-button-border 3.6s linear infinite;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-action::before {
    opacity: 0.22;
  }
  .token-plan-shell:is(:hover, :focus-within) .token-plan-action::after {
    opacity: 0.8;
  }
}
@keyframes token-plan-button-border {
  from {
    --token-plan-border-angle: 0deg;
  }
  to {
    --token-plan-border-angle: 360deg;
  }
}
.token-plans-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}
.token-plan-dialog-title {
  margin-top: 12px;
}
.token-plans-catalog {
  padding-top: 0;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .token-plans-grid {
    gap: 18px;
  }
  .token-plan-card {
    padding: 30px 22px;
  }
  .token-plan-card h3 {
    font-size: 23px;
  }
  .token-plan-description {
    min-height: 60px;
    font-size: 11px;
  }
  .token-plan-price > strong {
    font-size: 46px;
  }
  .token-plan-price.is-login-price > strong {
    font-size: 25px;
  }
  .token-plan-quota {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .token-plan-features li {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .token-plans-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .token-plans-heading h2 {
    font-size: 25px;
    line-height: 1.55;
  }
  .token-plans-heading > .text-link {
    align-self: flex-start;
    margin-bottom: 0;
    font-size: 11px;
  }
  .token-plans-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 25px;
  }
  .token-plan-card {
    min-height: 530px;
    padding: 28px 24px;
    border-radius: 12px;
  }
  .token-plan-card h3 {
    font-size: 23px;
  }
  .token-plan-description {
    min-height: 0;
    font-size: 11px;
  }
  .token-plan-price {
    margin: 24px 0 20px;
  }
  .token-plan-price > strong {
    font-size: 48px;
  }
  .token-plan-price.is-login-price > strong {
    font-size: 26px;
  }
  .token-plan-includes {
    margin-top: 24px;
    margin-bottom: 28px;
  }
  .token-plan-features li {
    font-size: 11px;
  }
  .token-plans-note {
    font-size: 9px;
  }
}

body:not([data-page='index']) main .page-banner-pricing + .page-content-sheet > .ecosystem + .token-plans-catalog {
  padding-top: var(--section-space);
}

body:not([data-page='index']) main .token-plans-heading {
  display: block;
  text-align: center;
}

body:not([data-page='index']) main .token-plans-heading .section-description {
  margin: 12px auto 0;
  font-size: 16px;
  color: var(--text);
}

body:not([data-page='index']) main .token-plans-grid {
  margin-top: var(--section-space);
}

body:not([data-page='index']) main :is(.token-plan-action, .faq-item > button) {
  font-size: 15px;
  font-weight: 600;
}

body:not([data-page='index']) main .token-plan-action {
  border-color: rgb(135, 155, 156);
}

@media (max-width: 760px) {
  body:not([data-page='index']) main .price-table td, body:not([data-page='index']) main .price-table th {
    padding: 12px 14px;
  }
}
