/* Platform home: native layout, no visual framework or animation dependency. */
.ll-home { color:var(--os-ink); background:var(--os-card); }
.ll-home *, .ll-contact * { box-sizing:border-box; }
.ll-home .ostadi-container { width:min(1180px,calc(100% - 40px)); }
.ll-intro { padding:42px 0 28px; background:var(--os-cream); border-bottom:1px solid var(--os-line); }
.ll-intro-inner { max-width:1180px; }
.ll-eyebrow { display:inline-flex; color:var(--os-green-dark); font-size:12px; font-weight:800; }
.ll-intro h1 { max-width:850px; margin:10px 0; font-size:clamp(30px,3.6vw,44px); line-height:1.5; font-weight:800; }
.ll-intro h1 span { color:var(--os-green); }
.ll-intro p { max-width:780px; margin:0; color:var(--os-muted); font-size:16px; line-height:1.9; }
.ll-intro-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.ll-button { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:46px; padding:9px 20px; border:1px solid var(--os-line); border-radius:7px; text-decoration:none; font:800 14px/1.6 Cairo,Tahoma,Arial,sans-serif; cursor:pointer; }
.ll-button-primary { color:#fff; background:#2457d6; border-color:#2457d6; }
.ll-button-quiet { color:var(--os-ink); background:var(--os-card); }
.ll-tools { padding:28px 0 30px; }
.ll-section-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.ll-section-head h2 { margin:0; font-size:24px; line-height:1.6; }
.ll-section-head p { margin:3px 0 0; color:var(--os-muted); font-size:13px; }
.ll-text-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:5px 0; color:var(--os-green-dark); font-size:13px; font-weight:800; text-underline-offset:4px; }
.ll-tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.ll-tool-card { display:flex; flex-direction:column; min-width:0; padding:20px 20px 10px; border:1px solid var(--os-line); border-radius:10px; background:var(--os-card); transition:border-color .18s,transform .18s; }
.ll-tool-top { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.ll-tool-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; color:var(--os-green); background:var(--os-green-soft); border-radius:8px; font-size:22px; }
.ll-tool-badge { color:var(--os-muted); font-size:10px; line-height:1.8; text-align:end; }
.ll-tool-card h3 { margin:12px 0 6px; font-size:18px; font-weight:800; line-height:1.65; }
.ll-tool-card h3 a { color:inherit; text-decoration:none; }
.ll-tool-card > p { margin:0 0 12px; color:var(--os-muted); font-size:13px; line-height:1.85; }
.ll-tool-features { display:flex; flex-wrap:wrap; gap:5px; margin:auto 0 12px; padding:0; list-style:none; }
.ll-tool-features li { padding:2px 6px; color:var(--os-muted); background:var(--os-cream); border-radius:4px; font-size:10px; }
.ll-tool-open { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; margin-top:auto; padding-top:6px; color:var(--os-green-dark); border-top:1px solid var(--os-line); font-size:13px; font-weight:800; text-decoration:none; }
.ll-tool-open > span:last-child { transition:transform .18s; }
.ll-tool-card:focus-within { border-color:var(--os-green); }
.ll-tools-note { margin:14px 0 0; color:var(--os-muted); font-size:12px; }
.ll-how { padding:32px 0; background:var(--os-cream); border-block:1px solid var(--os-line); }
.ll-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:0; padding:0; list-style:none; }
.ll-steps li { display:flex; gap:12px; }
.ll-steps li > span { padding-top:3px; color:var(--os-green); font-size:12px; font-weight:800; }
.ll-steps h3 { margin:0 0 4px; font-size:16px; }
.ll-steps p { margin:0; color:var(--os-muted); font-size:13px; }
.ll-example { margin-top:24px; padding:0 16px; background:var(--os-card); border:1px solid var(--os-line); border-radius:8px; }
.ll-home summary { min-height:48px; padding:12px 0; cursor:pointer; font-size:14px; font-weight:800; }
.ll-example summary > span { margin-inline-start:8px; color:var(--os-muted); font-size:10px; font-weight:500; white-space:nowrap; }
.ll-example-body { max-width:1020px; margin:0 auto; padding:4px 0 20px; }
.ll-example-body > p { margin:0 0 12px; color:var(--os-muted); font-size:12px; }
.ll-example-caption { display:flex; justify-content:space-between; gap:12px; font-size:13px; }
.ll-example table { width:100%; margin:12px 0; border-collapse:collapse; font-size:13px; }
.ll-example th,.ll-example td { padding:10px 8px; text-align:start; border:1px solid var(--os-line); }
.ll-example thead th { background:var(--os-green-soft); }
.ll-example-caption { align-items:center; flex-wrap:wrap; margin-top:16px; }
.ll-example-caption h3 { margin:3px 0; font-size:20px; }
.ll-example .ll-demo-notice { padding:10px 12px; background:var(--os-cream); border-inline-start:3px solid var(--os-green); border-radius:4px; }
.ll-demo-meta { color:var(--os-muted); font-size:12px; }
.ll-demo-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:16px 0; }
.ll-demo-stats > div { padding:12px; border:1px solid var(--os-line); border-radius:7px; background:var(--os-cream); }
.ll-demo-stats dt { font-size:12px; color:var(--os-muted); }
.ll-demo-stats dd { margin:4px 0 0; font-size:21px; font-weight:800; color:var(--os-green-dark); }
.ll-demo-stats small { font-size:11px; font-weight:500; }
.ll-demo-analysis { display:grid; grid-template-columns:1fr 1.1fr; gap:20px; margin-block:20px; }
.ll-demo-chart { margin:0; }
.ll-demo-chart figcaption,.ll-demo-reading h4,.ll-demo-table-title { margin:0 0 12px; font-size:15px; font-weight:800; }
.ll-demo-bar { margin-bottom:16px; }
.ll-demo-bar > div:first-child { display:flex; flex-wrap:wrap; gap:4px 8px; align-items:center; font-size:12px; }
.ll-demo-bar strong { font-size:12px; }
.ll-demo-bar span { color:var(--os-muted); font-size:10px; }
.ll-demo-bar bdi { margin-inline-start:auto; font-size:12px; }
.ll-demo-track { height:9px; margin-top:6px; border-radius:4px; overflow:hidden; background:var(--os-cream); }
.ll-demo-track span { display:block; height:100%; background:#2457d6; border-radius:4px; }
.ll-demo-track .is-progress { background:#7789b1; }
.ll-demo-track .is-support { background:#b86e24; }
.ll-demo-reading { padding:14px; background:var(--os-cream); border-radius:7px; }
.ll-demo-reading p,.ll-demo-reading li { font-size:12px; line-height:1.9; }
.ll-demo-reading p { margin:0; }
.ll-demo-reading ul { padding-inline-start:18px; margin:8px 0; }
.ll-demo-reading small { display:block; color:var(--os-muted); font-size:10px; }
.ll-demo-end { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; }
.ll-demo-end p { margin:0; color:var(--os-muted); font-size:12px; }
/* Related navigation sits outside tool forms and export roots. */
.ll-related { margin-top:28px; padding-top:24px; border-top:1px solid var(--os-line); color:var(--os-ink); }
.ll-related * { box-sizing:border-box; }
.ll-related-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 16px; margin-bottom:14px; }
.ll-related-heading h2 { margin:0; font-size:20px; }
.ll-related-heading p { margin:3px 0 0; color:var(--os-muted); font-size:12px; }
.ll-related-heading > a { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--os-green-dark); font-size:13px; font-weight:800; }
.ll-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.ll-related-tool { display:flex; align-items:flex-start; gap:12px; min-width:0; padding:16px; border:1px solid var(--os-line); border-radius:8px; background:var(--os-card); color:inherit; text-decoration:none; transition:border-color .18s,background-color .18s; }
.ll-related-tool > span:nth-child(2) { min-width:0; }
.ll-related-tool strong { display:block; font-size:14px; line-height:1.8; }
.ll-related-tool > span:nth-child(2) > span { display:block; margin-top:4px; color:var(--os-muted); font-size:12px; line-height:1.8; }
.ll-related-arrow { margin-inline-start:auto; color:var(--os-green); }
.ll-related-tool:hover { border-color:var(--os-green); background:var(--os-cream); }
.ll-related a:focus-visible { outline:2px solid var(--os-green); outline-offset:3px; }
@media print { .ll-related { display:none !important; } }
.ll-data { padding:34px 0; }
.ll-data-inner { display:grid; grid-template-columns:.8fr 1.2fr; gap:40px; }
.ll-data h2 { margin:7px 0; font-size:25px; line-height:1.55; }
.ll-data-copy { padding-inline-start:24px; border-inline-start:2px solid var(--os-line); }
.ll-data-copy p { margin:0 0 12px; color:var(--os-muted); font-size:13px; line-height:1.95; }
.ll-data-copy p:last-child { margin-bottom:0; }
.ll-data-copy strong { color:var(--os-ink); }
.ll-questions { padding:8px 0 34px; }
.ll-faq-grid { display:grid; gap:0; border-top:1px solid var(--os-line); }
.ll-faq-grid details { border-bottom:1px solid var(--os-line); }
.ll-faq-grid p { max-width:800px; margin:0 0 14px; color:var(--os-muted); font-size:13px; }
.ll-home :where(a,summary):focus-visible,.ll-contact :where(a,input,textarea,button):focus-visible { outline:2px solid var(--os-green); outline-offset:3px; }
.ll-contact { max-width:700px; }
.ll-contact form { display:grid; gap:8px; position:relative; }
.ll-contact label { margin-top:10px; color:var(--os-ink); font-size:14px; font-weight:800; }
.ll-contact :where(input[type=text],input[type=email],textarea) { width:100%; min-height:46px; padding:11px 12px; color:var(--os-ink); background:var(--os-card); border:1px solid var(--os-line); border-radius:7px; font:16px/1.7 Cairo,Tahoma,Arial,sans-serif; }
.ll-contact textarea { resize:vertical; }
.ll-contact-help { color:var(--os-muted); font-size:12px; }
.ll-contact-trap { position:absolute; inset-inline-start:-10000px; width:1px; height:1px; overflow:hidden; }
.ll-contact-notice { padding:12px 14px; border:1px solid var(--os-line); border-inline-start:3px solid var(--os-green); border-radius:7px; background:var(--os-green-soft); font-size:14px; }
.ll-contact-notice.is-error { border-inline-start-color:#b44332; }
@media(hover:hover) and (pointer:fine) {
  .ll-tool-card:hover { transform:translateY(-2px); border-color:var(--os-green); }
  .ll-tool-card:hover .ll-tool-open > span:last-child { transform:translateX(-3px); }
  .ll-tool-card h3 a:hover,.ll-tool-open:hover { text-decoration:underline; text-underline-offset:4px; }
  .ll-button-primary:hover { background:#1946b8; }
}
@media(max-width:900px) {
  .ll-related-grid { grid-template-columns:1fr; }
  .ll-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ll-data-inner { gap:24px; }
}
@media(max-width:600px) {
  .ll-demo-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .ll-demo-stats > div { padding:10px; }
  .ll-demo-stats dd { font-size:18px; }
  .ll-demo-analysis { grid-template-columns:1fr; gap:12px; }
  .ll-example-caption h3 { font-size:17px; }
  .ll-demo-end .ll-button { width:100%; }
  .ll-related-tool { padding:12px; }
  .ll-related-heading h2 { font-size:18px; }
  .ll-home .ostadi-container { width:calc(100% - 28px); }
  .ll-intro { padding:24px 0 22px; }
  .ll-eyebrow { font-size:11px; }
  .ll-intro h1 { font-size:30px; line-height:1.5; margin:8px 0; }
  .ll-intro p { font-size:14px; line-height:1.85; }
  .ll-intro-actions { margin-top:16px; gap:8px; }
  .ll-intro-actions .ll-button { flex:1; padding-inline:10px; font-size:13px; }
  .ll-tools { padding:20px 0 24px; }
  .ll-section-head { gap:4px 12px; margin-bottom:12px; }
  .ll-section-head h2 { font-size:20px; }
  .ll-section-head p { font-size:12px; }
  .ll-tool-grid { gap:9px; }
  .ll-tool-card { padding:13px 11px 6px; border-radius:8px; }
  .ll-tool-top { gap:6px; align-items:flex-start; }
  .ll-tool-icon { width:32px; height:32px; flex-basis:32px; border-radius:6px; }
  .ll-tool-icon svg { width:21px; height:21px; }
  .ll-tool-badge { font-size:9px; }
  .ll-tool-card h3 { font-size:14px; line-height:1.7; margin:9px 0 5px; }
  .ll-tool-card > p { font-size:12px; line-height:1.85; margin-bottom:9px; }
  .ll-tool-features { gap:4px; margin-bottom:9px; }
  .ll-tool-features li { font-size:9px; padding:1px 4px; }
  .ll-tool-open { font-size:12px; }
  .ll-tools-note { font-size:11px; }
  .ll-how,.ll-data { padding:25px 0; }
  .ll-steps { grid-template-columns:1fr; gap:16px; }
  .ll-example { padding-inline:12px; margin-top:18px; }
  .ll-home summary { font-size:13px; }
  .ll-example summary > span { display:block; margin-inline-start:14px; }
  .ll-example table { font-size:11px; }
  .ll-example th,.ll-example td { padding:8px 5px; }
  .ll-data-inner { grid-template-columns:1fr; gap:12px; }
  .ll-data h2 { font-size:22px; }
  .ll-data-copy { padding-inline-start:14px; }
  .ll-questions { padding-bottom:24px; }
}
@media(prefers-reduced-motion:reduce) {
  .ll-home *, .ll-home *::before, .ll-home *::after, .ll-related * { transition:none !important; animation:none !important; }
  .ll-tool-card:hover,.ll-tool-card:hover .ll-tool-open > span:last-child { transform:none; }
}
