.site-page{display:flex;flex-direction:column}
.site-page>main{flex:1 0 auto}
.site-page site-header,.site-page site-footer{display:block}
.site-header .site-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;max-width:1120px;min-height:73px;padding:14px 24px}
.site-header .brand,.footer-brand{color:inherit;text-decoration:none}
.site-header .brand-image{display:block;width:clamp(128px,20vw,156px);height:auto}
.site-header nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.site-header nav a{color:var(--muted);text-decoration:none;font-size:.9375rem;font-weight:650;padding:8px 10px;border-radius:8px}
.site-header .primary-nav{flex-wrap:nowrap;justify-content:center}
.site-header .primary-nav a{font-size:1.0625rem}
.primary-nav>a,.header-menu{flex:none;white-space:nowrap}
.header-menu{position:relative}
.header-menu-toggle{display:flex;align-items:center;gap:7px;min-height:40px;padding:6px 10px;border:1px solid #ddd7f6;border-radius:10px;background:#f4f1ff;color:var(--purple);font:inherit;font-size:.875rem;font-weight:700;cursor:pointer}
.site-header .header-menu-toggle:hover:not(:disabled),.site-header .header-menu-toggle[aria-expanded=true]{background:#ebe6ff}
.header-menu-icon{width:15px;height:11px;border-block:2px solid currentColor;position:relative}
.header-menu-icon::after{content:"";position:absolute;inset:3px 0 auto;border-top:2px solid currentColor}
.header-menu-panel{position:absolute;z-index:5;inset:calc(100% + 8px) 0 auto auto;display:grid;gap:2px;width:max-content;max-width:calc(100vw - 32px);padding:6px;border:1px solid #e1dbf2;border-radius:12px;background:#fff;box-shadow:0 10px 28px #29204d24;white-space:normal}
.site-header .header-menu-panel a{padding:9px 12px}
.site-header nav a:hover,.site-header nav [aria-current=page]{color:var(--purple);background:#eeebff}
.site-header .language-picker{flex-shrink:0;gap:2px}
.site-header .language-picker a{padding:6px}
.site-header .language-picker [aria-current=true]{color:var(--purple);background:#eeebff}
.page-source.preview-error::after{content:attr(data-preview-error)}
.skip-link{position:fixed;top:10px;left:10px;z-index:2;padding:10px 14px;background:white;color:#202444;transform:translateY(-150%)}
.skip-link:focus{transform:none}
.site-page .site-main{width:min(1120px,100% - 48px);margin:36px auto 55px}
.site-page .info-main{max-width:780px}
.info-main article{background:#fff;border:1px solid #e1deef;border-radius:20px;padding:clamp(20px,5vw,48px);line-height:1.65;overflow-wrap:anywhere}
.info-main h1{font-size:clamp(1.75rem,5vw,2.65rem);line-height:1.15;margin:0 0 20px}
.info-main h2{font-size:1.2rem;line-height:1.35;margin:26px 0 8px}
.info-main p,.info-main ul,.info-main ol{margin:0 0 12px}
.info-main ul,.info-main ol{padding-inline-start:1.4em}
.info-main a:not(.primary-link),.site-footer a[aria-current=page]{color:var(--purple)}
.site-page .site-footer{padding:24px;text-align:left;border-top:1px solid #e1e2ef;background:#fff}
.site-footer-inner{max-width:1072px;margin:auto}
.footer-columns{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:24px}
.footer-brand{font-size:1.125rem;font-weight:800;color:#202444}
.site-footer h2{margin:0 0 12px;font-size:1.05rem}
.site-footer p{margin:6px 0 0;color:var(--muted);line-height:1.5}
.site-footer .footer-privacy{margin-top:12px;color:var(--purple);font-weight:650}
.site-footer nav,.site-footer ul{display:grid;justify-items:start;gap:9px;margin:0;padding:0;list-style:none;color:var(--muted)}
.site-footer nav a,.site-footer li a{color:inherit;text-decoration:none}
.site-footer a:hover{color:var(--purple);text-decoration:underline}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 20px;margin-top:24px;padding-top:12px;border-top:1px solid #e1e2ef;font-size:.875rem}
@media(max-width:900px){.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.site-page .site-footer{padding-inline:16px}.footer-columns{gap:20px 16px}}
.home-intro{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:24px;background:#ede9ff;border:1px solid #e2dcfa;border-radius:26px;padding:clamp(25px,6vw,70px);overflow:hidden}
.home-intro h1,.tool-placeholder h1{font-size:clamp(2.45rem,6.4vw,4.6rem);line-height:1.01;letter-spacing:-.065em;margin:0 0 16px;color:#272149}
.home-intro h1{font-size:clamp(2rem,4.2vw,3.25rem);line-height:1.08;text-wrap:balance}
.home-intro em{font-style:normal;color:#5141c5}
.home-intro p,.tool-placeholder p{max-width:440px;color:#4e4969;line-height:1.6;margin:0 0 20px}
.primary-link{display:inline-block;padding:11px 16px;border-radius:10px;color:#fff;background:#5141c5;text-decoration:none;font-weight:700}
.primary-link:hover{background:#3d2eaa}
.pdf-illustration{position:relative;min-height:252px;display:grid;place-items:center;isolation:isolate}
.illustration-grid{position:absolute;inset:4% 1%;background:radial-gradient(circle,#a699ee 1.1px,transparent 1.5px) 0 0/14px 14px;mask-image:radial-gradient(ellipse,#000 2%,transparent 73%)}
.illustration-sheet{position:absolute;width:135px;height:174px;padding:22px;border-radius:14px}
.sheet-back{transform:translate(34px,-1px) rotate(12deg);background:#8470e6;box-shadow:12px 16px 34px #5141c52f}
.sheet-front{background:#fff;transform:translate(-21px,3px) rotate(-9deg);box-shadow:4px 14px 32px #5141c538;color:#5141c5}
.sheet-front strong{display:block;font-size:1.3rem;margin-bottom:13px}
.sheet-front i{display:block;height:5px;margin-bottom:8px;border-radius:4px;background:#e2ddfa}
.sheet-front i:nth-of-type(2){width:74%}
.sheet-front i:nth-of-type(3){width:85%}
.sheet-front span{display:block;width:32px;height:24px;margin-top:13px;border-radius:5px;background:#dcd4ff}
.tool-section{margin-top:34px}
.tool-section>h2{margin:0 0 14px;font-size:1.65rem;letter-spacing:-.025em}
.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(min-width:841px){.tool-card:last-child:nth-child(3n+1){grid-column:2}}
.tool-card,.tool-placeholder{background:#fff;border:1px solid #e1deef;border-radius:16px;padding:18px}
.tool-card{color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.tool-card:hover{border-color:#a498e4;box-shadow:0 8px 22px #54459c12}
.tool-icon{position:relative;display:inline-grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#ede8ff;color:#5141c5;font-weight:850}
.icon-document{display:grid;place-items:center;width:24px;height:31px;margin-right:5px;border:1.5px solid currentColor;border-radius:4px;background:#fff;font-size:.63rem;line-height:1}
.icon-mark{position:absolute;display:grid;place-items:center;right:5px;bottom:6px;width:18px;height:18px;border:1px solid currentColor;border-radius:5px;background:#fff;font-size:.85rem;line-height:1}
.tool-image .tool-icon{background:#e3f4ef;color:#216352}
.tool-ocr .tool-icon{background:#fff1d8;color:#805318}
.tool-word .tool-icon{background:#e6efff;color:#2554a0}
.tool-card h3{margin:12px 0 6px;font-size:1.06rem}
.tool-card p{margin:0;color:var(--muted);line-height:1.5}
.tool-status{display:block;margin-top:10px;font-size:.875rem;color:#635c79}
.tool-placeholder{padding:clamp(25px,6vw,60px)}
.tool-placeholder h1{margin-top:18px;font-size:clamp(2.2rem,5vw,3.7rem)}
.pdf-features,.pdf-workspace{margin-top:clamp(32px,5vw,56px)}
.pdf-features h2,.pdf-workspace h2{margin:0 0 12px;font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;letter-spacing:-.025em}
.pdf-features p,.pdf-workspace p{margin:0;color:var(--muted);line-height:1.6}
.pdf-features>p,.pdf-workspace p{max-width:66ch}
.pdf-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin-top:20px}
.pdf-feature{padding:16px 0;border-top:1px solid #e1deef}
.pdf-feature h3{margin:0 0 6px;font-size:1.125rem}
.pdf-workspace{padding:clamp(20px,4vw,38px);border:1px solid #e2dcfa;border-radius:20px;background:#ede9ff}
.pdf-workspace .primary-link{margin-top:18px}
@media(max-width:640px){.pdf-feature-grid{grid-template-columns:1fr}}
@media(max-width:840px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
.site-header .site-bar{grid-template-columns:auto minmax(0,1fr);padding:12px 16px;gap:8px}
.site-header .primary-nav{justify-content:flex-end}
.site-header .language-picker{grid-column:1 / -1;justify-self:start}
.site-header nav a{padding:6px 7px;font-size:.875rem}
.site-header .primary-nav a{font-size:1rem}
.site-page .site-main{width:calc(100% - 32px);margin-top:20px}
.home-intro{grid-template-columns:1fr;gap:0}
.pdf-illustration{display:none}
.tool-card{padding:13px}
}
@media(max-width:360px){.tool-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.tool-card{transition:none}}
