/* After the story: features, pricing (markup + data attributes unchanged; see
   pricing-copy-drift.test.mjs), FAQ, final CTA, footer. Flat paper style. */
.section { padding: var(--s9) var(--s5); }
.container { max-width: 1120px; margin: 0 auto; }
.section h2 { margin-top: var(--s3); font-size: var(--fs-h2); font-weight: 650; letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); text-wrap: balance; }
.section-sub { margin-top: var(--s4); max-width: 36rem; font-size: var(--fs-lead); color: var(--body); }
.section--center { text-align: center; }
.section--center .section-sub { margin-left: auto; margin-right: auto; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Features ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s7); padding: 0; list-style: none; }
.feature { padding: var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.feature h3 { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.feature p { margin-top: var(--s2); color: var(--body); }
.feature--wide { grid-column: span 2; }
.platform-badges { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.platform-badge { display: inline-flex; align-items: center; gap: var(--s2); min-height: 34px; padding: 4px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: var(--fs-small); }
.platform-mark { width: 18px; height: 18px; border-radius: 4px; color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.platform-badge[data-platform="vinted"] .platform-mark { background: #09b1ba; }
.platform-badge[data-platform="etsy"] .platform-mark { background: #f1641e; }
.platform-badge[data-platform="ebay"] .platform-mark { background: #0064d2; }
.platform-badge[data-platform="shopify"] .platform-mark { background: #5e8e3e; }
.platform-badge.coming .platform-mark { opacity: .5; }
.platform-status { padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.platform-status.live { background: var(--live-bg); color: var(--live); }
.platform-status.soon { background: var(--soon-bg); color: var(--soon); }

/* ── Pricing ── */
.pricing { text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); max-width: 1120px; margin: var(--s7) auto 0; }
.pricing-card { position: relative; padding: var(--s6) var(--s5); text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid var(--violet); }
.pricing-popular { position: absolute; top: -12px; right: var(--s5); padding: 3px 10px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 12px; font-weight: 600; }
.pricing-plan { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: var(--s2); }
.pricing-price { font-size: 40px; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); margin-bottom: var(--s1); font-variant-numeric: tabular-nums; }
.pricing-price span { font-size: 15px; font-weight: 400; color: var(--body); }
.pricing-price span[data-price] { font-size: inherit; font-weight: inherit; color: inherit; }
.pricing-desc { font-size: var(--fs-small); color: var(--body); margin-bottom: var(--s5); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s6); flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-small); color: var(--body); }
.pricing-features li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--live-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230d7f45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center; }
.pricing-features b, .pricing-plan b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pricing-card .btn { width: 100%; }
.pv2-toggles { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s6); }
.pv2-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.pv2-seg button { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: var(--fs-small); color: var(--body); cursor: pointer; transition: background-color .2s, color .2s; }
.pv2-seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); }
.pv2-save { font-size: 12px; color: var(--live); }
.pricing[data-edition="seller"] [data-edition-panel="buyer"],
.pricing[data-edition="buyer"] [data-edition-panel="seller"] { display: none; }
.pricing[data-edition="buyer"] .pv2-billing { visibility: hidden; }
.pricing[data-interval="month"] .pv2-y, .pricing[data-interval="month"] .pv2-q,
.pricing[data-interval="quarter"] .pv2-m, .pricing[data-interval="quarter"] .pv2-y,
.pricing[data-interval="year"] .pv2-m, .pricing[data-interval="year"] .pv2-q { display: none; }
.pv2-billing { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.pv2-quarter-note { display: block; }
.pv2-note { margin-top: var(--s5); font-size: 13px; color: var(--body); }
.pv2-was { color: var(--body); font-weight: 400; font-size: .6em; margin-right: 6px; }
.pv2-ends { display: block; font-size: 12px; font-weight: 500; color: var(--body); }
.pv2-buyer-intro { max-width: 640px; margin: var(--s6) auto 0; font-size: 16px; color: var(--body); }
.payg-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; max-width: 1120px; margin: var(--s6) auto 0; padding: 28px 0; border-top: 1px solid var(--line); text-align: left; }
.payg-copy { min-width: 0; }
.payg-copy .pricing-desc { margin-bottom: var(--s3); }
.payg-anchor { font-size: 13px; color: var(--body); margin-bottom: var(--s3); }
.payg-copy a { color: var(--violet); }
.payg-packs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s5); align-content: start; }
.payg-packs li { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--body); }
.payg-packs li > span { flex: 1; min-width: 0; }
.payg-price { display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.payg-packs .btn { width: auto; min-height: 44px; padding: 10px 14px; flex-shrink: 0; }
.payg-packs .btn:disabled { opacity: .55; cursor: wait; }
@media (min-width: 1100px) { .pricing-grid[data-edition-panel="seller"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pricing-grid[data-edition-panel="seller"] .pricing-card { padding: 28px 20px; } }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: var(--s7) auto 0; text-align: left; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question { width: 100%; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: var(--s5); padding: var(--s4) 0; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.faq-question-text { font-size: 17px; font-weight: 500; color: var(--ink); }
.faq-question:hover .faq-question-text { color: var(--violet); }
.faq-toggle { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; transition: transform .3s var(--ease); }
.faq-toggle svg { width: 16px; height: 16px; stroke: var(--body); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-answer { max-height: 600px; }
/* Modern Web Guidance animate-to-intrinsic-sizes: open to the real height
   (no 600px cut-off, right pacing for short answers); max-height stays the fallback. */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-answer { max-height: none; block-size: 0; transition: block-size .4s var(--ease); }
  .faq-item.open .faq-answer { block-size: auto; max-height: none; }
}
.faq-answer-inner { max-width: 65ch; padding-bottom: var(--s5); font-size: 16px; color: var(--body); }

/* ── Final CTA ── */
.cta-final { padding: var(--s9) var(--s5); }
.cta-card { max-width: 880px; margin: 0 auto; padding: var(--s8) var(--s7); border-radius: var(--r-lg); background: var(--navy); color: #fff; text-align: center; }
.cta-card h2 { font-size: var(--fs-h2); font-weight: 650; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
.cta-card p:not([class*="cta-mobile__"]) { margin: var(--s4) auto 0; max-width: 32rem; font-size: var(--fs-lead); color: #d5d6f2; }
.cta-card .cta-row { justify-content: center; margin-top: var(--s6); }
.cta-card .btn-primary { background: #fff; color: var(--navy); }
.cta-card .btn-primary:hover { background: var(--violet-soft); }
.cta-card .cta-note { color: #c9cbe8; }
.cta-card .cta-mobile { margin: var(--s6) auto 0; text-align: left; color: var(--ink); }
.cta-card :focus-visible { outline-color: #fff; }
.cta-card .cta-mobile :focus-visible { outline-color: var(--violet); }

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .payg-row { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 768px) {
  .act--hero { padding-top: 0; }
  .section { padding: var(--s8) var(--s4); }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: auto; }
  .cta-card { padding: var(--s7) var(--s5); }
}
@media (max-width: 600px) {
  .pv2-billing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 12px; }
  .pv2-billing button { border-radius: 8px; padding: 6px 4px; font-size: 13px; line-height: 1.25; }
  .pv2-billing .pv2-save { display: block; font-size: 11px; }
}
@media (max-width: 480px) { .payg-packs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Plans compare row by row: the three monthly-allowance rows line up across cards, then each card lists only what it adds. */
.pricing-grid[data-edition-panel="seller"] .pricing-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
.pricing-grid[data-edition-panel="seller"] .pricing-limits { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: var(--s3); margin-bottom: 0; }
.pricing-grid[data-edition-panel="seller"] .pricing-extras { margin-top: var(--s3); }
.pricing-features li.pv2-none { color: var(--body); opacity: .6; }
.pricing-features li.pv2-none::before { visibility: hidden; }
.pricing-features li.pv2-plus { margin-top: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.pricing-features li.pv2-plus::before { display: none; }
