/* Home page and directory: hero, stepper, content sections. */

/* ---------- Hero ---------- */
.hlc-hero { background: var(--hlc-navy); color: #dbe5f3; padding: 56px 0 160px; position: relative; overflow: hidden; }
.hlc-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .16), rgba(45, 212, 191, 0) 70%); pointer-events: none; }
.hlc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.hlc-hero h1 { color: #fff; margin-bottom: 16px; }
.hlc-eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--hlc-teal-bright); margin: 0 0 14px; }
.hlc-lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); line-height: 1.65; max-width: 62ch; }
.hlc-hero .hlc-lead { color: #c3d1e6; }
.hlc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hlc-hero-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hlc-hero-points li { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 14px; }
.hlc-hero-points li > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(45, 212, 191, .15); color: var(--hlc-teal-bright); }
.hlc-hero-points strong { display: block; color: #fff; font-size: .95rem; line-height: 1.25; }
.hlc-hero-points small { color: #aebfd6; font-size: .8rem; }
@media (max-width: 920px) {
	.hlc-hero { padding: 36px 0 150px; }
	.hlc-hero-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) { .hlc-hero-points { grid-template-columns: 1fr; } .hlc-hero-cta .hlc-btn { flex: 1 1 100%; } }

/* ---------- Step navigation ---------- */
.hlc-stepper { position: sticky; top: var(--hlc-header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--hlc-line); box-shadow: 0 6px 14px -12px rgba(11, 31, 58, .35); }
.admin-bar .hlc-stepper { top: calc(var(--hlc-header-h) + 32px); }
.hlc-stepper ol { display: flex; gap: 4px; list-style: none; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.hlc-stepper ol::-webkit-scrollbar { display: none; }
.hlc-stepper a { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; text-decoration: none; color: var(--hlc-muted); font-weight: 600; font-size: .875rem; white-space: nowrap; border: 1.5px solid transparent; }
.hlc-stepper a:hover { color: var(--hlc-navy); background: var(--hlc-bg); }
.hlc-stepper a.is-active { color: var(--hlc-navy); background: var(--hlc-teal-soft); border-color: rgba(15, 118, 110, .25); }
.hlc-stepper-num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--hlc-line); color: var(--hlc-navy); font-size: .75rem; font-weight: 700; }
.hlc-stepper a.is-active .hlc-stepper-num { background: var(--hlc-navy); color: #fff; }
@media (max-width: 920px) { .admin-bar .hlc-stepper { top: calc(var(--hlc-header-h) + 46px); } }
@media (max-width: 560px) { .hlc-stepper-label { font-size: .8rem; } .hlc-stepper a { padding-right: 10px; } }

/* ---------- Generic sections ---------- */
.hlc-section { padding: clamp(48px, 6vw, 88px) 0; }
.hlc-section-alt { background: #fff; border-top: 1px solid var(--hlc-line); border-bottom: 1px solid var(--hlc-line); }
.hlc-section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.hlc-section-head p { color: var(--hlc-muted); font-size: 1.05rem; margin: 0; }
.hlc-noscript { background: var(--hlc-amber-soft); color: var(--hlc-amber); padding: 14px 18px; border-radius: 12px; margin: 20px 0 0; }

.hlc-benefit-grid, .hlc-tool-grid, .hlc-cat-grid, .hlc-dir-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.hlc-benefit-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.hlc-benefit { background: #fff; border: 1px solid var(--hlc-line); border-radius: var(--hlc-radius); padding: 26px; box-shadow: var(--hlc-shadow); }
.hlc-benefit-icon, .hlc-tool-icon, .hlc-cat-icon, .hlc-dir-card-icon, .hlc-dir-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--hlc-teal-soft); color: var(--hlc-teal); margin-bottom: 14px; }
.hlc-benefit h3 { margin-bottom: 8px; }
.hlc-benefit p { color: var(--hlc-muted); margin: 0; font-size: .97rem; }

/* Examples */
.hlc-takeaways { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.hlc-takeaways li { background: var(--hlc-bg); border: 1px solid var(--hlc-line); border-left: 4px solid var(--hlc-teal); border-radius: 12px; padding: 18px 20px; font-size: .97rem; }
.hlc-takeaways strong { display: block; color: var(--hlc-navy); margin-bottom: 4px; }
.hlc-table-stack th[scope="row"] { font-weight: 600; text-align: left; }
@media (max-width: 720px) {
	.hlc-table-stack thead { display: none; }
	.hlc-table-stack, .hlc-table-stack tbody, .hlc-table-stack tr, .hlc-table-stack th, .hlc-table-stack td { display: block; width: 100%; }
	.hlc-table-stack tr { border: 1px solid var(--hlc-line); border-radius: 12px; margin-bottom: 12px; padding: 6px 14px 10px; background: #fff; }
	.hlc-table-stack th[scope="row"] { padding: 10px 0; border: 0; border-bottom: 1px solid var(--hlc-line); margin-bottom: 4px; }
	.hlc-table-stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0; text-align: right; }
	.hlc-table-stack td::before { content: attr(data-label); color: var(--hlc-muted); font-weight: 500; text-align: left; }
}

/* How to calculate */
.hlc-formula { background: var(--hlc-navy); color: #dbe5f3; border-radius: var(--hlc-radius); padding: 28px; margin: 0 0 32px; }
.hlc-formula-main { color: #fff; font-size: clamp(1.1rem, .9rem + 1.2vw, 1.6rem); font-weight: 700; margin: 0 0 14px; font-variant-numeric: tabular-nums; overflow-x: auto; }
.hlc-formula ul { margin: 0; padding-left: 1.2em; }
.hlc-formula strong { color: var(--hlc-teal-bright); }
.hlc-steps-list { padding-left: 1.3em; }
.hlc-steps-list li { margin-bottom: 8px; }
#how-to-calculate h3 { margin-top: 2em; }

/* Tool grid, categories, directory */
.hlc-tool-grid, .hlc-dir-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.hlc-cat-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 28px; }
.hlc-tool, .hlc-cat, .hlc-dir-card { background: #fff; border: 1px solid var(--hlc-line); border-radius: var(--hlc-radius); box-shadow: var(--hlc-shadow); display: flex; flex-direction: column; }
.hlc-tool > a, .hlc-cat > a, .hlc-dir-card > a { display: flex; flex-direction: column; flex: 1; padding: 22px; text-decoration: none; color: inherit; border-radius: var(--hlc-radius); }
.hlc-tool:not(.is-soon):hover, .hlc-cat:hover, .hlc-dir-card:not(.is-soon):hover { border-color: var(--hlc-teal); box-shadow: 0 12px 30px -14px rgba(15, 118, 110, .45); }
.hlc-tool.is-soon, .hlc-dir-card.is-soon { padding: 22px; background: #fbfcfe; }
.hlc-tool.is-soon .hlc-tool-icon, .hlc-dir-card.is-soon .hlc-dir-card-icon { background: var(--hlc-line); color: var(--hlc-muted); }
.hlc-tool-title, .hlc-cat-title, .hlc-dir-card-title { color: var(--hlc-navy); font-weight: 700; font-size: 1.02rem; line-height: 1.3; margin-bottom: 6px; }
.hlc-tool-desc, .hlc-cat-desc, .hlc-dir-card-desc { color: var(--hlc-muted); font-size: .9rem; flex: 1; }
.hlc-tool .hlc-pill, .hlc-dir-card .hlc-pill { align-self: flex-start; margin-top: 12px; }
.hlc-cat-count { margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--hlc-teal); }
.hlc-dir-group { margin-bottom: 48px; }
.hlc-dir-group h2 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; }
.hlc-dir-icon { width: 38px; height: 38px; margin: 0; }
.hlc-directory-head { max-width: 760px; margin-bottom: 40px; }
.hlc-directory-head .hlc-lead { color: var(--hlc-muted); }

/* FAQ */
.hlc-faq-list { display: grid; gap: 12px; }
.hlc-faq { background: var(--hlc-bg); border: 1px solid var(--hlc-line); border-radius: 14px; }
.hlc-faq[open] { background: #fff; border-color: var(--hlc-line-strong); box-shadow: var(--hlc-shadow); }
.hlc-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--hlc-navy); position: relative; }
.hlc-faq summary::-webkit-details-marker { display: none; }
.hlc-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--hlc-teal); line-height: 1; }
.hlc-faq[open] summary::after { content: "−"; }
.hlc-faq-a { padding: 0 22px 20px; color: var(--hlc-text); }
.hlc-faq-a p { margin: 0; }

/* Disclaimer */
.hlc-disclaimer-section { padding-top: 24px; }
.hlc-disclaimer { background: var(--hlc-amber-soft); border: 1px solid #f3d9ac; border-radius: var(--hlc-radius); padding: 24px 28px; color: #5b3a0b; font-size: .92rem; }
.hlc-disclaimer h2 { font-size: 1.05rem; color: var(--hlc-amber); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hlc-disclaimer p { margin: 0; }
.hlc-editorial { background: #fff; border-top: 1px solid var(--hlc-line); }
