/*
 * Landing pages (inc/sst-landing-pages.php): /contractors/, /es/contratistas/, /go/*.
 * Tokens from kit.css only; no hex here (tests/test_landing_pages.py). Loaded after kit-chrome.css.
 */

body.sst-kit-chrome .kit-landing {
	max-width: 1100px;
}

body.sst-kit-chrome .lp h1,
body.sst-kit-chrome .lp h2,
body.sst-kit-chrome .lp h3 {
	font-family: var(--display);
	font-weight: 400;
	text-transform: uppercase;
	line-height: .95;
	letter-spacing: .01em;
	margin: 0 0 16px;
}

body.sst-kit-chrome .lp h1 {
	font-size: clamp(44px, 7vw, 84px);
	max-width: 18ch;
}

body.sst-kit-chrome .lp h1 strong {
	background: var(--yellow);
	color: var(--black);
	padding: 0 .12em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

body.sst-kit-chrome .lp h2 {
	font-size: clamp(32px, 4.5vw, 52px);
}

body.sst-kit-chrome .lp h3 {
	font-size: 26px;
}

body.sst-kit-chrome .lp section {
	margin: 0 0 64px;
}

body.sst-kit-chrome .lp p {
	font-size: 18px;
	line-height: 1.5;
	max-width: 68ch;
}

body.sst-kit-chrome .lp .kicker {
	color: var(--muted);
}

body.sst-kit-chrome .lp .lp-lead {
	font-size: 22px;
	max-width: 60ch;
}

body.sst-kit-chrome .lp .lp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0;
}

body.sst-kit-chrome .lp .button.lp-secondary {
	background: var(--black);
	color: var(--yellow);
	border-color: var(--black);
}

body.sst-kit-chrome .lp .lp-proof {
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px 24px;
	font-size: 16px;
	line-height: 1.4;
}

body.sst-kit-chrome .lp .lp-proof li {
	padding-left: 22px;
	position: relative;
}

body.sst-kit-chrome .lp .lp-proof li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 12px;
	height: 12px;
	background: var(--yellow);
}

/* Permit block: revealed by utm_campaign=permit only (sst-landing-leads.php). */
body.sst-kit-chrome .lp .lp-permit {
	border: 3px solid var(--black);
	border-left: 16px solid var(--yellow);
	padding: 28px 32px;
	background: var(--cream);
}

body.sst-kit-chrome .lp .lp-permit[hidden] {
	display: none;
}

body.sst-kit-chrome .lp .lp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

body.sst-kit-chrome .lp .lp-card {
	background: var(--card);
	border-radius: var(--r-card);
	padding: 28px;
}

body.sst-kit-chrome .lp .lp-card p {
	font-size: 16px;
	margin: 0;
}

body.sst-kit-chrome .lp .lp-steps ol {
	list-style: none;
	counter-reset: lp;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

body.sst-kit-chrome .lp .lp-steps li {
	border-top: 4px solid var(--yellow);
	padding-top: 16px;
}

body.sst-kit-chrome .lp .lp-steps li strong {
	display: block;
	font-family: var(--display);
	font-size: 26px;
	text-transform: uppercase;
	font-weight: 400;
	margin-bottom: 8px;
}

body.sst-kit-chrome .lp .lp-steps li span {
	font-size: 16px;
	line-height: 1.45;
}

body.sst-kit-chrome .lp .lp-prices table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

body.sst-kit-chrome .lp .lp-prices th,
body.sst-kit-chrome .lp .lp-prices td {
	text-align: left;
	padding: 12px 10px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

body.sst-kit-chrome .lp .lp-prices th {
	font-family: var(--display);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 18px;
	border-bottom: 3px solid var(--black);
}

body.sst-kit-chrome .lp .lp-prices td:last-child {
	white-space: nowrap;
	font-weight: 700;
}

body.sst-kit-chrome .lp .sst-card__price--old {
	text-decoration: line-through;
	color: var(--muted);
	font-weight: 400;
	margin-right: 6px;
}

body.sst-kit-chrome .lp .lp-note {
	font-size: 15px;
	color: var(--muted);
}

/* The lead form (sst-landing-leads.php prints it) */
body.sst-kit-chrome .lp .lp-form {
	background: var(--card);
	border-radius: var(--r-card);
	padding: 28px;
	max-width: 720px;
}

body.sst-kit-chrome .lp .lp-form .lp-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

body.sst-kit-chrome .lp .lp-form label {
	display: block;
	font-size: 14px;
	font-weight: 700;
}

body.sst-kit-chrome .lp .lp-form input,
body.sst-kit-chrome .lp .lp-form textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
	padding: 12px;
	border: 2px solid var(--line);
	border-radius: var(--r-tile);
	background: var(--paper);
	font: inherit;
	font-size: 16px;
}

body.sst-kit-chrome .lp .lp-form input:focus-visible,
body.sst-kit-chrome .lp .lp-form textarea:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 1px;
}

body.sst-kit-chrome .lp .lp-form .lp-full {
	grid-column: 1 / -1;
}

body.sst-kit-chrome .lp .lp-form .lp-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

body.sst-kit-chrome .lp .lp-form button {
	min-height: 52px;
	padding: 15px 28px;
	font-weight: 700;
	font-size: 16px;
	background: var(--yellow);
	color: var(--black);
	border: 2px solid var(--black);
	cursor: pointer;
}

body.sst-kit-chrome .lp .lp-form button[disabled] {
	opacity: .6;
	cursor: wait;
}

body.sst-kit-chrome .lp .lp-form .lp-status {
	margin-top: 12px;
	font-size: 16px;
}

body.sst-kit-chrome .lp .lp-form .lp-status.is-error {
	color: var(--danger);
}

body.sst-kit-chrome .lp .lp-form .lp-status.is-done {
	background: var(--ok-bg);
	color: var(--ok-ink);
	padding: 16px;
	border-radius: var(--r-tile);
}

body.sst-kit-chrome .lp .lp-form .lp-consent {
	font-size: 13px;
	color: var(--muted);
	max-width: none;
}

body.sst-kit-chrome .lp .lp-faq details {
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
}

body.sst-kit-chrome .lp .lp-faq summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 18px;
}

body.sst-kit-chrome .lp .lp-faq details div p {
	margin: 12px 0 0;
	font-size: 16px;
}

body.sst-kit-chrome .lp .lp-final {
	background: var(--black);
	color: var(--paper);
	padding: 40px 32px;
	border-radius: var(--r-card);
}

body.sst-kit-chrome .lp .lp-final h2 {
	color: var(--yellow);
}

body.sst-kit-chrome .lp .lp-final .button.lp-secondary {
	background: var(--paper);
	color: var(--black);
	border-color: var(--paper);
}

@media (max-width: 640px) {
	body.sst-kit-chrome .lp .lp-form .lp-row {
		grid-template-columns: 1fr;
	}

	body.sst-kit-chrome .lp .lp-prices th:nth-child(2),
	body.sst-kit-chrome .lp .lp-prices td:nth-child(2) {
		display: none;
	}
}

/* "Get crew compliance updates" (newsletter section, inc/sst-newsletter-blocks.php) below the crew check. */
body.sst-kit-chrome .lp .kit-newsletter--contractors {
	background: var(--card);
	border-radius: var(--r-card);
	padding: 28px;
	max-width: 720px;
	margin: 0 0 64px;
}
body.sst-kit-chrome .lp .kit-newsletter--contractors .kit-newsletter__h2 {
	font-size: clamp(28px, 4vw, 40px);
	margin-bottom: 12px;
}
body.sst-kit-chrome .lp .kit-newsletter--contractors .kit-newsletter__text,
body.sst-kit-chrome .lp .kit-newsletter--contractors .sst-newsletter-signup p {
	font-size: 16px;
}

/* Provider strip (HSI badge + statement) on the pages that market the HSI OSHA courses. */
body.sst-kit-chrome .lp .lp-provider {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 32px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
body.sst-kit-chrome .lp .lp-provider img {
	width: 261px;
	height: 73px;
	max-width: 100%;
	flex: 0 0 auto;
}
body.sst-kit-chrome .lp .lp-provider__statement {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--ink-2);
	flex: 1 1 240px;
}

/* Buy box and OSHA 30 fork (inc/sst-buy-box.php). Used on landing pages and, through the shortcodes,
   on database pages; tokens only. */
body.sst-kit-chrome .sst-buybox {
	background: var(--card);
	border: 3px solid var(--black);
	border-left: 16px solid var(--yellow);
	border-radius: var(--r-card);
	padding: 28px 32px;
	max-width: 760px;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__name {
	margin-bottom: 8px;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__price {
	margin: 0 0 4px;
	font-size: 20px;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__amt {
	font-family: var(--display);
	font-size: clamp(40px, 6vw, 60px);
	line-height: 1;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__once,
body.sst-kit-chrome .sst-buybox .sst-buybox__tag {
	font-size: 16px;
	color: var(--ink-2);
}

body.sst-kit-chrome .sst-buybox .sst-buybox__h {
	font-size: 22px;
	margin: 20px 0 10px;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__stack,
body.sst-kit-chrome .lp-stack .sst-buybox__stack {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 17px;
	line-height: 1.4;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__stack li,
body.sst-kit-chrome .lp-stack .sst-buybox__stack li {
	padding-left: 24px;
	position: relative;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__stack li::before,
body.sst-kit-chrome .lp-stack .sst-buybox__stack li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .4em;
	width: 12px;
	height: 12px;
	background: var(--yellow);
	border: 2px solid var(--black);
}

body.sst-kit-chrome .sst-buybox .sst-buybox__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 12px;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__buy {
	min-height: 56px;
	font-size: 20px;
	flex: 1 1 220px;
	text-align: center;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__text {
	min-height: 56px;
	flex: 1 1 220px;
	text-align: center;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__guarantee,
body.sst-kit-chrome .sst-buybox .sst-buybox__provider {
	font-size: 16px;
	margin: 0 0 12px;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__provider {
	font-size: 14px;
	color: var(--muted);
}

body.sst-kit-chrome .sst-buybox .sst-buybox__ask {
	margin: 0 0 16px;
	border-top: 1px solid var(--line);
	padding-top: 12px;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__ask summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
}

body.sst-kit-chrome .sst-buybox .sst-buybox__ask .lp-form {
	margin-top: 12px;
	padding: 20px;
	background: var(--paper);
}

/* The fork: three doors, one per situation. */
body.sst-kit-chrome .sst-fork .sst-fork__lead {
	max-width: 62ch;
}

body.sst-kit-chrome .sst-fork .sst-fork__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

body.sst-kit-chrome .sst-fork .sst-fork__opt {
	background: var(--card);
	border-radius: var(--r-card);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.sst-kit-chrome .sst-fork .sst-fork__opt h3 {
	margin: 0;
}

body.sst-kit-chrome .sst-fork .sst-fork__opt p {
	font-size: 16px;
	margin: 0;
}

body.sst-kit-chrome .sst-fork .sst-fork__opt .sst-fork__price {
	font-family: var(--display);
	font-size: 32px;
	line-height: 1;
	margin-top: auto;
}

body.sst-kit-chrome .sst-fork .sst-fork__opt .button {
	text-align: center;
}

/* Phone buy bar: one per page, printed in the footer by the first box. Clears the home indicator. */
.sst-buybar {
	display: none;
}

@media (max-width: 720px) {
	body.sst-kit-chrome .sst-buybox {
		padding: 22px 18px;
		border-left-width: 10px;
	}

	body.has-sst-buybar {
		padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	}

	.sst-buybar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		background: var(--black);
		color: var(--paper);
		border-top: 4px solid var(--yellow);
		transition: transform .2s ease;
	}

	.sst-buybar.is-hidden {
		transform: translateY(110%);
	}

	.sst-buybar .sst-buybar__name {
		font-size: 14px;
		line-height: 1.25;
		min-width: 0;
	}

	.sst-buybar .sst-buybar__price {
		display: block;
		color: var(--yellow);
		font-size: 20px;
	}

	.sst-buybar .button {
		min-height: 48px;
		flex: 0 0 auto;
		white-space: nowrap;
	}

	body.has-sst-buybar .sst-support-widget-btn {
		bottom: calc(96px + env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.sst-buybar {
		transition: none;
	}
}

/* Hormozi review 2026-10-19: the one guarantee next to every buy button, the true package saving, the fork footer. */
body.sst-kit-chrome .lp .lp-guarantee,
body.sst-kit-chrome .sst-fork .sst-fork__guarantee {
	margin: 0 0 20px;
	font-size: 17px;
}

body.sst-kit-chrome .sst-fork .sst-fork__guarantee {
	margin: 20px 0 0;
}

body.sst-kit-chrome .lp .sst-buybox__saving,
body.sst-kit-chrome .sst-buybox .sst-buybox__saving {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 700;
}

body.sst-kit-chrome .lp .sst-buybox__exception,
body.sst-kit-chrome .sst-buybox .sst-buybox__exception {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: var(--muted);
}

/* Hormozi review 2026-10-19, fix 8: the "What you get" list on the short /go pages. */
body.sst-kit-chrome .lp .lp-stack {
	margin: 32px 0;
}
