/* Homepage-only product design. Shared tool pages and advertising rules are unchanged. */
body.home-app { background:#fff; color:#20242b; font-family:Arial,Helvetica,sans-serif; }
.home-app .app-main { margin-left:0; }
.home-app .app-main>.w-full { padding:0 24px; }
.home-app .app-main>.w-full>.mb-24 { margin:0; }
.home-header { min-height:64px; padding:0 max(24px,calc((100% - 1260px)/2)); display:flex; align-items:center; gap:48px; border-bottom:1px solid #e7ecf2; }
.home-brand { font-size:24px; font-weight:750; letter-spacing:-1px; white-space:nowrap; }
.home-header nav { display:flex; gap:32px; font-size:15px; color:#526077; }
.home-search-button { margin-left:auto; padding:12px; color:#526077; }
.home-search-button svg { width:22px; height:22px; }
.home-workbench,.home-faq { max-width:1180px; margin:auto; }
.home-workbench a,.home-header a,.home-footer a { text-decoration:none; }
.home-app a:focus-visible,.home-app button:focus-visible,.home-app summary:focus-visible,.home-app input:focus-visible { outline:3px solid #2563eb; outline-offset:4px; }
.home-intro { text-align:center; padding-top:36px; }
.home-intro h1 { font-size:clamp(28px,3.1vw,42px); line-height:1.2; font-weight:750; letter-spacing:-1.4px; margin:0; }
.home-intro p { font-size:20px; color:#526077; margin:12px 0 0; line-height:1.5; }
.home-tabs { display:flex; justify-content:center; gap:20px; margin:4px 0 0; }
.home-tabs button { padding:13px 16px; border-bottom:3px solid transparent; font-size:16px; color:#526077; background:none; }
.home-tabs button[aria-selected=true] { color:#2563eb; border-color:#2563eb; }
.home-workspace { display:grid; grid-template-columns:250px minmax(0,1fr); min-height:400px; border:1px solid #e2e8f0; border-radius:6px; overflow:hidden; }
.home-workspace[hidden],.home-app [hidden] { display:none!important; }
.home-tool-picker { background:#fff; padding:16px 4px; }
.home-tool-picker a { display:flex; align-items:center; gap:18px; padding:17px 16px; margin-bottom:5px; border-radius:5px; font-size:16px; color:#20242b; min-height:56px; }
.home-tool-picker a[aria-current=true] { background:#eaf3ff; color:#2563eb; }
.home-tool-picker a:hover { background:#f0f5fb; }
.home-tool-picker svg { width:25px; height:25px; flex-shrink:0; }
.home-preview { background:#f2f5f8; padding:14px 24px 20px; min-width:0; }
.home-example-label { color:#526077; font-size:13px; margin:0 0 14px; }
.home-preview-layout { display:grid; grid-template-columns:minmax(0,1fr) 210px; gap:48px; align-items:center; }
.home-example-stage { min-height:276px; display:flex; align-items:center; justify-content:center; min-width:0; padding:0 6px; }
.home-photo-frame { width:100%; max-width:520px; position:relative; border:2px solid #387bff; aspect-ratio:3/2; max-height:280px; }
.home-photo-frame img { display:block; width:100%; height:100%; object-fit:cover; }
.home-photo-frame.is-static { border-color:transparent; }
.home-photo-frame.is-static .corner { display:none; }
.corner { position:absolute; width:11px; height:11px; background:white; border:1px solid #2563eb; }
.tl{top:-6px;left:-6px}.tr{top:-6px;right:-6px}.bl{bottom:-6px;left:-6px}.br{bottom:-6px;right:-6px}
.home-preview-settings label { display:block; font-size:16px; color:#526077; margin:0 0 8px; }
.home-number { display:flex; border:1px solid #cdd6e2; border-radius:4px; background:white; margin-bottom:26px; overflow:hidden; }
.home-number input { width:100%; min-width:0; padding:10px 12px; font:16px Arial,sans-serif; color:#20242b; border:0; }
.home-number span { padding:10px 12px; font-size:15px; background:#e9edf2; color:#526077; }
.home-preview-settings .home-checkbox { display:flex; align-items:center; gap:9px; color:#344054; }
.home-checkbox input { width:19px; height:19px; accent-color:#2563eb; }
.home-preview-action { display:flex; align-items:center; justify-content:center; gap:26px; margin-top:18px; }
.home-preview-action p { font-size:14px; color:#526077; margin:0; }
.home-primary,.home-outline { display:inline-flex; justify-content:center; align-items:center; min-height:42px; padding:10px 20px; border-radius:5px; font-size:15px; font-weight:600; line-height:1.3; }
.home-primary { color:#fff!important; background:#2563eb; min-width:206px; }
.home-primary:hover { background:#1d4ed8; }
.home-outline { border:1px solid #2563eb; color:#2563eb; }
.home-outline:hover { background:#eaf3ff; }
.home-useful { border-top:1px solid #e7ecf2; margin-top:24px; padding-top:22px; }
.home-useful h2,.home-help h2 { font-size:22px; font-weight:700; letter-spacing:-.5px; margin:0 0 18px; }
.home-useful-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-useful-grid article { padding:0 36px; border-left:1px solid #e7ecf2; position:relative; }
.home-useful-grid article:first-child { border:0; padding-left:0; }
.home-useful-grid article:last-child { padding-right:0; }
.home-useful h3 { font-size:18px; font-weight:700; margin:0 0 10px; }
.home-useful p { color:#526077; font-size:15px; line-height:1.5; margin:0; }
.home-mini-demo { height:82px; display:flex; align-items:center; gap:12px; margin:12px 0; }
.home-mini-demo svg { width:52px; height:68px; color:#a9b6c6; stroke-width:.8; }
.home-mini-demo>span { font-size:24px; }
.home-receipt { gap:12px; }
.home-receipt>div { background:white; border:1px solid #dce3eb; padding:10px; font-size:10px; flex:1; border-radius:3px; }
.home-receipt>div:first-child { background:#f0f0ef; }
.home-receipt b { display:block; text-align:center; font-size:10px; margin-bottom:8px; }
.home-receipt span,.home-receipt strong { display:block; line-height:1.7; white-space:nowrap; }
.home-receipt i { float:right; margin-left:10px; font-style:normal; }
.home-story-mini>div { width:150px; background:white; border:1px solid #e2e8f0; padding:14px; border-radius:3px; }
.home-story-mini b { font-size:12px; }
.home-story-mini hr { border:0; height:3px; background:#bac3ce; border-radius:2px; margin:7px 0; }
.home-story-mini hr:last-child { width:60%; }
.home-help { display:flex; align-items:center; gap:24px; padding:22px 26px; margin-top:30px; background:#f0f5fb; border-radius:6px; }
.home-help svg { width:38px; height:38px; flex-shrink:0; }
.home-help h2 { font-size:18px; margin:0 0 5px; }
.home-help p { font-size:14px; color:#526077; margin:0; }
.home-help>a { margin-left:auto; color:#2563eb; font-size:16px; white-space:nowrap; }
.home-directory,.home-faq { border-bottom:1px solid #e7ecf2; font-size:14px; }
.home-directory { margin-top:20px; }
.home-directory summary,.home-faq summary { padding:16px 0; cursor:pointer; color:#526077; }
.home-directory label { display:block; margin:16px 0 8px; }
#home-tool-search { width:100%; padding:12px; border:1px solid #cdd6e2; border-radius:5px; font:16px Arial,sans-serif; }
.home-catalog { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; padding:16px 0 28px; }
.home-category h3 { font-size:17px; font-weight:700; }.home-category p { font-size:13px; color:#526077; min-height:40px; }
.home-tool { display:flex; justify-content:space-between; padding:12px 0; color:#2563eb; border-bottom:1px solid #e7ecf2; }
.home-faq dt { font-weight:700; margin:18px 0 8px; }.home-faq dd { color:#526077; line-height:1.6; margin-bottom:20px; }
.home-footer { display:flex; justify-content:space-between; gap:24px; border-top:1px solid #e7ecf2; padding:20px max(24px,calc((100% - 1260px)/2)); font-size:13px; }
.home-footer>a { font-weight:700; }.home-footer nav { display:flex; gap:26px; color:#526077; }
.home-task-explanation h2 { font-size:22px; font-weight:700; margin:0 0 14px; }.home-task-explanation p { font-size:16px; line-height:1.6; color:#526077; }
.home-doc-example { display:flex; gap:18px; align-items:center; }.sample-page { width:150px; min-height:210px; padding:20px; background:white; border:1px solid #cdd6e2; border-radius:3px; font-size:14px; }.sample-page span { display:block; color:#64748b; margin:20px 0; }.sample-page hr { margin:16px 0; }.sample-page p { color:#526077; }.sample-plus { font-size:28px; }
.home-writing-example { padding:26px; background:#fff; border:1px solid #dce3eb; border-radius:4px; max-width:470px; }.home-writing-example span { color:#64748b; font-size:12px; }.home-writing-example h2 { font-size:24px; font-weight:700; margin:14px 0; }.home-writing-example p { font-size:15px; line-height:1.6; margin-top:12px; }
@media(max-width:1050px) { .home-workspace { grid-template-columns:205px minmax(0,1fr); }.home-preview-layout { gap:22px; grid-template-columns:minmax(0,1fr) 170px; }.home-example-stage { min-height:240px; }.home-tool-picker a { gap:10px; padding:16px 10px; }.home-preview-action { gap:14px; }.home-useful-grid article { padding:0 20px; }.home-receipt { gap:5px; } }
@media(max-width:760px) {
.home-header { padding:16px 20px; gap:18px; flex-wrap:wrap; }.home-brand { font-size:21px; }.home-header nav { order:3; width:100%; gap:28px; }.home-search-button { padding:4px; }
.home-app .app-main>.w-full { padding:0 18px; }.home-intro { padding-top:28px; }.home-intro h1 { font-size:30px; letter-spacing:-.8px; }.home-intro p { font-size:16px; }
.home-workspace { display:block; }.home-tool-picker { display:flex; overflow-x:auto; padding:8px; gap:4px; }.home-tool-picker a { flex-shrink:0; white-space:nowrap; font-size:14px; min-height:44px; margin:0; padding:10px; }.home-tool-picker svg { width:19px; height:19px; }
.home-preview { padding:16px; }.home-preview-layout { display:block; }.home-example-stage { min-height:0; padding:6px; }.home-photo-frame { max-width:500px; max-height:none; }
.home-preview-settings { margin-top:20px; }#resize-settings { display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; }#resize-settings>label[for=example-width]{grid-column:1;grid-row:1}#resize-settings>label[for=example-height]{grid-column:2;grid-row:1}.home-number{margin-bottom:4px}#resize-settings .home-checkbox{grid-column:1/-1;margin:8px 0 0}.home-preview-settings label{font-size:14px;margin:0}.home-preview-action{flex-direction:column;align-items:stretch;gap:12px}.home-preview-action p{font-size:13px;text-align:center}
.home-useful-grid { grid-template-columns:1fr; }.home-useful-grid article,.home-useful-grid article:first-child,.home-useful-grid article:last-child { padding:20px 0; border:0; border-bottom:1px solid #e7ecf2; }.home-mini-demo { max-width:300px; }
.home-help { flex-wrap:wrap; gap:12px; padding:20px; }.home-help>div { flex:1; }.home-help>a { width:100%; margin:4px 0 0; font-size:15px; white-space:normal; }.home-catalog { grid-template-columns:1fr 1fr; gap:16px; }.home-footer { padding:20px; flex-wrap:wrap; }.sample-page { width:120px; padding:14px; min-height:170px; }.home-doc-example { gap:10px; }
}
@media(prefers-reduced-motion:reduce) { .home-app * { scroll-behavior:auto!important; } }
