/* components part 19 of 24 — split for the host's 16KB FTP ceiling.
   Generated by split_for_ftp.py; edit the prototype, not this. */
@media(min-width:1041px){
  body.saas .saas-hero h1{font-size:clamp(40px,3.5vw,52px);line-height:1.08;max-width:none}
  body.saas .saas-hero .hero-txt{grid-row:1/span 2}
  /* 25 Nov 2026 (Siim, FigJam 397:18: "top padding too much ... compare with main ai render landing"): without the logo strip in
     row 2 the spanned second row grew empty space and pushed the H1 down; the text then takes row 1 only, as on the hub. */
  body.saas .saas-hero .hero-row:not(:has(.saas-hero-works))>.hero-txt{grid-row:1}
  body.saas .saas-hero .hero-media{grid-column:2;grid-row:1}
  body.saas .saas-hero .saas-logos.saas-hero-works{grid-column:2;grid-row:2;align-self:end;padding:0;text-align:end}   /* R8 20 Nov (FigJam 330:2): bottom-aligned with the trust line */
  body.saas .saas-hero-works .saas-logos-cap{margin:0 0 10px;font-size:14px;line-height:20px}
  body.saas .saas-hero-works .saas-logos-row{justify-content:flex-end;gap:12px 28px}
  body.saas .saas-hero-works .saas-logo{font-size:14px}
  body.saas .saas-hero-works .saas-logo img{height:24px}}@media(max-width:1040px){body.saas .saas-hero .saas-hero-works{order:7;padding:32px var(--gut) 8px}}@media(max-width:400px){body.saas .saas-checks li{font-size:15px;line-height:22px}}@media(max-width:480px){
  body.saas .saas-trust{gap:10px}
  body.saas .saas-trust .hero-avatars .av{width:30px;height:30px;margin-inline-start:-9px}
  body.saas .saas-trust p{font-size:13.5px;line-height:19px}}@media(min-width:768px){body.saas .pagecta h2{max-width:none}}
body.saas .link-row .tlink{display:flex;align-items:center;gap:10px}
body.saas .link-row .tlink::before{content:"";flex:none;width:16px;height:16px;background:currentColor;opacity:.45;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
body.saas .link-row .tlink:hover::before,body.saas .link-row .tlink:focus-visible::before{opacity:1}
[dir=rtl] body.saas .link-row .tlink::before{transform:scaleX(-1)}
/* == end FigJam round 4 == */
/* == FigJam 13 Nov 2026: SaaS link blocks (138:11 #3) ==
   "Free tools for architects" (ai_render.py _more_tools), "Other programs" (_program.siblings), "More AI rendering"
   (_enhance.more, floor_plan_to_3d.more), "Other free photo tools" (_photo_tool.more): a .sec-head + .link-row. Siim: "rather
   have 2-3 columns, title can be on the side so it takes less height". So the title sits on the left third and the links are
   a 3-column list (2 on phones) with hairlines, not a centred cloud of underlined links. No markup change needed. */
body.saas section:has(>.wrap>.link-row){padding-block:clamp(48px,5vw,72px)}
body.saas .link-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(16px,2.4vw,32px);font-size:16px}
body.saas .link-row .tlink{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 0;border-bottom:1px solid var(--hair);font:500 16px/22px var(--sans);color:var(--ink);transition:color .15s,border-color .15s}
body.saas .link-row .tlink:hover,body.saas .link-row .tlink:focus-visible{color:var(--accent);border-color:var(--accent)}
body.saas .saas-embed{margin-top:20px}
body.saas .saas-embed>summary{cursor:pointer;font:400 14px/20px var(--sans);color:var(--muted)}@media(min-width:901px){
  body.saas section:has(>.wrap>.link-row)>.wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);column-gap:clamp(40px,6vw,96px);align-items:start}
  body.saas section:has(>.wrap>.link-row) .sec-head{grid-column:1;margin:0;max-width:none;text-align:start}
  body.saas section:has(>.wrap>.link-row) .sec-head h2{margin-bottom:12px}
  body.saas section:has(>.wrap>.link-row) .sec-head p{font-size:16px}
  body.saas section:has(>.wrap>.link-row)>.wrap>:not(.sec-head){grid-column:2}}@media(max-width:900px){body.saas section:has(>.wrap>.link-row) .sec-head{margin:0 0 20px;text-align:start}}@media(max-width:600px){body.saas .link-row{grid-template-columns:repeat(2,minmax(0,1fr))}body.saas .link-row .tlink{font-size:15px}}
/* == FigJam 13 Nov: feature rows (/tools/ai-render/features/, Siim 145:26 "no 2x2 boxes with only icons") ==
   pages/features.py: section.ft-sec > .wrap > .ft-row(.flip)#id > .ft-media + .ft-txt (h2, p.ft-lead, ul.ft-list > li >
   span.ci + span > b + text + a.ft-more). Rendair pattern: two equal columns, the media 4:3 with radius 16 and a hairline,
   sides alternate, no card boxes, no icon tiles. Media: .svc-split slider, .ft-mosaic (2x2 tiles + .ft-tag corner label),
   .ft-shot (still or [data-motion] loop), .ft-chat (.ft-bub comments over a render), .ft-code (the API example, always LTR).
   Then section.ft-money > .ft-four: the 4 credit rules as plain columns. Phones: one column, media first. */
body.saas .ft-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,5vw,72px);align-items:center;scroll-margin-top:calc(var(--head-h) + 24px)}
body.saas .ft-row+.ft-row{margin-top:clamp(72px,8vw,120px)}
body.saas .ft-row.flip .ft-media{order:2}
body.saas .ft-frame{position:relative;width:100%;aspect-ratio:4/3;border-radius:16px;overflow:hidden;border:1px solid #EAECF0;background:#F9FAFB}
body.saas .ft-shot>img{display:block;width:100%;height:100%;object-fit:cover}
body.saas .ft-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.saas .ft-mosaic figure{position:relative;margin:0;aspect-ratio:4/3;border-radius:12px;overflow:hidden;border:1px solid #EAECF0;background:#fff}
body.saas .ft-mosaic img{display:block;width:100%;height:100%;object-fit:cover}
body.saas .ft-tag{position:absolute;inset-inline-start:10px;bottom:10px;padding:4px 10px;border-radius:999px;background:rgba(16,24,40,.72);color:#fff;font:600 12px/16px var(--sans)}
body.saas .ft-bubs{position:absolute;inset:16px 16px auto;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
body.saas .ft-bub{display:flex;flex-direction:column;gap:2px;max-width:70%;margin:0;padding:10px 14px;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.16);font:500 15px/20px var(--sans);color:#101828}
body.saas .ft-bub b{font:600 12px/16px var(--sans)}
body.saas .ft-bub.ft-client b{color:var(--accent)}   /* client = brand red, architect = grey, as the hub hero tags (FigJam 138:19 #1) */
body.saas .ft-bub.ft-arch{align-self:flex-end}
body.saas .ft-bub.ft-arch b{color:#667085}
body.saas .ft-code{display:flex;flex-direction:column;justify-content:center;aspect-ratio:auto;padding:36px;background:#101828;border-color:#101828;text-align:left}
body.saas .ft-code-h{margin:0 0 16px;font:600 12px/16px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:#98A2B3}
body.saas .ft-code pre{margin:0;padding:0;overflow-x:auto;background:none;border:0;white-space:pre;font:400 15px/1.8 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#EAECF0}
body.saas .ft-sec+.ft-money{padding-top:0}
body.saas .ft-money .sec-head{margin-bottom:40px}
body.saas .ft-code code{font:inherit;color:inherit;background:none;padding:0}
body.saas .ft-txt h2{margin:0 0 12px;font-size:clamp(26px,2.4vw,32px);line-height:1.2}
body.saas .ft-lead{margin:0 0 24px;font:400 18px/28px var(--sans);color:#344054}
body.saas .ft-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
body.saas .ft-list li{display:flex;gap:12px;align-items:flex-start;margin:0;padding:0;font:400 16px/24px var(--sans);color:#344054}
body.saas .ft-list li::before{content:none}
body.saas .ft-list b{font-weight:600;color:#101828}
body.saas .ft-list .ci,body.saas .ft-four .ci{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;margin-top:2px;border:0;border-radius:50%;background:#101828}
body.saas .ft-list .ci svg,body.saas .ft-four .ci svg{width:12px;height:12px;color:#fff}
body.saas .ft-more{font-weight:600;color:#101828;white-space:nowrap}
body.saas .ft-more svg{display:inline-block;width:14px;height:14px;vertical-align:-2px}
[dir="rtl"] body.saas .ft-more svg,body.saas[dir="rtl"] .ft-more svg{transform:scaleX(-1)}
body.saas .ft-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
body.saas .ft-four-i .ci{margin:0 0 16px}
body.saas .ft-four-i h3{margin:0 0 6px;font:600 18px/26px var(--sans);letter-spacing:0;color:#101828}
body.saas .ft-four-i p{margin:0;font:400 16px/24px var(--sans);color:#344054}@media(max-width:900px){
  body.saas .ft-row{grid-template-columns:minmax(0,1fr);gap:24px}
  body.saas .ft-row.flip .ft-media{order:0}
  body.saas .ft-row+.ft-row{margin-top:64px}
  body.saas .ft-four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){
  body.saas .ft-mosaic{gap:8px}
  body.saas .ft-tag{inset-inline-start:8px;bottom:8px;padding:3px 8px;font-size:11px}
  body.saas .ft-lead{font-size:16px;line-height:24px;margin-bottom:20px}
  body.saas .ft-bub{font-size:13px;line-height:18px;padding:8px 12px}
  body.saas .ft-code{padding:20px}
  body.saas .ft-code pre{font-size:12px}
  body.saas .ft-four{grid-template-columns:minmax(0,1fr);gap:24px}}
/* The plan comparison table's scroller widened the phone layout viewport to ~590px in Chrome (min-width:620px table),
   so every position:fixed box (the menu sheet, the cookie banner) sat half off screen. Paint containment stops it. */
body.saas .pt-scroll{contain:paint}