/* /pricing: layout only. Colours and type come from site.css / subpage.css tokens; nothing new.
   The FAQ is the home .faq-rows section outside the 800px column; .subpage h2/p rules are reset for it. */
.subpage .pricing-intro-cta{display:flex;justify-content:center;margin:-40px 0 0}
.pricing-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.subpage .pricing-plan{margin:0;display:flex;flex-direction:column}
.subpage .pricing-plan h3{margin:0 0 8px}
.subpage .pricing-price{font:600 40px/1.15 var(--display);color:var(--text);margin:0 0 8px}
.subpage .pricing-sub{color:var(--muted);margin:0 0 16px}
.pricing-tags{display:flex;flex-wrap:wrap;gap:8px}
.subpage .pricing-plus{font-weight:600;color:var(--text);margin:8px 0 12px}
.subpage .plan-list{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:12px}
.subpage .plan-item{display:flex;gap:12px;align-items:flex-start;margin:0}
.subpage .plan-item .ico{color:var(--accent);margin-top:1px}
.subpage .plan-item strong{display:block;color:var(--text);font-weight:600}
.subpage .plan-desc{display:block;margin-top:2px;font-size:14px;line-height:1.45;color:var(--muted)}
/* Pro card head: plan name left, Monthly / Yearly chips right; the Yearly chip carries the saving tag */
.subpage .pricing-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0 0 8px}
.subpage .pricing-head h3{margin:0}
.subpage .pricing-pro .pricing-y{display:none}
.subpage .pricing-pro:has(input[value=yearly]:checked) .pricing-y{display:revert}
.subpage .pricing-pro:has(input[value=yearly]:checked) .pricing-m{display:none}
.subpage .pricing-pro .pricing-sub{margin:0 0 16px}
.subpage .pricing-sub s{color:var(--muted)}
/* SegmentToggle (src/ui/SegmentToggle.tsx, dark): one track (chartTrack white 12%, 4px padding, full radius), the pick is a
   white pill with dark semibold text (buttonPrimaryBg/Fg), the rest white regular; 44px (control.segment), 14px (font.caption) */
.pricing-seg{display:flex;min-height:44px;padding:4px;margin:0;border:0;border-radius:999px;background:rgba(255,255,255,.12)}
.pricing-seg label{position:relative;display:flex}
.pricing-seg input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.pricing-seg label>span{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border-radius:999px;color:#fff;font:400 14px/1 var(--body);white-space:nowrap;transition:background-color .2s,color .2s}
.pricing-seg input:checked+span{background:#fff;color:#1f1f1f;font-weight:600}
.pricing-seg input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
@media (hover:hover){.pricing-seg input:not(:checked):hover+span{background:rgba(255,255,255,.06)}}
@media (prefers-reduced-motion:reduce){.pricing-seg label>span{transition:none}}
/* full-width primary button closing each plan card (the shell's .btn-primary) */
.subpage .pricing-plan .plan-list{margin-bottom:24px}
.subpage .pricing-cta{width:100%;margin-top:auto;color:#000;text-decoration:none}
.subpage .pricing-cta:hover{color:#000}
.subpage .pricing-pro .pricing-cta{margin-top:24px}
.subpage .pricing-heart{display:flex;gap:12px;align-items:flex-start;margin:auto 0 0;color:var(--text)}
.subpage .pricing-note{text-align:center;margin:16px 0 0}
.subpage .pricing-mission{margin-top:96px}
/* three columns fit the 800px column: keep the card in it (subpage.css widens table cards for /compare) */
.subpage .card.pricing-table{width:auto;margin-left:0}
.subpage .pricing-table .table-wrap table{min-width:0;width:100%}
/* home FAQ section inside a sub-page: undo the guide-column h2/p rules so it matches the home page and /tori */
.subpage .faq-rows .faq-head h2{font:600 56px/64px var(--display);color:var(--text);margin:0}
/* .subpage .lead (18px, 40px bottom margin, no max width) would win over site.css .faq-head .lead: restore the home values */
.subpage .faq-rows .faq-head .lead{font-size:18px;line-height:1.5;color:var(--muted);text-align:left;max-width:30ch;margin:0}
.subpage .faq-rows .faq-a p{padding-top:8px;margin:0;font-size:16px;line-height:1.5;color:var(--muted)}
@media (max-width:780px){
  .pricing-plans{grid-template-columns:minmax(0,1fr)}
  .subpage .pricing-mission{margin-top:64px}
  .subpage .pricing-intro-cta{margin-top:-24px}
  .subpage .faq-rows .faq-head h2{font-size:36px;line-height:1.1}
  .subpage .faq-rows .faq-head .lead{font-size:16px}
  /* phones: each feature label spans the row, Free and Pro sit side by side under it (uk/ka words are too long for three columns) */
  .subpage .pricing-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .subpage .pricing-table thead th:first-child{display:none}
  .subpage .pricing-table th[scope=row]{grid-column:1/-1;border-bottom:0;padding-bottom:0}
}
