/* SW-00 template sections (inner / office / support / legal). G7 tokens only (from g7-calc.css :root); no new colour tokens. */
.tpl-eyebrow{margin:0 0 var(--sp-2);font-size:var(--fs-small);font-weight:700;color:var(--slate)}
.tpl-offer{margin:var(--sp-3) 0 0;font-size:var(--fs-body);color:var(--ink);max-width:46ch}
.tpl-cta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-3);margin-top:var(--sp-4)}
.tpl-cta .btn{width:auto;margin-top:0}
.tpl-cta .quiet{display:inline-flex;align-items:center;min-height:44px}
.tpl-media-in{display:grid;gap:var(--sp-5);align-items:center}
.tpl-fig{margin:0;border-radius:var(--img-radius);overflow:hidden;background:var(--img-bg);box-shadow:var(--img-shadow)}
.tpl-fig img{display:block;width:100%;height:auto}
.tpl-r4x3{aspect-ratio:4/3}.tpl-r16x9{aspect-ratio:16/9}
.tpl-r4x3 img,.tpl-r16x9 img{height:100%;object-fit:cover}
.tpl-ba{display:grid;gap:var(--sp-4);margin-top:var(--sp-5)}
.tpl-ba-col,.tpl-card{background:var(--surface-card);border:1px solid var(--line);border-radius:var(--r);padding:var(--sp-5)}
.tpl-ba-col h3,.tpl-card h3{margin:0 0 var(--sp-2);font-size:var(--fs-h3)}
.tpl-ba-col ul{margin:0;padding-left:1.2em}.tpl-ba-col li{margin:var(--sp-2) 0}
.tpl-before{background:var(--pain-tint)}
.tpl-cards{display:grid;gap:var(--sp-4);margin-top:var(--sp-5)}
.tpl-card p{margin:0}
.tpl-quote blockquote{margin:0 0 var(--sp-3)}.tpl-quote figcaption{font-size:var(--fs-small);color:var(--slate)}
.tpl-prose{max-width:var(--wrap-text)}
.tpl-prose h2{margin:var(--sp-7) 0 var(--sp-3);font-size:var(--fs-h2)}
.tpl-prose p,.tpl-prose li{font-size:var(--fs-body);line-height:1.6}
.tpl-steps{padding-left:1.4em}.tpl-steps li{margin:var(--sp-2) 0}
.tpl-prose .tpl-fig{margin:var(--sp-5) 0}
@media (min-width:760px){.tpl-ba,.tpl-cards{grid-template-columns:1fr 1fr}.tpl-tiers{grid-template-columns:repeat(3,1fr)}}
@media (min-width:960px){.tpl-media-in{grid-template-columns:1fr 1fr}.tpl-flip .tpl-fig{order:2}.tpl-cards{grid-template-columns:repeat(3,1fr)}}
/* SW-L4 TL-1 (Fri Nov 27 2026, PM 4:02 PM ET): 44px tap targets for links in body copy and hub cards (.tpl-prose a).
   Vertical padding on an inline box makes its hit area and border box >=44px tall (22px text box + 4px + 19px = 45px) without changing
   line boxes, so line-height and text layout are unchanged. No horizontal padding (the shortest link is 102px wide), so two links
   on one line never share a hit area. The extra height goes mostly below the text: a link's 4px top padding stays inside the
   5px gap above it, so it never covers the text of a link on the line above; its bottom padding runs under the next line, where
   later text paints on top and wins the tap. A tap on a link's own text therefore always hits that link. */
.tpl-prose a{padding-top:4px;padding-bottom:19px}
/* SW-L4 TL (PM 4:08 PM ET): eyebrow at 16px (was var(--fs-small) 15px). Override only; the rule above is kept. */
.tpl-eyebrow{font-size:16px}
/* SW-L1 TL (Nov 27 2026): the 9 lines above are byte-identical to the L4 TL append (TL-1 tap targets, eyebrow 16px), so both
   lanes carry the same rules. Below: styles for the new sections secondary CTA (cta2), links, contact-form. G7 tokens only. */
.tpl-linklist ul{list-style:none;margin:var(--sp-4) 0 0;padding:0;display:grid;gap:var(--sp-2)}
.tpl-linklist li a{display:inline-flex;align-items:center;min-height:44px}
.tpl-form{display:grid;gap:var(--sp-4);margin-top:var(--sp-4);max-width:560px}
.tpl-form .field{display:grid;gap:var(--sp-2)}
.tpl-form label{font-weight:600}
.tpl-form .in{font:inherit;font-size:var(--fs-body);min-height:48px;padding:10px 12px;border:1px solid var(--slate);border-radius:var(--r-sm);background:var(--white);color:var(--ink);width:100%;box-sizing:border-box}
.tpl-form .ta{min-height:120px}
.tpl-form .msg:empty{display:none}
/* SW-D5 TL F1 (UX QA SW-L4 3eb4d6f6): focus ring on prose links. The 4px/19px tap padding stays (taps >=44px, no layout effect);
   while a link has keyboard focus its vertical padding is 0 and the ring sits 1px off the text, so the ring hugs the text box and
   clears the lines above and below (line gap ~5.6px; ring reach 1px + 3px). Colour, width unchanged (var(--focus), 3px). */
.tpl-prose a:focus-visible{padding-top:0;padding-bottom:0;outline-offset:1px}
/* SW-D5 TL F3: CTA band on the article axis at desktop (same column as .tpl-prose). */
.tpl-cta-band .wrap{max-width:var(--wrap-text)}
/* SW-L1 0005 (UX QA C1/C2, TL review): non-sequential lists render as ul.tpl-list, same spacing as .tpl-steps. */
.tpl-list{padding-left:1.4em}.tpl-list li{margin:var(--sp-2) 0}
/* SW-D6 TL (PM 5:05 PM ET): legal pages, check 8 item (3). The pinned prod legal body carries inline font sizes (0.68rem eyebrow,
   0.9rem date); lift them to 16px from the template, without touching the legal bytes (verify_v3 body md5s unchanged). */
.tpl-legal [style*="font-size:0.68rem"],.tpl-legal [style*="font-size:0.9rem"]{font-size:16px!important}
/* SW-D6 TL F5 (UX SW_UX1): spacing in template sections, existing tokens only. */
.tpl-media-copy h2{margin-bottom:var(--sp-5)}
.tpl-cta-band h2 + .lede{margin-top:var(--sp-5)}
@media (min-width:960px){.tpl-media-in{gap:var(--sp-12)}}
/* SW-D6 TL L1 (UX SW_UX1; PM 5:13 PM): legal pages get the template hero-inner and .tpl-prose look by CSS only. The pinned prod legal body
   (bytes between the verbatim markers, md5 4574ec1b / bd9e922a) is not touched; its inline styles are overridden here, so !important is needed.
   Hero = the body's first <section> (eyebrow, H1, 'Last updated'); article = the body's .section-pad <section>. */
.tpl-legal{padding-top:0}
.tpl-legal .tpl-prose > section:first-of-type{background:var(--surface-page)!important;border-bottom:0!important;padding:var(--sp-9) 0 var(--sp-11)!important;margin-bottom:var(--sp-9);text-align:center;box-shadow:0 0 0 100vmax var(--surface-page);clip-path:inset(0 -100vmax)}
.tpl-legal .tpl-prose > section:first-of-type h1{font-size:var(--fs-h1);line-height:1.02;letter-spacing:-.035em;max-width:16ch;margin:0 auto var(--sp-5)}
.tpl-legal .tpl-prose > section:first-of-type > .container > div:first-child{font-family:var(--font)!important;font-size:16px!important;font-weight:700;letter-spacing:0!important;text-transform:none!important;color:var(--slate)!important;margin:0 0 var(--sp-2)!important}
.tpl-legal .tpl-prose > section:first-of-type p{font-size:var(--fs-lede)!important;line-height:1.5;color:var(--ink)!important;max-width:46ch;margin:0 auto!important}
.tpl-legal .tpl-prose > section.section-pad > .container > div{max-width:none!important}
.tpl-legal .tpl-prose > section.section-pad > .container > div > div{font-size:var(--fs-body)!important;color:var(--ink)!important;line-height:1.6!important}
.tpl-legal .tpl-prose h2[style]{font-family:var(--font)!important;font-size:var(--fs-h2)!important;color:var(--ink)!important;margin:var(--sp-7) 0 var(--sp-3)!important}
.tpl-legal .tpl-prose a[style]{color:var(--acc-deep)!important}
@media (min-width:960px){.tpl-legal .tpl-prose > section:first-of-type{padding:var(--sp-11) 0 calc(var(--sp-11) + 24px)!important}}
/* W1-BUILD C3 (G7 verdict, mockup pricing CSS): /pricing tier cards stack under 760px, 2x2 from 760px, 4 across from 1100px; overage and one-time lines. Kit tokens only, no gold, no buy button. */
.tpl-plans-note{margin:var(--sp-3) 0 0;max-width:60ch}
.tpl-tiers{grid-template-columns:1fr}
@media (min-width:760px){.tpl-tiers{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.tpl-tiers{grid-template-columns:repeat(4,1fr)}}
.tpl-tiers .tpl-card{display:flex;flex-direction:column;gap:var(--sp-2)}
.tpl-tiers .tpl-card h3{margin:0}
.tpl-tiers .tpl-price{font-size:1.75rem;font-weight:700;line-height:1.15;color:var(--ink)}
.tpl-tiers .tpl-min{font-weight:700;color:var(--acc-deep)}
.tpl-extras{display:grid;gap:var(--sp-4);margin-top:var(--sp-6)}
@media (min-width:760px){.tpl-extras{grid-template-columns:1fr 1fr}}
.tpl-extra{border-left:4px solid var(--acc-deep);padding:var(--sp-2) 0 var(--sp-2) var(--sp-4)}
.tpl-extra h3{margin:0 0 var(--sp-2);font-size:var(--fs-h3)}
.tpl-extra p{margin:0}
/* W1-FIX4 (0010): 44px hit area for the in-body link lines in media copy (/about) and on /community; same pattern as details.faq p a (check 8) */
.tpl-media-copy p a,p[data-slot="cl.community.more.p"] a{display:inline-block;padding:11px 0;margin:-11px 0}
/* B2-7C phone chip (UX ruling B2/B2_7C_UX_ruling_v1.md dd7194b4 §1): one sitewide look for every standalone phone link, i.e. an a[data-call] that is not a .btn and wraps img.num-img (/pricing, /how-it-works, /roadmap, /contact .b2-tel; trade .pg-trade-tel, .pg-trade-calc-tel). Markup unchanged. Byte-identical in ro/b2-core and ro/b1-faq4. */
a[data-call]:not(.btn):has(> img.num-img){display:inline-flex;align-items:center;align-self:flex-start;justify-self:start;width:auto;max-width:100%;min-height:48px;margin-top:4px;padding:0 16px;box-sizing:border-box;border:1px solid var(--acc);border-radius:12px;background:var(--acc-tint);color:var(--acc-deep);text-decoration:none;box-shadow:none}
a[data-call]:not(.btn):has(> img.num-img)>img.num-img{height:28px;width:auto;max-width:100%}
