/*
 * JAM Enterprise — site styles.
 *
 * Loaded after style.css (the untouched _s base). No design file: the brief
 * was to rebuild the live Elementor site as-is on the FACT stack. Reference
 * is the live site on 2026-10-12: a full-viewport blue gradient (Elementor
 * kit primary #119BF6 to accent #2FC7EA, top-left to bottom-right) with the
 * white lock-up centred, a white footer with the copyright line and the
 * Privacy Policy link, and a plain reading page for the policy.
 *
 * Type is the system sans stack. The live site loaded no brand webfont, and
 * the lock-up carries the wordmark, so nothing is lost and nothing is fetched.
 */

/* --------------------------------------------------------------------------
 * Tokens
 * ------------------------------------------------------------------------ */

:root {
	--c-primary: #119bf6;      /* Elementor kit "Primary" */
	--c-accent: #2fc7ea;       /* kit "Accent" */
	--c-ink: #1e2121;          /* kit "Secondary", used for strong text */
	--c-text: #3b4752;         /* body copy on white (kit's #6B7F8C is too light for 16px) */
	--c-muted: #6b7f8c;        /* kit "Text": the footer lines, as on the live site */
	--c-link: #0b6fc2;         /* primary, darkened to pass AA on white at body size */
	--c-link-hover: #084f8b;
	--c-line: #e6eaee;
	--c-white: #fff;
	--font-body: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif;
	--pad-x: clamp(20px, 4.2vw, 60px);
	--content: 1240px;
	--radius-pill: 999px;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--c-text);
	background: var(--c-white);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*
 * Link colours. The _s base sets royalblue / purple-when-visited, and its
 * `a:visited` selector outranks a single class, so :visited is declared.
 */
a {
	color: var(--c-link);
}

a:visited {
	color: var(--c-link);
}

a:hover,
a:focus,
a:active {
	color: var(--c-link-hover);
}

.button {
	display: inline-block;
	padding: 12px 26px;
	border-radius: var(--radius-pill);
	background: var(--c-primary);
	color: var(--c-white);
	font-weight: 600;
	text-decoration: none;
}

.button:visited {
	color: var(--c-white);
}

.button:hover,
.button:focus {
	background: var(--c-link);
	color: var(--c-white);
}

/* --------------------------------------------------------------------------
 * Front page: the brand panel
 * ------------------------------------------------------------------------ */

.brand {
	display: grid;
	place-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 48px 24px;
	background: linear-gradient(135deg, var(--brand-start, #119bf6) 0%, var(--brand-end, #2fc7ea) 100%);
}

.brand__inner {
	width: 100%;
	text-align: center;
}

/* The lock-up is the h1: zero the heading's own box so the image sets it. */
.brand__title {
	margin: 0;
	font-size: 0;
	line-height: 0;
}

.brand__logo {
	display: block;
	width: min(var(--brand-logo-w, 55vw), 800px);
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.brand__tagline {
	margin: 28px 0 0;
	color: var(--c-white);
	font-size: clamp(14px, 1.4vw, 18px);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

@media (max-width: 759px) {
	.brand__logo {
		width: calc(100vw - 48px);
	}
}

/* --------------------------------------------------------------------------
 * Header (interior pages only)
 * ------------------------------------------------------------------------ */

.site-header {
	background: var(--c-white);
	border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
	max-width: var(--content);
	margin: 0 auto;
	padding: 18px var(--pad-x);
}

.site-branding {
	line-height: 0;
}

.custom-logo-link {
	display: inline-block;
}

.custom-logo {
	display: block;
	width: auto;
	height: 44px;
}

@media (max-width: 559px) {
	.custom-logo {
		height: 36px;
	}
}

/* --------------------------------------------------------------------------
 * Interior pages (Privacy Policy, 404)
 * ------------------------------------------------------------------------ */

.page-main {
	max-width: var(--content);
	margin: 0 auto;
	padding: 48px var(--pad-x) 80px;
}

.page-main .entry-header {
	margin: 0 0 28px;
}

.page-main .entry-title {
	margin: 0;
	color: var(--c-primary);
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.page-main .entry-content {
	max-width: 860px;
	font-size: 16px;
	line-height: 1.65;
}

.page-main .entry-content > :first-child {
	margin-top: 0;
}

.page-main .entry-content p {
	margin: 0 0 1.1em;
}

.page-main .entry-content strong {
	color: var(--c-ink);
}

.page-main .entry-content h2,
.page-main .entry-content h3 {
	margin: 1.6em 0 0.5em;
	color: var(--c-ink);
	line-height: 1.2;
}

.page-main .entry-content ul,
.page-main .entry-content ol {
	margin: 0 0 1.1em 1.4em;
}

.error-404 {
	padding: 48px 0 32px;
	text-align: center;
}

.error-404__code {
	margin: 0;
	color: var(--c-primary);
	font-size: clamp(64px, 9vw, 96px);
	font-weight: 800;
	line-height: 1;
}

.error-404__title {
	margin: 12px 0 10px;
	color: var(--c-ink);
	font-size: clamp(24px, 3vw, 32px);
}

.error-404__message {
	margin: 0 0 28px;
}

.error-404__actions {
	margin: 0;
}

/* --------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */

.site-footer {
	padding: 52px var(--pad-x) 56px;
	background: var(--c-white);
	color: var(--c-muted);
	font-size: 16px;
	text-align: center;
}

.footer-social-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.footer-social-links a {
	display: block;
	color: var(--c-muted);
	line-height: 0;
}

.footer-social-links a:hover,
.footer-social-links a:focus {
	color: var(--c-primary);
}

.site-footer .site-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-size: 16px;
}

.footer-legal-links a {
	color: var(--c-muted);
	text-decoration: none;
}

.footer-legal-links a:visited {
	color: var(--c-muted);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
	color: var(--c-ink);
	text-decoration: underline;
}
