/* ──────────────────────────────────────────────────────────
   Vist · pricing (loads after site.css)
   Three ruled columns, the Founder plan on the highlighter.
   ────────────────────────────────────────────────────────── */

/* checkout success */
.success-banner { display: none; max-width: 640px; margin: 32px auto 0; padding: 24px 28px; border: 1.5px solid var(--ink); background: var(--mark); text-align: center; font-family: var(--sans); }
.success-banner.visible { display: block; }
.success-banner h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 8px 0 4px; }
.success-banner p { color: var(--ink); font-size: 16px; }
.success-icon { color: var(--ink); }

/* header */
.pricing-header { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 48px); }
.pricing-header h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; max-width: 15em; }
.pricing-header .sub { margin-top: 18px; font-size: 20px; color: var(--ink-2); max-width: 34em; }

/* tiers */
.tiers-section { padding-bottom: clamp(48px, 6vw, 88px); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--paper-2); }
.tier { position: relative; display: flex; flex-direction: column; padding: 28px 26px 30px; font-family: var(--sans); }
.tier + .tier { border-left: 1px solid var(--rule); }
.tier.featured { background: var(--mark); border-left-color: var(--ink); }
.tier.featured + .tier { border-left-color: var(--ink); }
.tier-name { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.02em; }
.tier-tagline { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; min-height: 3em; }
.tier.featured .tier-tagline { color: var(--ink); }
.tier-price-row { display: flex; align-items: flex-end; gap: 10px; margin: 22px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.tier.featured .tier-price-row { border-bottom-color: rgba(22,23,26,.3); }
.tier-price-row .amt { font-family: var(--serif); font-size: 64px; line-height: .9; letter-spacing: -0.04em; }
.tier-price-row .per { font-size: 15px; color: var(--ink-3); line-height: 1.3; padding-bottom: 4px; }
.tier-price-row .per span { color: var(--ink-3) !important; }
.tier.featured .tier-price-row .per { color: var(--ink-2); }
.tier-features { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; font-size: 15.5px; flex: 1; }
.tier-features li { position: relative; padding-left: 28px; line-height: 1.45; }
.tier-features li .tick { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; color: var(--ink); }
.tier-features li strong { font-weight: 700; }
.tier-features li .qual { display: block; font-size: 13.5px; color: var(--ink-3); }
.tier.featured .tier-features li .qual { color: var(--ink-2); }
.tier-foot { display: grid; gap: 10px; }
.tier-foot .btn { justify-content: center; }
.tier.featured .btn-primary { background: var(--ink); color: var(--mark); }
.tier.featured .btn-primary:hover { background: var(--paper-2); color: var(--ink); }
.tier-microcopy { font-size: 13.5px; color: var(--ink-3); text-align: center; }
.tier.featured .tier-microcopy { color: var(--ink-2); }

/* quotes */
.social-quote { background: var(--paper-2); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.sq-inner { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); }
.sq-card { padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.sq-card:first-child { padding-left: 0; }
.sq-divider { background: var(--rule); }
.sq-mark { display: none; }
.sq-text { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.4; }
.sq-cite { font-family: var(--sans); font-size: 14px; color: var(--ink-3); }

/* comparison */
.compare-section { padding: var(--section-y) 0 0; }
.compare-head { margin-bottom: 28px; }
.compare-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.025em; }
.compare-table { border: 1.5px solid var(--ink); background: var(--paper-2); font-family: var(--sans); font-size: 15.5px; overflow-x: auto; }
.compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; min-width: 560px; border-bottom: 1px solid var(--rule); align-items: stretch; }
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: 11px 16px; display: flex; align-items: center; }
.compare-row > div:first-child { color: var(--ink-2); }
.compare-row.header { border-bottom: 1.5px solid var(--ink); }
.compare-row.header > div { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--ink); padding-top: 16px; padding-bottom: 14px; }
.compare-row.section-header > div { font-weight: 700; color: var(--ink); padding-top: 20px; padding-bottom: 6px; }
.compare-row .featured-cell { background: var(--mark); }
.compare-row .yes-tick { width: 17px; height: 17px; color: var(--ink); }
.compare-row .no-dash { display: inline-block; width: 12px; height: 1.5px; background: var(--ink-3); }

/* FAQ */
.faq-section { padding: var(--section-y) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.025em; }
.faq-grid .faq-aside { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 22em; }
.faq-grid .faq-aside a, .faq-item .answer a { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: .22em; text-underline-offset: .08em; }
.faq-list { border: 1.5px solid var(--ink); background: var(--paper-2); }
.faq-item + .faq-item { border-top: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-family: var(--sans); font-size: 17px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--paper); }
.faq-item summary .toggle-ic { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transition: transform .2s var(--ease-out), background .2s; }
.faq-item[open] summary .toggle-ic { transform: rotate(45deg); background: var(--mark); }
.faq-item .answer { padding: 0 20px 20px; font-size: 17.5px; color: var(--ink-2); }
.faq-item .answer p + p { margin-top: .8em; }

/* trust strip */
.trust-strip { border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); background: var(--paper-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding: 22px 20px; font-family: var(--sans); display: grid; gap: 4px; }
.trust-item:first-child { padding-left: 0; }
.trust-item + .trust-item { border-left: 1px solid var(--rule); }
.trust-item .k { font-size: 14px; font-weight: 700; }
.trust-item .v { font-family: var(--serif); font-size: 19px; }
.trust-item .v .dim { color: var(--ink-3); font-family: var(--sans); font-size: 14px; }

/* close */
.closing-cta { padding: var(--section-y) 0; }
.closing-cta h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; max-width: 12em; }
.closing-cta p { margin-top: 18px; font-size: 20px; color: var(--ink-2); max-width: 32em; }
.closing-cta .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* embedded in the app (?embed=1): no chrome */
html.embed .nav-outer, html.embed footer.foot, html.embed .closing-cta { display: none; }
html.embed .pricing-header { padding-top: clamp(32px, 4vw, 56px); }
html.embed .pricing-header .crumbs { display: none; }

@media (max-width: 1020px) {
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--rule); }
  .tier.featured, .tier.featured + .tier { border-top-color: var(--ink); }
  .tier-tagline { min-height: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  /* the plan column stays put while the tiers scroll past it */
  .compare-row { grid-template-columns: 9.5em repeat(3, minmax(7.5em, 1fr)); min-width: 32em; }
  .compare-row > div:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper-2); border-right: 1px solid var(--rule); }
  .compare-row.header > div { font-size: 18px; }
  .sq-inner { grid-template-columns: 1fr; }
  .sq-divider { height: 1px; }
  .sq-card { padding-left: 0; padding-right: 0; }
}
