/* Free tools, group "hub" (6 Oct 2026, Mohamed: "keep going and leave the quote form and checkout for now"): the tools hub
   (/tools, wrapper .sv2-pg-tools), the word counter (.sv2-pg-wordcount) and the language detector (.sv2-pg-langdetect).
   Loaded after site-v2.css and site-v2-pages.css by pages/tools/index-v2-body, word-counter-v2-body and
   language-detector-v2-body only; every selector is scoped under one of those three wrappers. Same visual language as the
   homepage and the live v2 pages: blended photo hero, hairline cards, navy columns, answer cards, photo call to action.
   The tools themselves sit in a calm white card right under a compact hero; only their look changes. */

/* ===== hero: compact on the tool pages so the tool stays in the first screen ===== */
/* r2 fix (6 Oct 2026): the hub gets the same compact hero as the tool pages, so the first tool cards show in the first screen */
.sv2-pg-tools .sv2-tl-hero,:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-hero{min-height:0}
.sv2-pg-tools .sv2-tl-hero .sv2-hero-inner,:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-hero .sv2-hero-inner{padding-block:40px 52px}
:is(.sv2-pg-tools,.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-hero h1{max-width:15em}
:is(.sv2-pg-tools,.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-hero h1{font-size:clamp(38px,3.7vw,56px)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-hero-lead{max-width:680px}
/* hero words pure white (site-v2-pages.css intent): the lead stays readable over the lighter photo shade */
:is(.sv2-pg-tools,.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-hero .sv2-hero-lead{color:#fff}

/* ===== tools hub: clean hairline cards, no icon boxes ===== */
.sv2-pg-tools .sv2-tl-list{padding-block:40px 104px}
.sv2-pg-tools .sv2-tl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sv2-pg-tools .sv2-tl-card{position:relative;display:flex;flex-direction:column;min-height:100%;padding:34px 30px 28px;border:1px solid var(--line);border-radius:16px;background:#fff;transition:border-color .18s,box-shadow .18s,background .18s}
.sv2-pg-tools .sv2-tl-card::before{content:"";position:absolute;top:-1px;inset-inline-start:30px;width:36px;height:3px;border-radius:0 0 2px 2px;background:var(--accent)}
.sv2-pg-tools .sv2-tl-card:hover{border-color:#d3cfc4;box-shadow:0 1px 2px rgba(16,29,48,.04),0 22px 44px -30px rgba(16,29,48,.35)}
.sv2-pg-tools .sv2-tl-card h2{font-size:24px;line-height:1.25;letter-spacing:-.025em;color:var(--ink);padding-inline-end:52px}
.sv2-pg-tools .sv2-tl-card:hover h2{color:var(--orange)}
.sv2-pg-tools .sv2-tl-card>p{margin-top:10px;font-size:16px;line-height:1.6;color:var(--muted)}
.sv2-pg-tools .sv2-tl-points{margin-top:18px;border-top:1px solid var(--line)}
.sv2-pg-tools .sv2-tl-points li{position:relative;padding-block:9px;padding-inline-start:24px;border-bottom:1px solid var(--line);font-size:15px;line-height:1.5;color:var(--ink)}
.sv2-pg-tools .sv2-tl-points li::before{content:"";position:absolute;inset-inline-start:0;top:20px;width:12px;height:2px;background:var(--accent)}
.sv2-pg-tools .sv2-tl-link{display:inline-flex;align-items:center;gap:10px;margin-top:auto;padding-top:22px;font:600 15px/1.3 Inter,sans-serif;color:var(--orange)}
.sv2-pg-tools .sv2-tl-link .sv2-arrow{width:18px;height:18px}
.sv2-pg-tools .sv2-tl-card:hover .sv2-arrow{translate:3px 0}
[dir="rtl"] .sv2-pg-tools .sv2-tl-card:hover .sv2-arrow{translate:-3px 0}
/* the Arabic keyboard card keeps its typed letter: a subtle navy letter in the corner, no tinted box (r2 fix: was orange) */
.sv2-pg-tools .sv2-tl-glyph{position:absolute;top:22px;inset-inline-end:26px;font:700 40px/1 Cairo,"Noto Sans Arabic",Tahoma,sans-serif!important;color:var(--navy);opacity:.16}
.sv2-pg-tools .sv2-tl-why .sv2-know-grid{margin-top:4px}

/* ===== the tool band and its white card ===== */
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-band{background:var(--paper);padding-block:48px 88px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:32px;box-shadow:0 1px 2px rgba(16,29,48,.04),0 24px 48px -36px rgba(16,29,48,.35)}
.sv2-pg-wordcount .sv2-wc-card{max-width:980px;margin-inline:auto;padding:36px 40px 32px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-label{display:block;margin-bottom:12px;font:600 15px/1.4 Inter,sans-serif;color:var(--ink)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-input{display:block;width:100%;height:16rem;padding:18px 20px;border:1.5px solid var(--line-strong);border-radius:12px;background:#fff;font:400 17px/1.6 Inter,"Noto Sans",Arial,sans-serif;color:var(--ink);resize:none;transition:border-color .18s,box-shadow .18s}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-input::placeholder{color:#6b7682}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(199,66,13,.14)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-row-end{justify-content:flex-end}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-count{font-size:14px;color:var(--soft)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-quiet{min-height:40px;padding:6px 14px;border-radius:10px;background:transparent;font:500 14px/1.3 Inter,sans-serif;color:var(--muted);cursor:pointer;transition:background .18s,color .18s}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-quiet:hover{background:var(--paper);color:var(--orange)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-small{margin-top:10px;font-size:14px;line-height:1.5;color:var(--soft);text-align:center}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) :is(button,a,textarea,input):focus-visible{outline:3px solid var(--orange);outline-offset:2px}
/* the main action inside a tool: the house orange button with a soft shadow, not the wide glow (contact page lesson, 5 Oct 2026) */
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) :is(.sv2-tool-card,.sv2-ld-panel) .sv2-btn-orange{box-shadow:0 8px 18px -12px rgba(199,66,13,.7)}

/* word counter: tabs, drop zone, messages and the four counts */
.sv2-pg-wordcount .sv2-tool-tabs{display:flex;gap:6px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.sv2-pg-wordcount .sv2-tool-tab{position:relative;min-height:48px;padding:10px 16px;background:transparent;font:600 16px/1.3 Inter,sans-serif;color:var(--muted);cursor:pointer;transition:color .18s}
.sv2-pg-wordcount .sv2-tool-tab::after{content:"";position:absolute;inset-inline:10px;bottom:-1px;height:2px;border-radius:2px;background:transparent}
.sv2-pg-wordcount .sv2-tool-tab:hover{color:var(--ink)}
.sv2-pg-wordcount .sv2-tool-tab.is-on{color:var(--ink)}
.sv2-pg-wordcount .sv2-tool-tab.is-on::after{background:var(--orange)}
.sv2-pg-wordcount .sv2-tool-drop{border:1.5px dashed #c9c5b9;border-radius:12px;background:#fbfaf7;text-align:center;transition:border-color .18s,background .18s}
.sv2-pg-wordcount .sv2-tool-drop.is-over{border-color:var(--orange);background:#fbf3ec}
.sv2-pg-wordcount .sv2-tool-drop-label{display:block;padding:44px 24px;cursor:pointer}
.sv2-pg-wordcount .sv2-tool-drop-icon{margin:0 auto 14px;color:var(--soft)}
.sv2-pg-wordcount .sv2-tool-drop-main{font:500 17px/1.5 Inter,sans-serif;color:var(--ink)}
.sv2-pg-wordcount .sv2-tool-drop-main span{color:var(--orange);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.sv2-pg-wordcount .sv2-tool-drop-sub{margin-top:6px;font-size:14px;color:var(--soft)}
.sv2-pg-wordcount .sv2-tool-note{margin-top:12px;font-size:14px;line-height:1.55;color:var(--soft)}
.sv2-pg-wordcount .sv2-tool-note a,.sv2-pg-wordcount .sv2-tool-msg a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:rgba(199,66,13,.55);text-underline-offset:3px}
.sv2-pg-wordcount .sv2-tool-note a:hover,.sv2-pg-wordcount .sv2-tool-msg a:hover{color:var(--orange)}
.sv2-pg-wordcount .sv2-tool-file{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px 12px 12px 18px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
[dir="rtl"] .sv2-pg-wordcount .sv2-tool-file{padding:12px 18px 12px 12px}
.sv2-pg-wordcount .sv2-tool-file-name{min-width:0;font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.sv2-pg-wordcount .sv2-tool-file-x{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:40px;height:40px;border-radius:10px;color:var(--soft);cursor:pointer}
.sv2-pg-wordcount .sv2-tool-file-x:hover{background:#fff;color:#b42318}
.sv2-pg-wordcount .sv2-tool-msg{margin-top:16px;padding:14px 18px;border-radius:12px;font-size:15px;line-height:1.55;border-inline-start:3px solid}
.sv2-pg-wordcount .sv2-tool-msg.is-error{background:#fdf1f0;border-color:#d92d20;color:#912018}
.sv2-pg-wordcount .sv2-tool-msg.is-info{background:#f1f5fa;border-color:#3b6ea5;color:#1f3f63}
.sv2-pg-wordcount .sv2-tool-msg.is-warn{background:#fdf6ec;border-color:#c77a0d;color:#6f420a}
.sv2-pg-wordcount .sv2-wc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:30px;border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong)}
.sv2-pg-wordcount .sv2-wc-stats>div{padding:24px 20px 22px;text-align:center}
.sv2-pg-wordcount .sv2-wc-stats>div+div{border-inline-start:1px solid var(--line)}
.sv2-pg-wordcount .sv2-wc-num{font:600 clamp(40px,4vw,56px)/1 Poppins,"Poppins Fallback",sans-serif;letter-spacing:-.04em;color:var(--ink);font-variant-numeric:tabular-nums}
.sv2-pg-wordcount .sv2-wc-label{margin-top:10px;font:500 15px/1.35 Inter,sans-serif;color:var(--muted)}
.sv2-pg-wordcount .sv2-tool-cta{margin-top:28px}
.sv2-pg-wordcount .sv2-tool-cta .sv2-btn-block{min-height:58px;font-size:17px}
.sv2-pg-wordcount .sv2-tool-share{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);text-align:center}
.sv2-pg-wordcount .sv2-tool-share>p{font-size:14px;color:var(--soft)}
.sv2-pg-wordcount .sv2-tool-share-row{display:flex;justify-content:center;gap:10px;margin-top:12px}
.sv2-pg-wordcount .sv2-tool-round{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--muted);transition:border-color .18s,color .18s}
.sv2-pg-wordcount .sv2-tool-round:hover{border-color:#d3cfc4;color:var(--ink)}

/* the email capture card (shared component, its Tailwind look restyled here only) */
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"]{margin-top:20px;padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:#fff}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"]>p:first-child{font:600 16px/1.4 Inter,sans-serif;color:var(--ink)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"]>p:first-child svg,:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"]>p:first-child i{display:none}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"] input[type=email]{min-height:48px;border-radius:12px;border-color:var(--line-strong);font-size:16px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"] input[type=email]:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(199,66,13,.14)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"] button[type=submit]{min-height:48px;border-radius:12px;background:var(--ink);background-image:none;font-family:Inter,sans-serif;font-weight:600}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"] button[type=submit]:hover{background:#1d3149;box-shadow:none}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"] label{color:var(--soft)}

/* language detector: text card beside the results panel */
.sv2-pg-langdetect .sv2-ld-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start}
.sv2-pg-langdetect .sv2-ld-samples,.sv2-pg-langdetect .sv2-ld-share{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.sv2-pg-langdetect .sv2-ld-chips{display:flex;flex-wrap:wrap;gap:8px}
.sv2-pg-langdetect .sv2-chip{min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#fbfaf7;font:500 15px/1.2 Inter,"Noto Sans",sans-serif;color:var(--ink);cursor:pointer;transition:border-color .18s,background .18s,color .18s}
.sv2-pg-langdetect .sv2-chip:hover{border-color:rgba(199,66,13,.45);background:#fbf3ec;color:var(--orange)}
.sv2-pg-langdetect .sv2-ld-share-row{display:flex;flex-wrap:wrap;gap:8px}
.sv2-pg-langdetect .sv2-tool-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;font:500 15px/1.2 Inter,sans-serif;color:var(--muted);transition:border-color .18s,color .18s}
.sv2-pg-langdetect .sv2-tool-pill:hover{border-color:#d3cfc4;color:var(--ink)}
.sv2-pg-langdetect .sv2-ld-panel{position:sticky;top:calc(var(--header) + 16px);border-radius:16px;background:var(--navy);color:#fff;padding:28px 24px 26px}
.sv2-pg-langdetect .sv2-ld-panel-title{position:relative;font-size:22px;line-height:1.25;color:#fff;margin-bottom:18px}
.sv2-pg-langdetect .sv2-ld-panel-title::before{content:"";display:block;width:32px;height:3px;border-radius:2px;background:var(--accent);margin-bottom:16px}
.sv2-pg-langdetect .sv2-ld-empty{padding:28px 4px 22px;border-top:1px solid rgba(255,255,255,.14)}
.sv2-pg-langdetect .sv2-ld-empty-main{font-size:17px;line-height:1.55;color:#fff;font-weight:500}
.sv2-pg-langdetect .sv2-ld-empty-sub{margin-top:8px;font-size:15px;line-height:1.55;color:var(--on-dark)}
.sv2-pg-langdetect .sv2-ld-results{display:flex;flex-direction:column;gap:10px}
.sv2-pg-langdetect .sv2-ld-box{border-radius:12px;background:#fff;color:var(--ink);padding:16px 18px}
.sv2-pg-langdetect .sv2-ld-box-title{margin-bottom:10px;font:600 13px/1.4 Inter,sans-serif;letter-spacing:.02em;color:var(--soft)}
.sv2-pg-langdetect .sv2-ld-split{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sv2-pg-langdetect .sv2-ld-split>span:last-child{text-align:end}
.sv2-pg-langdetect .sv2-ld-lang-name{font:600 22px/1.25 Poppins,"Poppins Fallback",sans-serif;letter-spacing:-.02em;color:var(--ink)}
.sv2-pg-langdetect .sv2-ld-conf{font:600 15px/1.3 Inter,sans-serif}
.sv2-pg-langdetect .sv2-ld-bar{margin-top:10px;height:6px;border-radius:99px;background:#eceae4;overflow:hidden}
.sv2-pg-langdetect .sv2-ld-bar-fill{height:100%;border-radius:99px}
.sv2-pg-langdetect .sv2-ld-bar-anim{transition:width .5s}
.sv2-pg-langdetect .sv2-ld-mix{display:flex;flex-direction:column;gap:10px}
.sv2-pg-langdetect .sv2-ld-mix .sv2-ld-bar{margin-top:6px}
.sv2-pg-langdetect .sv2-ld-strong{font-weight:600;color:var(--ink);font-size:15px}
.sv2-pg-langdetect .sv2-ld-muted{color:var(--soft);font-size:14px}
.sv2-pg-langdetect .sv2-ld-pair{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:2px 6px}
.sv2-pg-langdetect .sv2-ld-pair .sv2-arrow{width:16px;height:16px;color:var(--orange)}
.sv2-pg-langdetect .sv2-ld-hint{margin-top:8px;font-size:13px;line-height:1.5;color:var(--soft)}
.sv2-pg-langdetect .sv2-ld-hint.is-warn{color:#8a4b06}
.sv2-pg-langdetect .sv2-ld-hint.is-tip{color:#1f4e86}
.sv2-pg-langdetect .sv2-ld-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.sv2-pg-langdetect .sv2-ld-figure{margin-top:2px;font:600 20px/1.2 Poppins,"Poppins Fallback",sans-serif;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.sv2-pg-langdetect .sv2-ld-complex{display:flex;align-items:center;gap:12px}
.sv2-pg-langdetect .sv2-ld-segs{flex:1;display:flex;gap:3px}
.sv2-pg-langdetect .sv2-ld-seg{flex:1;height:10px;border-radius:2px}
.sv2-pg-langdetect .sv2-ld-score{font:600 20px/1 Poppins,"Poppins Fallback",sans-serif}
.sv2-pg-langdetect .sv2-ld-tag{flex:0 0 auto;padding:4px 10px;border-radius:99px;background:#f0efea;font-size:12px;font-weight:600;color:var(--muted)}
.sv2-pg-langdetect .sv2-ld-tag.is-good{background:#e7f4ec;color:#1d6b3f}
.sv2-pg-langdetect .sv2-ld-scripts{display:flex;flex-direction:column;gap:6px}
.sv2-pg-langdetect .sv2-ld-est{display:flex;flex-direction:column;gap:8px}
.sv2-pg-langdetect .sv2-ld-estimate{box-shadow:inset 3px 0 0 var(--accent)}
[dir="rtl"] .sv2-pg-langdetect .sv2-ld-estimate{box-shadow:inset -3px 0 0 var(--accent)}
.sv2-pg-langdetect .sv2-ld-cost{font:600 20px/1.2 Poppins,"Poppins Fallback",sans-serif;color:var(--orange)}
.sv2-pg-langdetect .sv2-ld-results>.sv2-btn-block{margin-top:6px}
.sv2-pg-langdetect .sv2-ld-results>.sv2-tool-small{margin-top:0;color:var(--on-dark-soft)}
.sv2-pg-langdetect .sv2-ld-panel [x-data^="toolEmailCapture"]{margin-top:4px}
.sv2-pg-langdetect .sv2-ld-panel [x-data^="toolEmailCapture"] input[type=email]{min-width:0}

/* ===== shared certified translation block (partials.tool-certified-cta, its Tailwind look restyled here only) ===== */
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta>section{padding-block:72px;background:#fff}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta>section>div{max-width:1440px;margin:0 auto;padding-inline:var(--page-pad)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta>section>div>div{max-width:none}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta>section>div>div>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 56px;align-items:center;padding:36px 40px;border:0;border-radius:16px;background:var(--paper);border-inline-start:3px solid var(--accent);text-align:start}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta h2{grid-column:1;margin:0;font-size:clamp(26px,2.3vw,34px);line-height:1.2;color:var(--ink)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta p{grid-column:1;margin:0;max-width:720px;font-size:17px;line-height:1.65;color:var(--muted)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta section div>div>div>div{grid-column:2;grid-row:1/span 2;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:0;min-width:260px;border-top:1px solid var(--line-strong)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta section div>div>div>div>a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;padding:12px 0;border-bottom:1px solid var(--line-strong);font:600 16px/1.35 Inter,sans-serif;color:var(--ink);text-decoration:none}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta section div>div>div>div>a:hover{color:var(--orange);text-decoration:none}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta section div>div>div>div>a>:is(i,svg){flex:0 0 auto;width:18px;height:18px;color:var(--orange)}

/* ===== explanation sections ===== */
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-q>summary h3{margin:0;font:inherit;letter-spacing:inherit;color:inherit}
/* "Try our other tools" holds one link: a compact band, the heading, its line and the link on one row (r2 fix, 6 Oct 2026) */
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-other{padding-block:40px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-other>.sv2-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 48px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-other .sv2-head{flex:1 1 560px;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 28px;margin:0}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-other .sv2-head>h2{font-size:clamp(22px,1.9vw,28px);line-height:1.25}
.sv2:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-other .sv2-head>h2::before{display:none}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-other .sv2-head>p{max-width:none;font-size:16px;line-height:1.5}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-other .sv2-link{flex:0 0 auto;margin-top:0}
.sv2-pg-langdetect .sv2-tool-kicker{display:flex;align-items:center;gap:10px;margin-bottom:18px;font:600 13px/1.4 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.45),0 2px 18px rgba(0,0,0,.35)}
.sv2-pg-langdetect .sv2-tool-kicker::before{content:"";width:28px;height:2px;background:var(--accent)}
:lang(de) .sv2-pg-langdetect .sv2-tool-kicker,:lang(zh) .sv2-pg-langdetect .sv2-tool-kicker,[dir="rtl"] .sv2-pg-langdetect .sv2-tool-kicker{text-transform:none;letter-spacing:0}
.sv2-pg-langdetect .sv2-tool-closing>img{object-position:50% 50%}

/* ===== laptops below 1100px ===== */
@media(max-width:1100px){
.sv2-pg-tools .sv2-tl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.sv2-pg-langdetect .sv2-ld-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta>section>div>div>div{grid-template-columns:minmax(0,1fr)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta section div>div>div>div{grid-column:1;grid-row:auto;margin-top:16px;min-width:0}
}
/* ===== tablets ===== */
@media(max-width:850px){
.sv2-pg-langdetect .sv2-ld-grid{grid-template-columns:minmax(0,1fr)}
.sv2-pg-langdetect .sv2-ld-panel{position:static}
}
/* ===== phones: recomposed, the tool right under a short hero ===== */
@media(max-width:600px){
.sv2-pg-tools .sv2-tl-hero{min-height:0}
.sv2-pg-tools .sv2-tl-hero .sv2-hero-inner{padding-block:28px 44px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-hero .sv2-hero-inner{padding-block:22px 30px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-hero h1{font-size:clamp(30px,8.6vw,38px)}
.sv2-pg-tools .sv2-tl-list{padding-block:28px 64px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-other{padding-block:32px}
.sv2-pg-tools .sv2-tl-grid{grid-template-columns:minmax(0,1fr);gap:12px}
.sv2-pg-tools .sv2-tl-card{padding:28px 22px 22px;border-radius:14px}
.sv2-pg-tools .sv2-tl-card::before{inset-inline-start:22px}
.sv2-pg-tools .sv2-tl-card h2{font-size:22px}
.sv2-pg-tools .sv2-tl-glyph{top:20px;inset-inline-end:20px;font-size:34px}
.sv2-pg-tools .sv2-tl-card{padding:24px 20px 18px}
.sv2-pg-tools .sv2-tl-card>p{margin-top:8px;font-size:15px;line-height:1.55}
.sv2-pg-tools .sv2-tl-points{margin-top:12px;border-top:0}
.sv2-pg-tools .sv2-tl-points li{padding-block:4px;border-bottom:0;font-size:14px}
.sv2-pg-tools .sv2-tl-points li::before{top:15px}
.sv2-pg-tools .sv2-tl-link{min-height:40px;padding-top:10px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-band{padding-block:16px 56px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-band>.sv2-wrap{padding-inline:16px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-card,.sv2-pg-wordcount .sv2-wc-card{padding:20px 16px 22px;border-radius:14px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-input{height:13rem;padding:14px 16px;font-size:16px}
.sv2-pg-wordcount .sv2-tool-tabs{margin-bottom:16px}
.sv2-pg-wordcount .sv2-tool-tab{flex:1;padding:10px 8px;font-size:15px}
.sv2-pg-wordcount .sv2-tool-drop-label{padding:32px 16px}
.sv2-pg-wordcount .sv2-wc-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px}
.sv2-pg-wordcount .sv2-wc-stats>div{padding:18px 10px 16px}
.sv2-pg-wordcount .sv2-wc-stats>div:nth-child(3){border-inline-start:0}
.sv2-pg-wordcount .sv2-wc-stats>div:nth-child(n+3){border-top:1px solid var(--line)}
.sv2-pg-wordcount .sv2-wc-num{font-size:40px}
.sv2-pg-wordcount .sv2-wc-label{font-size:14px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) [x-data^="toolEmailCapture"]{padding:16px}
.sv2-pg-langdetect .sv2-ld-panel{padding:24px 14px 20px;border-radius:14px}
.sv2-pg-langdetect .sv2-ld-panel-title{margin-inline:6px}
.sv2-pg-langdetect .sv2-ld-empty{margin-inline:6px}
.sv2-pg-langdetect .sv2-ld-box{padding:14px 14px}
.sv2-pg-langdetect .sv2-chip{padding:10px 13px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta>section{padding-block:48px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta>section>div{padding-inline:var(--page-pad)}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta>section>div>div>div{padding:26px 20px}
:is(.sv2-pg-wordcount,.sv2-pg-langdetect) .sv2-tool-certcta p{font-size:16px}
}
