/* Pricing (design 2026-11-10): the /pricing page and the homepage's Free /
   Pro section. Pro has its own amber (the launch stories' colour); green
   stays the site's accent. No letter spacing in anything new. */

:root {
  --pro: #ffab00;
  --pro-glow: rgba(255, 171, 0, 0.08);
}

.pro { color: var(--pro); }

/* ---- page hero */
.price-hero {
  padding: 120px 0 72px;
  display: grid;
  gap: 24px;
  max-width: 860px;
}

.price-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 1;
  color: var(--muted);
  text-wrap: balance;
}

.price-lede {
  margin: 0;
  max-width: 600px;
  font-size: 20px;
  line-height: 28px;
  color: var(--muted);
}

/* ---- the two plans */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px 36px 40px;
  background: var(--tile);
  border: 1px solid var(--line-strong);
  min-width: 0;
}

.plan-pro {
  border-color: var(--pro);
  box-shadow: 0 0 80px var(--pro-glow);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
}

.plan-pro .plan-name { color: var(--pro); }

.plan-badge {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  background: var(--pro);
  color: #000;
  padding: 5px 9px;
}

.plan-for {
  margin: -12px 0 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.plan-price b {
  font-weight: 500;
  font-size: 88px;
  line-height: 0.9;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan-price s {
  font-size: 36px;
  line-height: 1;
  color: var(--muted);
}

.plan-per {
  flex-basis: 100%;
  margin-top: 10px;
  font-size: 17px;
  line-height: 24px;
  color: var(--muted);
}

.plan-places {
  margin: -12px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 18px;
  text-transform: uppercase;
  color: var(--pro);
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.plan-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 24px;
  color: var(--ink);
}

.plan-list li svg { margin-top: 2px; color: var(--muted); }
.plan-pro .plan-list li svg { color: var(--pro); }
.plan-list li.lead { color: var(--muted); }

.plan-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.plan-note {
  font-size: 15px;
  line-height: 20px;
  color: var(--muted);
}

.btn-pro {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  background: var(--pro);
  color: #000;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.btn-pro:hover { filter: brightness(1.08); }
.btn-pro:focus-visible { outline: 2px solid var(--pro); outline-offset: 3px; }

.plan .btn-outline { padding: 19px 28px; }

/* Bigger events, under the cards */
.plan-bigger {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 24px 36px;
  border: 1px solid var(--line-strong);
}

.plan-bigger p {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  color: var(--muted);
}

.plan-bigger p b { color: var(--ink); font-weight: 500; }

.text-link {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

/* ---- "Only the organiser pays" statement */
.payer {
  padding: 140px 0 40px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.payer-icon {
  width: 96px;
  height: 96px;
  color: var(--pro);
  filter: drop-shadow(0 0 28px rgba(255, 171, 0, 0.45));
}

.payer h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
  color: var(--muted);
  text-wrap: balance;
}

.payer h2 span { display: block; color: var(--ink); }

.payer p {
  margin: 20px 0 0;
  max-width: 620px;
  font-size: 20px;
  line-height: 28px;
  color: var(--muted);
}

/* ---- side by side table */
.compare { padding: 120px 0 40px; }

.compare .section-head { padding-bottom: 40px; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  vertical-align: middle;
  font-size: 18px;
  line-height: 24px;
}

.compare-table thead th {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
}

.compare-table thead th.col-pro { color: var(--pro); }
.compare-table .col-free,
.compare-table .col-pro { width: 160px; text-align: center; }
.compare-table tbody th { font-weight: 400; color: var(--ink); padding-right: 24px; }
.compare-table td { color: var(--ink); font-variant-numeric: tabular-nums; }
.compare-table td.col-pro { background: rgba(255, 171, 0, 0.05); }
.compare-table thead th.col-pro { background: rgba(255, 171, 0, 0.05); }
.compare-table td svg { margin: 0 auto; }
.compare-table td .no { color: var(--line-strong); }
.compare-table td.col-free svg { color: var(--ink); }
.compare-table td.col-pro svg { color: var(--pro); }
.compare-table tr.group th {
  padding-top: 40px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-foot {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 20px;
  color: var(--muted);
}

/* ---- homepage section */
.plans-home { padding: 40px 0 120px; }
.plans-home .section-head { padding-bottom: 40px; }
.plans-home .section-title .pro { display: inline; }
.plans-home .plan { padding: 32px 32px 36px; gap: 24px; }
.plans-home .plan-price b { font-size: 72px; }
.plans-home .plan-list li { font-size: 17px; padding: 12px 0; }
.plans-home .plan-foot {
  margin: 20px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 24px;
  color: var(--muted);
}
/* Under the Pro box: it's about who pays (Adomas, 2026-11-11). */
@media (min-width: 861px) {
  .plans-home .plan-foot { margin-left: calc(50% + 8px); justify-content: center; }
}
.plans-home .plan-foot svg { color: var(--pro); flex: none; }
.plans-home .plan-foot b { color: var(--ink); font-weight: 500; }

@media (max-width: 1100px) {
  .compare-table .col-free,
  .compare-table .col-pro { width: 110px; }
}

@media (max-width: 860px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .price-hero { padding: 72px 0 48px; }
  .payer { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 96px; }
  .payer-icon { width: 72px; height: 72px; }
}

@media (max-width: 600px) {
  .plan,
  .plans-home .plan { padding: 28px 20px 28px; }
  .plan-price b,
  .plans-home .plan-price b { font-size: 64px; }
  .plan-bigger { padding: 20px; }
  .compare { padding-top: 80px; }
  .compare-table th,
  .compare-table td { font-size: 16px; line-height: 22px; padding: 14px 0; }
  .compare-table .col-free,
  .compare-table .col-pro { width: 64px; }
  .compare-table thead th { font-size: 11px; }
  .price-lede, .payer p { font-size: 18px; line-height: 26px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Pro amber for the FAQ's accents on the pricing page */
.pricing .faq-kicker,
.pricing .faq-num { color: var(--pro); }
.pricing .faq-icon::before,
.pricing .faq-icon::after { background: var(--pro); }
.pricing .faq-sub a { color: var(--ink); }

@media (max-width: 860px) {
  .plans-home .section-title .pro { display: block; }
}

/* Narrow phones: the US price ($5.49 $10.99) stays on one line. */
@media (max-width: 420px) {
  .plan-price b,
  .plans-home .plan-price b { font-size: 54px; }
  .plan-price s { font-size: 28px; }
}

/* Early-adopter places left: red, so the scarcity reads (Adomas 2026-11-11). */
.places-left, .places-left b { color: #ff5a4d; }
