/*
 * The 32 tool pages in the new design (scripts/build.mjs productPage(), 16 English and 16 French pages). Linked after
 * src/site.css, which holds the Geist faces, the base colours, the focus ring and the shared header, footer and phone
 * bar (sh-*). Built from the English home page's parts (src/landing.css): the catalog card (#16233A with a #22324F
 * border, radius 16), the 42 px icon tile, the Available pill in the accent, the accent check marks, the primary
 * button in the accent and the secondary one (#1C2C47, both 44 px at least), the dashed empty state, the
 * "Not in version 1.0" box and the closing band in the accent. Text #E8EEF7 / #C3CEDF / #A3B1C8, links #9CC4FF.
 * Every rule is a class (tl-*), so it never reaches the shell.
 */
@layer nojs, design;

/* Focus and in-page links stop below the sticky header (src/site.css .sh-head, 77 px), as on the old pages (88 px). */
@layer design {
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:88px}
}

.tl-wrap{box-sizing:content-box;max-width:1240px;margin:0 auto;padding:40px 32px 120px;display:flex;flex-direction:column;gap:72px;font-size:17px;line-height:1.55;color:#E8EEF7}

/* The top: name, status and summary on the left, the availability card on the right (under the summary on narrow
   screens), then what the tool does. */
.tl-top{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"head aside" "main aside";gap:48px 64px;align-items:start}
.tl-head{grid-area:head;min-width:0;display:flex;flex-direction:column;gap:16px}
.tl-crumbs{font-size:14px;color:#A3B1C8}
.tl-trail{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.tl-step{display:flex;align-items:center;gap:10px}
.tl-step + .tl-step::before{content:"/";content:"/" / "";color:#5A6E92}
.tl-crumb{color:#9CC4FF;text-decoration:none}
.tl-crumb:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}
.tl-title{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px}
.tl-title h1{margin:0;min-width:0;font-weight:700;font-size:clamp(38px,4.6vw,68px);line-height:1.02;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:break-word}
.tl-tile{box-sizing:border-box;flex:none;width:42px;height:42px;border-radius:12px;background:#1C2C47;border:1px solid #2E4166;display:grid;place-items:center;color:var(--accent)}
.tl-pill{flex:none;white-space:nowrap;font-size:13px;line-height:1.4;border-radius:999px}
.tl-pill-available{padding:4px 10px;font-weight:600;background:var(--accent);color:#0B1424}
.tl-headline{margin:0;max-width:34em;font-size:clamp(20px,1.8vw,24px);font-weight:500;line-height:1.35;text-wrap:balance}
.tl-short{margin:0;max-width:38em;font-size:18px;color:#C3CEDF}

/* Buy box: status, store price, the button to the tool in the store bot, what the Terms say, the facts */
.tl-aside{grid-area:aside;background:#16233A;border:1px solid #22324F;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:14px}
.tl-label{margin:0;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;color:#A3B1C8}
.tl-state{margin:0;font-size:15px;color:#C3CEDF}
.tl-price{margin:0;display:flex;flex-direction:column;gap:4px}
.tl-price-n{font-size:28px;font-weight:700;line-height:1.1;letter-spacing:-.02em;color:#E8EEF7}
/* The price's dollar equivalent and its info control (owner, 2026-11-28): a <details>, no script, whose note opens
   under the price; in a related card it sits above the card's link (.tl-card .tl-usd-info), so a tap opens the note. */
.tl-usd{font-weight:400;letter-spacing:0;color:#A3B1C8;white-space:nowrap}
.tl-price-n .tl-usd{font-size:17px}
/* In the buy box the Stars price has its own line and "≈ $5" the next, with the info control beside it. */
.tl-price-n .tl-stars{display:block}
.tl-usd-info{display:inline}
.tl-usd-q{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:2px;vertical-align:middle;border-radius:6px;color:#A3B1C8;cursor:pointer;list-style:none}
.tl-usd-q::-webkit-details-marker{display:none}
.tl-usd-q:hover{color:#E8EEF7}
.tl-usd-info[open] .tl-usd-q{color:#E8EEF7}
.tl-usd-note{margin:8px 0 0;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:0;color:#C3CEDF}
.tl-buy{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:14px 22px;border-radius:10px;background:var(--accent);color:#0B1424;font-weight:700;line-height:1.2;text-align:center;text-decoration:none}
.tl-buy:hover{color:#0B1424;text-decoration:underline;text-underline-offset:3px}
.tl-legal{margin:0;font-size:14px;color:#C3CEDF}
.tl-facts{margin:0;border-top:1px solid #2A3B5C}
.tl-fact{padding:12px 0;border-bottom:1px solid #2A3B5C;display:flex;flex-direction:column;gap:4px}
.tl-dd{margin:0;font-size:15px}
.tl-botnote{margin:0;font-size:14px;color:#C3CEDF}

/* The purchase card (owner, 2026-11-29; scripts/build.mjs payList()): one row per payment method with its mark, its
   price above its name and an arrow, the primary method in the accent, the other live one on the raised colour, and
   Stripe dashed, dimmed and not a link while it is coming soon. The same rows fill the phone's payment sheet
   (src/site.css .sh-sheet), which only tool pages have. */
.tl-pay-card{display:flex;flex-direction:column;gap:12px}
.tl-pay-h{margin:0;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:#A3B1C8}
.tl-pay-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.tl-pay-item{display:flex;flex-direction:column}
.tl-pay-opt{box-sizing:border-box;display:flex;align-items:center;gap:14px;min-height:64px;padding:11px 16px 11px 12px;border:1px solid #2E4166;border-radius:14px;background:#1C2C47;color:#E8EEF7;text-decoration:none}
.tl-pay-main{border-color:#F2B866;background:var(--accent);color:#0B1424}
.tl-pay-main:hover{color:#0B1424}
.tl-pay-alt:hover{border-color:#5A6E92;color:#FFFFFF}
.tl-pay-main:hover .tl-pay-name,.tl-pay-alt:hover .tl-pay-name{text-decoration:underline;text-underline-offset:3px}
.tl-pay-off{border-style:dashed;background:#16233A;color:#A3B1C8;cursor:default}
.tl-pay-logo{flex:none;box-sizing:border-box;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#FFFFFF}
.tl-pay-mark{display:block;width:22px;height:22px}
.tl-pay-logo-stripe{background:#635BFF}
.tl-pay-off .tl-pay-logo{opacity:.6}
.tl-pay-txt{flex:1;min-width:0;display:flex;flex-direction:column-reverse;gap:1px}
.tl-pay-price{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:20px;font-weight:700;line-height:1.2;letter-spacing:-.01em}
.tl-pay-name{font-size:14px;font-weight:500;line-height:1.3}
.tl-pay-alt .tl-pay-name{color:#C3CEDF}
.tl-pay-alt:hover .tl-pay-name{color:#FFFFFF}
.tl-pay-off .tl-pay-price{font-size:16px;font-weight:600}
.tl-pay-star{flex:none;width:18px;height:18px;color:var(--accent)}
.tl-pay-main .tl-pay-star{color:#0B1424}
.tl-pay-go{flex:none;width:20px;height:20px}
.tl-pay-foot{margin:0;font-size:13px;line-height:1.4;text-align:center;color:#A3B1C8}
.tl-pay-lead{font-weight:700;color:#E8EEF7}
.tl-pay-note,.tl-pay-legal{margin:0;font-size:14px;color:#C3CEDF}

/* What it does: the description, what this version leaves out (when the catalog says), the features, the problem
   and the audience. */
.tl-main{grid-area:main;min-width:0;display:flex;flex-direction:column;gap:48px}
.tl-sec{display:flex;flex-direction:column;gap:16px}
.tl-h2{margin:0;font-size:clamp(24px,2.2vw,30px);font-weight:700;line-height:1.15;letter-spacing:-.02em;text-wrap:balance}
.tl-p{margin:0;max-width:42em;color:#C3CEDF}
.tl-not{margin:0;max-width:42em;border:1px solid #2A3B5C;border-radius:12px;padding:16px 20px;font-size:15px;color:#C3CEDF}
.tl-not-k{font-weight:600;color:#E8EEF7}
.tl-checks{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.tl-check{display:flex;gap:10px;align-items:baseline;color:#C3CEDF}
.tl-tick{flex:none;color:var(--accent)}
.tl-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:14px}
.tl-card{position:relative;min-width:0;background:#16233A;border:1px solid #22324F;border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:12px}
.tl-cardh{margin:0;font-size:18px;font-weight:600;line-height:1.3}

/* Screenshots: a row of frames that scrolls sideways, or the empty state. Keyboard focus on a frame: the ring is
   drawn inside the frame, where the scrolling row cannot cut it, and each frame takes a whole column, so a frame that
   was only peeking in is scrolled fully into view (Chrome does not scroll a partly visible element on focus). The
   frames keep their size. */
.tl-gallery{margin:0;padding:0 0 14px;list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:min(86%,760px);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#F2B866 #22324F}
.tl-gallery::-webkit-scrollbar{height:6px}
.tl-gallery::-webkit-scrollbar-track{background:#22324F;border-radius:3px}
.tl-gallery::-webkit-scrollbar-thumb{background:#F2B866;border-radius:3px}
.tl-shot{scroll-snap-align:start}
.tl-fig{margin:0;display:flex;flex-direction:column;gap:10px}
.tl-frame{display:block;padding:6px;border:1px solid #22324F;border-radius:16px;background:#0B1424}
.tl-frame img{display:block;width:100%;height:auto;border-radius:10px}
.tl-frame:focus-visible{outline-offset:-4px}
.tl-gallery:has(.tl-frame:focus-visible){grid-auto-columns:100%}
.tl-gallery:has(.tl-frame:focus-visible) .tl-fig{width:min(86%,760px)}
.tl-cap{font-size:14px;color:#A3B1C8}
.tl-fine{margin:0;font-size:14px;color:#A3B1C8}
.tl-empty{border:1px dashed #3A4E73;border-radius:16px;padding:32px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:16px}

/* More in this category (the home page's catalog cards) and the way back to the catalog */
.tl-more{display:flex;flex-direction:column;gap:28px}
.tl-grid{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:14px}
.tl-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.tl-card-link{color:#E8EEF7;text-decoration:none}
.tl-card-link:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}
/* A product card (a tool, an Apify feed: the cards with an icon row) opens its page from anywhere on it (owner,
   2026-11-27): the name's link covers the whole card, with the site's focus ring and a lighter border around the card;
   any other link in a card sits above it and stays a link of its own. */
.tl-card-top~.tl-cardh .tl-card-link::after{content:"";position:absolute;inset:-1px;border:1px solid transparent;border-radius:16px}
.tl-card-top~.tl-cardh .tl-card-link:hover::after{border-color:#3A4E73}
.tl-card-top~.tl-cardh .tl-card-link:focus-visible{outline:0}
.tl-card-top~.tl-cardh .tl-card-link:focus-visible::after{outline:2px solid #9CC4FF;outline-offset:3px}
.tl-card a:not(.tl-card-link){position:relative;z-index:1}
.tl-card .tl-usd-info{position:relative;z-index:1}
.tl-cprice{margin:0;font-size:15px;font-weight:600;color:#E8EEF7}
/* A related card's website price, then its Stars price (owner, 2026-11-29). */
.tl-or{font-weight:400;color:#A3B1C8}
.tl-meta{margin:auto 0 0;font-size:13px;color:#A3B1C8}
.tl-back{margin:0;display:flex}
.tl-btn2{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:13px 22px;border:1px solid #2E4166;border-radius:10px;background:#1C2C47;color:#E8EEF7;font-weight:600;line-height:1.2;text-align:center;text-decoration:none}
.tl-btn2:hover{color:#FFFFFF;border-color:#3A4E73}

/* Closing band in the accent, as on the home page */
.tl-band{background:var(--accent);color:#0B1424;border-radius:18px;padding:56px 48px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px}
.tl-band-txt{display:flex;flex-direction:column;gap:8px;max-width:620px}
.tl-band-h{margin:0;font-weight:700;font-size:clamp(30px,3vw,44px);line-height:1.05;letter-spacing:-.03em;text-wrap:balance}
.tl-band-p{margin:0;font-size:18px}
.tl-band-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:16px 26px;border-radius:10px;background:#0B1424;color:#E8EEF7;font-weight:700;line-height:1.2;text-align:center;text-decoration:none}
.tl-band-btn:hover{color:#FFFFFF}
/* On the accent the shared light ring would not show: this one is dark. */
.tl-band-btn:focus-visible{outline:2px solid #0B1424;outline-offset:3px}

/* ImageBatch Pro only (SEO release 2, content/tool-sections/): the comparison, the questions and answers and the
   guides, between the screenshots and the related tools, with their approved text. Each answer is a details element
   (the first one open) whose whole question line is the 44 px toggle; its plus turns into a cross when open, with no
   motion. The Safari marker is the one thing these pages hide: the plus replaces it. */
.tl-doc{min-width:0;display:flex;flex-direction:column;gap:16px}
.tl-h3{margin:12px 0 0;font-size:20px;font-weight:600;line-height:1.3;text-wrap:balance}
.tl-link{color:#9CC4FF;text-decoration:underline;text-underline-offset:3px}
.tl-link:hover{color:#FFFFFF}
.tl-code{font-size:15px;overflow-wrap:anywhere}
.tl-faqhead{display:flex;flex-direction:column;gap:10px}
.tl-kick{margin:0;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;color:#A3B1C8}
.tl-kick-i{display:block;width:18px;height:2px;border-radius:2px;background:var(--accent)}
.tl-faq{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:12px;align-items:start}
.tl-faq-col{min-width:0;display:flex;flex-direction:column;gap:12px}
.tl-qa{background:#16233A;border:1px solid #22324F;border-radius:14px}
.tl-q{box-sizing:border-box;min-height:44px;padding:16px 20px;display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;border-radius:14px;color:#E8EEF7;font-weight:600;line-height:1.35}
.tl-q::-webkit-details-marker{display:none}
.tl-qa-n{flex:none;font-size:13px;font-variant-numeric:tabular-nums;color:#A3B1C8}
.tl-qa-q{flex:1;min-width:0}
.tl-qa-ico{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;color:#9CC4FF}
.tl-qa[open] .tl-qa-ico{transform:rotate(45deg)}
.tl-qa-a{margin:0;padding:0 20px 18px;color:#C3CEDF}
.tl-glist{margin:0;padding-left:1.3em;line-height:2;color:#C3CEDF}

@media (max-width: 1020px){
  .tl-top{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "aside" "main";gap:32px}
  .tl-aside{max-width:560px}
}
/* Two columns: the availability card heads the right column, its heading 142-143 px from the top. A link to
   #availability-title (Release 2's guides) would scroll 55 px with the 88 px padding alone and tuck the breadcrumb under
   the header; 88 + 200 = 288 px keeps the page at the top, with about 145 px to spare for a taller header, e.g. one
   that wraps with fallback fonts (owner, 2026-11-18). Starts at 1020.02 px, like the header's
   1100.02 px, so a scaled width between 1020 and 1021 gets one of the two layouts' rules. The card's dt labels share
   the class (this file uses classes only); they take no focus and no link points at them, so the margin never moves
   them. */
@media (min-width: 1020.02px){
  .tl-aside .tl-label{scroll-margin-top:200px}
}
@media (max-width: 640px){
  .tl-wrap{padding:28px 20px 72px;gap:56px}
  .tl-aside,.tl-card{padding:20px}
  .tl-band{padding:32px 24px;flex-direction:column;align-items:stretch}
  .tl-back{flex-direction:column}
  .tl-gallery{grid-auto-columns:88%}
  .tl-gallery:has(.tl-frame:focus-visible) .tl-fig{width:88%}
  .tl-q{padding:14px 16px}
  .tl-qa-a{padding:0 16px 16px}
}
/* Touch screens: the breadcrumb links are 44 px tall and 6 px wider on each side (a negative margin keeps them in
   place; "Tools" is 33 px of text, so 45 px); the related cards' title links are padded like the home page's
   (12.5 px above and below, only there, so with a mouse the focus ring stays on the title). */
@media (pointer: coarse){
  .tl-crumb{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;margin:0 -6px}
  .tl-card-link{padding:12.5px 0}
}
/* Touch screens: the links in the ImageBatch Pro sections are padded to 44 px, like the privacy pages' links
   (src/inner.css .in-link). */
@media (pointer: coarse){
  .tl-link{padding-block:11px}
}
@media (forced-colors: active){
  .tl-pill,.tl-tile,.tl-card,.tl-aside,.tl-frame,.tl-band,.tl-band-btn,.tl-buy,.tl-qa{border:1px solid CanvasText}
}
