/*
 * JobGetr content page - the document surface.
 *
 * A restrained corporate/legal page: one measured column, a clear
 * heading hierarchy, and generous space between sections so a long
 * policy stays scannable. No hero, no imagery, no calls to action - the
 * text is the page. Tokens come from the child theme (--jg-*) with the
 * same fallbacks the platform stylesheet carries.
 */

.jg-doc {
	--doc-ink: var(--jg-navy, #131f49);
	--doc-body: #1f2329;
	--doc-soft: var(--jg-gray, #717176);
	--doc-line: var(--jg-border, #e1e4ea);
	--doc-brand: var(--jg-accent, #ff6a13);
	--doc-mono: var(--jg-font-mono, ui-monospace, SFMono-Regular, "Roboto Mono", Menlo, Consolas, monospace);

	box-sizing: border-box;
	max-width: 760px;
	margin: 0 auto;
	padding: 8px 0 56px;
	color: var(--doc-body);
}

.jg-doc * {
	box-sizing: border-box;
}

/* ---- head */
.jg-doc__head {
	padding-bottom: 22px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--doc-line);
}

.jg-doc__title {
	margin: 0 0 14px;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--doc-ink);
}

.jg-doc__lede {
	margin: 0 0 14px;
	max-width: 62ch;
	font-size: 16.5px;
	line-height: 1.55;
	color: var(--doc-body);
}

.jg-doc__updated {
	margin: 0;
	font-family: var(--doc-mono);
	font-size: 11.5px;
	letter-spacing: 0.03em;
	color: var(--doc-soft);
}

/* ---- sections */
.jg-doc__section {
	margin: 0 0 34px;
	scroll-margin-top: 90px;
}

.jg-doc__section:last-child {
	margin-bottom: 0;
}

.jg-doc__heading {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--doc-ink);
}

.jg-doc__subheading {
	margin: 22px 0 8px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--doc-ink);
}

.jg-doc__subheading:first-of-type {
	margin-top: 4px;
}

.jg-doc .jg-doc__p {
	margin: 0 0 13px;
	max-width: 68ch;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--doc-body);
}

.jg-doc__p:last-child {
	margin-bottom: 0;
}

/* ---- lists: a measured hanging indent, not the theme's bullet styling */
.jg-doc .jg-doc__list {
	margin: 0 0 13px;
	padding: 0 0 0 20px;
	max-width: 68ch;
	list-style: disc;
}

.jg-doc .jg-doc__list li {
	margin: 0 0 7px;
	padding: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--doc-body);
	list-style: disc;
}

.jg-doc .jg-doc__list li:last-child {
	margin-bottom: 0;
}

.jg-doc .jg-doc__list li::before {
	content: none;
}

.jg-doc strong {
	font-weight: 700;
	color: var(--doc-ink);
}

/* ---- links */
.jg-doc a {
	color: var(--doc-ink) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.jg-doc a:hover,
.jg-doc a:focus {
	color: var(--doc-brand) !important;
}

.jg-doc a:focus-visible {
	outline: 2px solid var(--doc-brand);
	outline-offset: 2px;
}

/* ---- responsive */
@media (max-width: 1018px) {
	.jg-doc__title {
		font-size: 34px;
	}
}

@media (max-width: 767px) {
	.jg-doc {
		padding: 4px 0 40px;
	}

	.jg-doc__title {
		font-size: 28px;
	}

	.jg-doc__lede {
		font-size: 15.5px;
	}

	.jg-doc__head {
		padding-bottom: 18px;
		margin-bottom: 24px;
	}

	.jg-doc__section {
		margin-bottom: 28px;
	}

	.jg-doc__heading {
		font-size: 18px;
	}

	.jg-doc .jg-doc__p,
	.jg-doc .jg-doc__list li {
		font-size: 15px;
	}

	.jg-doc .jg-doc__list {
		padding-left: 18px;
	}
}
