/* Plans page: the public comparison grid (brand.css supplies tokens). */

/* A one-line heading, left-aligned with the grid: no hero, no copy. */
/* It sits on the dark band above the light grid section. */
.plans-hero { padding: 32px 0 28px; }
.plans-hero h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--bone, #F2EDE2);
  text-align: left;
}

.plans-grid-section { padding: 16px 0 clamp(56px, 8vw, 96px); }

.plans-table-wrap {
  background: #fff;
  border: 1px solid rgba(10, 24, 50, 0.1);
  border-radius: 18px;
  overflow-x: auto;
}

.plans-table { width: 100%; border-collapse: collapse; min-width: 720px; }

.plans-table th,
.plans-table td {
  padding: 13px 18px;
  border-top: 1px solid rgba(10, 24, 50, 0.08);
  font-size: 14px;
  color: #33415c;
  line-height: 1.45;
}
.plans-table thead th { border-top: 0; vertical-align: top; padding-top: 26px; }
.plans-table th:first-child,
.plans-table td:first-child { text-align: left; width: 38%; }
.plans-table th + th,
.plans-table td + td { text-align: center; }

.plans-table .col-featured { background: rgba(79, 70, 229, 0.05); }

.plan-col-name { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; color: #0a1832; display: block; }
.plan-col-price { font-size: 24px; font-weight: 800; color: #0a1832; display: block; margin-top: 6px; }
.plan-col-vat { font-size: 12.5px; font-weight: 600; color: #5d6b82; display: block; margin-top: 2px; }

.plan-col-badge {
  display: inline-block;
  background: #4f46e5;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.plans-table .tick { color: #4f46e5; font-weight: 800; }
.plans-table .no-tick { color: rgba(10, 24, 50, 0.25); }

.plans-table tfoot td { padding: 20px 18px 26px; }

.plans-cta {
  display: inline-block;
  text-align: center;
  background: #4f46e5;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.plans-cta:hover { background: #4338ca; }
.plans-cta.secondary { background: #0a1832; }
.plans-cta.secondary:hover { background: #1d2b45; }

.plans-current {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  color: #5d6b82;
  padding: 10px 18px;
}

/* Row labels carry an icon; highlighted rows get a tint and an accent bar. */
.plans-label { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.row-icon { flex: 0 0 auto; color: #5d6b82; opacity: 0.8; }
.row-highlight .row-icon { color: #4f46e5; opacity: 1; }
.plans-table .row-highlight td { background: rgba(79, 70, 229, 0.08); font-weight: 600; color: #0a1832; }
.plans-table .row-highlight td.col-featured { background: rgba(79, 70, 229, 0.14); }
.plans-table .row-highlight td:first-child { border-left: 4px solid #4f46e5; }

/* The "?" beside the credit figure, and the modal it opens. */
.plans-value-help { display: inline-flex; align-items: center; gap: 4px; }
.plans-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5d6b82;
  cursor: pointer;
  padding: 0;
}
.plans-help:hover { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.plans-modal { border: 0; padding: 0; background: transparent; max-width: min(92vw, 420px); }
.plans-modal::backdrop { background: rgba(10, 24, 50, 0.45); }
.plans-modal-box {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  color: #33415c;
  font-size: 14.5px;
  line-height: 1.55;
  text-align: left;
}
.plans-modal-box h3 { font-size: 17px; font-weight: 800; color: #0a1832; margin: 0 0 10px; }
.plans-modal-box p { margin: 0 0 10px; }
.plans-modal-box .fine { font-size: 12.5px; color: #5d6b82; }
.plans-modal-box form { margin-top: 14px; }
.plans-modal-backdrop { display: none; }

/* Phones: cards instead of a sideways-scrolling table. */
.plans-cards { display: none; gap: 16px; }
.plans-card {
  background: #fff;
  border: 1px solid rgba(10, 24, 50, 0.1);
  border-radius: 18px;
  padding: 18px;
}
.plans-card.featured { border-color: #4f46e5; }
.plans-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plans-card-head .plan-col-price { margin-top: 2px; }
.plans-card-head .plan-col-vat { display: inline; font-size: 12.5px; }
.plans-card-rows { list-style: none; margin: 14px 0 0; padding: 0; }
.plans-card-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(10, 24, 50, 0.08);
  font-size: 14px;
  color: #33415c;
}
.plans-card-rows li.row-highlight { background: rgba(79, 70, 229, 0.08); margin: 0 -8px; padding: 8px; border-radius: 8px; font-weight: 600; color: #0a1832; }
.plans-card-value { flex: 0 0 auto; text-align: right; }
.plans-card-cta { margin-top: 16px; text-align: center; }
.plans-cards .tick { color: #4f46e5; font-weight: 800; }
.plans-cards .no-tick { color: rgba(10, 24, 50, 0.25); }

@media (max-width: 719px) {
  .plans-table-wrap { display: none; }
  .plans-cards { display: grid; }
}

/* The questions under the grid. */
.plans-faq {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  /* One row for however many questions show (VAT only while it's charged). */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.plans-faq .faq-item h3 { font-size: 15px; font-weight: 800; margin: 0 0 6px; color: #0a1832; }
.plans-faq .faq-item p { font-size: 14px; color: #5d6b82; line-height: 1.6; margin: 0; }
.plans-faq .faq-item a { color: #0a1832; text-decoration: underline; text-underline-offset: 3px; }
