:root{
  --bg:#f3f6f5;
  --surface:#ffffff;
  --surface-soft:#f8fbfa;
  --text:#172033;
  --muted:#667085;
  --line:#dbe4e1;
  --line-strong:#c8d5d1;
  --brand:#0f7d70;
  --brand-deep:#0b655b;
  --brand-soft:#e8f5f2;
  --accent:#2f68e8;
  --danger:#b42318;
  --danger-soft:#fff1ef;
  --warning:#8a5a00;
  --warning-soft:#fff7df;
  --success:#086b42;
  --success-soft:#ebf8f1;
  --shadow:0 18px 44px rgba(31,45,41,.08);
  --shadow-soft:0 8px 26px rgba(31,45,41,.07);
  --radius-xl:28px;
  --radius-lg:20px;
  --radius-md:14px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{margin:0;min-height:100vh;background:linear-gradient(180deg,#f8faf9 0,#f1f4f3 42%,#f4f6f5 100%);color:var(--text)}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{appearance:none}
img,svg{display:block;max-width:100%}
.wrap{width:min(var(--max),calc(100% - 36px));margin-inline:auto}
.narrow{width:min(860px,calc(100% - 36px));margin-inline:auto}

.site-header{position:sticky;top:0;z-index:20;background:rgba(248,250,249,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(200,213,209,.8)}
.header-inner{min-height:72px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}
.brand{display:inline-flex;align-items:center;gap:11px;font-weight:800;letter-spacing:-.035em;font-size:21px;white-space:nowrap}
.brand-mark{width:34px;height:34px;flex:0 0 34px}
.nav{display:flex;justify-content:center;gap:26px;color:#475467;font-size:14px;font-weight:650}
.nav a:hover{color:var(--brand)}
.lang-wrap{display:flex;align-items:center;gap:8px;color:#475467;font-size:13px;font-weight:700}
.lang-select{width:auto;min-width:128px;background:#fff;border:1px solid var(--line-strong);border-radius:12px;padding:9px 34px 9px 12px;color:var(--text);cursor:pointer}

.hero{padding:88px 0 52px;text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #cfe2dd;background:#fff;border-radius:999px;font-size:13px;font-weight:750;color:var(--brand-deep);box-shadow:0 3px 12px rgba(31,45,41,.04)}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--brand)}
.hero h1,.tool-hero h1{letter-spacing:-.055em;color:#111827}
.hero h1{font-size:clamp(44px,7vw,76px);line-height:.98;max-width:920px;margin:24px auto 20px}
.hero p{max-width:760px;margin:0 auto;color:#566072;font-size:clamp(17px,2vw,21px);line-height:1.62}
.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}
.trust-row{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:28px;color:#53626a;font-size:13px}
.trust-item{display:inline-flex;align-items:center;gap:7px}
.trust-icon{width:22px;height:22px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:inline-grid;place-items:center;font-weight:850}

.btn{border:0;border-radius:999px;padding:13px 21px;background:var(--brand);color:#fff;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 8px 20px rgba(15,125,112,.2);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.btn:hover{transform:translateY(-1px);background:var(--brand-deep);box-shadow:0 10px 24px rgba(15,125,112,.24)}
.btn:focus-visible,.btn-secondary:focus-visible,.lang-select:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(47,104,232,.24);outline-offset:2px}
.btn-secondary{border:1px solid var(--line-strong);border-radius:999px;padding:12px 20px;background:#fff;color:#1d2939;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-secondary:hover{border-color:#9eb5ae;background:#fbfdfc}
.btn-danger{border-color:#efc3bd;color:var(--danger);background:#fff}
.btn[disabled],.btn-secondary[disabled]{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}

.section{padding:40px 0 80px}
.section-head{text-align:center;max-width:720px;margin:0 auto 28px}
.section-head h2{margin:0 0 10px;font-size:clamp(30px,4vw,44px);letter-spacing:-.045em}
.section-head p{margin:0;color:var(--muted);line-height:1.65}
.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tool-card{display:flex;flex-direction:column;min-height:215px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.tool-card:hover{transform:translateY(-3px);border-color:#b9cec8;box-shadow:var(--shadow)}
.tool-card-icon{width:42px;height:42px;border-radius:13px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:850;font-size:18px}
.tool-card h3{font-size:19px;letter-spacing:-.025em;margin:20px 0 8px}
.tool-card p{margin:0;color:#667085;line-height:1.56;font-size:14px}
.tool-card-meta{margin-top:auto;padding-top:22px;color:var(--brand-deep);font-size:12px;font-weight:800}

.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.feature-mini{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;text-align:left}
.feature-mini b{display:block;margin-bottom:7px;letter-spacing:-.02em}
.feature-mini span{color:var(--muted);font-size:14px;line-height:1.55}

.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.guide-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow-soft)}
.guide-card .tag{font-size:12px;color:var(--brand);font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.guide-card h3{font-size:20px;letter-spacing:-.025em;margin:12px 0 8px}
.guide-card p{color:var(--muted);font-size:14px;line-height:1.55;margin:0 0 16px}
.guide-card a{color:var(--brand-deep);font-weight:800;font-size:14px}

.tool-hero{padding:58px 0 22px;text-align:center}
.tool-hero h1{font-size:clamp(38px,6vw,64px);line-height:1.02;max-width:980px;margin:0 auto 18px}
.tool-hero p{max-width:760px;margin:0 auto;color:#5e6877;font-size:18px;line-height:1.62}
.tool-privacy{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:var(--brand-deep);font-size:13px;font-weight:750}

.ad-slot{display:none}

.tool-shell{padding:18px 0 52px}
.toolbox{background:#fff;border:1px solid var(--line-strong);border-radius:var(--radius-xl);box-shadow:var(--shadow);padding:30px}
.dropzone{border:1.5px dashed #b9ccc6;background:var(--surface-soft);border-radius:22px;min-height:270px;padding:34px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:border-color .15s ease,background .15s ease}
.dropzone.drag{border-color:var(--brand);background:#eff8f5}
.drop-icon{font-size:31px;color:var(--brand);line-height:1;margin-bottom:10px}
.dropzone h2{font-size:24px;margin:0 0 8px;letter-spacing:-.03em}
.dropzone p{margin:0;color:#667085;line-height:1.5}
.file-input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.file-button{margin-top:22px}
.format-note{margin-top:16px;font-size:12px;color:#68777c;font-weight:700}
.format-note strong{color:var(--brand-deep)}
.input-row{display:grid;grid-template-columns:1fr auto;gap:10px}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:13px;font-weight:800;color:#344054}
input[type=text],input[type=password],input[type=number],textarea,select:not(.lang-select){width:100%;border:1px solid #c9d5d1;border-radius:14px;background:#fff;color:#182230;padding:14px 15px;outline:none}
textarea{min-height:160px;resize:vertical;line-height:1.55}
input::placeholder,textarea::placeholder{color:#98a2b3}
.inline-options{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.check{display:flex;align-items:center;gap:8px;font-size:14px;color:#475467;font-weight:700}
.check input{width:18px;height:18px;accent-color:var(--brand)}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.result{margin-top:18px;border:1px solid #d4e1dd;background:#f8fbfa;border-radius:16px;padding:16px;overflow-wrap:anywhere}
.result:empty{display:none}
.result h3{margin:0 0 10px;font-size:17px}
.result p{margin:8px 0;color:#56616d;line-height:1.55}
.result code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;word-break:break-all}
.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.result-item{padding:14px;background:#fff;border:1px solid #dfe8e5;border-radius:13px}
.result-item span{display:block;color:#667085;font-size:12px;margin-bottom:4px}
.result-item b{font-size:14px;word-break:break-word}
.status{border-radius:13px;padding:12px 14px;font-size:13px;line-height:1.55;margin-top:14px}
.status.success{color:var(--success);background:var(--success-soft);border:1px solid #c8ebd8}
.status.warning{color:var(--warning);background:var(--warning-soft);border:1px solid #f2dfae}
.status.danger{color:var(--danger);background:var(--danger-soft);border:1px solid #efc9c3}
.meter{height:10px;background:#e7eeec;border-radius:999px;overflow:hidden;margin:12px 0}
.meter span{display:block;height:100%;width:0;background:var(--brand);transition:width .2s ease}

.tool-content{padding:18px 0 76px}
.features-title{text-align:center;font-size:30px;letter-spacing:-.04em;margin:8px 0 24px}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:54px}
.feature{padding:18px;text-align:center}
.feature .feature-icon{width:38px;height:38px;margin:0 auto 11px;border-radius:50%;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-weight:850}
.feature h3{font-size:16px;margin:0 0 7px}
.feature p{font-size:13px;line-height:1.55;color:#667085;margin:0}
.article-copy{max-width:820px;margin:0 auto}
.article-copy h2{font-size:30px;letter-spacing:-.04em;margin:38px 0 12px}
.article-copy h3{font-size:21px;letter-spacing:-.025em;margin:28px 0 9px}
.article-copy p,.article-copy li{font-size:16px;line-height:1.75;color:#53606e}
.article-copy a{color:var(--brand-deep);text-decoration:underline;text-underline-offset:3px}
.article-copy ul{padding-left:22px}

.faq{max-width:900px;margin:48px auto 0}
.faq h2{text-align:center;font-size:30px;letter-spacing:-.04em;margin-bottom:22px}
.faq details{border-top:1px solid var(--line);padding:0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:20px 4px;font-weight:800;color:var(--brand-deep);display:flex;justify-content:space-between;gap:18px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;color:#8aa39c;font-weight:500}
.faq details[open] summary::after{content:"−"}
.faq details p{margin:0;padding:0 4px 20px;color:#5f6976;line-height:1.65}

.canvas-wrap{margin-top:18px;background:#eef2f1;border:1px solid var(--line);border-radius:16px;overflow:auto;text-align:center}
.canvas-wrap canvas{max-width:100%;height:auto;margin:auto;cursor:crosshair}
.file-name{margin-top:12px;font-size:13px;color:#475467;font-weight:750}

.legal-page{padding:56px 0 82px}
.legal-page h1,.guide-page h1{font-size:clamp(38px,6vw,62px);letter-spacing:-.055em;line-height:1.03;margin:0 0 16px}
.legal-page h2,.guide-page h2{font-size:27px;letter-spacing:-.035em;margin:34px 0 10px}
.legal-page p,.legal-page li,.guide-page p,.guide-page li{color:#55616e;line-height:1.75}
.guide-page{padding:56px 0 82px}
.guide-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--brand);font-weight:850;margin-bottom:12px}

.site-footer{background:#12211f;color:#ecf5f2;margin-top:44px}
.footer-main{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:38px;padding:44px 0 34px}
.footer-main h3{font-size:15px;margin:0 0 14px}
.footer-main p,.footer-main a{font-size:13px;color:#bdcbc7;line-height:1.7}
.footer-links{display:flex;flex-direction:column;gap:7px}
.footer-brand{display:flex;align-items:center;gap:10px;font-weight:800;margin-bottom:12px}
.footer-brand img{width:30px;height:30px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0 26px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#aebfba;font-size:12px}
.footer-bottom a{color:#d8e4e0;text-decoration:underline;text-underline-offset:3px}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:900px){
  .header-inner{grid-template-columns:auto auto;justify-content:space-between}.nav{display:none}
  .tools-grid,.guide-grid,.features-grid,.feature-strip{grid-template-columns:repeat(2,1fr)}
  .footer-main{grid-template-columns:1fr 1fr}.footer-main>div:first-child{grid-column:1/-1}
}
@media(max-width:620px){
  .wrap,.narrow{width:min(100% - 22px,var(--max))}
  .site-header{position:static}.header-inner{min-height:64px;gap:12px}.brand{font-size:18px}.brand-mark{width:30px;height:30px;flex-basis:30px}
  .lang-wrap>span{display:none}.lang-select{min-width:112px;padding:8px 28px 8px 10px;font-size:13px}
  .hero{padding:58px 0 34px}.hero h1{font-size:44px}.hero p{font-size:17px}
  .tools-grid,.guide-grid,.features-grid,.feature-strip,.result-grid{grid-template-columns:1fr}
  .tool-hero{padding-top:42px}.tool-hero h1{font-size:40px}.tool-hero p{font-size:16px}
  .toolbox{padding:17px;border-radius:20px}.dropzone{min-height:240px;padding:24px 16px}.dropzone h2{font-size:21px}
  .input-row{grid-template-columns:1fr}.input-row .btn{width:100%}.actions>*{flex:1 1 100%}
  .footer-main{grid-template-columns:1fr;gap:26px}.footer-main>div:first-child{grid-column:auto}
}

.meter .score-0{width:16.7%}.meter .score-1{width:33.4%}.meter .score-2{width:50.1%}.meter .score-3{width:66.8%}.meter .score-4{width:83.5%}.meter .score-5{width:100%}

.audit-section,.metadata-section{margin-top:24px;padding-top:4px}
.audit-section:first-child,.metadata-section:first-child{margin-top:4px}
.audit-section h3,.metadata-section h3{margin:0 0 10px;font-size:18px;letter-spacing:-.02em}
.result-note{margin:9px 2px 0!important;font-size:12px!important;color:#667085!important;line-height:1.55!important}
.audit-section .result-item b,.metadata-section .result-item b{font-weight:750}
.audit-section .status strong,.metadata-section .status strong{word-break:break-all}

.metadata-clean-box{margin-top:24px;padding:18px;border:1px solid #cfe2dd;background:#f5fbf9;border-radius:16px}
.metadata-clean-box h3{margin:0 0 8px}
.metadata-clean-box p{margin:0;color:#56616d;line-height:1.55}
.verify-title{margin-top:20px!important}

.generator-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.hidden{display:none!important}
@media(max-width:620px){.generator-grid{grid-template-columns:1fr}}

.pii-match-list{display:grid;gap:8px;margin-top:14px}
.pii-match{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.pii-match span{font-size:12px;color:#667085}.pii-match code{font-size:12px;word-break:break-all}
@media(max-width:620px){.pii-match{align-items:flex-start;flex-direction:column}}

.hash-list{display:grid;gap:12px;margin-top:14px}.hash-item{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(0,1.8fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.hash-item>div{display:flex;flex-direction:column;gap:3px}.hash-item span{font-size:12px;color:var(--muted)}.hash-item code{word-break:break-all;font-size:12px}.hash-progress .meter span{transition:width .15s linear}
@media(max-width:760px){.hash-item{grid-template-columns:1fr}.hash-item .btn-secondary{width:100%}}

.tool-separator{border:0;border-top:1px solid var(--line);margin:28px 0}.compact-dropzone{min-height:190px;padding:22px}.compact-dropzone h2{font-size:20px}

.redact-controls{display:grid;grid-template-columns:1fr 160px 1fr;gap:12px;align-items:end;margin:16px 0}.redact-controls .status,.redact-auto{grid-column:1/-1}.redact-controls input[type=color]{width:100%;height:49px;border:1px solid var(--line-strong);border-radius:12px;background:#fff;padding:5px}.redact-controls input[type=range]{width:100%}
@media(max-width:760px){.redact-controls{grid-template-columns:1fr}}

/* Privacy consent */
.privacy-consent{position:fixed;right:24px;bottom:24px;z-index:1000;width:min(430px,calc(100% - 48px));display:none;padding:18px;border:1px solid rgba(15,125,112,.20);border-radius:20px;background:rgba(255,255,255,.98);box-shadow:0 24px 70px rgba(23,32,51,.18),0 4px 18px rgba(23,32,51,.08);backdrop-filter:blur(14px);animation:consentIn .22s ease-out both}
.privacy-consent.show{display:block}
.privacy-consent-copy{color:#667085;font-size:13.5px;line-height:1.55}
.privacy-consent-copy strong{display:block;margin-bottom:5px;color:var(--text);font-size:15px;letter-spacing:-.015em}
.privacy-consent-copy a{display:inline-block;margin-left:4px;color:var(--brand-deep);font-weight:750;text-decoration:underline;text-underline-offset:3px}
.privacy-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}
.privacy-consent-btn{min-height:42px;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease}
.privacy-consent-btn:hover{transform:translateY(-1px)}
.privacy-consent-reject{border:1px solid var(--line-strong);background:#fff;color:#344054}
.privacy-consent-reject:hover{border-color:#9eb5ae;background:#fbfdfc}
.privacy-consent-accept{border:1px solid var(--brand);background:var(--brand);color:#fff;box-shadow:0 8px 20px rgba(15,125,112,.16)}
.privacy-consent-accept:hover{background:var(--brand-deep);border-color:var(--brand-deep)}
.footer-privacy-button{appearance:none;border:0;padding:0;background:none;color:#bdcbc7;font:inherit;text-align:left;cursor:pointer}
.footer-privacy-button:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
@keyframes consentIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:620px){.privacy-consent{right:11px;bottom:11px;width:calc(100% - 22px);padding:16px;border-radius:17px}.privacy-consent-actions{grid-template-columns:1fr 1fr}}


/* Password generator refined */
.password-generator-box{padding:26px}
.generator-output-card{padding:20px;border:1px solid #cfe0db;border-radius:20px;background:linear-gradient(180deg,#fbfefd 0,#f5faf8 100%)}
.generator-output-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:11px;color:#344054;font-size:13px;font-weight:850}
.generator-local-note{display:inline-flex;align-items:center;gap:6px;color:var(--brand-deep);font-size:12px;font-weight:750}
.generator-output-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center}
.generator-password-output{min-width:0!important;padding:15px 16px!important;border-color:#b8ccc6!important;background:#fff!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:17px!important;letter-spacing:.015em}
.generator-copy,.generator-regenerate{min-height:49px;white-space:nowrap}
.generator-strength-result{margin-top:13px;padding:0;border:0;background:transparent}
.generator-strength-result>h3,.generator-strength-result>.result-grid,.generator-strength-result>p:not(.result-note){display:none}
.generator-strength-line{display:flex;justify-content:space-between;gap:16px;align-items:center;color:#667085;font-size:12px}
.generator-strength-line strong{color:var(--brand-deep);font-size:13px}
.generator-strength-result .meter{margin:7px 0 5px;height:7px}
.generator-strength-result .result-note{margin:0!important;font-size:11px!important}
.generator-settings{margin-top:20px}
.generator-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.generator-setting-title,.generator-length-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#344054;font-size:13px;font-weight:850}
.generator-setting-hint{color:#98a2b3;font-size:11px;font-weight:700}
.generator-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.generator-preset{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:60px;padding:11px 12px;border:1px solid var(--line-strong);border-radius:14px;background:#fff;color:#344054;cursor:pointer;text-align:left;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.generator-preset strong{font-size:13px}
.generator-preset span{color:#98a2b3;font-size:11px;font-weight:750}
.generator-preset:hover{border-color:#9eb5ae;background:#fbfdfc}
.generator-preset.active{border-color:#7eb9ae;background:var(--brand-soft);box-shadow:inset 0 0 0 1px rgba(15,125,112,.08);color:var(--brand-deep)}
.generator-preset.active span{color:var(--brand)}
.generator-preset-note{margin:9px 2px 0;color:#7a8694;font-size:11.5px;line-height:1.5}
.generator-length-head output{min-width:36px;padding:4px 8px;border-radius:999px;background:var(--brand-soft);color:var(--brand-deep);font-size:12px;text-align:center}
.generator-length-row{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:12px;align-items:center}
.generator-range{width:100%;accent-color:var(--brand)}
.generator-length-number{padding:11px 10px!important;text-align:center}
.generator-character-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.generator-check{position:relative;display:block;cursor:pointer}
.generator-check input{position:absolute;opacity:0;pointer-events:none}
.generator-check span{display:flex;flex-direction:column;gap:3px;min-height:61px;padding:11px 12px;border:1px solid var(--line-strong);border-radius:14px;background:#fff;transition:border-color .15s ease,background .15s ease}
.generator-check b{font-size:14px;color:#344054}
.generator-check small{font-size:11px;color:#7a8694}
.generator-check input:checked+span{border-color:#7eb9ae;background:var(--brand-soft)}
.generator-check input:checked+span b{color:var(--brand-deep)}
.generator-check input:focus-visible+span{outline:3px solid rgba(47,104,232,.24);outline-offset:2px}
.generator-ambiguous{margin-top:12px;font-size:13px}
@media(max-width:700px){
  .password-generator-box{padding:17px}
  .generator-output-row{grid-template-columns:1fr 1fr}
  .generator-password-output{grid-column:1/-1}
  .generator-copy,.generator-regenerate{width:100%}
  .generator-presets,.generator-character-grid{grid-template-columns:repeat(2,1fr)}
}

.generator-guidance{display:grid;gap:4px;margin-top:14px;padding:12px 14px;border:1px solid #d9e6e2;border-radius:14px;background:#fff;color:#667085;font-size:12.5px;line-height:1.5}.generator-guidance strong{color:#263238;font-size:13px}

/* Rich guide content */
.guide-lead{font-size:19px!important;line-height:1.7!important;color:#3f4a57!important;margin:0 0 30px}
.guide-callout{margin:28px 0;padding:18px 20px;border:1px solid #cfe2dd;border-radius:16px;background:#f5fbf9}
.guide-callout strong{display:block;margin-bottom:6px;color:var(--brand-deep);font-size:15px}
.guide-callout p{margin:0!important;font-size:15px!important;line-height:1.65!important}
.guide-cta{margin:38px 0 24px;padding:22px;border:1px solid var(--line-strong);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft)}
.guide-cta strong{display:block;color:#172033;font-size:18px;letter-spacing:-.02em}
.guide-cta p{margin:7px 0 16px!important}
.guide-cta .btn,.guide-cta .btn-secondary{margin:0 8px 8px 0;text-decoration:none}
.source-list{margin-top:10px}
.source-list li{margin:8px 0}
.source-list a{font-size:14px}
.generator-phrase-note{margin:16px 0 0;color:#667085;font-size:12.5px;line-height:1.55}

/* Catalog and search */
.catalog-page{padding:58px 0 80px}
.catalog-hero{max-width:860px;margin:0 auto 48px;text-align:center}
.catalog-hero h1{font-size:clamp(40px,6vw,64px);letter-spacing:-.05em;margin:0 0 14px}
.catalog-hero>p{max-width:700px;margin:0 auto;color:var(--muted);line-height:1.65}
.catalog-search,.site-search-box{position:relative;max-width:720px;margin:24px auto 0;text-align:left}
.catalog-search input,.site-search-box input{width:100%;padding:16px 132px 16px 18px;border:1px solid var(--line-strong);border-radius:16px;background:#fff;box-shadow:var(--shadow-soft);font-size:15px}
.catalog-search-hint{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#98a2b3;font-size:11px;font-weight:750;pointer-events:none}
.search-results{display:none;margin-top:8px;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);text-align:left}
.search-results.show{display:block}
.search-result-item{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:11px 12px;border-radius:11px}
.search-result-item:hover{background:var(--surface-soft)}
.search-result-item span{display:flex;flex-direction:column;gap:2px}
.search-result-item small{color:var(--brand);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.search-result-item strong{font-size:14px}
.search-result-item>b{color:var(--brand);font-size:16px}
.search-empty{padding:12px;color:var(--muted);font-size:13px}
.catalog-section{max-width:860px;margin:0 auto}
.catalog-list{display:grid;gap:8px}
.catalog-item{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;border:1px solid var(--line);border-radius:15px;background:#fff}
.catalog-item:hover{border-color:#b9cec8;box-shadow:var(--shadow-soft)}
.catalog-item span{display:flex;flex-direction:column;gap:4px}
.catalog-item strong{font-size:15px;letter-spacing:-.015em}
.catalog-item small{color:var(--muted);font-size:12px}
.catalog-item>b{color:var(--brand)}
.tools-section-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.home-search{max-width:680px;margin:18px auto 0}
.tool-related-guide{display:flex;justify-content:center;margin:24px auto 0}
@media(max-width:620px){
  .catalog-search input,.site-search-box input{padding-right:16px}
  .catalog-search-hint{display:none}
  .catalog-page{padding-top:40px}
}

.guide-action-top{margin:18px 0 22px}.guide-action-top .btn{text-decoration:none}

/* Converter and IP tools */
.convert-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.convert-controls .actions,.convert-controls .status{grid-column:1/-1}.convert-controls input[type=range]{width:100%}
.ip-toolbox{text-align:center}.ip-main{display:grid;gap:8px;padding:18px 10px}.ip-main span{color:var(--muted);font-size:13px;font-weight:750}.ip-main strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(28px,5vw,46px);letter-spacing:-.035em;word-break:break-all}.ip-actions{justify-content:center}
@media(max-width:620px){.convert-controls{grid-template-columns:1fr}.convert-controls .actions,.convert-controls .status{grid-column:auto}}

.compact-catalog-hero{margin-bottom:26px}.compact-catalog-hero h1{font-size:clamp(36px,5vw,54px);margin-bottom:10px}.tools-catalog-cards{max-width:var(--max)!important;margin:0 auto}.tools-catalog-cards .tools-grid{margin-top:0}


/* Homepage and catalog responsive polish */
.section-kicker{display:block;margin-bottom:7px;color:var(--brand);font-size:12px;font-weight:850;letter-spacing:.075em;text-transform:uppercase}
.tools-featured-head{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;text-align:left;margin-bottom:22px}
.tools-featured-head h2{margin:0}
.tools-featured-head .tools-section-actions{margin:0;flex:0 0 auto}
.home-tools-section{padding-top:30px}
.home-tools-grid .tool-card{position:relative;overflow:hidden}
.home-tools-grid .tool-card::after{content:"";position:absolute;right:-28px;top:-30px;width:94px;height:94px;border-radius:50%;background:radial-gradient(circle,rgba(15,125,112,.075),rgba(15,125,112,0) 70%);pointer-events:none}
.home-tools-grid .tool-card-meta{display:flex;align-items:center;min-height:36px}
.tools-catalog-cards .tool-card{min-height:205px}

@media(max-width:900px){
  .header-inner{grid-template-columns:minmax(0,1fr) auto;justify-content:initial;gap:10px 14px;padding:10px 0 9px}
  .nav{display:flex;grid-column:1/-1;justify-content:flex-start;gap:6px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .nav::-webkit-scrollbar{display:none}
  .nav a{flex:0 0 auto;padding:7px 11px;border:1px solid rgba(200,213,209,.72);border-radius:999px;background:rgba(255,255,255,.68);font-size:12.5px}
  .lang-wrap{justify-self:end}
}

@media(max-width:620px){
  .hero{padding:44px 0 28px}
  .hero h1{font-size:clamp(38px,11vw,46px);line-height:1.01;margin:20px auto 16px}
  .hero p{font-size:16px;line-height:1.58}
  .hero-actions{margin-top:22px}
  .hero-actions .btn,.hero-actions .btn-secondary{min-height:46px;padding-inline:18px}
  .trust-row{gap:10px 14px;margin-top:22px;font-size:12px}
  .section{padding:30px 0 58px}
  .tools-featured-head{display:grid;grid-template-columns:1fr;align-items:stretch;gap:14px;margin-bottom:16px}
  .tools-featured-head .tools-section-actions{justify-content:stretch}
  .tools-featured-head .btn-secondary{width:100%;min-height:46px}
  .home-tools-grid,.tools-catalog-cards .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .home-tools-grid .tool-card,.tools-catalog-cards .tool-card{min-height:178px;padding:16px;border-radius:16px}
  .home-tools-grid .tool-card-icon,.tools-catalog-cards .tool-card-icon{width:36px;height:36px;border-radius:11px;font-size:15px}
  .home-tools-grid .tool-card h3,.tools-catalog-cards .tool-card h3{margin:14px 0 6px;font-size:16px;line-height:1.16}
  .home-tools-grid .tool-card p,.tools-catalog-cards .tool-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12.5px;line-height:1.42}
  .home-tools-grid .tool-card-meta,.tools-catalog-cards .tool-card-meta{padding-top:12px;min-height:28px;font-size:10.5px;line-height:1.35}
  .catalog-page{padding-top:28px}
  .catalog-hero{margin-bottom:22px}
  .catalog-hero h1{font-size:clamp(34px,10vw,44px)}
  .catalog-search{margin-top:18px}
  .catalog-search input{min-height:50px}
}

@media(max-width:350px){
  .home-tools-grid,.tools-catalog-cards .tools-grid{grid-template-columns:1fr}
  .home-tools-grid .tool-card,.tools-catalog-cards .tool-card{min-height:164px}
}

.ip-map-card{margin-top:18px;padding:16px;border:1px solid #d4e1dd;background:#fff;border-radius:18px;text-align:left}
.ip-map-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}
.ip-map-head>div{display:grid;gap:3px}.ip-map-head span{color:#667085;font-size:11px;font-weight:750}.ip-map-head strong{font-size:15px;letter-spacing:-.01em}
.ip-map-badge{display:inline-flex!important;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;background:var(--brand-soft);color:var(--brand-deep)!important;white-space:nowrap}
.ip-map-wrap{position:relative;overflow:hidden;border:1px solid #dbe7e3;border-radius:15px;background:#f6faf9;aspect-ratio:2/1}
.ip-map-wrap img{width:100%;height:100%;object-fit:cover}
.ip-map-marker{position:absolute;width:15px;height:15px;border:3px solid #fff;border-radius:50%;background:var(--brand);box-shadow:0 2px 9px rgba(11,101,91,.42);transform:translate(-50%,-50%)}
.ip-map-marker::after{content:"";position:absolute;inset:-7px;border:1px solid rgba(15,125,112,.24);border-radius:50%}
@media(max-width:620px){.ip-map-head{display:grid}.ip-map-badge{justify-self:start}.ip-map-wrap{aspect-ratio:1.75/1}}


/* Guides editorial visuals */
.guide-card-media{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:100%}
.guide-card-thumb{display:block;aspect-ratio:2/1;overflow:hidden;background:#f7faf9;border-bottom:1px solid var(--line)}
.guide-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.guide-card-body{display:flex;flex-direction:column;flex:1;padding:18px 20px 20px}
.guide-card-media h2,.guide-card-media h3{font-size:19px;line-height:1.2;letter-spacing:-.025em;margin:10px 0 8px}
.guide-card-media p{color:var(--muted);font-size:13.5px;line-height:1.5;margin:0 0 14px}
.guide-card-link{margin-top:auto;color:var(--brand-deep);font-size:13px;font-weight:800}
.guide-card-media:hover .guide-card-thumb img{transform:scale(1.018)}
.guide-card-thumb img{transition:transform .18s ease}
.guide-visual{margin:24px 0 30px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#f7faf9;box-shadow:var(--shadow-soft)}
.guide-visual img{display:block;width:100%;height:auto}
.guides-hub{padding:56px 0 80px}
.guides-hub-hero{max-width:860px;margin:0 auto 30px;text-align:center}
.guides-hub-hero h1{font-size:clamp(38px,6vw,62px);line-height:1.03;letter-spacing:-.055em;margin:0 0 16px}
.guides-hub-hero>p{max-width:700px;margin:0 auto;color:var(--muted);font-size:17px;line-height:1.65}
.guide-categories{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}
.guide-categories a,.guide-categories button{padding:8px 12px;border:1px solid var(--line-strong);border-radius:999px;background:#fff;color:#44515d;font-size:12px;font-weight:800}
.guide-categories a:hover,.guide-categories button:hover,.guide-categories button.active{border-color:#9fc3ba;background:var(--brand-soft);color:var(--brand-deep)}
.guide-grid-hub{margin-top:28px}
@media(max-width:620px){
  .guide-card-body{padding:15px 15px 17px}
  .guide-card-media h2,.guide-card-media h3{font-size:16px}
  .guide-card-media p{font-size:12.5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .guide-card-link{font-size:12px}
  .guide-visual{margin:18px 0 24px;border-radius:16px}
  .guides-hub{padding-top:38px}
  .guides-hub-hero{margin-bottom:18px}
  .guides-hub-hero h1{font-size:clamp(34px,10vw,44px)}
  .guide-grid-hub{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:350px){.guide-grid-hub{grid-template-columns:1fr}}

.guide-categories button{border:1px solid var(--line-strong);font:inherit;cursor:pointer}.guide-card[hidden]{display:none!important}

/* Redaction style selector and related guide */
.redact-style-note{grid-column:1/-1;margin:2px 0 0;color:#667085;font-size:12px;line-height:1.55}
.tool-after-action{padding:0 0 18px}
.related-guide-card{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:18px;padding:13px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft)}
.related-guide-art{display:block;overflow:hidden;border-radius:13px;background:#f7faf9;aspect-ratio:2/1}
.related-guide-art img{display:block;width:100%;height:100%;object-fit:cover}
.related-guide-copy{display:grid;gap:4px}
.related-guide-copy small{color:var(--brand);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.related-guide-copy strong{font-size:15px;line-height:1.25;letter-spacing:-.015em}
.related-guide-copy>span{color:#667085;font-size:12px;line-height:1.45}
.related-guide-card:hover{border-color:#a9c7bf;box-shadow:var(--shadow)}
@media(max-width:620px){.related-guide-card{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px}.related-guide-copy strong{font-size:13.5px}.related-guide-copy>span{font-size:11px}.tool-after-action{padding-bottom:8px}}


/* Guide retention and internal clusters */
.guide-inline-tool{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:26px 0 30px;
  padding:17px 18px;
  border:1px solid var(--line-strong);
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#f8fbfa);
  box-shadow:var(--shadow-soft)
}
.guide-inline-tool>div{display:grid;gap:4px}
.guide-inline-tool small{
  color:var(--brand);
  font-size:10px;
  font-weight:850;
  letter-spacing:.075em;
  text-transform:uppercase
}
.guide-inline-tool strong{
  color:#172033;
  font-size:15px;
  line-height:1.3;
  letter-spacing:-.015em
}
.guide-inline-tool .btn{flex:0 0 auto;text-decoration:none}
.guide-cluster{
  margin:38px 0 28px;
  padding-top:24px;
  border-top:1px solid var(--line)
}
.guide-cluster-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px
}
.guide-cluster-head>span{
  color:#172033;
  font-size:18px;
  font-weight:850;
  letter-spacing:-.025em
}
.guide-cluster-head small{
  color:var(--muted);
  font-size:11px;
  font-weight:750
}
.guide-cluster-links{display:grid;gap:8px}
.guide-cluster-links a{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:3px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff
}
.guide-cluster-links a:hover{
  border-color:#aecac3;
  background:#fbfdfc
}
.guide-cluster-links strong{
  color:#25313b;
  font-size:13.5px;
  line-height:1.35
}
.guide-cluster-links span{
  color:var(--muted);
  font-size:12px;
  line-height:1.45
}
@media(max-width:620px){
  .guide-inline-tool{
    display:grid;
    gap:12px;
    margin:22px 0 26px;
    padding:15px
  }
  .guide-inline-tool .btn{width:100%}
  .guide-cluster{margin-top:30px}
  .guide-cluster-head{display:grid;gap:2px}
}
