/* Duit website: the pricing page (pricing.html, served at /pricing; written by tools/pages.py). Loaded after site.css,
   which gives the tokens, both themes, .card, .state, the buttons, the header and the footer. The page (SPEC9, SPEC13):
   a head (h1 and a muted line), three plan cards (.pr-cols: Duit Solo, $19.99 a month with Grow for 1 site since SPEC14;
   Duit Boosted, $49.99 a month for 1 site since SPEC15; and Enterprise, for agencies and more than 1 site; three across
   from 1100px, two from 900px, stacked under it), then the questions in two columns (one under 900px). One
   accent pill in the page body: Solo's "Get early access". No inline styles or scripts, so the page runs under the
   site's strict CSP. */

.pr-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pr-cols > .pr-plan { width: 100%; max-width: 640px; }
@media (min-width: 900px) {
  .pr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-cols > .pr-plan { max-width: none; }
}
/* SPEC15: three plans (Duit Solo, Duit Boosted, Enterprise) side by side from 1100px; two, then one, under it */
@media (min-width: 1100px) {
  .pr-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* a plan's name and its availability label on one line */
.pr-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
/* what a coming plan will hold: a dash, not a check mark (nothing in it is available yet) */
.pr-list.is-soon li::before { content: "\2013"; content: "\2013" / ""; color: var(--muted); }

.pricing { padding-block: clamp(36px, 4.5vw, 64px) clamp(64px, 8vw, 112px); }

.pr-intro { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.pr-intro h1 { max-width: 20ch; }
.pr-intro .lede { max-width: 50ch; }

/* the plan card: name, one muted line, the price, a note, what's in it, the founding offer, then the buttons */
.pr-plan { gap: 0; padding: clamp(22px, 2.4vw, 28px); }
.pr-plan h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.pr-plan > * + p { margin-top: 0; } /* site.css pulls a card's paragraphs up under its title; here each part has its own space */
.pr-plan > :is(h2, .pr-name) + p { margin-top: 6px; }
.pr-plan > .pr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 22px; color: var(--text); }
.pr-num { font-size: clamp(40px, 1.6vw + 28px, 52px); font-weight: var(--w-head); line-height: 1; letter-spacing: -0.03em; }
/* a price in words (Enterprise's "On request"): smaller, on a line as tall as Solo's $19.99, so the two cards line up.
   "$19.99" (SPEC14) is wider than "$99" was: at 320px it takes 113px of the card's 242px, and .pr-per wraps under it */
.pr-num.pr-word { font-size: clamp(28px, .8vw + 20px, 34px); line-height: clamp(40px, 1.6vw + 28px, 52px); }
.pr-from, .pr-per { font-size: 15px; line-height: 1.3; color: var(--muted); }
.pr-plan > .pr-note { margin-top: 8px; font-size: 15px; line-height: 1.45; }

.pr-list {
  display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.45;
}
.pr-list li { position: relative; padding-left: 26px; }
.pr-list li::before {
  content: "\2713"; content: "\2713" / ""; position: absolute; left: 2px; top: 0;
  font-weight: 500; color: var(--link);
}

.pr-plan > .pr-offer {
  margin-top: 20px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 12px;
  font-size: 14px; line-height: 1.5; color: var(--text);
}

.pr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 26px; }
/* the conversion work (N12, 2026-11-28): each plan's call right under its price, so a phone reaches it in the first
   screens; Solo's card then says where Grow works (.pr-platform, its Coming label beside WordPress) and what else
   Grow needs (.pr-also) */
.pr-cta.is-top { margin-top: 16px; padding-top: 0; }
.pr-plan > .pr-cta.is-top + .pr-note { margin-top: 14px; }
.pr-plan > .pr-platform { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pr-plan > .pr-also { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pr-also strong { color: var(--text); }
/* a text link beside a pill (Enterprise's "See Enterprise"): a 44px target, set off from the pill */
.pr-cta a.link { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding-inline: 6px; }

/* questions */
.pr-faq { margin-top: clamp(56px, 7vw, 96px); }
.pr-faq > h2 { margin-bottom: clamp(20px, 2.4vw, 28px); }
.pr-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.pr-qs h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
.pr-qs p { max-width: 52ch; margin-top: 6px; line-height: 1.6; color: var(--muted); }
.pr-fine { margin-top: clamp(36px, 4vw, 48px); font-size: 14px; line-height: 1.5; color: var(--muted); }

@media (max-width: 899px) {
  .pr-qs { grid-template-columns: minmax(0, 1fr); }
}
