
:root{--site-ink:#182943;--site-blue:#3568dc;--site-soft:#f6f8fc;--site-border:#e1e7f0;--site-muted:#64748b}
html{scroll-behavior:smooth}body{color:var(--site-ink);background:var(--site-soft);font-family:Inter,"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif}body>header.site-header{position:sticky;top:0;z-index:99;background:#fff;border-bottom:1px solid var(--site-border);box-shadow:0 3px 16px rgba(20,40,80,.035);height:auto;padding:0}body>header.site-header .site-header-inner{max-width:1180px;margin:auto;padding:15px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none!important;color:#172b49!important;font-size:25px;font-weight:850;letter-spacing:-.055em;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:35px;height:35px;background:#3568dc;color:#fff;border-radius:10px;font-size:22px;font-weight:850}.brand-dot{color:#3568dc}.site-links{display:flex;align-items:center;gap:21px;flex-wrap:wrap}.site-links a{font-size:13px;font-weight:700;color:#45566d;text-decoration:none;white-space:nowrap}.site-links a:hover{color:#3568dc}.site-links a.nav-feature{background:#edf2ff;color:#2956bb;border-radius:9px;padding:10px 12px}.site-menu{display:none;border:1px solid var(--site-border);border-radius:8px;background:white;color:var(--site-ink);padding:7px 12px;font-size:20px}
.site-footer{background:#14253f;color:#c7d4e6;padding:60px 22px 20px;margin-top:65px}.site-footer-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:34px}.site-footer .site-brand{color:white!important}.site-footer .site-brand>span:last-child{color:white}.site-footer p{font-size:14px;color:#a9bbd1;max-width:280px}.site-footer h3{font-size:14px;color:white;margin:0 0 16px}.site-footer-inner>div:not(:first-child) a{display:block;color:#b8c8dd;text-decoration:none;margin:9px 0;font-size:13px}.site-footer-inner a:hover{color:#fff}.site-bottom{max-width:1180px;margin:35px auto 0;padding-top:20px;border-top:1px solid #31435b;font-size:12px;color:#9dafc7}
body .ad-dash{background:#14253f}body .ad-tools-highlight{background:#f6f8fc}body .ad-highlight-grid a,body .fc,body .tool,body .card,body .panel{border-radius:15px}body a.btn,body .btn-primary{border-radius:10px}body .ad-dash h1{color:white}body .ad-dash h1 em{color:#a9c4ff}body .ad-tools-highlight h2{color:#172b49}
@media(max-width:980px){.site-links{gap:12px}.site-links a{font-size:12px}.site-footer-inner{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.site-menu{display:block}.site-links{display:none;flex-direction:column;align-items:stretch;gap:0;width:100%;order:3;padding:8px 0}.site-header.menu-open .site-links{display:flex}.site-header-inner{flex-wrap:wrap}.site-links a{padding:12px 5px;border-top:1px solid #eef2f7}.site-footer-inner{grid-template-columns:1fr 1fr;gap:22px}}@media(max-width:450px){.site-footer-inner{grid-template-columns:1fr}}

.unified-directory{margin:18px 0 28px;padding:22px;background:#fff;border:1px solid #e1e7f0;border-radius:16px}.unified-directory label{display:block;font-size:13px;font-weight:800;margin-bottom:8px}.unified-directory input{display:block;width:100%;max-width:650px;border:1px solid #d3ddeb;border-radius:10px;padding:14px;font:inherit;background:#f8faff;color:#192b47}#tools{padding-top:65px}#tools h2{font-size:36px;letter-spacing:-.04em}#tools .sub{color:#64748b}

/* Payslip-specific print isolation: fallback for Ctrl+P and browsers blocking iframe print */
@media print{body:has(#slipPaper) > *:not(main){display:none!important}body:has(#slipPaper) main.ad-shell{display:block!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important}body:has(#slipPaper) .ad-form-wrap,body:has(#slipPaper) .ad-form-layout,body:has(#slipPaper) .ad-preview{display:block!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;border:0!important;box-shadow:none!important;background:white!important}body:has(#slipPaper) .ad-form-head,body:has(#slipPaper) #slipForm,body:has(#slipPaper) .ad-preview>h2{display:none!important}body:has(#slipPaper) #slipPaper{display:block!important;position:static!important;margin:0!important;padding:0!important;width:100%!important;box-shadow:none!important;border:0!important;background:#fff!important;color:#17243a!important;break-inside:avoid}body:has(#slipPaper) #slipPaper table{width:100%!important;border-collapse:collapse!important}body:has(#slipPaper) #slipPaper tr{break-inside:avoid!important}body:has(#slipPaper) #slipPaper td{padding:10px!important;border-bottom:1px solid #e1e6ef!important}@page{size:A4 portrait;margin:14mm}}

/* Founder story page */
.founder-about{max-width:850px!important;margin:48px auto!important;padding:0 22px!important;line-height:1.75}
.founder-about h1{font-size:clamp(36px,5vw,56px);line-height:1.12;letter-spacing:-.05em;margin:12px 0 16px}
.founder-about h2{font-size:clamp(23px,3vw,29px);margin:0 0 12px;letter-spacing:-.03em}
.founder-about p{font-size:16px;line-height:1.8;margin:0 0 18px;color:#475569}
.founder-about strong{color:#1d3151}
.founder-about section{border-top:1px solid #e2e8f0;margin-top:34px;padding-top:28px}
.founder-about .founder-intro{padding:35px 0 8px}
.founder-about .founder-eyebrow{color:#3568dc;letter-spacing:.15em;font-size:12px;font-weight:800}
.founder-about .founder-lead{font-size:21px;font-weight:600;color:#1d3151;line-height:1.5;margin-bottom:26px}
.founder-tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;list-style:none}
.founder-tool-list li{background:white;border:1px solid #e1e7f0;border-radius:12px;padding:14px}
.founder-tool-list a{color:#2956bb;text-decoration:none;font-weight:650}
.founder-quote{font-size:22px;font-weight:750;color:#2956bb;border-left:4px solid #3568dc;background:#eef3ff;padding:18px 22px;margin:24px 0}
@media(max-width:600px){.founder-tool-list{grid-template-columns:1fr}.founder-about{margin:25px auto!important}}

.founder-home-story{padding:70px 22px;background:#f0f4fb}.founder-home-story-inner{max-width:1120px;margin:auto;display:grid;grid-template-columns:1.7fr 1fr;gap:50px;align-items:center}.founder-home-story h2{font-size:clamp(28px,4vw,42px);letter-spacing:-.04em;color:#172b49;margin:12px 0 16px}.founder-home-story p{color:#50627b;font-size:16px;line-height:1.8;max-width:680px}.founder-home-story a{font-weight:750;color:#2956bb}.founder-home-story .founder-eyebrow{font-size:12px;color:#3568dc;font-weight:800;letter-spacing:.12em}.founder-home-highlight{background:#14253f;border-radius:22px;padding:34px;display:flex;flex-direction:column;gap:8px;color:#c8d7ed;font-size:23px;font-weight:650}.founder-home-highlight strong{color:#9cbbff;font-size:30px}@media(max-width:720px){.founder-home-story-inner{grid-template-columns:1fr}.founder-home-story{padding:44px 20px}}

/* Accessibility and responsive consistency */
*,*::before,*::after{box-sizing:border-box}html{scroll-padding-top:100px}body{overflow-x:hidden}button,input,select,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f4a740;outline-offset:3px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{max-width:100%}main{min-height:45vh}.site-skip{position:fixed;z-index:9999;left:12px;top:-90px;background:white;color:#14253f;padding:13px 18px;border:2px solid #3568dc;border-radius:8px;font-weight:800}.site-skip:focus{top:12px}.site-links a[aria-current=page]{color:#2458c6;text-decoration:underline;text-underline-offset:7px}.ad-form-card input,.ad-form-card select,.ad-form-card textarea{min-height:44px}.ad-action{min-height:48px}.tool-breadcrumb{max-width:1120px;margin:18px auto 0;padding:0 20px;font-size:13px}.tool-breadcrumb a{color:#3568dc;text-decoration:none;font-weight:650}.tool-breadcrumb span{color:#94a3b8;margin:0 7px}@media(max-width:720px){.site-header-inner{padding:12px 16px!important}.site-menu{min-height:44px;min-width:44px}.site-links a{min-height:44px;display:flex;align-items:center}.ad-form-layout,.ad-two{grid-template-columns:minmax(0,1fr)!important}.ad-form-card,.ad-preview{min-width:0}.ad-paper{overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.site-header,.site-footer,.site-skip,.tool-breadcrumb{display:none!important}}

@media print{.site-header,.site-footer,.site-skip,.tool-breadcrumb,.tool-help-note,.site-menu,.ad-quick-links{display:none!important}body{background:#fff!important}a[href]::after{content:none!important}}

/* Release polish: consistent focus, responsive forms, and navigation */
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #f5a623!important;outline-offset:3px!important}
:where(button,input,select,textarea){min-height:42px}
.site-menu{min-width:44px;min-height:44px}
#tools{scroll-margin-top:22px}
#grid:empty{min-height:120px}
.top-tool-search{position:relative;z-index:2}
.top-tool-search input{width:100%;max-width:100%;min-height:54px}
@media(max-width:700px){
 .top-tool-search{padding:20px 14px!important}
 .top-tool-search-inner{max-width:100%!important}
 .ad-form-layout,.ad-two,.founder-home-story-inner{grid-template-columns:minmax(0,1fr)!important}
 .ad-paper{overflow-wrap:anywhere}
}
html[dir=rtl] .tool-breadcrumb{text-align:right}
html[dir=rtl] input,html[dir=rtl] textarea{text-align:start}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Shared header: legible logo, keyboard navigation, and small-screen resilience */
.site-brand img{display:block;max-width:100%;height:auto;object-fit:contain}
.site-header-inner,.site-footer-inner{min-width:0}
.site-links a:focus-visible,.site-menu:focus-visible,.site-brand:focus-visible{outline:3px solid #6d28d9;outline-offset:3px;border-radius:5px}
@media(max-width:720px){body>header.site-header .site-header-inner{gap:12px;padding:12px 16px}.site-header .site-brand{min-width:0;max-width:calc(100% - 75px)}.site-header .site-brand img{width:min(190px,100%)!important}.site-menu{flex-shrink:0;min-width:44px;min-height:44px;cursor:pointer}.site-links{min-width:0}.site-links a{min-height:44px;display:flex;align-items:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
