:root {
  --accent-aqua: #67e8f9;
  --accent-mint: #86efac;
  --accent-gold: #fde68a;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.price-card .badge,
.feature-card .badge,
.download-card .badge,
.connect-card .badge,
.dashboard-action-card .badge {
  max-width: max-content;
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  padding-top: 22px;
}

.pricing-page .pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.pricing-page .price-card {
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 2.4vw, 30px);
  gap: 16px;
}

.pricing-page .price-card > .badge {
  align-self: flex-start;
  width: auto;
  margin: 0;
  max-width: calc(100% - 72px);
}

.pricing-page .price-card h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.pricing-page .price-card p { margin: 0; line-height: 1.6; }
.pricing-page .plan-list { gap: 10px; margin: 4px 0 8px; font-weight: 500; }
.pricing-page .plan-list li { font-weight: 500; line-height: 1.5; }
.pricing-page .price-stack { padding-top: 12px; gap: 8px; }
.pricing-page .price-stack strong { font-size: clamp(36px, 3.2vw, 48px); line-height: 1.1; white-space: nowrap; }
.pricing-page .price-stack small { color: var(--muted); font-weight: 500; line-height: 1.5; }
.pricing-page .price-card .btn { width: 100%; max-width: none; }
.pricing-page .price-card .plan-rune { top: 18px; right: 18px; width: 52px; height: 52px; opacity: .6; }
.pricing-page .pro-card { transform: none; }
.pricing-page .pro-card h2, .pricing-page .pro-card p, .pricing-page .pro-card .price-stack { max-width: none; }
.pricing-page .seo-content { max-width: none; margin-top: 40px; }
.pricing-page .seo-content > p { max-width: 80ch; }
.pricing-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.pricing-faq h3 { margin: 0 0 8px; line-height: 1.4; }
.pricing-faq p { margin: 0; }
.pricing-table-hint { display: none; color: var(--muted); font-size: 13px; }
.pricing-page .seo-table-wrap tbody th { width: 46%; font-family: inherit; text-transform: none; letter-spacing: 0; font-weight: 600; }
.pricing-page .seo-table-wrap th, .pricing-page .seo-table-wrap td { line-height: 1.5; }

@media (max-width: 980px) {
  .pricing-page .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-page .price-card { gap: 14px; }
  .pricing-faq { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .pricing-page .seo-content { padding: 20px; }
  .pricing-table-hint { display: block; margin-bottom: 8px; }
  .pricing-page .seo-table-wrap { margin-top: 8px; scrollbar-width: thin; scrollbar-color: #a78bfa #120921; }
  .pricing-page .seo-table-wrap tbody th { width: 38%; }
}

.price-card .badge {
  margin-bottom: 8px;
}

.plan-rune {
  top: 26px;
  right: 24px;
  z-index: 2;
  transform: translateY(6px);
}

.price-card .plan-rune {
  opacity: .74;
}

.price-card > .badge {
  max-width: calc(100% - 104px);
}

.pro-card .plan-mascot {
  bottom: -8px;
}

.pro-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(7, 2, 15, .22), transparent 24%);
  z-index: 1;
}

.pro-card > :not(.plan-rune):not(.plan-mascot) {
  z-index: 2;
}

.dashboard-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-actions.single {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-action-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background:
    radial-gradient(circle at 92% 14%, rgba(103, 232, 249, .12), transparent 92px),
    linear-gradient(180deg, rgba(32, 16, 62, .94), rgba(11, 5, 24, .94));
}

.dashboard-action-card.admin-card {
  background:
    radial-gradient(circle at 92% 16%, rgba(253, 230, 138, .14), transparent 96px),
    linear-gradient(180deg, rgba(36, 16, 68, .94), rgba(13, 6, 28, .94));
}

.dashboard-action-card .btn {
  width: max-content;
  min-width: 180px;
}

.dashboard-action-card h3 {
  font-size: 24px;
  line-height: 1.15;
}

.hero-demo .demo-row span,
.hero-demo .demo-question {
  overflow-wrap: anywhere;
}

.seo-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.seo-trust-row span {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(103, 232, 249, .22);
  border-radius: 8px;
  color: #e9fbff;
  background: rgba(8, 47, 73, .2);
  font-weight: 850;
}

.en-navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.en-navlinks a {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(216, 180, 254, .18);
  border-radius: 8px;
  color: rgba(244, 240, 255, .78);
  background: rgba(255, 255, 255, .045);
  font-weight: 850;
}

.en-navlinks .primary {
  color: #fff;
  border-color: rgba(240, 171, 252, .48);
  background: linear-gradient(135deg, #c026d3, #7c3aed 58%, #4f46e5);
}

.en-section-title {
  max-width: 820px;
}

.en-section-title p {
  font-size: 17px;
}

.seo-content {
  max-width: 920px;
  margin: 28px 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(192, 132, 252, .2);
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.seo-content > :first-child {
  margin-top: 0;
}

.seo-content > :last-child {
  margin-bottom: 0;
}

.seo-content a:not(.btn) {
  color: var(--accent-aqua);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-card h1 {
  margin: 8px 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.auth-card label:has(> input[hidden]) {
  display: none;
}

.connect-card:not([data-account-ready]) .connection-dot {
  background: var(--muted);
  box-shadow: 0 0 0 7px rgba(203, 188, 231, .08);
}

.extension-archive { margin-top: 28px; scroll-margin-top: 96px; }
.extension-archive > summary { color: var(--text); font-size: 18px; font-weight: 700; cursor: pointer; }
.extension-archive-content { padding-top: 12px; }
.extension-archive-content li + li { margin-top: 10px; }
.extension-archive-content code { overflow-wrap: anywhere; }

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-aqua);
  outline-offset: 4px;
}

.seo-content h2 {
  margin-top: 34px;
}

.seo-content h3 {
  margin: 22px 0 6px;
  font-size: 20px;
}

.seo-content p {
  max-width: 860px;
}

.seo-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid rgba(103, 232, 249, .22);
  border-radius: 8px;
}

.seo-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.seo-table-wrap caption {
  padding: 14px;
  color: #e9fbff;
  font-weight: 850;
  text-align: left;
}

.seo-table-wrap th,
.seo-table-wrap td {
  padding: 12px 14px;
  border-top: 1px solid rgba(103, 232, 249, .16);
  text-align: left;
}

.seo-table-wrap thead th {
  color: #fff;
  background: rgba(8, 47, 73, .2);
}

@media (max-width: 820px) {
  .dashboard-actions,
  .seo-trust-row {
    grid-template-columns: 1fr;
  }

  .dashboard-action-card {
    min-height: auto;
  }

  .dashboard-action-card .btn {
    width: 100%;
    min-width: 0;
  }

  .price-card > .badge {
    max-width: calc(100% - 76px);
  }

  .plan-rune {
    top: 16px;
    right: 16px;
    transform: none;
  }

  .en-navlinks {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .en-navlinks a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .en-navlinks {
    grid-template-columns: 1fr;
  }
}
