/* Homepage-only design polish. Loaded last. Shared navigation and tool pages untouched. */
body.gtl-home .gtl-home-reference-v3 .hub-guide-grid{gap:20px!important}
body.gtl-home .gtl-home-reference-v3 .hub-guide-card{position:relative;min-height:224px!important;padding:24px!important;gap:15px!important;border-radius:18px!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
body.gtl-home .gtl-home-reference-v3 .hub-guide-card:hover,body.gtl-home .gtl-home-reference-v3 .hub-guide-card:focus-visible{transform:translateY(-3px);border-color:#a9c3ff!important;box-shadow:0 12px 28px #1836631b!important}
body.gtl-home .gtl-home-reference-v3 .hub-guide-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.gtl-home .gtl-home-reference-v3 .hub-guide-illustration{display:grid;place-items:center;width:56px;height:56px;border-radius:15px;background:#e7efff;color:#2861df;flex:none}
body.gtl-home .gtl-home-reference-v3 .hub-guide-card:nth-child(3n+2) .hub-guide-illustration{background:#dff7ed;color:#079b78}
body.gtl-home .gtl-home-reference-v3 .hub-guide-card:nth-child(3n+3) .hub-guide-illustration{background:#eee8ff;color:#7951d8}
body.gtl-home .gtl-home-reference-v3 .hub-guide-tag{border-radius:30px;background:#eff4ff;padding:6px 11px!important;max-width:68%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.gtl-home .gtl-home-reference-v3 .hub-guide-card h3{font-size:18px!important;line-height:1.45!important}
body.gtl-home .gtl-home-reference-v3 .hub-guide-more{display:inline-flex;align-items:center;gap:8px;font-size:14px!important}
body.gtl-home .gtl-home-reference-v3 .hub-steps{gap:20px!important}
body.gtl-home .gtl-home-reference-v3 .hub-steps>.hub-step-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:288px;padding:28px!important;border-radius:18px!important;box-shadow:0 5px 20px #152e5010;transition:transform .2s ease,box-shadow .2s ease}
body.gtl-home .gtl-home-reference-v3 .hub-steps>.hub-step-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #18366318}
body.gtl-home .gtl-home-reference-v3 .hub-step-visual{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#e7efff;color:#2861df}
body.gtl-home .gtl-home-reference-v3 .hub-step-visual svg{width:36px;height:36px;max-width:36px;max-height:36px}
body.gtl-home .gtl-home-reference-v3 .hub-step-card:nth-child(2) .hub-step-visual{background:#e2f8ef;color:#079b78}
body.gtl-home .gtl-home-reference-v3 .hub-step-card:nth-child(3) .hub-step-visual{background:#eee8ff;color:#7951d8}
body.gtl-home .gtl-home-reference-v3 .hub-steps .hub-step-number{position:absolute;top:30px;right:28px;font-size:22px!important;letter-spacing:.04em;opacity:.7}
body.gtl-home .gtl-home-reference-v3 .hub-steps h3{margin:20px 0 8px!important;font-size:21px!important}
body.gtl-home .gtl-home-reference-v3 .hub-steps p{line-height:1.6!important}
body.gtl-home .gtl-home-reference-v3 .hub-step-card>a{margin-top:auto;padding-top:20px;color:#1553e9;font-size:14px;font-weight:750;text-decoration:none}
body.gtl-home .gtl-home-reference-v3 .hub-faq-grid{gap:16px!important}
body.gtl-home .gtl-home-reference-v3 .hub-faq details{border-radius:16px!important;padding:0!important;overflow:hidden;box-shadow:0 3px 14px #152e500d}
body.gtl-home .gtl-home-reference-v3 .hub-faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px!important}
body.gtl-home .gtl-home-reference-v3 .hub-faq summary::-webkit-details-marker{display:none}
body.gtl-home .gtl-home-reference-v3 .hub-faq summary:after{content:'+';display:grid;place-items:center;width:30px;height:30px;min-width:30px;border-radius:50%;background:#eaf1ff;color:#1553e9;font-size:23px;font-weight:500}
body.gtl-home .gtl-home-reference-v3 .hub-faq details[open] summary:after{content:'−'}
body.gtl-home .gtl-home-reference-v3 .hub-faq details p{padding:0 24px 24px;margin:0!important;line-height:1.7!important}
body.gtl-home .gtl-home-reference-v3 .hub-faq details[open]{border-color:#a9c3ff!important}
body.gtl-home .gtl-home-reference-v3 .hub-chips a{transition:background .2s ease,transform .2s ease}
body.gtl-home .gtl-home-reference-v3 .hub-chips a:hover{background:#dbe8ff!important;transform:translateY(-2px)}
body.gtl-home .gtl-home-reference-v3 .hub-visual-card{background:#fff!important;border-color:#e1e8f3!important;box-shadow:0 3px 12px #152e500c!important}
body.gtl-home .gtl-home-reference-v3 .hub-visual-card:hover{box-shadow:0 12px 28px #152e5024!important}
/* Dark mode: same geometry, all homepage surfaces and nested content receive matching palette. */
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3{--home-bg:#0c1425;--home-panel:#17243a;--home-panel-alt:#101c30;--home-border:#334561;--home-text:#f2f6ff;--home-muted:#b8c8df;--home-link:#8eb3ff;background:var(--home-bg)!important;color:var(--home-text)!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-section{background:var(--home-bg)!important;color:var(--home-text)!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-section:nth-of-type(even){background:var(--home-panel-alt)!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-heading h2,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-final-links h2,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-group-head h3,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-guide-card h3,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-steps h3,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-faq summary,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-visual-name,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-tool-name{color:var(--home-text)!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-heading p,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-final-links p,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-group-head p,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-steps p,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-faq details p,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-tool-desc{color:var(--home-muted)!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-guide-card,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-steps>div,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-faq details,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-visual-card,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-tool-link,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-filter{background:var(--home-panel)!important;border-color:var(--home-border)!important;box-shadow:0 3px 14px #0002!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-guide-tag,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-chips a,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-resource-links a,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-faq summary:after{background:#263b5b!important;color:#a9c7ff!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-chips span{color:#c6d4e8!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-guide-more,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-heading-link,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-group-head a,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-step-card>a{color:var(--home-link)!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-group-head{border-color:var(--home-border)!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-final-links{background:#17243a!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-filter input{background:#101c30!important;color:#f2f6ff!important;border-color:#334561!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-filter label{color:#f2f6ff!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-filter span{color:#b8c8df!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-guide-card:hover,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .hub-visual-card:hover{border-color:#6b98ee!important;box-shadow:0 12px 30px #0005!important}
@media(max-width:760px){body.gtl-home .gtl-home-reference-v3 .hub-guide-card{min-height:200px!important}body.gtl-home .gtl-home-reference-v3 .hub-steps>.hub-step-card{min-height:255px}}
@media(max-width:520px){body.gtl-home .gtl-home-reference-v3 .hub-guide-grid,body.gtl-home .gtl-home-reference-v3 .hub-steps,body.gtl-home .gtl-home-reference-v3 .hub-faq-grid{grid-template-columns:1fr!important}body.gtl-home .gtl-home-reference-v3 .hub-guide-card{min-height:180px!important}body.gtl-home .gtl-home-reference-v3 .hub-steps>.hub-step-card{min-height:235px}}
@media(prefers-reduced-motion:reduce){body.gtl-home .gtl-home-reference-v3 .hub-guide-card,body.gtl-home .gtl-home-reference-v3 .hub-steps>.hub-step-card{transition:none!important}}
/* The top-of-homepage reference sections also had hard-coded white colors. */
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-hero{background:radial-gradient(ellipse at 0% 100%,#142a4a 0%,transparent 48%),radial-gradient(ellipse at 100% 25%,#1b2549 0%,transparent 45%),#0c1425!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-hero h1,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-section-title h2,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-category-copy strong,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-tool-card h3{color:#f2f6ff!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-hero p,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-category-copy small,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-tool-card p{color:#b8c8df!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-categories,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-popular{background:#0c1425!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-category,
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-tool-card{background:#17243a!important;border-color:#334561!important;box-shadow:0 3px 14px #0002!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-search{background:#17243a!important;border-color:#405572!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-search input{background:transparent!important;color:#f2f6ff!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-search input::placeholder{color:#b8c8df!important}
html[data-theme="dark"] body.gtl-home .gtl-home-reference-v3 .ref-search svg{stroke:#b8c8df!important}
