/* Tools2All — isolated header and homepage refresh v4.0
   All selectors affecting page content are scoped to body.t2a-home.
   Existing tools, footer, site functionality and other content styles remain intact. */

/* HEADER — existing HTML and menu/search handlers retained */
.site-header{isolation:isolate;box-shadow:0 4px 26px rgba(0,0,0,.045);transition:box-shadow .3s ease,border-color .3s ease}
.site-header.is-scrolled{box-shadow:0 13px 35px rgba(0,0,0,.105)}
html[data-theme="dark"] .site-header.is-scrolled{box-shadow:0 13px 35px rgba(0,0,0,.3)}
.site-header::after{content:"";position:absolute;inset-inline-start:0;bottom:-1px;width:100%;height:2px;background:var(--ink);transform:scaleX(var(--t2a-progress,0));transform-origin:left center;transition:transform .12s linear;pointer-events:none;opacity:.6}
html[dir="rtl"] .site-header::after{transform-origin:right center}
.site-header .header-top{min-height:91px;gap:22px}
.site-header .brand-mark img{transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .45s ease}
.site-header .brand:hover .brand-mark img,.site-header .brand:focus-visible .brand-mark img{transform:translateY(-2px) scale(1.025);filter:drop-shadow(0 10px 18px rgba(0,0,0,.13))}
.site-header .header-search .search-box{border-radius:16px;transition:border-color .24s ease,box-shadow .24s ease,transform .24s ease}
.site-header .header-search .search-box:focus-within{transform:translateY(-1px);box-shadow:0 0 0 4px rgba(30,30,30,.075),0 16px 30px rgba(0,0,0,.07)}
html[data-theme="dark"] .site-header .header-search .search-box:focus-within{box-shadow:0 0 0 4px rgba(255,255,255,.09),0 16px 30px rgba(0,0,0,.3)}
.site-header .search-icon svg{transition:transform .3s ease}
.site-header .search-box:focus-within .search-icon svg{transform:scale(1.12) rotate(-8deg)}
.site-header .header-nav{border-top-color:color-mix(in srgb,var(--line) 80%,transparent)}
.site-header .nav-row{gap:clamp(3px,1.3vw,17px)}
.site-header .nav-row a{white-space:nowrap}
.site-header .icon-btn:focus-visible,.site-header .lang-btn:focus-visible,.site-header .nav-row a:focus-visible,.site-header .mobile-menu-panel a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.site-header .mobile-header{overflow:visible}
.site-header .mobile-top{min-width:0}
.site-header .mobile-menu-panel{animation:t2a-drop .22s cubic-bezier(.2,.7,.2,1) both}
.site-header .mobile-search-panel{animation:t2a-drop .2s cubic-bezier(.2,.7,.2,1) both}
@keyframes t2a-drop{from{opacity:.5;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:821px) and (max-width:1100px){.site-header .header-top{grid-template-columns:minmax(205px,245px) minmax(0,1fr) auto;gap:14px}.site-header .brand-mark{width:min(100%,238px)}.site-header .nav-row a{padding-inline:10px!important;font-size:.86rem}}
@media(max-width:820px){.site-header .mobile-top{min-height:74px}.site-header .mobile-brand{min-width:0}.site-header .mobile-top .icon-btn{flex-shrink:0}.site-header .mobile-menu-panel{max-width:calc(100vw - 28px)}}

/* HOME — no rules outside the landing page */
.t2a-home .home-hero{isolation:isolate;background:linear-gradient(125deg,#f9f9f8 0%,#f2f2f0 54%,#e7e7e4 100%);border-bottom:1px solid var(--line)}
html[data-theme="dark"] .t2a-home .home-hero{background:linear-gradient(125deg,#111214,#17191b 54%,#222426)}
.t2a-home .home-hero::before{width:820px;height:820px;right:-410px;top:-500px;background:transparent;border:1px solid rgba(0,0,0,.065);box-shadow:0 0 0 65px rgba(0,0,0,.017),0 0 0 148px rgba(0,0,0,.012),0 0 0 255px rgba(0,0,0,.009)}
.t2a-home .home-hero::after{width:620px;height:620px;left:-380px;bottom:-460px;background:radial-gradient(circle,rgba(0,0,0,.09),transparent 65%)}
html[data-theme="dark"] .t2a-home .home-hero::before{border-color:rgba(255,255,255,.08);box-shadow:0 0 0 65px rgba(255,255,255,.02),0 0 0 148px rgba(255,255,255,.015),0 0 0 255px rgba(255,255,255,.008)}
html[data-theme="dark"] .t2a-home .home-hero::after{background:radial-gradient(circle,rgba(255,255,255,.035),transparent 65%)}
.t2a-home .home-orbit{position:absolute;z-index:0;pointer-events:none;border-radius:50%;border:1px solid color-mix(in srgb,var(--graphite) 15%,transparent)}
.t2a-home .home-orbit-one{width:170px;height:170px;top:13%;left:47%;animation:t2a-orbit 16s ease-in-out infinite alternate}
.t2a-home .home-orbit-two{width:28px;height:28px;bottom:22%;right:4%;background:var(--surface);box-shadow:0 0 0 13px color-mix(in srgb,var(--graphite) 6%,transparent);animation:t2a-orbit 9s ease-in-out infinite alternate-reverse}
@keyframes t2a-orbit{to{transform:translate(16px,-23px) rotate(30deg)}}
.t2a-home .home-hero-grid{position:relative;z-index:1;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(32px,5vw,72px);min-height:600px;padding-block:74px 76px}
.t2a-home .home-hero-copy{min-width:0;position:relative;z-index:3}
.t2a-home .home-eyebrow{letter-spacing:.16em;font-size:.68rem;display:inline-flex;align-items:center;gap:10px;border:1px solid color-mix(in srgb,var(--line) 80%,transparent);background:color-mix(in srgb,var(--surface) 75%,transparent);padding:9px 13px;border-radius:40px;max-width:100%;line-height:1.5;color:var(--ink-2)}
.t2a-home .home-eyebrow::before{display:none}
.t2a-home .home-status-dot{width:7px;height:7px;flex:0 0 7px;background:var(--ink);border-radius:50%;box-shadow:0 0 0 4px color-mix(in srgb,var(--ink) 7%,transparent);animation:t2a-blink 2.6s ease-in-out infinite}
@keyframes t2a-blink{50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--ink) 0%,transparent)}}
.t2a-home .home-hero h1{font-size:clamp(3.05rem,5.1vw,5.5rem);line-height:1.025;letter-spacing:-.068em;margin:26px 0 0;font-weight:800;text-wrap:balance}
.t2a-home .home-hero h1 span{display:block}
.t2a-home .home-hero h1 .hero-premium{margin-top:7px;background:linear-gradient(100deg,#5f6061,#a1a2a1 50%,#353738);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}
html[data-theme="dark"] .t2a-home .home-hero h1 .hero-premium{background-image:linear-gradient(100deg,#bebfbd,#f3f3ef 47%,#85888a)}
.t2a-home .home-hero .hero-desc{font-size:1.05rem;line-height:1.85;max-width:550px;margin-top:21px;color:var(--muted)}
.t2a-home .home-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:31px}
.t2a-home .home-cta,.t2a-home .home-cta-outline{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:26px;min-height:56px;padding:0 22px;border-radius:15px;font-weight:800;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.t2a-home .home-cta{background:#101112;color:white;border-color:#101112;box-shadow:0 12px 27px rgba(0,0,0,.16)}
html[data-theme="dark"] .t2a-home .home-cta{background:#f3f3f0;color:#101112;border-color:#f3f3f0}
.t2a-home .home-cta:hover{transform:translateY(-4px);box-shadow:0 17px 34px rgba(0,0,0,.2)}
.t2a-home .home-cta-outline{border-color:var(--line);background:color-mix(in srgb,var(--surface) 65%,transparent)}
.t2a-home .home-cta-outline:hover{transform:translateY(-3px);border-color:var(--ink)}
.t2a-home .cta-arrow{display:inline-block;font-size:1.2rem;transition:transform .3s ease}
.t2a-home .home-cta:hover .cta-arrow{transform:translate(3px,-3px)}
.t2a-home .home-hero-proof{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:34px;color:var(--muted);font-size:.8rem;line-height:1.5}
.t2a-home .home-proof-count{width:38px;height:38px;border:1px solid var(--line);background:var(--surface);border-radius:12px;display:grid;place-items:center;color:var(--ink);font-weight:900;font-size:1rem}
.t2a-home .home-proof-label{font-weight:800;color:var(--ink-2)}
.t2a-home .home-proof-divider{width:1px;height:20px;background:var(--line);margin-inline:8px}
.t2a-home .home-proof-ready{display:flex;align-items:center;gap:7px}
.t2a-home .home-proof-spark{color:var(--ink);font-size:1.2rem}
/* Hero showcase: no fake screenshots, links to real published tools */
.t2a-home .home-visual{position:relative;min-width:0;isolation:isolate;min-height:445px;display:grid;align-items:center;padding:20px 14px}
.t2a-home .home-visual::before{content:"";position:absolute;z-index:-2;inset:3% 1% 3% 5%;border-radius:45px;background:linear-gradient(145deg,#d8d9d5,#f8f8f5 50%,#d5d6d3);border:1px solid #d3d4d1;transform:rotate(-4deg);box-shadow:0 25px 58px rgba(17,18,18,.08)}
html[data-theme="dark"] .t2a-home .home-visual::before{background:linear-gradient(140deg,#303234,#151719 55%,#2b2d2e);border-color:#3a3d40}
.t2a-home .home-visual-grid{position:absolute;z-index:-1;inset:8% 1% 7% 6%;border-radius:34px;background-image:linear-gradient(rgba(0,0,0,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.045) 1px,transparent 1px);background-size:22px 22px;transform:rotate(-4deg)}
html[data-theme="dark"] .t2a-home .home-visual-grid{opacity:.25;filter:invert(1)}
.t2a-home .home-workspace{width:100%;max-width:475px;margin:auto;position:relative;z-index:2;border-radius:24px;background:var(--surface);border:1px solid color-mix(in srgb,var(--line) 92%,transparent);box-shadow:0 26px 64px rgba(15,16,17,.19),0 4px 8px rgba(15,16,17,.06);overflow:hidden;transform:perspective(1100px) rotateY(var(--t2a-ry,0deg)) rotateX(var(--t2a-rx,0deg));transition:transform .35s ease,box-shadow .35s ease;will-change:auto}
.t2a-home .home-workspace:hover{box-shadow:0 32px 78px rgba(15,16,17,.22)}
.t2a-home .workspace-chrome{height:49px;background:var(--bg-soft);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 17px;font-size:.81rem;letter-spacing:-.02em;font-weight:800}
.t2a-home .workspace-domain{color:var(--muted);font-weight:600}
.t2a-home .workspace-dots{display:flex;gap:5px}
.t2a-home .workspace-dots i{display:block;width:8px;height:8px;border-radius:50%;border:1px solid var(--graphite-2)}
.t2a-home .workspace-dots i:first-child{background:var(--graphite-2)}
.t2a-home .workspace-plus{font-size:1.15rem;color:var(--muted)}
.t2a-home .workspace-body{padding:clamp(18px,3vw,29px)}
.t2a-home .workspace-header{display:flex;justify-content:space-between;gap:10px;align-items:center}
.t2a-home .workspace-kicker{font-size:.63rem;font-weight:900;letter-spacing:.15em;color:var(--muted);text-transform:uppercase}
.t2a-home .workspace-indicator{width:7px;height:7px;border-radius:50%;background:var(--ink)}
.t2a-home .workspace-title{font-size:clamp(1.25rem,2vw,1.55rem);font-weight:850;line-height:1.3;letter-spacing:-.045em;margin:10px 0 6px}
.t2a-home .workspace-subtitle{font-size:.82rem;line-height:1.6;margin:0 0 19px;color:var(--muted)}
.t2a-home .workspace-list{display:grid;gap:9px}
.t2a-home .workspace-item{display:grid;grid-template-columns:43px minmax(0,1fr) 28px;align-items:center;gap:12px;min-width:0;border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:var(--surface);transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}
.t2a-home .workspace-item:hover,.t2a-home .workspace-item:focus-visible{background:var(--bg-soft);transform:translateX(4px);border-color:var(--graphite-2);box-shadow:0 8px 22px rgba(0,0,0,.07)}
html[dir="rtl"] .t2a-home .workspace-item:hover,html[dir="rtl"] .t2a-home .workspace-item:focus-visible{transform:translateX(-4px)}
.t2a-home .workspace-item .tool-icon{width:43px;height:43px;border-radius:12px}
.t2a-home .workspace-item .tool-icon-mask{width:24px;height:24px}
.t2a-home .workspace-name{min-width:0;font-size:.84rem;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.t2a-home .workspace-item-arrow{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1px solid var(--line);color:var(--ink);font-size:1.1rem}
.t2a-home .workspace-bottom{margin-top:17px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:13px;border-top:1px solid var(--line);font-weight:800;font-size:.78rem}
.t2a-home .workspace-bottom span:last-child{font-size:1.1rem}
.t2a-home .home-floating-note{position:absolute;z-index:3;display:flex;align-items:center;gap:9px;padding:9px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);box-shadow:0 10px 24px rgba(0,0,0,.1);color:var(--ink);font-size:.72rem;font-weight:850;white-space:nowrap;pointer-events:none}
.t2a-home .home-floating-note-top{top:5%;right:-3%;animation:t2a-float 5s ease-in-out infinite}
.t2a-home .home-floating-note-top span{font-size:1rem}
.t2a-home .home-floating-note-bottom{bottom:5%;left:-1%;animation:t2a-float 5.4s ease-in-out 1s infinite reverse}
.t2a-home .home-note-circle{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--ink);color:var(--surface);font-size:.85rem}
@keyframes t2a-float{50%{transform:translateY(-8px)}}
.t2a-home .home-hero-rule{border-top:1px solid color-mix(in srgb,var(--line) 60%,transparent);position:relative;z-index:1}
.t2a-home .home-hero-rule .container{height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:.66rem;font-weight:900;letter-spacing:.18em}
.t2a-home .home-hero-rule span:nth-child(2){font-size:1.1rem;color:var(--ink)}
/* Section editorial polish */
.t2a-home .home-section{position:relative;padding-block:76px}
.t2a-home .home-section.alt{background:color-mix(in srgb,var(--surface) 75%,var(--bg-soft))}
.t2a-home .home-section-head{margin-bottom:26px;align-items:end}
.t2a-home .home-section-kicker{display:inline-flex;align-items:center;gap:11px;color:var(--muted);font-weight:850;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px}
.t2a-home .home-section-kicker span{color:var(--graphite-2)}
.t2a-home .home-section-head h2{font-size:clamp(1.85rem,3vw,2.6rem);letter-spacing:-.055em;line-height:1.2}
.t2a-home .home-section-head p{line-height:1.7}
.t2a-home .home-section .view-link{display:inline-flex;align-items:center;gap:12px;min-height:40px;padding:0 12px;border:1px solid var(--line);background:var(--surface);border-radius:12px;transition:background .2s ease,transform .2s ease,border-color .2s ease;white-space:nowrap}
.t2a-home .home-section .view-link:hover{transform:translateY(-2px);background:var(--bg-soft);border-color:var(--graphite-2)}
.t2a-home .home-tool-grid{gap:16px}
.t2a-home .home-tool-grid .tool-card{min-width:0;min-height:190px;padding:21px;border-radius:19px;border-color:var(--line);background:var(--surface);box-shadow:0 1px 1px rgba(0,0,0,.015),0 7px 22px rgba(0,0,0,.018);isolation:isolate;transition:transform .26s cubic-bezier(.15,.75,.2,1),border-color .26s ease,box-shadow .26s ease}
.t2a-home .home-tool-grid .tool-card::before{content:"";position:absolute;z-index:-1;inset:0;opacity:0;background:radial-gradient(310px circle at var(--t2a-x,50%) var(--t2a-y,20%),color-mix(in srgb,var(--graphite) 7%,transparent),transparent 75%);transition:opacity .3s ease;pointer-events:none}
.t2a-home .home-tool-grid .tool-card:hover{transform:translateY(-6px);border-color:var(--graphite-2);box-shadow:0 22px 43px rgba(0,0,0,.105)}
.t2a-home .home-tool-grid .tool-card:hover::before{opacity:1}
.t2a-home .home-tool-grid .tool-icon{height:54px;width:54px;border-radius:15px;transition:transform .3s ease}
.t2a-home .home-tool-grid .tool-icon-mask{height:30px;width:30px}
.t2a-home .home-tool-grid .tool-card:hover .tool-icon{transform:scale(1.08) rotate(-4deg)}
.t2a-home .home-tool-grid .tool-card h3{font-size:1rem;margin-top:19px;line-height:1.35;padding-inline-end:25px}
.t2a-home .home-tool-grid .tool-card p{font-size:.82rem;line-height:1.65;padding-inline-end:15px;max-width:95%}
.t2a-home .home-tool-grid .tool-arrow{bottom:18px;inset-inline-end:17px;width:32px;height:32px;transition:transform .25s ease,color .25s ease,background .25s ease;border-color:var(--line)}
.t2a-home .home-tool-grid .tool-card:hover .tool-arrow{transform:rotate(-45deg);background:var(--ink);color:var(--surface);border-color:var(--ink)}
.t2a-home .home-trust-section{padding-block:25px 70px;border-block:0}
.t2a-home .home-trust-section .trust-row{border-radius:23px;box-shadow:0 23px 48px rgba(0,0,0,.08)}
.t2a-home .home-trust-section .trust-item{padding:28px}
/* Homepage reveal enhancements; do not hide anything until visible detection is active */
@media(prefers-reduced-motion:no-preference){.t2a-home [data-t2a-reveal].t2a-reveal-ready{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.2,.8,.2,1),transform .7s cubic-bezier(.2,.8,.2,1)}.t2a-home [data-t2a-reveal].t2a-reveal-ready.t2a-in-view{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.t2a-home .home-hero-grid{gap:26px;grid-template-columns:minmax(0,1fr) minmax(0,.94fr)}.t2a-home .home-hero h1{font-size:clamp(2.8rem,5.3vw,4.4rem)}.t2a-home .home-floating-note-top{right:0}}
@media(max-width:820px){
 .t2a-home .home-hero-grid{grid-template-columns:1fr;gap:29px;min-height:0;padding:47px 0 48px}
 .t2a-home .home-hero h1{font-size:clamp(2.65rem,8.4vw,4.5rem);line-height:1.07;letter-spacing:-.065em}
 .t2a-home .home-hero .hero-desc{font-size:1rem;line-height:1.8}
 .t2a-home .home-hero-actions{display:flex;flex-wrap:wrap;margin-top:24px}
 .t2a-home .home-cta,.t2a-home .home-cta-outline{flex:1 1 210px;width:auto;min-width:0}
 .t2a-home .home-orbit-two{right:10%}
 .t2a-home .home-visual{max-width:560px;width:100%;margin:auto;min-height:0;padding:25px 22px 27px}
 .t2a-home .home-visual::before{inset:4% 1% 4% 3%}
 .t2a-home .home-floating-note-top{top:0;right:0}
 .t2a-home .home-floating-note-bottom{bottom:1%;left:0}
 .t2a-home .home-hero-rule .container{height:42px}
 .t2a-home .home-section{padding-block:52px}
 .t2a-home .home-section-head{display:flex;flex-wrap:wrap;align-items:flex-end}
 .t2a-home .home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .t2a-home .home-tool-grid .tool-card{padding:17px;min-height:180px}
 .t2a-home .home-tool-grid .tool-card p{padding-inline-end:0}
 .t2a-home .home-trust-section{padding:20px 0 52px}
}
@media(max-width:500px){
 .t2a-home .home-hero-grid{padding-top:37px;gap:26px}
 .t2a-home .home-hero h1{font-size:clamp(2.42rem,10vw,3.3rem)}
 .t2a-home .home-eyebrow{font-size:.59rem;letter-spacing:.1em}
 .t2a-home .home-hero-actions{display:grid;grid-template-columns:1fr;gap:9px}
 .t2a-home .home-cta,.t2a-home .home-cta-outline{width:100%;min-height:51px;justify-content:space-between;flex:auto}
 .t2a-home .home-hero-proof{margin-top:22px;gap:8px;font-size:.75rem}
 .t2a-home .home-proof-divider{margin-inline:4px}
 .t2a-home .home-visual{padding:20px 13px 23px}
 .t2a-home .home-workspace{border-radius:19px}
 .t2a-home .workspace-chrome{height:43px;padding-inline:12px}
 .t2a-home .workspace-body{padding:16px}
 .t2a-home .workspace-item{grid-template-columns:40px minmax(0,1fr) 26px;gap:9px;padding:9px}
 .t2a-home .workspace-item .tool-icon{width:39px;height:39px}
 .t2a-home .workspace-name{font-size:.75rem}
 .t2a-home .home-floating-note{font-size:.64rem;padding:7px 10px}
 .t2a-home .home-hero-rule .container{font-size:.56rem;letter-spacing:.12em}
 .t2a-home .home-section-head{align-items:flex-start;gap:8px}
 .t2a-home .home-section-head h2{font-size:1.77rem}
 .t2a-home .home-tool-grid{grid-template-columns:1fr}
 .t2a-home .home-tool-grid .tool-card{min-height:155px}
 .t2a-home .home-tool-grid .tool-card p{max-width:92%}
 .t2a-home .home-section{padding-block:45px}
}
@media(prefers-reduced-motion:reduce){.t2a-home .home-orbit,.t2a-home .home-floating-note,.t2a-home .home-status-dot{animation:none!important}.t2a-home .home-workspace{transform:none!important}.t2a-home [data-t2a-reveal]{opacity:1!important;transform:none!important}}
