/* v0.3.20 The Communist Factory Reader Toolkit page (paste content: batch8 tcf-toolkit-content.html).
   Reuses hu-page-hero (Dark style vars), hu-section, hu-card; adds the toolkit pieces only.
   Buttons follow the hover rule (darker shade of their own colour). */

/* ---------- Hero ---------- */
.hu-page-hero--toolkit .hu-toolkit-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; }
.hu-page-hero--toolkit .hu-toolkit-title { max-width: 640px; font-size: clamp(42px, 5.4vw, 74px); }
.hu-page-hero--toolkit .hu-toolkit-sub { margin: 0 0 12px !important; color: var(--hero-heading); font-size: 18px; font-weight: 750; line-height: 1.4; letter-spacing: -.01em; }
.hu-page-hero--toolkit .hu-toolkit-dek { max-width: 580px; font-size: 17px; }
.hu-toolkit-includes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 28px 0 0 !important; padding: 0; list-style: none; }
.hu-toolkit-includes > li { position: relative; margin: 0; padding-left: 30px; font-size: 15px; font-weight: 750; line-height: 1.4; }
.hu-toolkit-includes > li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 999px; background: var(--hu-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23071A33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.hu-page-hero--toolkit .hu-toolkit-includes > li { color: var(--hero-heading); }
.hu-page-hero--toolkit .hu-toolkit-call { margin: 30px 0 0 !important; padding-top: 22px; border-top: 1px solid var(--hero-stat-line, rgba(255, 255, 255, .12)); color: var(--hero-soft); font-size: 14px; line-height: 1.5; }
.hu-page-hero--toolkit .hu-toolkit-call a { color: var(--hero-heading); font-weight: 800; text-decoration: underline; text-decoration-color: var(--hu-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hu-page-hero--toolkit .hu-toolkit-call a:is(:hover, :focus-visible) { color: var(--hu-yellow); }
.hu-page-hero--toolkit .hu-toolkit-call span { display: block; margin-top: 2px; font-size: 12px; }

/* Signup card (hero + bottom) */
.hu-toolkit-card { scroll-margin-top: calc(var(--hu-hdr-h, 88px) + 16px); padding: 32px; border-radius: 12px; background: var(--hu-white); color: var(--hu-navy); box-shadow: 0 30px 70px rgba(0, 0, 0, .30); }
.hu-toolkit-card > * { margin-block: 0; }
.hu-toolkit-card .hu-toolkit-kicker { margin: 0; color: var(--hu-blue); font-size: 10px; font-weight: 850; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.hu-toolkit-card .hu-toolkit-card-title { margin: 8px 0 8px !important; color: var(--hu-navy); font-size: 30px; font-weight: 850; line-height: 1.08; letter-spacing: -.04em; }
.hu-toolkit-card .hu-toolkit-card-intro { margin: 0 0 20px !important; color: #4A5568; font-size: 14px; line-height: 1.55; }
.hu-toolkit-card .hu-toolkit-card-intro strong { color: var(--hu-navy); }
.hu-toolkit-card .hu-kit-note { text-align: left; }

/* ---------- Start here ---------- */
.hu-toolkit-start .hu-toolkit-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hu-toolkit-step h3 { margin: 10px 0 8px !important; color: var(--hu-navy); font-size: 20px; font-weight: 850; line-height: 1.15; letter-spacing: -.03em; }
.hu-toolkit-step p:not(.hu-card-num) { color: #4A5568; font-size: 14px; line-height: 1.6; }

/* ---------- Tools ---------- */
.hu-toolkit-tool-list { display: grid; }
.hu-toolkit-tool { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; padding: 48px 0; border-top: 1px solid var(--hu-line); }
.hu-toolkit-tool:last-child { padding-bottom: 0; }
.hu-toolkit-tool > *, .hu-toolkit-tool-copy > *, .hu-toolkit-panel > * { margin-block: 0; }
.hu-toolkit-tool-title { margin: 8px 0 14px !important; color: var(--hu-navy); font-size: clamp(28px, 3vw, 38px); font-weight: 850; line-height: 1.05; letter-spacing: -.04em; }
.hu-toolkit-tool-copy > p:not(.hu-eyebrow):not(.hu-toolkit-get) { color: #3B4759; font-size: 16px; line-height: 1.65; }
.hu-toolkit-checks { display: grid; gap: 10px; margin: 18px 0 0 !important; padding: 0; list-style: none; }
.hu-toolkit-checks > li { position: relative; margin: 0; padding-left: 28px; color: #3B4759; font-size: 15px; line-height: 1.55; }
.hu-toolkit-checks > li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--hu-blue); border-bottom: 2.5px solid var(--hu-blue); transform: rotate(-45deg); }
.hu-toolkit-checks strong { color: var(--hu-navy); }
.hu-toolkit-get { margin-top: 22px !important; font-size: 14px; font-weight: 850; }
.hu-toolkit-get a { color: var(--hu-blue); text-decoration: none; }
.hu-toolkit-get a:is(:hover, :focus-visible) { color: var(--hu-blue-hover, #104BC4); text-decoration: underline; }

.hu-toolkit-panel { display: grid; gap: 0; padding: 8px 26px; border: 1px solid var(--hu-line); border-radius: 10px; background: var(--hu-surface); }
.hu-toolkit-def { padding: 16px 0; border-bottom: 1px solid var(--hu-line); }
.hu-toolkit-def:last-child { border-bottom: 0; }
.hu-toolkit-def > * { margin-block: 0; }
.hu-toolkit-def-term { color: var(--hu-navy); font-size: 14px; font-weight: 850; line-height: 1.35; }
.hu-toolkit-def-desc { margin-top: 4px !important; color: #4A5568; font-size: 14px; line-height: 1.55; }
.hu-toolkit-panel--numbered { counter-reset: hu-tk; }
.hu-toolkit-panel--numbered .hu-toolkit-def { position: relative; padding-left: 42px; counter-increment: hu-tk; }
.hu-toolkit-panel--numbered .hu-toolkit-def::before { content: counter(hu-tk); position: absolute; left: 0; top: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--hu-navy); color: var(--hu-yellow); font-size: 12px; font-weight: 900; }
.hu-toolkit-bench { padding: 24px 26px; background: var(--hu-navy); border-color: var(--hu-navy); color: var(--hu-white); }
.hu-toolkit-bench .hu-toolkit-panel-head { margin-bottom: 8px !important; color: var(--hu-yellow); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hu-toolkit-bench-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(var(--hu-white-rgb), .12); }
.hu-toolkit-bench-row > * { margin: 0; }
.hu-toolkit-bench-role { color: #D5DEEA; font-size: 15px; font-weight: 650; }
.hu-toolkit-bench-val { color: var(--hu-white); font-size: 26px; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.hu-toolkit-bench-note { margin-top: 14px !important; color: #9FB0C6; font-size: 12px; line-height: 1.5; }

/* ---------- Discount + bottom form ---------- */
.hu-toolkit-final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 64px; align-items: center; }
.hu-toolkit-disc > * { margin-block: 0; }
.hu-toolkit-badge { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 16px !important; padding: 10px 16px; border-radius: 8px; background: var(--hu-yellow); color: var(--hu-navy); }
.hu-toolkit-badge strong { font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.hu-toolkit-badge span { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hu-toolkit-disc-title { margin: 22px 0 16px !important; color: var(--hu-white); font-size: clamp(32px, 3.8vw, 50px); font-weight: 850; line-height: 1.04; letter-spacing: -.045em; }
.hu-toolkit-disc-title mark { background: transparent !important; color: var(--hu-yellow); }
.hu-toolkit-disc > p:not(.hu-eyebrow):not(.hu-toolkit-badge):not(.hu-toolkit-disc-micro) { max-width: 560px; margin-top: 12px !important; color: #B8C5D7; font-size: 16px; line-height: 1.65; }
.hu-toolkit-disc-actions { margin-top: 26px !important; }
.hu-toolkit-disc-micro { margin-top: 10px !important; color: #8D9DB3; font-size: 12px; }
.hu-toolkit-includes--card { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 20px !important; }
.hu-toolkit-includes--card > li { color: var(--hu-navy); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hu-page-hero--toolkit .hu-toolkit-grid { gap: 40px; }
	.hu-toolkit-start .hu-toolkit-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hu-toolkit-tool { gap: 36px; }
	.hu-toolkit-final-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; }
}
@media (max-width: 900px) {
	.hu-page-hero--toolkit .hu-toolkit-grid, .hu-toolkit-tool, .hu-toolkit-final-grid { grid-template-columns: minmax(0, 1fr); }
	.hu-page-hero--toolkit .hu-toolkit-card { max-width: 560px; }
	.hu-page-hero--toolkit .hu-toolkit-call { display: none; } /* stacked: the download form comes straight after the copy; Book a Call stays in the discount section */
	.hu-toolkit-card--bottom { max-width: 560px; }
	.hu-toolkit-tool { padding: 38px 0; gap: 26px; }
}
@media (max-width: 580px) {
	.hu-page-hero--toolkit .hu-toolkit-title { font-size: clamp(38px, 11vw, 46px); }
	.hu-page-hero--toolkit .hu-toolkit-sub { font-size: 16px; }
	.hu-page-hero--toolkit .hu-toolkit-dek { font-size: 16px; }
	.hu-toolkit-includes { grid-template-columns: minmax(0, 1fr); margin-top: 22px !important; }
	.hu-toolkit-card { padding: 24px 18px; }
	.hu-toolkit-card .hu-toolkit-card-title { font-size: 26px; }
	.hu-toolkit-start .hu-toolkit-steps { grid-template-columns: minmax(0, 1fr); }
	.hu-toolkit-panel { padding: 4px 18px; }
	.hu-toolkit-bench { padding: 20px 18px; }
	.hu-toolkit-bench-val { font-size: 22px; }
	.hu-toolkit-final-grid .wp-block-button, .hu-toolkit-final-grid .wp-block-button__link { width: 100%; }
}
