/* The Courses - public home page (siteView). All rules scoped under .h-site / .h- prefix. */
.h-site { --h-ink: #1D1D1F; --h-mute: #6E6E73; --h-line: #E5E5EA; --h-soft: #F5F5F7; --h-blue: #0A66D8; --h-blue-d: #0858BD; --h-tint: #EEF4FD;
  --h-sh: 0 0 0 1px rgba(0,0,0,.045), 0 2px 6px rgba(0,0,0,.035), 0 18px 44px rgba(20,40,80,.07);
  color: var(--h-ink); overflow-x: clip; padding-inline: 16px; }
.h-site h1, .h-site h2, .h-site h3 { color: var(--h-ink); }
.h-site a { color: var(--h-blue); }
.h-site :focus-visible { outline: 3px solid var(--h-blue); outline-offset: 3px; border-radius: 8px; }
.h-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h-site [id] { scroll-margin-top: 72px; }

/* buttons */
.h-btn { font-size: 1.02rem; padding: 12px 24px; min-height: 46px; justify-content: center; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.h-btn:not(.secondary) { background: var(--h-blue); box-shadow: 0 1px 2px rgba(10,102,216,.25), 0 8px 20px rgba(10,102,216,.18); }
.h-btn:not(.secondary):hover { background: var(--h-blue-d); filter: none; }
.h-btn:active { transform: translateY(1px); }
.h-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.h-cta.left { justify-content: flex-start; align-items: center; margin-top: 26px; gap: 18px; }
.h-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--h-blue); }
.h-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.h-arr { width: 18px; height: 18px; stroke: currentColor; transition: transform .2s ease; }
.h-link:hover .h-arr { transform: translateX(3px); }

/* icons */
.h-ic { width: 24px; height: 24px; stroke: var(--h-blue); flex: none; }

/* ---------- Hero ---------- */
.h-hero { position: relative; isolation: isolate; text-align: center; padding: clamp(40px, 8vw, 96px) 0 0; max-width: 1120px; margin: 0 auto; }
.h-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--h-tint); color: #0A5BC2; font-weight: 600; font-size: .9rem; }
.h-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--h-blue); box-shadow: 0 0 0 4px rgba(10,102,216,.14); }
.h-hero h1 { font-size: clamp(2.35rem, 6.4vw, 4.6rem); letter-spacing: -.045em; line-height: 1.03; font-weight: 700; max-width: 15ch; margin: 22px auto 0; }
.h-lead { font-size: clamp(1.1rem, 1.9vw, 1.38rem); color: var(--h-mute); max-width: 44ch; margin: 20px auto 0; line-height: 1.42; }
.h-fine { margin: 18px auto 0; color: var(--h-mute); font-size: .9rem; max-width: 60ch; line-height: 1.6; }
.h-fine .linkbtn { color: var(--h-blue); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* hero stage (illustrative product mock) */
.h-stage { position: relative; max-width: 940px; margin: clamp(44px, 7vw, 76px) auto 0; padding: 0 0 40px; text-align: left; }
.h-win { background: #fff; border-radius: 20px; box-shadow: var(--h-sh); overflow: hidden; margin-right: 150px; }
.h-win-top { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--h-line); background: #FBFBFD; font-size: .85rem; }
.h-win-top > span { width: 10px; height: 10px; border-radius: 50%; background: #E3E3E8; }
.h-win-top b { margin-left: 12px; font-weight: 600; }
.h-win-top em { margin-left: auto; font-style: normal; color: var(--h-mute); font-size: .78rem; }
.h-win-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; padding: 18px 20px 6px; }
.h-win-kpis div { background: var(--h-soft); border-radius: 12px; padding: 10px 12px; }
.h-win-kpis small { display: block; color: var(--h-mute); font-size: .74rem; }
.h-win-kpis b { font-size: 1.35rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.h-win-kpis b.w { color: #9A6408; }
.h-win-rows { padding: 8px 12px 14px; }
@media (min-width: 641px) { .h-win-rows, .h-win-kpis { padding-right: 116px; } }
@media (min-width: 641px) and (max-width: 1000px) { .h-win-rows, .h-win-kpis { padding-right: 150px; } }
.h-win-row { display: grid; grid-template-columns: 30px minmax(0,.9fr) minmax(0,1.4fr) auto 92px; gap: 12px; align-items: center; padding: 10px 8px; border-bottom: 1px solid #F0F0F3; font-size: .86rem; }
.h-win-row:last-child { border-bottom: 0; }
.h-av { width: 30px; height: 30px; border-radius: 50%; background: var(--h-tint); color: #0A5BC2; display: grid; place-items: center; font-weight: 600; font-size: .8rem; }
.h-win-n { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-win-m, .h-win-d { color: var(--h-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-win-d { text-align: right; font-variant-numeric: tabular-nums; }
.h-win .pill { font-size: .74rem; }

.h-phone { position: absolute; right: 0; top: 34px; width: 248px; border-radius: 38px; background: #1D1D1F; padding: 9px; box-shadow: 0 30px 70px rgba(20,30,60,.22), 0 4px 14px rgba(0,0,0,.12); }
.h-phone-in { background: #fff; border-radius: 30px; padding: 22px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.h-ph-k { margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .04em; color: var(--h-blue); text-transform: uppercase; }
.h-ph-scene { position: relative; height: 112px; border-radius: 16px; background: linear-gradient(180deg, #E9F1FC 0%, #F6F2EA 100%); overflow: hidden; }
.h-ph-p { position: absolute; bottom: -30px; width: 44px; height: 64px; border-radius: 24px 24px 10px 10px; }
.h-ph-p::before { content: ""; position: absolute; left: 50%; top: -26px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: inherit; filter: brightness(1.08); }
.h-ph-p.a { left: 18px; background: #7FA7DD; }
.h-ph-p.b { right: 20px; background: #E3A889; }
.h-ph-bub { position: absolute; left: 50%; transform: translateX(-50%); top: 8px; width: 132px; text-align: center; background: #fff; border-radius: 12px 12px 4px 12px; padding: 6px 9px; font-size: .68rem; line-height: 1.3; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.h-ph-q { margin: 4px 0 0; font-weight: 600; font-size: .9rem; }
.h-ph-o { display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1.5px solid var(--h-line); border-radius: 12px; padding: 8px 10px; font-size: .74rem; line-height: 1.3; }
.h-ph-o.ok { border-color: #1A7F37; background: #EDF7EF; font-weight: 600; }
.h-ph-o svg { width: 18px; height: 18px; stroke: #1A7F37; flex: none; }

/* hero line art (drawn by sitefx.js) */
.h-hero-art { position: absolute; z-index: -1; top: 0; left: 50%; width: 100vw; margin-left: -50vw; height: 100%; overflow: visible; pointer-events: none; }
.h-hero-art path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.h-hero-art .l1 { stroke-width: 1.6; stroke-opacity: .5; }
.h-hero-art .l2 { stroke: var(--h-blue); stroke-width: 1.2; stroke-opacity: .16; }
.h-hero-art .ck { stroke: var(--h-blue); stroke-width: 2.4; stroke-opacity: .8; }

/* ---------- Section frame ---------- */
.h-sec { max-width: 1120px; margin: 0 auto; padding: 8px 0 clamp(36px, 5vw, 64px); text-align: center; }
.h-eyebrow { margin: 0; font-size: .92rem; font-weight: 600; color: #0A5BC2; }
.h-sec h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.04em; line-height: 1.06; font-weight: 700; max-width: 22ch; margin: 10px auto 0; }
.h-sub { color: var(--h-mute); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 54ch; margin: 16px auto 0; line-height: 1.5; }
.h-conn { display: flex; justify-content: center; height: 110px; margin: 0 auto 8px; }
.h-conn svg { width: 40px; height: 110px; overflow: visible; }
.h-conn path, .h-conn circle { stroke: var(--h-blue); stroke-width: 1.6; stroke-linecap: round; }
.h-conn path { stroke-opacity: .55; }
.h-conn circle { fill: #fff; }

/* ---------- How it works ---------- */
.h-steps-wrap { position: relative; margin-top: 56px; }
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; position: relative; z-index: 1; }
.h-step { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.h-step-ic { position: relative; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 8px 22px rgba(10,102,216,.10); display: grid; place-items: center; flex: none; }
.h-step-ic .h-ic { width: 30px; height: 30px; }
.h-step-n { position: absolute; top: -2px; right: -2px; width: 23px; height: 23px; border-radius: 50%; background: var(--h-blue); color: #fff; font-size: .74rem; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.h-step h3 { font-size: 1.14rem; letter-spacing: -.02em; }
.h-step p { color: var(--h-mute); font-size: .96rem; margin: 8px auto 0; max-width: 27ch; line-height: 1.5; }
.h-steps-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.h-steps-line path { fill: none; stroke-linecap: round; }
.h-steps-line .h-track { stroke: #DCDCE2; stroke-width: 1.5; stroke-dasharray: 2 6; }
.h-steps-line .h-draw { stroke: var(--h-blue); stroke-width: 2; stroke-opacity: .75; }

/* ---------- Workers ---------- */
.h-feats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 48px; text-align: left; }
.h-feat { background: #fff; border-radius: 20px; padding: 26px 24px; box-shadow: var(--h-sh); }
.h-feat-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--h-tint); display: grid; place-items: center; }
.h-feat h3 { font-size: 1.12rem; margin-top: 18px; letter-spacing: -.015em; }
.h-feat p { color: var(--h-mute); font-size: .95rem; margin: 8px 0 0; line-height: 1.5; }
.h-try { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 20px; padding: clamp(22px, 4vw, 48px); border-radius: 28px; background: var(--h-soft); text-align: left; }
.h-quiz { background: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 28px); box-shadow: var(--h-sh); }
.h-quiz-k { margin: 0; font-size: .8rem; font-weight: 600; color: #0A5BC2; }
.h-quiz-q { margin: 10px 0 0; font-size: 1.06rem; font-weight: 600; line-height: 1.45; }
.h-quiz-o { display: grid; gap: 10px; margin-top: 16px; }
.h-opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; padding: 12px 14px; border: 1.5px solid var(--h-line); border-radius: 14px; background: #fff; font: inherit; font-size: .96rem; color: var(--h-ink); cursor: pointer; line-height: 1.4; transition: border-color .2s ease, background-color .2s ease; }
.h-opt:hover { border-color: var(--h-blue); }
.h-key { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--h-soft); color: var(--h-mute); }
.h-opt.right { border-color: #1A7F37; background: #EDF7EF; }
.h-opt.right .h-key { background: #1A7F37; color: #fff; }
.h-opt.wrong { border-color: #C4291C; background: #FDF0EE; }
.h-opt.wrong .h-key { background: #C4291C; color: #fff; }
.h-quiz-fb { margin: 0; font-size: .93rem; line-height: 1.5; border-radius: 12px; }
.h-quiz-fb:empty { display: none; }
.h-quiz-fb.good, .h-quiz-fb.bad { margin-top: 14px; padding: 12px 14px; }
.h-quiz-fb.good { background: #EDF7EF; } .h-quiz-fb.good b { color: #1A7F37; }
.h-quiz-fb.bad { background: #FDF0EE; } .h-quiz-fb.bad b { color: #C4291C; }
.h-try-tx h3 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); letter-spacing: -.03em; line-height: 1.15; }
.h-try-tx > p { color: var(--h-mute); margin: 14px 0 0; line-height: 1.55; }
.h-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.h-ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.h-tick { width: 22px; height: 22px; margin-top: 1px; }
.h-ticks.big { gap: 18px; margin: 0; }
.h-ticks.big li { font-size: 1.04rem; color: var(--h-mute); }
.h-ticks.big b { color: var(--h-ink); font-weight: 600; }

/* ---------- Register ---------- */
.h-reg { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 52px; text-align: left; }
.h-std { display: flex; gap: 16px; margin-top: 30px; padding: 22px; border-radius: 20px; background: var(--h-tint); }
.h-std-ic { width: 30px; height: 30px; }
.h-std h3 { font-size: 1.04rem; }
.h-std p { margin: 6px 0 0; font-size: .94rem; line-height: 1.5; color: #3A3A3F; }
.h-std .h-std-note { margin-top: 10px; color: var(--h-mute); font-size: .88rem; }
.h-ledger { margin: 0; background: #fff; border-radius: 22px; box-shadow: var(--h-sh); overflow: hidden; }
.h-ledger-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--h-line); }
.h-ledger-tag { font-size: .76rem; color: var(--h-mute); background: var(--h-soft); padding: 3px 9px; border-radius: 999px; }
.h-ledger-t { width: 100%; border-collapse: collapse; font-size: .88rem; }
.h-ledger-t th { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--h-mute); font-weight: 600; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--h-line); white-space: nowrap; }
.h-ledger-t td { padding: 11px 14px; border-bottom: 1px solid #F0F0F3; white-space: nowrap; }
.h-ledger-t td:nth-child(2) { white-space: normal; }
.h-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8rem; color: var(--h-mute); }
.h-ledger-ck { width: 22px; height: 22px; stroke: #1A7F37; display: block; }
.h-ledger figcaption { padding: 12px 20px 16px; font-size: .84rem; color: var(--h-mute); }

/* ---------- Library ---------- */
.h-lib { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; margin-top: 48px; text-align: left; align-items: start; }
.h-path { grid-column: span 2; background: #fff; border-radius: 22px; padding: 22px 18px 14px; box-shadow: var(--h-sh); }
.h-path.p3, .h-path.p4 { grid-column: span 3; }
.h-path-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-inline: 6px; }
.h-path h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.h-path-n { font-size: .8rem; color: var(--h-mute); white-space: nowrap; }
.h-path-d { margin: 6px 0 10px; padding-inline: 6px; color: var(--h-mute); font-size: .9rem; line-height: 1.45; }
.h-path ul { list-style: none; margin: 0; padding: 0; }
.h-path li a { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 8px; align-items: baseline; padding: 9px 6px; border-top: 1px solid #F0F0F3; color: var(--h-ink); text-decoration: none; font-size: .94rem; line-height: 1.35; border-radius: 8px; transition: background-color .15s ease; }
.h-path li a:hover { background: var(--h-soft); }
.h-path li a:hover .h-mt { color: var(--h-blue); }
.h-num { color: var(--h-mute); font-variant-numeric: tabular-nums; font-size: .84rem; text-align: right; }
.h-min { color: var(--h-mute); font-size: .8rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.h-lib-more { margin: 28px auto 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.h-lib-pop { color: var(--h-mute); font-size: .9rem; max-width: 70ch; line-height: 1.6; }
.h-lib-pop a { text-decoration: none; }
.h-lib-pop a:hover { text-decoration: underline; }

/* ---------- Pricing ---------- */
.h-price { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 48px; text-align: left; align-items: stretch; }
.h-plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 26px 22px 22px; box-shadow: var(--h-sh); }
.h-plan.pop { box-shadow: 0 0 0 2px var(--h-blue), 0 18px 44px rgba(10,102,216,.14); }
.h-badge { position: absolute; top: -12px; left: 22px; background: var(--h-blue); color: #fff; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.h-plan h3 { font-size: 1.15rem; }
.h-plan-p { margin: 12px 0 0; }
.h-plan-p b { display: block; font-size: 2.4rem; letter-spacing: -.04em; font-weight: 700; line-height: 1.1; }
.h-plan-p span { color: var(--h-mute); font-size: .88rem; }
.h-plan-d { color: var(--h-mute); font-size: .94rem; margin: 14px 0 0; line-height: 1.5; }
.h-plan-l { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--h-line); display: grid; gap: 10px; font-size: .9rem; flex: 1; align-content: start; }
.h-plan-l li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.h-plan-l .h-tick { width: 18px; height: 18px; }
.h-plan-b { margin-top: 20px; width: 100%; }
.h-price-note { color: var(--h-mute); font-size: .9rem; margin: 22px auto 0; max-width: 70ch; line-height: 1.55; }

/* ---------- FAQ ---------- */
.h-faq { max-width: 780px; margin: 40px auto 0; text-align: left; border-top: 1px solid var(--h-line); }
.h-qa { border-bottom: 1px solid var(--h-line); }
.h-qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 4px; cursor: pointer; border-radius: 8px; }
.h-qa summary::-webkit-details-marker { display: none; }
.h-qa summary h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.h-pm { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--h-soft); transition: background-color .2s ease, transform .3s ease; }
.h-pm::before, .h-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -.9px 0 0 -5.5px; background: var(--h-ink); border-radius: 2px; transition: transform .3s ease; }
.h-pm::after { transform: rotate(90deg); }
.h-qa[open] .h-pm { background: var(--h-tint); }
.h-qa[open] .h-pm::after { transform: rotate(0deg); }
.h-qa summary:hover h3 { color: var(--h-blue); }
.h-qa p { margin: 0; padding: 0 48px 22px 4px; color: var(--h-mute); line-height: 1.6; }

/* ---------- Final CTA ---------- */
.h-final { padding-top: 24px; }
.h-band { position: relative; isolation: isolate; border-radius: 32px; background: radial-gradient(120% 140% at 50% 0%, #F4F8FE 0%, #FFFFFF 60%); padding: clamp(44px, 7vw, 80px) 22px; box-shadow: var(--h-sh); }
.h-band h2 { margin-top: 0; }
.h-band > p:not(.small) { color: var(--h-mute); font-size: 1.15rem; margin: 14px auto 0; max-width: 44ch; line-height: 1.5; }
.h-band-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: -1; pointer-events: none; }
.h-band-line path { fill: none; stroke: var(--h-blue); stroke-width: 1.6; stroke-opacity: .45; stroke-linecap: round; }

/* ---------- Footer ---------- */
.h-foot { max-width: 1120px; margin: 24px auto 0; padding: 32px 0 0; border-top: 1px solid var(--h-line); color: var(--h-mute); font-size: .9rem; }
.h-foot-top { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.h-foot-brand { display: grid; gap: 4px; max-width: 40ch; }
.h-foot-brand b { color: var(--h-ink); font-size: 1rem; }
.h-foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.h-foot-nav a { color: var(--h-ink); text-decoration: none; }
.h-foot-nav a:hover { color: var(--h-blue); text-decoration: underline; text-underline-offset: 3px; }
.h-disc { margin: 24px 0 0; padding: 16px 18px; background: var(--h-soft); border-radius: 14px; font-size: .86rem; line-height: 1.55; color: #515156; }
.h-copy { margin: 16px 0 0; font-size: .82rem; }

/* ---------- Scroll reveal (only when sitefx is active and motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fx-site .h-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--rv-i, 0) * 80ms); }
  .fx-site .h-rv.fx-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .h-feats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .h-price { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 26px; }
  .h-lib { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .h-path, .h-path.p3, .h-path.p4 { grid-column: auto; }
  .h-win { margin-right: 110px; }
}
@media (max-width: 860px) {
  .h-try, .h-reg { grid-template-columns: 1fr; }
  .h-win-row { grid-template-columns: 30px minmax(0,1fr) auto; }
  .h-win-m, .h-win-d { display: none; }
}
@media (max-width: 760px) {
  .h-steps-wrap { margin-top: 36px; }
  .h-steps { grid-template-columns: 1fr; gap: 30px; }
  .h-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; }
  .h-step-ic { width: 60px; height: 60px; }
  .h-step-ic .h-ic { width: 26px; height: 26px; }
  .h-step-tx { padding-top: 6px; min-width: 0; }
  .h-step p { margin-inline: 0; max-width: none; }
  .h-conn { height: 80px; }
  .h-conn svg { height: 80px; }
}
@media (max-width: 640px) {
  .h-stage { padding-bottom: 0; }
  .h-win { margin-right: 0; }
  .h-win-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 14px 14px 4px; }
  .h-win-top em { display: none; }
  .h-phone { position: relative; top: auto; right: auto; width: 230px; margin: -70px 0 0 auto; margin-right: 6px; }
  .h-feats, .h-price, .h-lib { grid-template-columns: 1fr; }
  .h-feats { gap: 12px; margin-top: 32px; }
  .h-feat { display: grid; grid-template-columns: 46px minmax(0,1fr); column-gap: 16px; padding: 20px 18px; }
  .h-feat-ic { grid-row: span 2; }
  .h-feat h3 { margin-top: 2px; }
  .h-cta .h-btn { flex: 1 1 100%; }
  .h-cta.left .h-btn { flex: 0 0 auto; }
  .h-ledger-t th:nth-child(4), .h-ledger-t td:nth-child(4) { display: none; }
  .h-qa p { padding-right: 4px; }
  .h-std { flex-direction: column; gap: 10px; }
  .h-band { border-radius: 24px; }
}
@media print { .h-hero-art, .h-conn, .h-steps-line, .h-band-line { display: none !important; } }

/* ---------- Static SEO pages (tools/build_seo.py) ---------- */
.h-seo { max-width: 1120px; padding-top: 24px; }
.h-seo-brand { text-decoration: none; }
.h-seo-nav { display: flex; align-items: center; gap: 18px; }
.h-seo-nav a:not(.btn) { color: var(--fg, #1D1D1F); text-decoration: none; font-size: .95rem; }
.h-seo-nav a:not(.btn):hover { color: #0A66D8; }
.h-seo-nav .btn { text-decoration: none; }
.h-seo a.btn { text-decoration: none; }
.h-site a.btn:not(.secondary) { color: #fff; }
.h-seo a.btn.secondary { color: var(--h-ink); }
.h-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--h-mute); margin: 4px 0 0; }
.h-crumbs a { color: var(--h-mute); text-decoration: none; }
.h-crumbs a:hover { color: var(--h-blue); text-decoration: underline; }
.h-seo-head { margin-top: 28px; max-width: 760px; }
.h-seo-head.center { text-align: center; margin-inline: auto; }
.h-seo-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.04em; line-height: 1.06; font-weight: 700; margin-top: 10px; }
.h-seo-head .h-lead { margin: 16px 0 0; max-width: 56ch; }
.h-seo-head.center .h-lead { margin-inline: auto; }
.h-seo-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.h-seo-facts li { font-size: .86rem; padding: 6px 12px; border-radius: 999px; background: var(--h-soft); }
.h-seo-facts li:first-child { background: var(--h-tint); color: #0A5BC2; font-weight: 600; }
.h-seo-banner { display: block; width: 100%; height: auto; margin-top: 40px; border-radius: 24px; box-shadow: var(--h-sh); }
.h-seo-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: clamp(28px, 5vw, 64px); margin-top: 48px; }
.h-seo-grid h2, .h-seo-rel h2 { font-size: 1.5rem; letter-spacing: -.03em; }
.h-seo-grid h2 + p, .h-seo-grid h2 + ol, .h-seo-grid h2 + ul { margin-top: 12px; }
.h-seo-grid p { color: #3A3A3F; line-height: 1.6; }
.h-seo-grid section > h2:not(:first-child) { margin-top: 32px; }
.h-seo-steps { padding-left: 20px; display: grid; gap: 10px; color: #3A3A3F; line-height: 1.55; }
.h-seo-outs { padding-left: 20px; display: grid; gap: 8px; color: #3A3A3F; line-height: 1.5; }
.h-seo-learn { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; counter-reset: l; }
.h-seo-learn li { counter-increment: l; position: relative; padding: 18px 20px 18px 62px; background: #fff; border-radius: 18px; box-shadow: var(--h-sh); }
.h-seo-learn li::before { content: counter(l); position: absolute; left: 20px; top: 17px; width: 28px; height: 28px; border-radius: 50%; background: var(--h-tint); color: #0A5BC2; font-weight: 600; font-size: .85rem; display: grid; place-items: center; }
.h-seo-learn h3 { font-size: 1.05rem; }
.h-seo-learn p { margin: 6px 0 0; font-size: .93rem; color: var(--h-mute); }
.h-seo-note { margin: 40px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--h-soft); color: #515156; font-size: .9rem; line-height: 1.55; }
.h-seo-rel { margin-top: 64px; }
.h-seo-cards { list-style: none; padding: 0; margin: 20px 0 16px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.h-seo-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border-radius: 18px; background: #fff; box-shadow: var(--h-sh); text-decoration: none; color: var(--h-ink); transition: transform .2s ease, box-shadow .2s ease; }
.h-seo-cards a:hover { transform: translateY(-2px); }
.h-seo-cards a:hover b { color: var(--h-blue); }
.h-seo-cards .h-eyebrow { font-size: .78rem; }
.h-seo-cards b { font-size: 1.02rem; line-height: 1.3; }
.h-seo-cards span:last-child { color: var(--h-mute); font-size: .88rem; line-height: 1.45; }
.h-seo-cta { margin: 72px 0 0; text-align: center; padding: clamp(36px, 6vw, 64px) 20px; border-radius: 28px; background: radial-gradient(120% 140% at 50% 0%, #EEF4FD 0%, #F8FAFE 70%); }
.h-seo-cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.035em; }
.h-seo-cta p { color: var(--h-mute); margin: 10px auto 0; max-width: 46ch; }
.h-seo-cta .h-cta { margin-top: 24px; }
.h-seo-lib { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 44px; align-items: start; }
.h-seo-path { grid-column: auto !important; }
.h-seo-path h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.h-seo-path .h-mt { display: grid; gap: 3px; }
.h-seo-path .h-mt small { color: var(--h-mute); font-size: .84rem; line-height: 1.4; }
.h-seo-path li a { padding-block: 12px; }
@media (max-width: 860px) {
  .h-seo-grid, .h-seo-lib { grid-template-columns: 1fr; }
  .h-seo-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .h-seo-cards { grid-template-columns: 1fr; }
  .h-seo-nav a:not(.btn) { display: none; }
  .h-seo-banner { border-radius: 16px; margin-top: 28px; }
  .h-seo-learn li { padding-left: 56px; }
}

/* ---------- Scroll-drawn lines: richer look ---------- */
.h-hero-art { transition: transform .15s linear; will-change: transform; }
.h-hero-art .l1 { stroke-width: 2.2; stroke-opacity: 1; }
.h-hero-art .l1h { stroke-width: 9; stroke-opacity: .10; }
.h-hero-art .l2 { stroke-width: 1.4; stroke-opacity: .2; }
.h-hero-art .ck { stroke-width: 2.8; stroke-opacity: 1; stroke: #0A66D8; }
.h-hero-art .sp { stroke: #2E8BFF; stroke-width: 2; stroke-opacity: .9; }
.fx-pen { pointer-events: none; transition: opacity .25s ease; }
.fx-pen-dot { fill: #0A66D8; }
.fx-pen-glow { fill: #2E8BFF; opacity: .22; }
@keyframes fx-pulse { 0%, 100% { r: 10; opacity: .22; } 50% { r: 14; opacity: .1; } }
.fx-pen-glow { animation: fx-pulse 1.6s ease-in-out infinite; }
.h-conn { height: 120px; margin: 36px auto 0; width: min(100%, 720px); }
.h-conn svg { width: 100%; height: 120px; overflow: visible; }
.h-conn path { stroke: #0A66D8; stroke-width: 2; stroke-opacity: .7; stroke-linecap: round; }
.h-conn .h-conn-halo { stroke-width: 10; stroke-opacity: .07; }
.h-conn .h-conn-dot { fill: #fff; stroke: #0A66D8; stroke-width: 2; }
.h-steps-line .h-track { stroke: #E3E3E8; stroke-width: 1.5; stroke-dasharray: 2 6; }
.h-steps-line .h-draw { stroke: #0A66D8; stroke-width: 2.4; stroke-opacity: .9; }
.h-step-ic { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease, background .5s ease; }
.h-step.is-lit .h-step-ic { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(10,102,216,.14), 0 10px 26px rgba(10,102,216,.18); }
.h-step.is-lit .h-step-n { animation: fx-pop .45s cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes fx-pop { from { transform: scale(.5); } to { transform: scale(1); } }
.h-band-line path { stroke-width: 2; stroke-opacity: .55; }
@media (max-width: 700px) { .h-conn { height: 80px; } .h-conn svg { height: 80px; } }
@media (prefers-reduced-motion: reduce) { .fx-pen { display: none; } .h-step-ic { transition: none; } .h-step.is-lit .h-step-n { animation: none; } .h-hero-art { transform: none !important; } }

/* ---------- Timeline: a worker's first year ---------- */
.h-tl-wrap { position: relative; margin-top: 48px; }
.h-tl-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.h-tl-line path { fill: none; stroke-linecap: round; }
.h-tl-line .h-track { stroke: #E3E3E8; stroke-width: 1.5; stroke-dasharray: 2 6; }
.h-tl-line .h-draw { stroke: #0A66D8; stroke-width: 2.4; stroke-opacity: .9; }
.h-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; z-index: 1; }
.h-tl-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.h-tl-dot { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 8px 22px rgba(10,102,216,.10); color: #6E6E73; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease, color .4s ease, background .4s ease; }
.h-tl-dot b { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.h-tl-dot b small { font-size: .7rem; font-weight: 600; margin-left: 1px; }
.h-tl-node.is-lit .h-tl-dot { background: #0A66D8; color: #fff; transform: scale(1.06); box-shadow: 0 0 0 4px rgba(10,102,216,.14), 0 10px 26px rgba(10,102,216,.22); }
.h-tl-txt { opacity: .45; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; max-width: 28ch; }
.h-tl-node.is-lit .h-tl-txt { opacity: 1; transform: none; }
.h-tl-txt h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.h-tl-txt p { margin: 6px 0 0; color: #6E6E73; font-size: .95rem; line-height: 1.5; }
.h-tl-txt p b { color: #0A66D8; }

/* ---------- Pathway map: who gets what ---------- */
.h-map-wrap { position: relative; margin-top: 44px; display: grid; justify-items: center; gap: 72px; }
.h-map-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.h-map-line path { fill: none; stroke-linecap: round; }
.h-map-line .h-track { stroke: #E3E3E8; stroke-width: 1.5; stroke-dasharray: 2 6; }
.h-map-line .h-draw { stroke: #0A66D8; stroke-width: 2.4; stroke-opacity: .9; }
.h-map-root, .h-map-leaf { position: relative; z-index: 1; background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05); display: grid; gap: 4px; text-align: center; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; opacity: .55; }
.h-map-root { min-width: 280px; }
.h-map-root.is-lit, .h-map-leaf.is-lit { opacity: 1; box-shadow: 0 0 0 1.5px #0A66D8, 0 12px 30px rgba(10,102,216,.16); }
.h-map-leaf.is-lit { transform: translateY(-4px); }
.h-map-k { font-size: .8rem; font-weight: 600; color: #6E6E73; letter-spacing: .01em; }
.h-map-root > b, .h-map-leaf > b { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #1D1D1F; }
.h-map-root.is-lit > b, .h-map-leaf.is-lit > b { color: #0A66D8; }
.h-map-s { font-size: .85rem; color: #6E6E73; }
.h-map-leaves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.h-map-note { margin: 22px auto 0; max-width: 62ch; text-align: center; color: #6E6E73; font-size: .92rem; }
@media (max-width: 759px) {
  .h-tl { grid-template-columns: 1fr; gap: 26px; }
  .h-tl-node { flex-direction: row; text-align: left; align-items: flex-start; }
  .h-tl-dot { flex: none; width: 56px; height: 56px; }
  .h-map-wrap { justify-items: stretch; gap: 28px; padding-left: 0; }
  .h-map-root { margin-left: 0; text-align: left; }
  .h-map-leaves { grid-template-columns: 1fr; margin-left: 56px; }
  .h-map-leaf { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .h-tl-txt, .h-map-root, .h-map-leaf { opacity: 1; transform: none; transition: none; } .h-tl-dot { transition: none; } }
@media print { .h-tl-line, .h-map-line { display: none !important; } .h-tl-txt, .h-map-root, .h-map-leaf { opacity: 1 !important; } }

/* ---------- top navigation (signed out) ---------- */
.bar .topnav { display: flex; align-items: center; gap: 2px; margin-left: 18px; flex: 1; min-width: 0; }
.bar .topnav[hidden] { display: none; }
.bar .topnav a { padding: 7px 11px; border-radius: 8px; color: #3A3A3F; text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.bar .topnav a:hover, .bar .topnav a:focus-visible { background: rgba(10,102,216,.08); color: #0A66D8; outline: none; }
.bar .acct { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bar .tn-in { background: transparent; color: #1D1D1F; box-shadow: none; }
.bar .tn-in:hover { background: rgba(0,0,0,.05); }
.tn-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.tn-burger span { display: block; height: 2px; border-radius: 2px; background: #1D1D1F; transition: transform .25s, opacity .25s; }
.tn-open .tn-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.tn-open .tn-burger span:nth-child(2) { opacity: 0; }
.tn-open .tn-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1100px) { .bar .topnav a[href="?verify"], .bar .topnav a[href="#register"] { display: none; } }
@media (max-width: 920px) {
  .tn-burger { display: flex; }
  .bar .tn-trial { display: none; }
  .bar .topnav { position: fixed; left: 0; right: 0; top: 57px; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px 16px; background: #fff; border-bottom: 1px solid #E5E5EA; box-shadow: 0 18px 30px rgba(0,0,0,.08); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .tn-open .bar .topnav { opacity: 1; transform: none; pointer-events: auto; }
  .bar .topnav a, .bar .topnav a[href="?verify"], .bar .topnav a[href="#register"] { display: block; padding: 13px 10px; font-size: 1rem; border-bottom: 1px solid #F0F0F3; border-radius: 0; }
}
.h-sec[id] { scroll-margin-top: 72px; }

/* ---------- trust strip under hero ---------- */
.h-trust { max-width: 1200px; margin: 34px auto 0; padding: 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: #55555B; font-size: .88rem; }
.h-trust span { display: inline-flex; align-items: center; gap: 8px; }
.h-trust svg { width: 18px; height: 18px; color: #0A66D8; flex: none; }

/* ---------- real scenario still in the phone mock ---------- */
.h-phone-shot { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #E9EEF5; }
.h-phone-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-phone-shot .h-pt { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px 4px; border-radius: 6px; background: rgba(255,255,255,.95); border-left: 3px solid #0A66D8; font-size: .6rem; line-height: 1.2; color: #1D1D1F; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.h-phone-shot .h-pt b { display: block; font-size: .66rem; }

/* ---------- footer columns ---------- */
.h-foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.h-foot-cols h3 { margin: 0 0 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #1D1D1F; }
.h-foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.h-foot-cols a { color: #55555B; text-decoration: none; font-size: .92rem; }
.h-foot-cols a:hover { color: #0A66D8; }
.h-foot-cols .h-foot-brand span { display: block; margin-top: 6px; color: #6E6E73; font-size: .92rem; max-width: 34ch; }
@media (max-width: 759px) { .h-foot-cols { grid-template-columns: 1fr 1fr; } .h-foot-cols > :first-child { grid-column: 1 / -1; } }

/* ---------- sample scenario page ---------- */
.pv { max-width: 980px; margin: 0 auto; padding: 40px 16px 64px; }
.pv h1 { margin: 6px 0 10px; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em; }
.pv-org { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 18px 0 18px; }
.pv-org .f { flex: 1; min-width: 220px; margin: 0; }
.pv-cta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- plan length toggle ---------- */
.h-term { display: inline-flex; gap: 4px; margin: 28px auto 0; padding: 4px; border-radius: 999px; background: #EEF0F4; }
.h-term button { border: 0; background: transparent; font: inherit; font-size: .92rem; font-weight: 600; color: #3A3A3F; padding: 9px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.h-term button[aria-checked="true"] { background: #fff; color: #1D1D1F; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.h-term em { font-style: normal; font-size: .72rem; font-weight: 700; color: #127A4B; background: #E3F5EC; padding: 2px 7px; border-radius: 999px; }
.h-plan-t { margin: 6px 0 0; font-size: .8rem; color: #127A4B; font-weight: 600; min-height: 2.4em; }
.h-link-inline { color: #0A66D8; font-weight: 600; }
#pricing { text-align: center; }
@media (max-width: 520px) { .h-term button { padding: 8px 11px; font-size: .84rem; } .h-term em { display: none; } }

/* ---------- individual plans ---------- */
.h-ind { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 16px; margin-top: 40px; text-align: left; }
@media (max-width: 759px) { .h-ind { grid-template-columns: 1fr; } }
#individuals { text-align: center; }

/* ---------- legal pages ---------- */
.lg { max-width: 780px; margin: 0 auto; padding: 40px 16px 72px; }
.lg h1 { margin: 6px 0 4px; font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.03em; }
.lg-up { color: #6E6E73; margin: 0 0 18px; font-size: .9rem; }
.lg-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.lg-nav a { padding: 7px 14px; border-radius: 999px; background: #F2F3F6; color: #3A3A3F; text-decoration: none; font-size: .88rem; font-weight: 500; }
.lg-nav a[aria-current="page"] { background: #0A66D8; color: #fff; }
.lg-body { line-height: 1.65; color: #2A2A2E; }
.lg-body h2 { font-size: 1.15rem; margin: 28px 0 8px; letter-spacing: -.01em; }
.lg-body ul { padding-left: 20px; display: grid; gap: 6px; }
.lg-body a { color: #0A66D8; }
a.btn, a.h-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
