/* Reference homepage V3 - isolated from legacy grids and icon rules. */
html:has(body.gtl-home) { font-size:16px!important; }
html[data-theme=light] body.gtl-home { margin:0!important;background:#fff!important;color:#0b1535!important;font-size:16px!important;line-height:1.5!important; }
body.gtl-home .gtl-home-reference-v3,body.gtl-home .gtl-home-reference-v3 * { box-sizing:border-box!important; }
body.gtl-home .gtl-home-reference-v3 { display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;overflow:hidden!important;font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;font-size:16px!important;line-height:1.5!important; }
body.gtl-home .gtl-home-reference-v3 .ref-shell { width:min(1360px,calc(100% - 80px))!important;max-width:1360px!important;margin-inline:auto!important;padding:0!important; }
body.gtl-home .gtl-home-reference-v3 .ref-hero { display:block!important;text-align:center!important;background:radial-gradient(ellipse at 0% 100%,#edf4ff 0%,transparent 45%),radial-gradient(ellipse at 100% 25%,#eaf2ff 0%,transparent 43%),#fff!important;padding:35px 0 38px!important; }
body.gtl-home .gtl-home-reference-v3 .ref-hero h1 { display:block!important;font-size:clamp(30px,3.1vw,48px)!important;line-height:1.16!important;letter-spacing:-.045em!important;font-weight:800!important;color:#081331!important;margin:0 0 12px!important;max-width:none!important; }
body.gtl-home .gtl-home-reference-v3 .ref-hero p {font-size:clamp(16px,1.45vw,21px)!important;line-height:1.5!important;color:#526078!important;margin:0 0 26px!important;}
body.gtl-home .gtl-home-reference-v3 .ref-search {display:flex!important;align-items:center!important;gap:14px!important;width:min(830px,100%)!important;max-width:830px!important;margin:0 auto!important;padding:6px 7px 6px 24px!important;min-height:64px!important;background:#fff!important;border:1px solid #c9d5e9!important;border-radius:34px!important;box-shadow:0 6px 16px rgba(30,52,88,.09)!important;}
body.gtl-home .gtl-home-reference-v3 .ref-search svg {flex:0 0 27px!important;width:27px!important;height:27px!important;fill:none!important;stroke:#1c3155!important;stroke-width:2!important;stroke-linecap:round!important;}
body.gtl-home .gtl-home-reference-v3 .ref-search input {flex:1 1 auto!important;width:100%!important;min-width:0!important;height:46px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline-offset:2px!important;background:transparent!important;color:#15243f!important;font-size:17px!important;line-height:1.4!important;}
body.gtl-home .gtl-home-reference-v3 .ref-search input::placeholder{color:#4e5c75!important;opacity:1!important;}
body.gtl-home .gtl-home-reference-v3 .ref-search button {flex:0 0 123px!important;min-width:123px!important;height:50px!important;border:0!important;border-radius:17px!important;background:#0754e9!important;color:#fff!important;font-size:16px!important;font-weight:700!important;cursor:pointer!important;}
body.gtl-home .gtl-home-reference-v3 .ref-categories {display:block!important;background:#fff!important;padding:0 0 28px!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category {display:flex!important;align-items:center!important;gap:16px!important;min-width:0!important;min-height:122px!important;padding:20px!important;text-decoration:none!important;border:1px solid #dce5f3!important;border-radius:18px!important;background:#fff!important;box-shadow:0 5px 10px rgba(20,42,80,.065)!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-pdf {border-color:#ffd8df!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-image {border-color:#c9efe5!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-developer {border-color:#e1d8ff!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-numbers {border-color:#d5e7ff!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-icon {display:grid!important;place-items:center!important;flex:0 0 64px!important;width:64px!important;height:66px!important;border-radius:13px!important;color:#ed3347!important;background:#fff0f2!important;font-size:19px!important;font-weight:800!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-image .ref-category-icon {color:#31b89a!important;background:#e5f9f3!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-developer .ref-category-icon {color:#704be8!important;background:#f0ebff!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-numbers .ref-category-icon {color:#2586e9!important;background:#e5f2ff!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-icon svg {display:block!important;width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;fill:none!important;stroke:currentColor!important;stroke-width:4!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-copy {display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;gap:4px!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-copy strong {font-size:20px!important;font-weight:750!important;line-height:1.2!important;color:#0b1535!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-copy small {font-size:13px!important;line-height:1.45!important;color:#41516d!important;}
body.gtl-home .gtl-home-reference-v3 .ref-category-arrow {font-size:27px!important;line-height:1!important;color:#0754e9!important;flex:0 0 auto!important;}
body.gtl-home .gtl-home-reference-v3 .ref-popular {display:block!important;background:#fff!important;padding:4px 0 38px!important;}
body.gtl-home .gtl-home-reference-v3 .ref-section-title {display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;margin:0 0 18px!important;}
body.gtl-home .gtl-home-reference-v3 .ref-section-title h2 {font-size:29px!important;line-height:1.2!important;letter-spacing:-.03em!important;font-weight:800!important;color:#0b1535!important;margin:0!important;padding-left:20px!important;border-left:7px solid #0754e9!important;}
body.gtl-home .gtl-home-reference-v3 .ref-section-title a {color:#0754e9!important;text-decoration:none!important;font-size:16px!important;font-weight:650!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-card {display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:18px!important;min-width:0!important;min-height:184px!important;padding:20px!important;border:1px solid #dce5f0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 4px 10px rgba(20,42,80,.075)!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-content {display:flex!important;align-items:flex-start!important;gap:16px!important;min-width:0!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-icon {display:grid!important;place-items:center!important;flex:0 0 56px!important;width:56px!important;height:56px!important;border-radius:10px!important;color:#f23849!important;background:#fff0f2!important;font-size:27px!important;font-weight:800!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-icon-image {color:#27b996!important;background:#e5f9f3!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-icon-text {color:#fff!important;background:#2c91f0!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-icon-code {color:#704be8!important;background:#f0ebff!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-card h3 {font-size:18px!important;line-height:1.25!important;font-weight:750!important;color:#0b1535!important;margin:0 0 7px!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-card p {font-size:14px!important;line-height:1.5!important;color:#45536c!important;margin:0!important;}
body.gtl-home .gtl-home-reference-v3 .ref-tool-open {display:block!important;text-align:center!important;text-decoration:none!important;border-radius:11px!important;background:#0754e9!important;color:#fff!important;padding:10px 14px!important;font-size:16px!important;font-weight:700!important;line-height:1.4!important;}
body.gtl-home .gtl-home-reference-v3 a:focus-visible,body.gtl-home .gtl-home-reference-v3 button:focus-visible {outline:3px solid #6e98ff!important;outline-offset:3px!important;}
/* Homepage header: preserve functional menus, simplify presentation to match approved reference. */
/* Homepage footer: compact, legible, restrained. */
html[data-theme=light] body.gtl-home .site-footer {background:#f5f7fb!important;color:#0b1535!important;border-top:1px solid #e6ecf4!important;}
html[data-theme=light] body.gtl-home .site-footer .container {width:min(1360px,calc(100% - 80px))!important;max-width:1360px!important;}
html[data-theme=light] body.gtl-home .site-footer a,html[data-theme=light] body.gtl-home .site-footer strong {color:#15213d!important;}
@media(max-width:1050px){body.gtl-home .gtl-home-reference-v3 .ref-category-grid,body.gtl-home .gtl-home-reference-v3 .ref-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:700px){body.gtl-home .gtl-home-reference-v3 .ref-shell,html[data-theme=light] body.gtl-home .site-footer .container{width:calc(100% - 32px)!important;}body.gtl-home .gtl-home-reference-v3 .ref-hero{padding:38px 0 28px!important;}body.gtl-home .gtl-home-reference-v3 .ref-hero h1{font-size:33px!important;}body.gtl-home .gtl-home-reference-v3 .ref-category-grid,body.gtl-home .gtl-home-reference-v3 .ref-tool-grid{grid-template-columns:1fr!important;gap:12px!important;}body.gtl-home .gtl-home-reference-v3 .ref-category{min-height:104px!important;}body.gtl-home .gtl-home-reference-v3 .ref-search{gap:8px!important;padding-left:14px!important;min-height:56px!important;}body.gtl-home .gtl-home-reference-v3 .ref-search button{min-width:83px!important;flex-basis:83px!important;height:44px!important;}body.gtl-home .gtl-home-reference-v3 .ref-search input{font-size:14px!important;}body.gtl-home .gtl-home-reference-v3 .ref-section-title h2{font-size:25px!important;}}
