/* Public pricing page, /pricing (subscriptions, lot 3; design v2 2026-10-13). Tokens from
   fragments/design_system.html; header, drawer and footer from public-site.css. No hex. The cards carry the
   shadows the canvas draws (Public_Pricing): a light one, a deeper one under the featured plan. */

/* Hero */
.pr-hero { padding-top: 88px; text-align: center; }
.pr-hero h1 { margin: 14px auto 0; max-width: 760px; font-size: 52px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.pr-lead { margin: 18px auto 0; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--ink-500); }

/* Plans: three cards on one subgrid, so the name, tagline, price, button and rows line up across them. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto auto 1fr;
  column-gap: 10px; margin-top: 56px; }
.plan-card { position: relative; grid-row: span 5; display: grid; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px;
  box-shadow: 0 1px 2px rgba(10, 23, 51, .06), 0 1px 4px rgba(10, 23, 51, .04); }
.plan-card.is-featured { border-color: var(--blue-200); box-shadow: 0 12px 32px rgba(10, 23, 51, .10), 0 30px 60px rgba(10, 23, 51, .12); }
.plan-badge { position: absolute; top: -12px; left: 26px; padding: 5px 11px; border-radius: 999px; background: var(--blue-600);
  color: var(--white); font-size: 11px; line-height: 1.2; font-weight: 600; letter-spacing: .04em; }
.plan-name { font-size: 22px; line-height: 30px; font-weight: 700; }
.plan-tagline { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--ink-500); }
.plan-price { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 38px; line-height: 48px; font-weight: 700; letter-spacing: -.02em; }
.plan-price .per { font-size: 14px; color: var(--ink-400); }
.plan-card .plan-cta { margin-top: 16px; width: 100%; min-height: 46px; padding: 0 20px; font-size: 14px; align-self: start; }
.plan-group-title { margin: 26px 0 6px; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); }
.plan-rows { list-style: none; }
.plan-row { display: flex; align-items: center; gap: 10px; height: 40px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.plan-row .mark { width: 20px; height: 20px; flex: none; }
.plan-row.is-ok .mark { color: var(--mint); }
.plan-row.is-no .mark { color: var(--danger); }
.row-label { flex: 1; min-width: 0; color: var(--ink-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-row.is-no .row-label { color: var(--ink-400); }
.row-value { flex: none; font-weight: 600; }
.pr-note { margin-top: 22px; text-align: center; font-size: 13px; color: var(--ink-400); }

/* Additional AI credits: a section of its own, no price. */
.extra-credits { margin-top: 88px; padding: 40px 0; background: var(--paper-3); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); text-align: center; }
.extra-credits h2 { font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.extra-credits p { margin: 12px auto 0; max-width: 620px; font-size: 15px; line-height: 1.6; color: var(--ink-500); }

/* FAQ */
.faq { max-width: 884px; padding-top: 88px; padding-bottom: 96px; }
.faq h2 { margin-bottom: 18px; font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; color: var(--ink-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { flex: 1; }
.faq-mark { width: 18px; height: 18px; flex: none; color: var(--ink-400); }
.faq details[open] .faq-mark__v { display: none; }
.faq details p { margin-top: 10px; max-width: 740px; font-size: 15px; line-height: 1.7; color: var(--ink-500); }

/* Width-dependent only: one column of cards, then the phone sizes (390 artboard). */
@media (max-width: 980px) {
  .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 20px; max-width: 560px; }
  .plan-card { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 640px) {
  .pr-hero { padding-top: 28px; }
  .pr-hero h1 { margin-top: 10px; font-size: 28px; line-height: 1.15; }
  .pr-lead { margin-top: 12px; font-size: 14px; }
  .plans { margin-top: 24px; }
  .plan-card { padding: 20px; }
  .plan-badge { left: 20px; }
  .plan-name { font-size: 20px; line-height: 28px; }
  .plan-tagline { margin-top: 6px; line-height: 21px; }
  .plan-price { margin-top: 10px; }
  .plan-price .amount { font-size: 34px; line-height: 44px; }
  .plan-card .plan-cta { margin-top: 14px; min-height: 44px; border-radius: 12px; font-size: 13px; }
  .plan-group-title { margin: 14px 0 4px; }
  .plan-row { height: 32px; font-size: 13px; }
  .pr-note { margin-top: 16px; font-size: 12px; }
  .extra-credits { margin-top: 48px; padding: 28px 0; }
  .extra-credits h2, .faq h2 { font-size: 22px; }
  .extra-credits p { font-size: 14px; }
  .faq { padding-top: 48px; padding-bottom: 56px; }
  .faq details { padding: 14px 0; }
  .faq summary { font-size: 14px; }
  .faq details p { font-size: 13px; }
}
