/* ══════════════════════════════════════════════════════════
   Vinsight Pricing / Feature Matrix — shared design system
   Used by both the guided signup flow (FeatureMatrix2026.html)
   and the Pricing & Plans page (PricingAndPlans2026.html).
   ══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-50: #e5ffc8;
  --green-100: #d4f8a8;
  --green-200: #c1da64;
  --green-600: #7e9b13;
  --green-700: #7a8f20;
  --green-800: #6b7d1a;
  --orange: #ff9900;
  --orange-light: #ffe6cc;
  --gray-50: #F5F5F5;
  --gray-100: #EFEFEF;
  --gray-200: #E0E0E0;
  --gray-400: #999999;
  --gray-600: #666666;
  --gray-800: #333333;
  --gray-900: #1A1A18;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: rgba(0,0,0,0.1);
  --border-strong: rgba(0,0,0,0.18);
  --surface: #ffffff;
  --page-bg: #F5F5F5;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--page-bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 2.75rem 1.5rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-700);
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}
.trust-hero {
  text-align: center;
  margin: 0 auto 1rem;
  padding: 0 1rem;
}

.trust-hero .hero-eyebrow {
  background: transparent;
  color: var(--gray-800);
  font-size: 0.72rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

/* ── CONTROLS ── */
.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.product-toggle-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0.75rem 0 0;
  text-align: center;
}

.product-toggle {
  display: flex;
  gap: 0.85rem;
  background: transparent;
  border: none;
  padding: 0;
}
.product-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  width: 230px;
  padding: 1.1rem 1.25rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: left;
  gap: 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.product-btn:hover:not(.active) {
  border-color: var(--gray-400);
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}
.product-btn.active {
  border: 2px solid var(--green-700);
  background: rgba(122, 143, 32, 0.04);
  box-shadow: 0 4px 16px rgba(122,143,32,0.13);
}
body[data-product="sales"] .product-btn.active {
  border-color: var(--orange);
  background: rgba(255,153,0,0.04);
  box-shadow: 0 4px 16px rgba(255,153,0,0.13);
}

/* Checkmark indicator — top-right corner */
.product-btn::after {
  content: '';
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.product-btn.active::after {
  background: var(--green-700);
  border-color: var(--green-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpolyline points='1,5 4.5,8.5 11,1' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 9px;
}
body[data-product="sales"] .product-btn.active::after {
  background-color: var(--orange);
  border-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpolyline points='1,5 4.5,8.5 11,1' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 9px;
}

.product-btn-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  padding-right: 1.5rem;
}
.product-btn.active .product-btn-name {
  color: var(--green-700);
}
body[data-product="sales"] .product-btn.active .product-btn-name {
  color: var(--orange);
}
.product-btn-desc {
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.4;
}
.product-btn-tag {
  font-style: italic;
  font-size: 0.71rem;
  font-weight: 400;
  color: var(--green-700);
  line-height: 1.3;
}
@media (max-width: 540px) {
  .product-toggle { flex-direction: column; width: 100%; max-width: 300px; }
  .product-btn { width: 100%; }
}

.controls .country-picker-wrapper {
  margin-top: 0.65rem;
}

.country-picker-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.country-picker-wrapper p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.country-picker {
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.42rem 2.5rem 0.42rem 0.7rem;
}

.controls .pricing-note {
  margin-top: 0;
  line-height: 1.4;
}

/* ── PLAN CARDS ── */
.plans-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 3.5rem;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.15s;
}
.plan-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.plan-card.featured {
  border: 2px solid var(--green-700);
}
.plans-wrapper[data-product="sales"] .plan-card.featured {
  border-color: var(--orange);
}

.plan-card.selected {
  border: 2px solid var(--green-700);
  box-shadow: 0 0 0 3px rgba(122,143,32,0.07);
}

.plans-wrapper[data-product="sales"] .plan-card.selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,153,0,0.08);
}

/* Hollow radio that fills when a card is selected (mirrors Step 1 product selector) */
.plan-select-indicator {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: transparent;
  transition: all 0.15s;
}
.plan-card.selected .plan-select-indicator {
  background: var(--green-700);
  border-color: var(--green-700);
}
.plan-card.selected .plan-select-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}
.plans-wrapper[data-product="sales"] .plan-card.selected .plan-select-indicator {
  background: var(--orange);
  border-color: var(--orange);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-700);
  color: var(--green-50);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
}

.plans-wrapper[data-product="sales"] .popular-badge {
  background: var(--orange);
  color: #fff;
}

body[data-style="4"] .popular-badge {
  display: none;
}

.plan-tier {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.plan-users {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.plan-users sup a {
  color: var(--text-muted);
  text-decoration: none;
}
.plan-users-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 300;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
  margin-bottom: 0.6rem;
}

/* ── PRICE TAG — shared "NZD $59 /mo" formatting ──
   Used for plan card prices (--lg), comparison table column headers (--md),
   and price-valued rows in the full feature table (--sm). */
.price-tag { display: inline-flex; align-items: baseline; gap: 3px; line-height: 1; }
.price-tag-code { color: var(--text-muted); align-self: flex-start; }
.price-tag-symbol { color: var(--text-secondary); align-self: flex-start; }
.price-tag-amount { font-family: 'DM Serif Display', serif; color: var(--text-primary); letter-spacing: -0.02em; }
.price-tag-period { color: var(--text-muted); }

.price-tag--lg .price-tag-code,
.price-tag--lg .price-tag-symbol { font-size: 0.8rem; padding-top: 4px; }
.price-tag--lg .price-tag-amount { font-size: 2.6rem; letter-spacing: -0.03em; }
.price-tag--lg .price-tag-period { font-size: 0.8rem; }

.price-tag--md .price-tag-code,
.price-tag--md .price-tag-symbol { font-size: 0.68rem; }
.price-tag--md .price-tag-amount { font-size: 1.15rem; font-weight: 400; }
.price-tag--md .price-tag-period { font-size: 0.68rem; }

.price-tag--sm .price-tag-code,
.price-tag--sm .price-tag-symbol { font-size: 0.62rem; }
.price-tag--sm .price-tag-amount { font-size: 0.95rem; font-weight: 500; }
.price-tag--sm .price-tag-period { font-size: 0.62rem; }
.plan-custom {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.plan-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 300;
}
.plan-cta,
.plan-cta-row {
  margin-top: auto;
}

.plan-cta {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
}
.plan-cta:hover { background: var(--gray-100); }

/* Pair of stacked CTAs on the pricing page's plan cards */
.plan-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.plan-cta.primary {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}
.plan-cta.primary:hover { background: var(--green-600); border-color: var(--green-600); }

.plans-wrapper[data-product="sales"] .plan-cta.primary {
  background: var(--orange);
  border-color: var(--orange);
}
.plans-wrapper[data-product="sales"] .plan-cta.primary:hover { background: #e68a00; border-color: #e68a00; }

.plan-divider {
  border: none;
  border-top: 1px solid var(--border);
}

.plan-features { display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.feature-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.fi-check { color: var(--green-700); flex-shrink: 0; margin-top: 1px; font-size: 0.8rem; }
.fi-dash { color: var(--gray-200); flex-shrink: 0; margin-top: 1px; font-size: 0.8rem; }

.feature-line--plain {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
  padding-left: 0.1rem;
}

.plans-wrapper[data-product="sales"] .fi-check { color: var(--orange); }

/* ── COMPARISON TABLE ── */
.comparison-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison-body.is-collapsed {
  display: none;
}
.comparison-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  margin: 0;
  padding: 1.75rem 1.5rem 1.25rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.comparison-header:hover {
  background: var(--gray-50);
}
.comparison-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text-primary);
}
.comparison-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s;
}
.comparison-header:hover .comparison-toggle-label {
  color: var(--green-600);
}
.plans-wrapper[data-product="sales"] .comparison-toggle-label {
  color: var(--orange);
}
.plans-wrapper[data-product="sales"] .comparison-header:hover .comparison-toggle-label {
  color: #e68a00;
}
.comparison-toggle-arrow {
  display: inline-block;
  font-size: 0.7em;
  transition: transform 0.2s ease;
}
.comparison-header[aria-expanded="true"] .comparison-toggle-arrow {
  transform: rotate(180deg);
}

.comparison-column-headings {
  display: grid;
  grid-template-columns: 38% repeat(3, minmax(0, 1fr));
  margin-top: 0;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
}

.comparison-column-headings .col-heading {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-800);
  border-right: none;
  border-top: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.comparison-column-headings .col-feature {
  text-align: left;
  align-items: flex-start;
  padding-left: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.comparison-column-headings .col-heading.hl {
  border-top: 2px solid var(--green-700);
  background: rgba(122,143,32,0.04);
}
.plans-wrapper[data-product="sales"] .comparison-column-headings .col-heading.hl {
  border-top-color: var(--orange);
  background: rgba(255,153,0,0.04);
}

table.compare tbody tr td.hl {
  background: rgba(122,143,32,0.03);
}
.plans-wrapper[data-product="sales"] table.compare tbody tr td.hl {
  background: rgba(255,153,0,0.03);
}

.col-price {
  text-transform: none;
}


table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  table-layout: fixed;
}
table.compare thead th {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-800);
  border-bottom: 1px solid var(--border);
  background: var(--gray-50);
}
table.compare thead th:first-child {
  text-align: left;
  width: 38%;
}

table.compare tbody tr td {
  padding: 0.7rem 1rem;
  color: var(--text-primary);
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-strong);
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody tr td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 0.88rem;
}

.feature-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.feature-label-block {
  display: block;
  width: 100%;
  position: relative;
}

.feature-info-btn {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  border: none;
  background: transparent;
  color: #a6a6a6;
  font-size: 0;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.feature-info-btn::after {
  content: '▾';
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 500;
  transform: rotate(-90deg);
  transition: transform 0.15s ease;
}

.feature-info-btn[aria-expanded="true"]::after {
  transform: rotate(0deg);
}

.feature-info-btn:hover,
.feature-info-btn:focus-visible {
  color: #666666;
  outline: none;
}

.feature-info-btn[aria-expanded="true"] {
  color: #666666;
}

.feature-description-panel {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  display: none;
  width: auto;
  max-width: none;
  max-height: 11rem;
  overflow-y: auto;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.7;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.feature-description-panel::before,
.feature-description-panel::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: 0;
  height: 0;
  border-style: solid;
}

.feature-description-panel::before {
  border-width: 8px 9px 8px 0;
  border-color: transparent rgba(0,0,0,0.08) transparent transparent;
}

.feature-description-panel::after {
  border-color: transparent #ffffff transparent transparent;
}

.feature-description-panel[aria-hidden="false"] {
  display: block;
  transform: translateY(0);
  outline: none;
}

.section-row td {
  padding: 0.85rem 1rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--green-800) !important;
  background: rgba(122,143,32,0.1) !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(122,143,32,0.35) !important;
  box-shadow: inset 4px 0 0 var(--green-700);
  text-align: left !important;
}
/* Blank spacer above each band so groups read as separate blocks. */
table.compare tbody tr.section-row:not(:first-child) td {
  border-top: 1.75rem solid var(--surface) !important;
}

.plans-wrapper[data-product="sales"] .section-row td {
  color: #b36b00 !important;
  background: rgba(255,153,0,0.12) !important;
  border-bottom-color: rgba(255,153,0,0.45) !important;
  box-shadow: inset 4px 0 0 var(--orange);
}
.section-toggle-btn {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  padding: 0;
  pointer-events: none;
}
.section-toggle-icon {
  display: none;
}

.t-tick { color: var(--green-700); font-size: 1rem; }
.t-cross { color: var(--gray-400); font-size: 0.85rem; }
.t-val { font-size: 0.85rem; color: var(--text-primary); }

.plans-wrapper[data-product="sales"] .t-tick { color: var(--orange); }

/* ── COMPARISON TABLE BOTTOM CTA ── */
.comparison-bottom-cta {
  padding: 1.5rem 1.5rem 1.75rem;
  text-align: center;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.comparison-bottom-cta .plan-cta {
  display: inline-block;
  width: auto;
  padding: 0.6rem 2.25rem;
}
.comparison-bottom-cta-note {
  font-size: 0.73rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ── CONTACT STRIP ── */
.contact-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}
.contact-strip-person {
  flex-shrink: 0;
  text-align: center;
  min-width: 110px;
  padding-right: 2rem;
  border-right: 1px solid var(--border);
}
.contact-strip-name {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.contact-strip-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-strip-body {
  flex: 1;
}
.contact-strip-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.contact-strip-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.contact-strip-links a {
  font-size: 0.83rem;
  color: var(--green-700);
  text-decoration: none;
  font-weight: 500;
}
.contact-strip-links a:hover { text-decoration: underline; }

/* ── FOOTER NOTE ── */
.pricing-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2rem;
  line-height: 1.8;
}

/* ── HIDDEN ── */
.product-hidden { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-wrap {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  .comparison-column-headings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
    border-bottom: none;
  }
  .comparison-column-headings .col-feature {
    display: none;
  }
  table.compare thead th {
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    vertical-align: middle;
  }
  table.compare thead th:first-child {
    width: auto;
    text-align: center;
  }
  table.compare thead th.hl {
    background: rgba(122,143,32,0.06) !important;
    height: 40px;
    padding: 0.65rem 0.35rem;
  }
  table.compare thead th .th-content {
    display: inline-block;
    width: max-content;
    text-align: center;
    white-space: nowrap;
    max-width: none;
  }
  .section-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    cursor: pointer;
  }
  .section-toggle-label {
    display: inline-block;
  }
  .section-toggle-icon {
    display: inline-block;
    width: 14px;
    height: 10px;
    position: relative;
    margin-left: 0.6rem;
    opacity: 0.92;
    flex-shrink: 0;
  }
  .section-toggle-icon::before,
  .section-toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform-origin: center;
    transition: transform 0.15s ease;
  }
  .section-toggle-icon::before {
    left: 0;
  }
  .section-toggle-icon::after {
    right: 0;
  }
  .section-toggle-btn[aria-expanded="true"] .section-toggle-icon::before {
    transform: translateY(-50%) rotate(-28deg);
  }
  .section-toggle-btn[aria-expanded="true"] .section-toggle-icon::after {
    transform: translateY(-50%) rotate(28deg);
  }
  .section-toggle-btn[aria-expanded="false"] .section-toggle-icon::before {
    transform: translateY(-50%) rotate(28deg);
  }
  .section-toggle-btn[aria-expanded="false"] .section-toggle-icon::after {
    transform: translateY(-50%) rotate(-28deg);
  }
  .core-toggle-btn {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    text-transform: none;
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    cursor: pointer;
  }
  table.compare .mobile-feature-row td.mobile-feature-label {
    text-align: left;
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 0.85rem 0.75rem 0.35rem;
    border-bottom: none !important;
    background: var(--surface);
  }
  table.compare .mobile-value-row td {
    padding-top: 0.3rem;
    padding-bottom: 0.85rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.83rem;
    border-top: none !important;
  }
  table.compare tbody tr.mobile-value-row td:first-child {
    text-align: center !important;
    color: var(--text-secondary) !important;
    font-size: 0.83rem !important;
  }
  table.compare tbody tr.mobile-value-row:hover td {
    background: transparent;
  }
  .mobile-feature-label .feature-label-wrap {
    width: 100%;
    justify-content: space-between;
  }
  .feature-label-block {
    display: block;
    width: 100%;
  }
  .feature-info-btn {
    width: 1rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0;
  }
  .feature-description-panel {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    display: none;
    width: auto;
    max-width: none;
    max-height: 11rem;
    overflow-y: auto;
    font-size: 0.75rem;
    line-height: 1.7;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .feature-description-panel::before,
  .feature-description-panel::after {
    display: none;
  }
  .feature-description-panel[aria-hidden="false"] {
    display: block;
    transform: translateY(0);
  }
  header { padding: 1rem 1.25rem; }
  nav { display: none; }
}
@media (max-width: 540px) {
  .plans-grid { grid-template-columns: minmax(0, 1fr); }
  .comparison-wrap {
    margin-left: -1rem;
    margin-right: -1rem;
  }
}

/* ── Bridge theme layout fix ── */
@media screen and (min-width: 990px) {
  #main:not(.sidebar-none) .wf-container-main {
    display: block !important;
    grid-column-gap: 0 !important;
  }
}
