/* The questions page (/questions/): the reference pricing page's questions and answers block,
   grouped. Every rule is scoped under .pg-questions; every colour, face and radius is a site.css custom property, and every size
   is a step already used in /assets/site.css or /assets/frame.css. No colour value is written in this file. */

/* the opening: a centred headline and one line in the sunk band, ruled off above the groups */
.pg-questions .qa-top{text-align:center}
.pg-questions .qa-top h1{margin-inline:auto;font-size:clamp(40px,4.4vw,56px)}
.pg-questions .qa-top .lead{margin-inline:auto}

/* a group: its label and heading, then every question with its answer always open, as a masonry on hairlines:
   one column on the phone, two at 700, three at 1100 */
.pg-questions .qa-g{padding-block:72px}
.pg-questions .qa-grid{margin-top:32px;columns:1;column-gap:0;column-rule:1px solid var(--line);border-top:1px solid var(--line)}
.pg-questions .qa-q{break-inside:avoid;display:flex;flex-direction:column;gap:10px;min-width:0;padding:24px clamp(0px,2vw,24px) 16px;border-bottom:1px solid var(--line)}
.pg-questions .qa-q h3{margin:0;font:600 18px/26px var(--body);letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.pg-questions .qa-q p{margin:0;color:var(--ink-2);font-size:15px;line-height:24px;overflow-wrap:break-word}
.pg-questions .qa-q .more{margin:0}
.pg-questions .qa-q .more a{font-size:14px}
.pg-questions .qa-q .badge-designed{white-space:normal}
@media (min-width:700px){.pg-questions .qa-grid{columns:2}}
@media (min-width:1100px){.pg-questions .qa-grid{columns:3}}

/* the closing band, split: the question, one sentence and two buttons at the left; two link cards at the right */
.pg-questions .qa-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px clamp(24px,4vw,56px);align-items:start}
.pg-questions .qa-ask{min-width:0}
.pg-questions .qa-ask p{margin:16px 0 0;color:var(--ink-2);font-size:17px;line-height:26px;max-width:48ch}
.pg-questions .qa-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.pg-questions .qa-cards li{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.pg-questions .qa-cards .ic{font-size:20px;color:var(--ink-2)}
.pg-questions .qa-cards b{font:600 17px/26px var(--body);letter-spacing:-.01em;color:var(--ink)}
.pg-questions .qa-cards span{flex:1;color:var(--ink-2);font-size:15px;line-height:24px}
.pg-questions .qa-cards a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
@media (max-width:900px){.pg-questions .qa-split{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  .pg-questions .qa-cards{grid-template-columns:minmax(0,1fr)}
  .pg-questions .qa-ask .cta{flex-direction:column;align-items:stretch}
  .pg-questions .qa-ask .btn{justify-content:center;white-space:normal;text-align:center}
}

/* the redesign: tokens; the link cards become cells divided by hairlines. */
.pg-questions .qa-cards{gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.pg-questions .qa-cards li{border-radius:0;background:var(--bg);box-shadow:none}
.pg-questions .qa-cards .ic{color:var(--ink-3)}
.pg-questions .qa-q h3{font-family:var(--display);letter-spacing:0}
/* a pending answer: the hatch and a dashed hairline, the word Pending */
.pg-questions .qa-pend{padding:.75rem .875rem;border:1px dashed var(--line-hover);border-radius:var(--r);background:var(--hatch)}
.pg-questions .qa-pend span{display:inline-block;margin-right:.75rem;padding:.1875rem .5rem;border:1px solid var(--line-hover);border-radius:var(--r);color:var(--ink);font:500 .6875rem/1rem var(--mono);letter-spacing:.12em;text-transform:uppercase}
/* Three cards: Covenant and Basis side by side, and Every screen, which covers both, takes the full row under them, so no empty cell shows. */
.pg-questions .qa-cards li:last-child:nth-child(odd){grid-column:1/-1}
