/* =============================================================
   FinanceOS homepage blocks (fos/home-*). Everything is scoped
   under .fos-hb. Values come from the Dec 2026 design boards.
   Mobile = max-width 720px.
   ============================================================= */

/* Same specificity as home.css's white + one :has(), so it wins whatever the load order. */
body.page-template-page-home:has(.fos-hb-bento), body:has(.fos-hb-bento) { background: #fffbf5; }

.fos-hb {
	--hb-ink: #1a1a2e;
	--hb-navy: #0c142b;
	--hb-pink: #e01e5a;
	--hb-hot: #f93576;
	--hb-orange: #ffa310;
	--hb-muted: #5a5a6e;
	--hb-line: #e8e4dd;
	--hb-mono: 'JetBrains Mono', ui-monospace, monospace;
	--hb-shadow: 0 30px 80px -24px rgba(12, 20, 43, 0.1), 0 12px 36px -16px rgba(12, 20, 43, 0.06);
	box-sizing: border-box;
	color: var(--hb-ink);
	font-family: Poppins, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}
.fos-hb *, .fos-hb *::before, .fos-hb *::after { box-sizing: border-box; }
.fos-hb a { text-decoration: none; }
.fos-hb :focus-visible { outline: 2px solid var(--hb-hot); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.fos-hb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px;
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.fos-hb-btn:hover { transform: translateY(-1px); }
.fos-hb-btn--pink { background: var(--hb-pink); color: #fff; }
.fos-hb-btn--pink:hover { background: #c81950; color: #fff; }
.fos-hb-btn--navy { background: var(--hb-navy); color: #fff; }
.fos-hb-btn--ghost { background: #fff; border: 1px solid var(--hb-ink); color: var(--hb-ink); font-weight: 500; }
.fos-hb-btn--lg { min-height: 56px; padding: 0 28px; gap: 10px; font-size: 16px; }
.fos-hb-btn--pink.fos-hb-btn--lg { box-shadow: 0 14px 30px -14px rgba(224, 30, 90, 0.65); }

/* ---------- Hero ---------- */
.fos-hb-hero { position: relative; isolation: isolate; overflow-x: clip; padding: 96px 24px 40px; }
.fos-hb-hero__grid {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255, 163, 16, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 163, 16, 0.07) 1px, transparent 1px);
	background-size: 96px 96px; background-position: center top;
	-webkit-mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%);
}
.fos-hb-hero__glow {
	position: absolute; z-index: -1; pointer-events: none; width: 760px; height: 760px; border-radius: 50%;
	background: var(--hb-orange); opacity: 0.1; filter: blur(160px); top: 40px; left: 50%; transform: translateX(-50%);
}
.fos-hb-hero__inner { max-width: 960px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.fos-hb-hero__title { margin: 0; font-size: clamp(40px, 4.7vw, 68px); line-height: 1.04; font-weight: 300; letter-spacing: -0.045em; text-wrap: balance; color: var(--hb-ink); }
.fos-hb-hero__accent { font-weight: 500; color: var(--hb-pink); white-space: nowrap; }
.fos-hb-hero__sub { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.65; color: var(--hb-muted); text-wrap: pretty; }
.fos-hb-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* ---------- Bento grid ---------- */
.fos-hb-bento {
	max-width: 1240px; margin: 0 auto; padding: 64px 48px 120px;
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px;
}
.fos-hb-bento > * { grid-column: span 12; min-width: 0; }

/* ---------- Webinars card ---------- */
.fos-hb-web {
	position: relative; overflow: hidden; border-radius: 32px; padding: 36px 40px; color: #fff;
	display: flex; flex-direction: column; gap: 28px;
	background: radial-gradient(90% 90% at 0% 115%, rgba(70, 70, 206, 0.3) 0%, rgba(35, 42, 107, 0.18) 35%, rgba(12, 20, 43, 0) 70%), linear-gradient(160deg, #121A3C 0%, #0C142B 55%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px -24px rgba(12, 20, 43, 0.35);
}
.fos-hb-web__glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: #4646CE; opacity: 0.4; filter: blur(150px); top: -300px; right: -120px; pointer-events: none; }
.fos-hb-web__top { position: relative; display: flex; flex-wrap: wrap; gap: 36px; align-items: stretch; }
.fos-hb-web__text { flex: 5 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fos-hb-web__side { flex: 7 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.fos-hb-web__title { margin: 0; font-size: clamp(44px, 4.6vw, 64px); line-height: 0.95; font-weight: 500; letter-spacing: -0.05em; color: #fff; }
.fos-hb-web__body { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.6; color: #c4c8db; }
.fos-hb-web__list { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.fos-hb-web__kicker { margin: 0 0 4px; font-family: var(--hb-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #a3a8c3; }
.fos-hb-web__lineup ol { margin: 0; padding: 0; list-style: none; }
.fos-hb-web__lineup li { display: flex; gap: 16px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; line-height: 1.4; color: #e6e8f2; }
.fos-hb-web__lineup li.is-aired { opacity: 0.55; }
.fos-hb-web__wk { flex: none; width: 104px; padding-top: 3px; font-family: var(--hb-mono); font-size: 11px; color: #a3a8c3; }

.fos-hb-web__pl { display: flex; flex-direction: column; gap: 6px; }
.fos-hb-web__pl-item {
	display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; padding: 7px 10px; border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08); background: transparent; color: #fff; font: inherit; cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease;
}
.fos-hb-web__pl-item:hover { background: rgba(255, 255, 255, 0.05); }
.fos-hb-web__pl-item.is-active { background: rgba(249, 53, 118, 0.14); border-color: rgba(249, 53, 118, 0.55); }
.fos-hb-web__pl-n { flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; font-family: var(--hb-mono); font-size: 11px; font-weight: 700; }
.fos-hb-web__pl-item.is-active .fos-hb-web__pl-n { background: var(--hb-pink); }
.fos-hb-web__pl-title { font-size: 14px; line-height: 1.3; font-weight: 500; }

/* Registration card (announced) */
.fos-hb-reg {
	width: 100%; aspect-ratio: 16 / 9; background: #fff; color: var(--hb-ink); border-radius: 20px; padding: 30px;
	display: flex; flex-direction: column; justify-content: center; gap: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.fos-hb-reg__label { margin: 0; font-family: var(--hb-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--hb-pink); }
.fos-hb-cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fos-hb-cd__cell { background: var(--hb-navy); color: #fff; border-radius: 14px; padding: 13px 0 10px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.fos-hb-cd__v { font-family: var(--hb-mono); font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.fos-hb-cd__l { font-size: 12px; line-height: 1.3; color: #a3a8c3; }
.fos-hb-cd__live { grid-column: 1 / -1; margin: 0; padding: 16px; border-radius: 14px; background: var(--hb-navy); color: #fff; text-align: center; font-size: 20px; font-weight: 500; }
.fos-hb-seat { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.fos-hb-seat label { margin-top: 4px; font-size: 15px; font-weight: 500; }
.fos-hb-seat input[type="email"] { height: 54px; width: 100%; padding: 0 18px; border: 1.5px solid var(--hb-line); border-radius: 14px; background: #fffbf5; color: var(--hb-ink); font: inherit; font-size: 16px; }
.fos-hb-seat input[type="email"]:focus { outline: none; border-color: var(--hb-pink); }
.fos-hb-seat .fos-hb-btn { min-height: 56px; font-size: 17px; }
.fos-hb-reg__note { margin: 0; font-size: 13px; color: #6a6e80; text-align: center; }

/* Player (quiet). Markup comes from financeos_w2_player(); webinars-v2.css is not loaded here. */
.fos-hb-web .w2-player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #131b36; border: 3px solid rgba(255, 255, 255, 0.9); color: #fff; }
.fos-hb-web .w2-player-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fos-hb-web .w2-player-ui { position: absolute; inset: 0; }
.fos-hb-web .w2-player-badge { position: absolute; left: 16px; top: 16px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--hb-navy); font-family: var(--hb-mono); font-size: 11px; letter-spacing: 0.1em; }
.fos-hb-web .w2-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; border: 0;
	background: var(--hb-pink); box-shadow: 0 0 0 10px rgba(224, 30, 90, 0.2); display: flex; align-items: center; justify-content: center; cursor: pointer;
	transition: transform 160ms ease;
}
.fos-hb-web .w2-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.fos-hb-web .w2-play svg { width: 22px; height: 22px; }
.fos-hb-web .w2-player-soon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: var(--hb-navy); font-size: 14px; }
.fos-hb-web .w2-player-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.fos-hb-web .w2-player-title { margin: 0; padding: 9px 12px; border-radius: 12px; background: var(--hb-navy); font-size: 14px; line-height: 1.3; font-weight: 500; }
.fos-hb-web .w2-player-bar, .fos-hb-web .w2-player-kicker { display: none; }
.fos-hb-web .w2-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* On-demand rail */
.fos-hb-web__bottom { position: relative; display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.fos-hb-web--empty .fos-hb-web__bottom { border-top: 0; padding-top: 0; }
.fos-hb-web__bottom-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.fos-hb-web__rail-title { margin: 0; font-size: 17px; font-weight: 300; letter-spacing: -0.02em; }
.fos-hb-web__rail-title span { font-weight: 500; }
.fos-hb-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.fos-hb-rail__item { display: flex; flex-direction: column; gap: 2px; color: #fff; }
.fos-hb-rail__item:hover { color: #fff; }
.fos-hb-rail__thumb { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 6px; border-radius: 12px; overflow: hidden; background: #131b36; border: 1px solid rgba(255, 255, 255, 0.12); }
.fos-hb-rail__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms ease; }
.fos-hb-rail__item:hover .fos-hb-rail__thumb img { transform: scale(1.04); }
.fos-hb-rail__play { position: absolute; left: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--hb-pink); display: flex; align-items: center; justify-content: center; }
.fos-hb-rail__meta { font-family: var(--hb-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: #a3a8c3; }
.fos-hb-rail__title { font-size: 14px; line-height: 1.3; font-weight: 500; }

/* ---------- Newsletter card ---------- */
.fos-hb .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fos-hb-bento > .fos-hb-nl { grid-column: span 7; grid-row: span 2; }
.fos-hb-nl {
	position: relative; overflow: hidden; min-height: 520px; border-radius: 36px; padding: 40px; color: var(--hb-ink);
	display: flex; flex-wrap: wrap; gap: 28px 32px; align-items: flex-start; align-content: space-between;
	background: radial-gradient(70% 60% at 100% 0%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%), radial-gradient(80% 70% at 0% 100%, rgba(250, 53, 118, 0.12) 0%, rgba(250, 53, 118, 0) 70%), #FFD7E5;
	box-shadow: var(--hb-shadow); scroll-margin-top: 96px;
}
.fos-hb-nl__main { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fos-hb-nl__title { margin: 0; font-size: clamp(36px, 3.6vw, 50px); line-height: 1.02; font-weight: 300; letter-spacing: -0.045em; color: var(--hb-ink); }
.fos-hb-nl__title span { font-weight: 600; }
.fos-hb-nl__body { margin: 0; font-size: 16px; line-height: 1.6; color: #5a2a3e; }
.fos-hb-nl__form { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 0; }
.fos-hb-nl__form input[type="email"] { height: 54px; width: 100%; padding: 0 22px; border: 0; border-radius: 999px; background: #fff; color: var(--hb-ink); font: inherit; font-size: 16px; box-shadow: 0 14px 28px -20px rgba(176, 18, 74, 0.45); }
.fos-hb-nl__form .fos-hb-btn { height: 54px; font-size: 15px; }
.fos-hb-nl__note { margin: -2px 0 0; padding-left: 4px; font-size: 12px; color: #7a4a5c; }
.fos-hb-nl__issue {
	flex: 0 0 200px; align-self: stretch; min-height: 320px; margin-left: auto; margin-top: 32px; position: relative; overflow: hidden; border-radius: 18px;
	background: #fff; border: 1px solid rgba(176, 18, 74, 0.14); box-shadow: 0 28px 56px -30px rgba(176, 18, 74, 0.55);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.fos-hb-nl__track { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; animation: fos-hb-nl-scroll 36s linear infinite; }
.fos-hb-nl__track img { width: 100%; height: auto; display: block; }
@keyframes fos-hb-nl-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.fos-hb-nl__chips { flex: 1 1 100%; padding-top: 20px; border-top: 1px solid rgba(176, 18, 74, 0.18); display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.fos-hb-nl__chips p { margin: 0; flex: none; font-family: var(--hb-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: #b0124a; }
.fos-hb-nl__chips ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.fos-hb-nl__chips li { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); font-size: 13px; font-weight: 500; white-space: nowrap; }
.fos-hb-nl__chips li span { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }

/* ---------- Cards (Academy, Prompts, Articles, Events, Forum) ---------- */
.fos-hb-card {
	border-radius: 32px; padding: 30px; background: #fff; color: var(--hb-ink); box-shadow: var(--hb-shadow);
	display: flex; flex-direction: column; gap: 10px; transition: transform 200ms ease, box-shadow 200ms ease;
}
a.fos-hb-card:hover { color: var(--hb-ink); transform: translateY(-2px); }
.fos-hb-card__title { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 500; letter-spacing: -0.6px; color: var(--hb-ink); }
.fos-hb-card__title a { color: inherit; }
.fos-hb-card__body { margin: 0; font-size: 14px; line-height: 1.6; color: var(--hb-muted); }
.fos-hb-card__link { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--hb-ink); }
.fos-hb-bento > .fos-hb-card--academy, .fos-hb-bento > .fos-hb-card--prompts { grid-column: span 5; }
.fos-hb-bento > .fos-hb-card--articles { grid-column: span 6; }
.fos-hb-bento > .fos-hb-card--icon { grid-column: span 3; }
/* Events hidden → Forum takes its space. */
.fos-hb-bento:not(:has(.fos-hb-card--calendar)) > .fos-hb-card--chat { grid-column: span 6; }
.fos-hb-bento:not(:has(.fos-hb-card--chat)) > .fos-hb-card--calendar { grid-column: span 6; }

.fos-hb-card--academy { background: radial-gradient(90% 80% at 100% 0%, #FFF8EE 0%, rgba(255, 248, 238, 0) 60%), #fff; }
.fos-hb-card--academy .fos-hb-card__body { color: #3a3f63; }
.fos-hb-path { display: flex; align-items: center; margin: 8px 0 2px; }
.fos-hb-path__dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid #a3a8c3; color: #6a6e80; font-family: var(--hb-mono); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fos-hb-path__dot.is-now { border-color: var(--hb-navy); color: var(--hb-ink); }
.fos-hb-path__dot.is-done { background: var(--hb-navy); border-color: var(--hb-navy); color: #fff; }
.fos-hb-path__line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #a3a8c3 0 5px, transparent 5px 10px); }
.fos-hb-path__line.is-done { background: var(--hb-navy); }
.fos-hb-path__cert { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--hb-orange); display: flex; align-items: center; justify-content: center; }
.fos-hb-path__labels { display: flex; justify-content: space-between; font-family: var(--hb-mono); font-size: 10px; letter-spacing: 0.08em; color: #3a3f63; }

.fos-hb-card--prompts { background: radial-gradient(145% 125% at 6% 122%, #FFC759 0%, #FFDFA0 14%, #FFEFD9 38%, #FFF8EE 62%); box-shadow: 0 4px 16px rgba(255, 163, 15, 0.16), 0 30px 80px -24px rgba(12, 20, 43, 0.08); }
.fos-hb-card--prompts .fos-hb-card__body { color: #5a4320; }
.fos-hb-card__sample { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; }
.fos-hb-card__sample > span:first-child { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.fos-hb-card__sample-tag { font-family: var(--hb-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: #8a5300; }
.fos-hb-card__sample-title { font-size: 14px; font-weight: 600; }
.fos-hb-card__sample-arrow { color: var(--hb-pink); }

.fos-hb-card--articles { padding: 32px; flex-direction: row; flex-wrap: wrap; gap: 28px; }
.fos-hb-card--articles .fos-hb-card__main { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.fos-hb-card--articles .fos-hb-card__title { font-size: 26px; line-height: 1.15; letter-spacing: -0.5px; }
.fos-hb-card__more { margin-top: auto; padding-top: 6px; }
.fos-hb-card__more .fos-hb-card__link { padding-top: 0; }
.fos-hb-card__more:hover .fos-hb-card__link, .fos-hb-card__row a:hover { color: var(--hb-pink); }
.fos-hb-card__list { flex: 1 1 200px; margin: 0; padding: 0; list-style: none; align-self: center; }
.fos-hb-card__row { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--hb-line); }
.fos-hb-card__row:first-child { border-top-color: var(--hb-ink); }
.fos-hb-card__row:last-child { border-bottom: 1px solid var(--hb-line); }
.fos-hb-card__num { flex: none; font-family: var(--hb-mono); font-size: 11px; font-weight: 700; color: var(--hb-pink); }
.fos-hb-card__row a, .fos-hb-card__row > span:last-child { font-size: 17px; line-height: 1.3; font-weight: 500; color: var(--hb-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.fos-hb-card--icon { min-height: 280px; }
.fos-hb-card__icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.fos-hb-card--tint-pink .fos-hb-card__icon { background: #ffe6ee; color: #b0124a; }
.fos-hb-card--tint-gold .fos-hb-card__icon { background: #FFE8BA; color: var(--hb-navy); }
.fos-hb-card--icon .fos-hb-card__title { margin-top: 8px; font-size: 22px; line-height: 1.2; letter-spacing: -0.4px; }
.fos-hb-card--icon .fos-hb-card__body { line-height: 1.55; }
.fos-hb-card--icon .fos-hb-card__link { padding-top: 0; }
.fos-hb-card--chat .fos-hb-card__link { color: var(--hb-pink); }

/* ---------- FAQ ---------- */
.fos-hb-faq { max-width: 1240px; margin: 0 auto; padding: 0 48px 120px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.fos-hb-faq__title { margin: 0; text-align: center; font-size: clamp(34px, 4vw, 56px); line-height: 1.02; font-weight: 300; letter-spacing: -0.035em; color: var(--hb-ink); }
.fos-hb-faq__pills { width: 100%; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fos-hb-faq__pill {
	min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--hb-line); background: #fff; color: var(--hb-ink);
	font: inherit; font-size: 14px; font-weight: 500; line-height: 1.3; cursor: pointer;
	transition: background 200ms cubic-bezier(0.2, 0.8, 0.2, 1), color 200ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fos-hb-faq__pill:hover { border-color: var(--hb-ink); }
.fos-hb-faq__pill[aria-pressed="true"] { background: var(--hb-navy); border-color: var(--hb-navy); color: #fff; }
.fos-hb-faq__answer { width: 100%; max-width: 880px; min-height: 168px; border-radius: 28px; background: #fff; box-shadow: var(--hb-shadow); padding: 32px 40px; }
.fos-hb-faq__item[hidden] { display: none; }
.fos-hb-faq__item h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; font-weight: 500; color: var(--hb-ink); }
.fos-hb-faq__item p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--hb-muted); }

@media (max-width: 1000px) and (min-width: 721px) {
	.fos-hb-bento > .fos-hb-nl { grid-column: span 12; grid-row: auto; min-height: 0; }
	.fos-hb-bento > .fos-hb-card--academy, .fos-hb-bento > .fos-hb-card--prompts, .fos-hb-bento > .fos-hb-card--icon { grid-column: span 6; }
	.fos-hb-bento > .fos-hb-card--articles { grid-column: span 12; }
	.fos-hb-bento:not(:has(.fos-hb-card--calendar)) > .fos-hb-card--chat { grid-column: span 12; min-height: 0; }
	.fos-hb-bento { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 720px) {
	.fos-hb-hero { padding: 36px 20px 16px; }
	.fos-hb-hero__grid { background-size: 64px 64px; }
	.fos-hb-hero__glow { display: none; }
	.fos-hb-hero__inner { gap: 18px; }
	.fos-hb-hero__title { font-size: 36px; line-height: 1.05; letter-spacing: -0.04em; }
	.fos-hb-hero__sub { font-size: 15px; }
	.fos-hb-hero__cta { width: 100%; flex-direction: column; gap: 10px; }
	.fos-hb-hero__cta .fos-hb-btn { width: 100%; min-height: 54px; font-size: 15px; }
	.fos-hb-bento { padding: 56px 12px 48px; gap: 12px; }

	/* Webinars card */
	.fos-hb-web { border-radius: 28px; padding: 26px 20px 24px; gap: 16px; }
	.fos-hb-web__glow { width: 320px; height: 320px; filter: blur(90px); top: -150px; right: -130px; }
	.fos-hb-web__top { flex-direction: column; flex-wrap: nowrap; gap: 12px; }
	.fos-hb-web__text { display: contents; }
	.fos-hb-web__title { order: 1; font-size: 38px; }
	.fos-hb-web__body { order: 2; font-size: 14px; max-width: none; }
	.fos-hb-web__side { order: 3; flex: none; margin-top: 4px; }
	.fos-hb-web__list { order: 4; margin-top: 0; padding-top: 0; gap: 4px; }
	.fos-hb-web__lineup, .fos-hb-web__playlist .fos-hb-web__kicker { display: none; }
	.fos-hb-web__pl { gap: 4px; }
	.fos-hb-web__pl-item { gap: 10px; padding: 8px; min-height: 52px; }
	.fos-hb-web__pl-n { width: 32px; height: 32px; border-radius: 9px; }
	.fos-hb-web__pl-title { font-size: 12px; }
	.fos-hb-reg { aspect-ratio: auto; padding: 18px; gap: 12px; box-shadow: none; }
	.fos-hb-reg__label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; }
	.fos-hb-cd { gap: 6px; }
	.fos-hb-cd__cell { border-radius: 10px; padding: 9px 0 7px; gap: 0; }
	.fos-hb-cd__v { font-size: 22px; }
	.fos-hb-cd__l { font-size: 10px; }
	.fos-hb-seat label { margin-top: 0; font-size: 13px; }
	.fos-hb-seat input[type="email"] { height: 52px; padding: 0 16px; border-radius: 12px; }
	.fos-hb-seat .fos-hb-btn { min-height: 52px; font-size: 15px; }
	.fos-hb-web .w2-player { border-radius: 18px; border: 0; }
	.fos-hb-web .w2-player-badge { left: 10px; top: 10px; padding: 3px 9px; font-size: 9px; }
	.fos-hb-web .w2-play { width: 60px; height: 60px; box-shadow: 0 0 0 8px rgba(224, 30, 90, 0.2); }
	.fos-hb-web .w2-play svg { width: 20px; height: 20px; }
	.fos-hb-web .w2-player-cap { display: none; }
	.fos-hb-web__bottom { padding-top: 16px; gap: 14px; margin-top: 4px; }
	.fos-hb-web__bottom-head { display: contents; }
	.fos-hb-web__rail-title { order: 1; font-size: 16px; }
	.fos-hb-rail { order: 2; display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.fos-hb-rail::-webkit-scrollbar { display: none; }
	.fos-hb-rail__item { flex: 0 0 210px; scroll-snap-align: start; scroll-margin-left: 20px; }
	.fos-hb-rail__play { left: 8px; bottom: 8px; width: 32px; height: 32px; }
	.fos-hb-rail__meta { font-size: 9px; }
	.fos-hb-web__cta { order: 3; width: 100%; min-height: 50px; font-size: 15px; }

	/* Newsletter card */
	.fos-hb-nl { min-height: 0; border-radius: 28px; padding: 26px 20px 4px; flex-direction: column; flex-wrap: nowrap; gap: 12px; align-items: stretch; }
	.fos-hb-nl__main { flex: none; gap: 12px; }
	.fos-hb-nl__title { font-size: 36px; line-height: 1; }
	.fos-hb-nl__body { font-size: 14px; }
	.fos-hb-nl__form input[type="email"], .fos-hb-nl__form .fos-hb-btn { height: 52px; }
	.fos-hb-nl__form input[type="email"] { padding: 0 18px; box-shadow: none; }
	.fos-hb-nl__note, .fos-hb-nl__chips { display: none; }
	.fos-hb-nl__issue { flex: none; height: 300px; min-height: 0; margin: 8px 0 20px; box-shadow: 0 20px 40px -24px rgba(176, 18, 74, 0.5); }

	/* Cards */
	.fos-hb-bento > .fos-hb-nl, .fos-hb-bento > .fos-hb-card--academy, .fos-hb-bento > .fos-hb-card--prompts, .fos-hb-bento > .fos-hb-card--articles { grid-column: span 12; grid-row: auto; }
	.fos-hb-bento > .fos-hb-card--icon { grid-column: span 6; }
	.fos-hb-bento:not(:has(.fos-hb-card--calendar)) > .fos-hb-card--chat, .fos-hb-bento:not(:has(.fos-hb-card--chat)) > .fos-hb-card--calendar { grid-column: span 12; }
	.fos-hb-card { border-radius: 28px; padding: 22px 20px; gap: 8px; }
	.fos-hb-card__title { font-size: 24px; letter-spacing: 0; }
	.fos-hb-card__body { font-size: 13px; }
	.fos-hb-card__link { padding-top: 6px; }
	.fos-hb-path { margin: 6px 0 0; }
	.fos-hb-path__dot { width: 26px; height: 26px; font-size: 11px; }
	.fos-hb-path__cert { width: 34px; height: 34px; border-radius: 10px; }
	.fos-hb-path__labels, .fos-hb-card__sample-role, .fos-hb-card__sample-arrow { display: none; }
	.fos-hb-card__sample { margin-top: 0; }
	.fos-hb-card--articles { border-radius: 24px; padding: 22px 20px; flex-direction: column; flex-wrap: nowrap; gap: 14px; }
	.fos-hb-card--articles .fos-hb-card__main { flex: none; gap: 8px; }
	.fos-hb-card--articles .fos-hb-card__title { font-size: 22px; }
	.fos-hb-card__list { flex: none; align-self: stretch; }
	.fos-hb-card__row { padding: 12px 0; }
	.fos-hb-card__row a, .fos-hb-card__row > span:last-child { font-size: 15px; }
	.fos-hb-card--icon { border-radius: 24px; padding: 18px; min-height: 0; }
	.fos-hb-card__icon { width: 40px; height: 40px; border-radius: 12px; }
	.fos-hb-card__icon svg { width: 20px; height: 20px; }
	.fos-hb-card--icon .fos-hb-card__title { margin-top: 0; font-size: 16px; }
	.fos-hb-card--icon .fos-hb-card__body { font-size: 12px; line-height: 1.5; }
	.fos-hb-card--icon .fos-hb-card__link { font-size: 13px; padding-top: 4px; }

	/* FAQ */
	.fos-hb-faq { padding: 0 0 48px; align-items: stretch; gap: 16px; }
	.fos-hb-faq__title { margin: 0 20px; text-align: left; font-size: 32px; line-height: 1.05; }
	.fos-hb-faq__pills { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 0 20px 4px; scroll-snap-type: x proximity; scroll-padding: 0 20px; scrollbar-width: none; }
	.fos-hb-faq__pills::-webkit-scrollbar { display: none; }
	.fos-hb-faq__pill { flex: none; white-space: nowrap; scroll-snap-align: start; padding: 0 16px; font-size: 13px; }
	.fos-hb-faq__answer { width: auto; min-height: 0; margin: 0 12px; border-radius: 24px; padding: 22px 20px; }
	.fos-hb-faq__item h3 { font-size: 17px; }
	.fos-hb-faq__item p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.fos-hb *, .fos-hb *::before, .fos-hb *::after { animation: none !important; transition: none !important; }
}
