/* Home only. Existing tool forms, shared cards on other pages and export documents are untouched. */
.ll-home{--ll-blue:#2457d6;--ll-teal:#0b766e;--ll-gold:#8b6115;--ll-coral:#ad4b36;--ll-blue-soft:#eff5ff;--ll-teal-soft:#edf8f4;--ll-gold-soft:#fff8e8;--ll-coral-soft:#fff2ed}
.ll-home [hidden]{display:none!important}
.ll-home .ll-intro{padding:24px 0;background:linear-gradient(115deg,#fff9e9 0%,#edf7ff 54%,#eaf7f1 100%);border-bottom-color:#dce9ec}
.ll-home .ll-intro-inner{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(285px,.8fr);align-items:center;gap:48px}
.ll-home .ll-intro h1{font-size:clamp(29px,3.2vw,42px);max-width:720px}
.ll-home .ll-intro h1 span{color:#1e56c8;background:linear-gradient(110deg,#1d50c4,#0a786f);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.ll-home .ll-intro p{font-size:15px;max-width:660px}
.ll-home .ll-intro-actions{margin-top:20px}
.ll-home .ll-intro .ll-button-primary{background:#2457d6;border-color:#2457d6;box-shadow:0 3px 8px #2457d615}
.ll-home .ll-intro .ll-button-quiet{background:#ffffffb8;border-color:#cedde8;color:#172b46}
.ll-home .ll-intro-footnote{display:flex;flex-wrap:wrap;gap:5px 13px;margin-top:16px;font-size:11px;color:#51677c}
.ll-home .ll-intro-footnote strong{color:#0b6f63;font-weight:800}
.ll-home-samples{padding:14px;background:#ffffffb8;border:1px solid #d8e7eb;border-radius:12px;box-shadow:0 4px 14px #183d6110}
.ll-samples-heading{display:block;font-size:11px;font-weight:800;color:#50667a;margin:0 0 8px}
.ll-sample{display:flex;align-items:center;gap:12px;min-width:0;padding:7px 0;color:var(--os-ink);text-decoration:none}
.ll-sample+.ll-sample{border-top:1px solid #e1eaf0}
.ll-sample img{width:92px;height:57.5px;object-fit:contain;background:#fff;border:1px solid #e0e9f1;border-radius:5px;flex:none}
.ll-sample>span:not(.ll-sample-arrow){font-size:12px;font-weight:800;line-height:1.7}
.ll-sample small{display:block;font-size:10px;font-weight:400;color:#61758a;margin-top:2px}
.ll-sample-arrow{margin-inline-start:auto;color:#2457d6}
.ll-home .ll-featured{padding:24px 0 20px;background:linear-gradient(180deg,#f4f9ff,var(--os-card) 80%);border-bottom:1px solid var(--os-line)}
.ll-home .ll-featured .ll-section-head{margin-bottom:14px}
.ll-home .ll-featured h2{color:var(--os-ink);font-size:25px}
.ll-home .ll-slider-viewport{direction:ltr;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-behavior:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b6cce0 transparent;border-radius:10px;touch-action:pan-x pan-y;cursor:grab}
.ll-home [data-ll-slider-ready] .ll-slider-viewport{scrollbar-width:none}
.ll-home [data-ll-slider-ready] .ll-slider-viewport::-webkit-scrollbar{display:none}
.ll-home .ll-slider-track{position:relative;display:flex;gap:18px;align-items:stretch;width:max-content;padding:8px 2px 16px}
.ll-home .ll-slider-track>.orc-app-card{width:340px;flex:0 0 340px;direction:rtl;scroll-snap-align:center;border-radius:12px;transform:scale(.96);opacity:.85;transition:transform .45s ease,opacity .45s ease,box-shadow .2s ease;border-color:var(--os-line);border-top-color:var(--ll-card-accent);box-shadow:0 2px 8px #172b4608}
.ll-home .ll-featured .orc-app-card[data-ll-active]{transform:scale(1);opacity:1;border-color:var(--ll-card-accent);box-shadow:0 6px 18px #173e6814}
.ll-home .ll-featured .orc-app-card[data-ll-slide-tone="0"]{--ll-card-accent:var(--ll-blue);--ll-card-soft:var(--ll-blue-soft)}
.ll-home .ll-featured .orc-app-card[data-ll-slide-tone="1"]{--ll-card-accent:var(--ll-teal);--ll-card-soft:var(--ll-teal-soft)}
.ll-home .ll-featured .orc-app-card[data-ll-slide-tone="2"]{--ll-card-accent:var(--ll-gold);--ll-card-soft:var(--ll-gold-soft)}
.ll-home .ll-featured .orc-app-card[data-ll-slide-tone="3"]{--ll-card-accent:var(--ll-coral);--ll-card-soft:var(--ll-coral-soft)}
.ll-home .ll-slider-viewport[data-ll-dragging]{scroll-snap-type:none}
.ll-home .ll-slider-viewport[data-ll-dragging],.ll-home .ll-slider-viewport[data-ll-dragging] *{cursor:grabbing!important;user-select:none}
.ll-home .ll-featured .orc-app-preview{aspect-ratio:2/1;background:linear-gradient(135deg,var(--ll-card-soft),var(--os-card));padding:10px}
.ll-home .ll-featured .orc-app-preview img{object-fit:contain}
.ll-home .ll-featured .orc-app-card-body{padding:11px 16px 10px}
.ll-home .ll-featured .orc-app-icon{display:none}
.ll-home .ll-featured .orc-app-meta{margin-bottom:4px;min-height:18px}
.ll-home .ll-featured .orc-app-badge{font-size:10px;padding:2px 7px}
.ll-home .ll-featured .orc-app-title{font-size:18px;line-height:1.55;min-height:56px;margin-bottom:4px}
.ll-home .ll-featured .orc-app-description{font-size:12px;line-height:1.75;min-height:42px;margin-bottom:8px}
.ll-home .ll-featured .orc-app-open{font-size:12px;min-height:44px;color:var(--ll-card-accent)}
.ll-slider-nav{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:4px}
.ll-slider-nav button{display:grid;place-items:center;padding:0;border:0;background:none;cursor:pointer;color:var(--os-ink);flex:none}
.ll-slider-nav .ll-slider-arrow{width:40px;height:40px;border:1px solid var(--os-line);border-radius:50%;background:var(--os-card)}
.ll-slider-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ll-slider-dots{display:flex;align-items:center;direction:ltr}
.ll-slider-dots button{width:24px;height:32px}
.ll-slider-dots button::before{content:"";width:6px;height:6px;border-radius:6px;background:#a6b6cc;transition:width .25s ease,background-color .25s ease}
.ll-slider-dots button[aria-current=true]::before{width:17px;background:var(--ll-blue)}
.ll-slider-hint{font-size:10px;line-height:1.8;color:var(--os-muted);text-align:center;margin:3px 0 0}
.ll-home .orc-app-card{--ll-card-accent:var(--ll-blue);--ll-card-soft:var(--ll-blue-soft);border-top:3px solid var(--ll-card-accent)}
.ll-home .orc-app-card:nth-child(4n+2){--ll-card-accent:var(--ll-teal);--ll-card-soft:var(--ll-teal-soft)}
.ll-home .orc-app-card:nth-child(4n+3){--ll-card-accent:var(--ll-gold);--ll-card-soft:var(--ll-gold-soft)}
.ll-home .orc-app-card:nth-child(4n+4){--ll-card-accent:var(--ll-coral);--ll-card-soft:var(--ll-coral-soft)}
.ll-home .ll-tools{padding:30px 0 34px;background:linear-gradient(180deg,#f5faff 0%,var(--os-card) 380px)}
.ll-home .ll-tool-list{display:flex;flex-direction:column;gap:17px}
.ll-home .ll-tool-list>.orc-app-card{display:grid;grid-template-columns:minmax(230px,30%) minmax(0,1fr);border-top:1px solid var(--ac-line,var(--os-line));border-inline-start:4px solid var(--ll-card-accent);border-radius:11px;box-shadow:0 2px 8px #172b4606}
.ll-home .ll-tool-list .orc-app-preview{height:100%;min-height:205px;aspect-ratio:auto;background:var(--ll-card-soft);border-bottom:0;border-inline-end:1px solid var(--os-line);padding:12px}
.ll-home .ll-tool-list .orc-app-preview img{object-fit:contain;width:100%;height:100%;max-height:225px}
.ll-home .ll-tool-list .orc-app-card-body{padding:20px 24px 18px;align-items:flex-start}
.ll-home .ll-tool-list .orc-app-meta{width:100%;margin-bottom:6px}
.ll-home .ll-tool-list .orc-app-icon{width:30px;height:30px;color:var(--ll-card-accent);background:var(--ll-card-soft)}
.ll-home .ll-tool-list .orc-app-icon svg{width:20px;height:20px}
.ll-home .ll-tool-list .orc-app-title{font-size:22px;line-height:1.65;margin-bottom:6px}
.ll-home .ll-tool-list .orc-app-description{font-size:14px;line-height:1.9;margin-bottom:14px;max-width:720px}
.ll-home .ll-tool-list .orc-app-open{display:inline-flex;justify-content:center;gap:18px;flex:none;width:auto;min-height:44px;padding:8px 15px;background:#edf3ff;color:#1948b5;border:1px solid #cfddf5;border-radius:6px;font-size:13px}
.ll-home .ll-tools-note{padding:12px 14px;margin-top:18px;border-inline-start:3px solid #d8a846;background:var(--ll-gold-soft);border-radius:4px;color:var(--os-muted)}
.ll-home .ll-how{background:var(--ll-teal-soft);border-color:#dcece4}
.ll-home .ll-steps li>span{background:#dcefe6;color:#08685e;display:grid;place-items:center;width:34px;height:34px;border-radius:7px;flex:none;padding:0}
.ll-home .ll-data{border-top:3px solid #ead9aa}
.ll-home .ll-data-copy{border-inline-start-color:#75b8ad}
.ll-home .ll-questions{padding-top:26px;background:var(--ll-blue-soft);border-top:1px solid #dfebf7}
.ll-home .ll-faq-grid{padding-inline:18px;background:var(--os-card);border:1px solid var(--os-line);border-radius:9px}
.ll-home .ll-faq-grid details:last-child{border-bottom:0}
.ll-home button:focus-visible,.ll-home .ll-slider-viewport:focus-visible{outline:3px solid #739bdc;outline-offset:3px}
.ll-home-fallback{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--os-line);border-radius:10px;background:var(--os-card)}
.ll-home-fallback .orc-app-preview{display:grid;place-items:center;text-decoration:none;aspect-ratio:16/10}
.ll-home-fallback .orc-app-preview img{display:block;width:100%;height:100%;object-fit:contain}
.ll-home-fallback .orc-app-card-body{display:flex;flex-direction:column;flex:1;padding:16px}
.ll-home-fallback .orc-app-title{margin:0 0 8px;font-size:19px;line-height:1.7}
.ll-home-fallback .orc-app-title a{color:inherit;text-decoration:none}
.ll-home-fallback .orc-app-description{font-size:13px;line-height:1.9;color:var(--os-muted)}
.ll-home-fallback .orc-app-open{margin-top:auto;display:flex;justify-content:space-between;color:var(--ll-card-accent);min-height:44px;align-items:center;font-weight:800;text-decoration:none}
.ll-preview-unavailable{display:grid;justify-items:center;gap:12px;padding:20px;color:var(--os-muted);font-size:12px}
.ll-preview-unavailable svg{width:32px;height:32px}
@media(hover:hover) and (pointer:fine){
 .ll-home .ll-sample:hover{color:#1948b5}.ll-home .ll-tool-list>.orc-app-card:hover{transform:none;border-color:var(--ll-card-accent);box-shadow:0 4px 12px #172b4610}
 .ll-home .ll-featured .orc-app-card:hover{opacity:1;box-shadow:0 6px 18px #173e6814}
 .ll-home .ll-tool-list .orc-app-open:hover{background:#2457d6;color:#fff;border-color:#2457d6}
 .ll-slider-arrow:hover{background:var(--ll-blue-soft);border-color:#a8bddc}
}
@media(max-width:900px){.ll-home .ll-intro-inner{gap:24px;grid-template-columns:minmax(0,1.3fr) minmax(250px,.8fr)}.ll-home .ll-intro h1{font-size:34px}.ll-home .ll-tool-list>.orc-app-card{grid-template-columns:250px minmax(0,1fr)}.ll-home .ll-tool-list .orc-app-card-body{padding:17px}.ll-home .ll-tool-list .orc-app-title{font-size:20px}}
@media(max-width:640px){
 .ll-home .ll-intro{padding:20px 0}.ll-home .ll-intro-inner{display:block}.ll-home-samples{display:none}.ll-home .ll-intro h1{font-size:28px;line-height:1.45}.ll-home .ll-intro p{font-size:14px}.ll-home .ll-intro .ll-intro-footnote{font-size:10px;gap:4px 10px}
 .ll-home .ll-featured{padding:20px 0 16px}.ll-home .ll-featured h2{font-size:22px}.ll-home .ll-featured .ll-section-head{gap:12px}
 .ll-home .ll-slider-track>.orc-app-card{width:calc(100vw - 86px);max-width:340px;flex-basis:calc(100vw - 86px)}
 .ll-home .ll-featured .orc-app-card-body{padding:10px 13px 8px}.ll-home .ll-featured .orc-app-title{font-size:16px;min-height:50px}.ll-home .ll-featured .orc-app-description{font-size:11px;min-height:39px}.ll-slider-hint{max-width:290px;margin-inline:auto}
 .ll-home .ll-tool-list{gap:16px}.ll-home .ll-tool-list>.orc-app-card{display:flex;flex-direction:column;border-inline-start-width:3px}.ll-home .ll-tool-list .orc-app-preview{aspect-ratio:16/8;min-height:0;height:auto;border-inline-end:0;border-bottom:1px solid var(--os-line);padding:9px}.ll-home .ll-tool-list .orc-app-preview img{height:100%;max-height:none}.ll-home .ll-tool-list .orc-app-card-body{padding:15px 16px}.ll-home .ll-tool-list .orc-app-title{font-size:20px}.ll-home .ll-tool-list .orc-app-description{font-size:13px}
 .ll-home .ll-tools{padding:24px 0}.ll-home .ll-faq-grid{padding-inline:12px}
}
/* The inherited 75px cap clips the login label at 320px; scoped to home only. */
@media(max-width:350px){body.home .ostadi-account-actions .ostadi-header-login{max-width:none;min-width:86px;padding-inline:7px;justify-content:center}body.home .ostadi-brand{flex-basis:90px}body.home .ostadi-brand .ostadtools-header-logo{width:90px}}
[data-ostadi-theme=dark] .ll-home{--ll-blue:#8bb4ff;--ll-teal:#7ed6bf;--ll-gold:#e9c56e;--ll-coral:#efa990;--ll-blue-soft:#172b43;--ll-teal-soft:#172f2d;--ll-gold-soft:#302c20;--ll-coral-soft:#342824}
[data-ostadi-theme=dark] .ll-home .ll-intro{background:linear-gradient(115deg,#292e30,#142d43 55%,#163731);border-color:#314b57}
[data-ostadi-theme=dark] .ll-home .ll-intro h1 span{background:linear-gradient(110deg,#a0c1ff,#80ddc6);background-clip:text;-webkit-background-clip:text}
[data-ostadi-theme=dark] .ll-home .ll-intro .ll-button-quiet,[data-ostadi-theme=dark] .ll-home-samples{background:#182d3c;border-color:#385162;color:#dfe9f4}
[data-ostadi-theme=dark] .ll-home .ll-intro-footnote,[data-ostadi-theme=dark] .ll-samples-heading,[data-ostadi-theme=dark] .ll-sample small{color:#b1c5d7}
[data-ostadi-theme=dark] .ll-home .ll-intro-footnote strong{color:#86dac3}
[data-ostadi-theme=dark] .ll-sample+.ll-sample{border-color:#344c60}
[data-ostadi-theme=dark] .ll-sample-arrow{color:#9dbdff}
[data-ostadi-theme=dark] .ll-home .ll-tools{background:linear-gradient(180deg,#172b3e,var(--os-card) 380px)}
[data-ostadi-theme=dark] .ll-home .ll-featured{background:linear-gradient(180deg,#172b3e,var(--os-card) 80%)}
[data-ostadi-theme=dark] .ll-home .ll-tool-list .orc-app-open{background:#203b61;border-color:#405f88;color:#e0ebff}
[data-ostadi-theme=dark] .ll-home .ll-how,[data-ostadi-theme=dark] .ll-home .ll-questions{border-color:#385164}
[data-ostadi-theme=dark] .ll-home .ll-steps li>span{background:#234840;color:#98e4d0}
[data-ostadi-theme=dark] .ll-home .ll-data{border-color:#6c5c36}
@media(prefers-reduced-motion:reduce){.ll-home .orc-app-card,.ll-home .orc-app-preview img,.ll-home .ll-slider-dots button::before{transition:none!important}.ll-home .orc-app-card:hover,.ll-home .orc-app-card:hover .orc-app-preview img{transform:none!important}}
@media print{.ll-home .ll-slider-nav,.ll-home .ll-slider-hint,.ll-home-samples{display:none!important}.ll-home .ll-slider-viewport{overflow:visible}.ll-home .ll-slider-track{width:100%;flex-wrap:wrap;padding:0!important}.ll-home [data-ll-slider-copy]{display:none!important}.ll-home .ll-slider-track>.orc-app-card{opacity:1;transform:none}}
