/* ==========================================================
   VERYQUERY · pricing page
   Layers on top of design-system.css + components.css + ../styles.css.

   The plan-card chassis (tier cards) lives in shared components.css
   so the marketing pricing page and the dashboard plan picker
   render from the same vocabulary. This file owns only the
   pricing-page-specific bits: the .sec__sub paragraph style, the
   enterprise strip layout, and the FAQ accordion.
========================================================== */

/* Sub-lede paragraph that sits below .sec__lede on the pricing
   intro ("Start Starter on a 14-day free trial..."). */
.sec__sub {
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  color: var(--ink-mid);
  line-height: 1.55;
  font-weight: 400;
  max-width: 62ch;
}
.sec__sub strong {
  color: var(--ink);
  font-weight: 600;
}

/* Slight breathing room between the lede and the plan-card grid. */
.plan-card-grid { margin-top: var(--s-7); }

/* ==========================================================
   ENTERPRISE STRIP
========================================================== */
.enterprise-strip {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(var(--s-5), 4vw, var(--s-8));
  align-items: end;
  margin-top: var(--s-5);
  padding: clamp(var(--s-6), 4vw, var(--s-7));
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
@media (max-width: 47.5rem) {
  .enterprise-strip {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    align-items: start;
  }
}
.enterprise-strip__text .prose {
  color: var(--ink-soft);
  font-size: var(--t-md);
  line-height: 1.55;
  font-weight: 400;
  margin-top: var(--s-4);
}
.enterprise-strip__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-3);
}
@media (max-width: 47.5rem) {
  .enterprise-strip__actions { align-items: flex-start; }
}
.enterprise-strip__email {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--ink-mid);
  font-weight: 400;
}
.enterprise-strip__email a {
  color: var(--accent);
  font-weight: 500;
}
.enterprise-strip__email a:hover { color: var(--accent-deep); }

/* ==========================================================
   FAQ · native details/summary
========================================================== */
.faq {
  margin-top: var(--s-6);
  max-width: 78ch;
}
.faq__item {
  border-top: 1px solid var(--rule);
}
.faq__item:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  cursor: pointer;
  list-style: none;
  padding: var(--s-4) 0;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.35;
  transition: color 160ms var(--ease-out);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--accent); }

.faq__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-full);
  background: var(--paper-1);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: transform 220ms var(--ease-out), background 160ms, color 160ms;
  flex: 0 0 auto;
  line-height: 1;
}
.faq__item[open] .faq__mark {
  transform: rotate(45deg);
  background: var(--accent-tint);
  color: var(--accent);
}
.faq__q:hover .faq__mark {
  background: var(--paper-2);
  color: var(--ink);
}

.faq__a {
  padding: 0 0 var(--s-5);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 68ch;
  font-weight: 400;
}
.faq__a p { margin: 0 0 var(--s-3); }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a {
  color: var(--accent);
  font-weight: 500;
}
.faq__a a:hover { color: var(--accent-deep); }
.faq__a code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1em 0.4em;
  border-radius: 0.25rem;
  color: var(--ink);
}
