/* SuperAppAnalytics — pricing page. */

.p-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(56px, 7vw, 96px)); overflow: hidden; }
.p-hero .aura { height: 1000px; }
.p-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.p-title { font-size: clamp(46px, 7.2vw, 104px); }
.p-title-2 { color: var(--text-2); }
.p-lede { max-width: 620px; margin-top: 24px; }

/* Estimator */
.estimate { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.estimate summary {
  display: inline-flex; align-items: center; gap: 8px;
  list-style: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text-2);
  transition: color .2s ease;
}
.estimate summary::-webkit-details-marker { display: none; }
.estimate summary:hover, .estimate[open] summary { color: var(--text); }
.estimate summary .i { font-size: 17px; color: rgb(var(--primary)); }
.estimate-body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 16px; margin-top: 20px; }
.est-field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.est-field input {
  width: 190px; height: 50px; padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--hairline-2);
  background: var(--fill);
  color: var(--text);
  font: inherit; font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums;
  outline: none;
  transition: border-color .2s ease, box-shadow .25s ease;
}
.est-field input:focus { border-color: var(--text-2); box-shadow: 0 0 0 4px rgba(var(--glow), .13), 0 0 28px rgba(var(--primary), .14); }
.est-x { padding-bottom: 13px; font-size: 18px; color: var(--text-2); white-space: nowrap; }
.est-result { padding-bottom: 4px; min-width: 120px; }
.est-result b { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.est-result span { font-size: 13px; color: var(--text-2); }
.estimate .btn { margin-bottom: 4px; }

/* Plan cards */
.plans-section { padding-top: clamp(56px, 7vw, 96px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan {
  display: flex; flex-direction: column;
  padding: 28px;
  transition: border-color .45s ease, box-shadow .45s ease, transform .45s var(--ease-out);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.plan-top h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.plan-flag { display: none; }
.plan.is-recommended .plan-flag { display: inline-flex; }
.plan.is-recommended .plan-pop { display: none; }
.plan-blurb { margin: 6px 0 0; font-size: 15px; color: var(--text-2); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.plan-amount { font-family: var(--display); font-size: 58px; font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-per { font-size: 15px; color: var(--text-2); }
.plan-events { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.plan-events b { color: var(--text); font-weight: 650; }
.plan-cta { width: 100%; margin-top: 26px; }
.plan .btn-quiet { background: var(--fill-2); color: var(--text); }
.plan .btn-quiet:hover { background: var(--track); box-shadow: none; }
.plan-list { display: grid; gap: 11px; margin: 26px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--hairline); }
.plan-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.plan-list .i { flex: none; margin-top: 2px; font-size: 16px; color: rgb(var(--primary)); stroke-width: 2.2; }
.plan.is-recommended {
  border-color: rgba(var(--primary), .55);
  box-shadow: 0 0 0 1px rgba(var(--primary), .35), 0 24px 70px -24px rgba(var(--primary), .6), var(--card-shadow);
  transform: translateY(-4px);
}
.plans-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px 0 0; font-size: 14px; color: var(--text-2); }
.plans-note .i { color: rgb(var(--primary)); }

/* Included features */
.features-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--hairline);
  box-shadow: var(--card-shadow);
}
.feature { padding: 26px 24px 28px; background: var(--surface); }
.feature .i { font-size: 22px; color: rgb(var(--primary)); }
.feature h3 { margin: 14px 0 6px; font-size: 16.5px; font-weight: 650; letter-spacing: -.015em; }
.feature p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }

/* Comparison table */
.table-wrap { padding: 6px 10px; overflow-x: auto; }
.compare-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.compare-table th, .compare-table td { padding: 17px 14px; text-align: center; border-bottom: 1px solid var(--hairline); }
.compare-table thead th { padding-top: 20px; font-size: 15.5px; font-weight: 650; }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--text-2); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table .is-pop { background: rgba(var(--primary), .07); }
.compare-table thead .is-pop { border-radius: 14px 14px 0 0; color: rgb(var(--positive)); }
[data-theme="light"] .compare-table thead .is-pop { color: rgb(var(--deep)); }
.compare-table .yes { font-weight: 700; color: rgb(var(--positive)); }
[data-theme="light"] .compare-table .yes { color: rgb(var(--deep)); }
.compare-table .no { color: var(--text-3); }
@media (max-width: 900px) {
  .compare-table tbody th, .compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); }
}

/* What's an event */
.explainer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.explainer .h2 { font-size: clamp(34px, 4.4vw, 58px); }
.explainer .lede { margin-top: 20px; }
.event-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-chip {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--card-shadow);
  font-family: var(--mono); font-size: 13.5px;
  transition: transform .5s var(--ease-out), border-color .4s ease, box-shadow .5s ease;
}
.ev-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); transition: background-color .4s ease, box-shadow .4s ease; }
.ev-chip b { font-family: var(--sans); font-weight: 700; }
.ev-chip.money b { color: rgb(var(--positive)); }
[data-theme="light"] .ev-chip.money b { color: rgb(var(--deep)); }
.ev-chip.refund b { color: rgb(var(--negative)); }
.ev-chip.money .dot { background: rgb(var(--glow)); box-shadow: 0 0 8px rgb(var(--glow)); }
.ev-chip.refund .dot { background: rgb(var(--negative)); }
.ev-chip.is-hot { transform: translateY(-3px); border-color: rgba(var(--primary), .45); box-shadow: 0 10px 30px -12px rgba(var(--primary), .6); }
.ev-chip.is-hot .dot { background: rgb(var(--glow)); box-shadow: 0 0 10px rgb(var(--glow)); }

/* Closing band */
.p-final { padding-top: 0; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 44px); }
.cta-band .muted { margin: 8px 0 0; font-size: 16px; }

@media (max-width: 1020px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explainer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .est-field input { width: 100%; }
  .est-field { flex: 1 1 100%; }
  .est-x { padding-bottom: 0; }
  .cta-band .cmd { width: 100%; justify-content: space-between; }
  .copy-btn .copy-label { display: none; }
  .stairs .stair-per { display: none; }
  .cmd { font-size: 12.5px; }
}
