body.page-limits {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(67, 139, 246, 0.18), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(56, 189, 248, 0.14), transparent 32%),
    linear-gradient(135deg, #eef6ff 0%, #f8fbff 48%, #eef4fb 100%);
}

[data-theme="dark"] body.page-limits {
  background:
    radial-gradient(circle at 12% 10%, rgba(67, 139, 246, 0.18), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(56, 189, 248, 0.12), transparent 32%),
    linear-gradient(135deg, #07101e 0%, #0a1020 48%, #111827 100%);
}

.limits-shell {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.limits-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 34px;
}

.limits-hero__copy,
.limits-note-card,
.limits-plan-card,
.limits-table-card,
.limits-fine-print {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 255, 0.82));
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] .limits-hero__copy,
[data-theme="dark"] .limits-note-card,
[data-theme="dark"] .limits-plan-card,
[data-theme="dark"] .limits-table-card,
[data-theme="dark"] .limits-fine-print {
  background: linear-gradient(145deg, rgba(23, 31, 55, 0.92), rgba(15, 23, 42, 0.88));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.limits-hero__copy {
  padding: clamp(32px, 5vw, 64px);
}

.limits-note-card {
  padding: clamp(28px, 4vw, 46px);
}

.limits-kicker {
  margin: 0 0 14px;
  color: var(--brand-primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.limits-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--text-primary);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
}

.limits-hero p,
.limits-plan-card p,
.limits-fine-print p {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}

.limits-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.limits-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.limits-plan-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.limits-plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #3b82f6, #38bdf8);
}

.limits-plan-card--free::before {
  background: linear-gradient(90deg, #10b981, #67e8f9);
}

.limits-plan-card--agency::before {
  background: linear-gradient(90deg, #8b5cf6, #f59e0b);
}

.limits-plan-card h2,
.limits-section-head h2,
.limits-fine-print h2,
.limits-note-card h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.05em;
}

.limits-plan-price {
  margin-top: 18px;
  color: var(--text-primary);
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.limits-plan-billing {
  margin: 8px 0 0;
  color: var(--brand-primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.limits-plan-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b63f6, #4eb7df);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(59, 99, 246, 0.22);
}

.limits-table-card,
.limits-fine-print {
  padding: clamp(26px, 4vw, 46px);
}

.limits-section-head {
  margin-bottom: 22px;
}

.limits-table-wrap {
  overflow-x: auto;
}

.limits-table {
  width: 100%;
  min-width: 800px;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.limits-table th,
.limits-table td {
  padding: 18px 20px;
  color: var(--text-primary);
  text-align: left;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

[data-theme="dark"] .limits-table th,
[data-theme="dark"] .limits-table td {
  background: rgba(15, 23, 42, 0.72);
}

.limits-table tr th:first-child {
  border-left: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px 0 0 18px;
}

.limits-table tr td:last-child {
  border-right: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0 18px 18px 0;
}

.limits-table thead th {
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.limits-table tbody th strong {
  display: block;
  margin-bottom: 5px;
}

.limits-table tbody th span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.limits-fine-print {
  margin-top: 28px;
}

.pricing-limit-note {
  margin: 24px auto 0;
  color: var(--text-secondary);
  text-align: center;
}

.pricing-limit-note a {
  color: var(--brand-primary);
  font-weight: 800;
}

@media (max-width: 920px) {
  .limits-shell {
    width: min(100% - 28px, 720px);
    padding: 36px 0 72px;
  }

  .limits-hero,
  .limits-plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .limits-shell {
    width: min(100% - 20px, 520px);
  }

  .limits-hero__copy,
  .limits-note-card,
  .limits-plan-card,
  .limits-table-card,
  .limits-fine-print {
    border-radius: 22px;
    padding: 24px;
  }

  .limits-actions {
    flex-direction: column;
  }

  .limits-actions .btn {
    width: 100%;
  }
}
