/*
 * Landing page styles - home (page 13597) and contact (page 3585).
 * Enqueued only on those two pages; see sok_enqueue_landing_assets().
 *
 * Light professional palette built on the #004aaa already used by the
 * GeneratePress site header, so the header needs no retuning.
 */

.sok-landing {
	--sok-primary: #004aaa;
	--sok-primary-2: #1e73be;
	--sok-primary-dark: #00347a;
	--sok-tint: #eef4fc;
	--sok-band: #f5f8fc;
	--sok-text: #0f1c2e;
	--sok-muted: #5a6b80;
	--sok-border: #e2e8f0;
	--sok-radius: 12px;
	--sok-shadow: 0 1px 3px rgba(15, 28, 46, .06);
	--sok-shadow-lg: 0 12px 32px rgba(15, 28, 46, .10);
}

/* ------------------------------------------------------------------
   Shell - undo GeneratePress' 1200px content box so sections can bleed
   edge to edge. The grid-container/container classes are already
   stripped from #page by the generate_page_class filter.
   ------------------------------------------------------------------ */

.sok-landing .site-content,
.sok-landing #page {
	padding: 0;
	margin: 0;
	max-width: none;
}

.sok-landing .site-content {
	display: block;
}

/* GP's 22px Poppins body is sized for long-form posts, not a landing page. */
.sok-landing .sok-section {
	font-size: 17px;
	line-height: 1.7;
	color: var(--sok-text);
}

.sok-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.sok-section {
	padding: 80px 0;
}

/* Stats overlap the hero edge, so this section carries no top padding. */
.sok-section--stats {
	padding-top: 0;
	padding-bottom: 44px;
}

.sok-section--band {
	background-color: var(--sok-band);
	border-top: 1px solid var(--sok-border);
	border-bottom: 1px solid var(--sok-border);
}

.sok-label {
	display: block;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sok-primary);
}

.sok-title {
	margin: 0 0 16px;
	font-size: 38px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--sok-text);
}

.sok-desc {
	max-width: 720px;
	margin: 0 0 48px;
	font-size: 18px;
	color: var(--sok-muted);
}

.sok-section--center .sok-label,
.sok-section--center .sok-title,
.sok-section--center .sok-desc {
	text-align: center;
}

.sok-section--center .sok-desc {
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */

.sok-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 8px;
	border: 2px solid transparent;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sok-btn:hover,
.sok-btn:focus {
	transform: translateY(-2px);
	text-decoration: none;
}

.sok-btn--primary {
	background-color: var(--sok-primary);
	border-color: var(--sok-primary);
	color: #ffffff;
}

.sok-btn--primary:hover,
.sok-btn--primary:focus {
	background-color: var(--sok-primary-dark);
	border-color: var(--sok-primary-dark);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(0, 74, 170, .28);
}

.sok-btn--outline {
	background-color: transparent;
	border-color: var(--sok-border);
	color: var(--sok-primary);
}

.sok-btn--outline:hover,
.sok-btn--outline:focus {
	border-color: var(--sok-primary);
	background-color: var(--sok-tint);
	color: var(--sok-primary-dark);
}

/*
 * Large pill CTA used in the hero. The base .sok-btn stays rectangular so
 * the buttons further down the page are untouched.
 */
.sok-btn--lg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 17px 34px;
	border-radius: 999px;
	font-size: 17px;
}

.sok-btn--lg svg {
	flex: none;
}

/* Glass CTA for dark backgrounds - the light-page .sok-btn--outline
   (grey border, blue text) disappears against the navy hero. */
.sok-btn--ghost {
	background-color: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .28);
	color: #ffffff;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.sok-btn--ghost:hover,
.sok-btn--ghost:focus {
	background-color: rgba(255, 255, 255, .13);
	border-color: rgba(255, 255, 255, .46);
	color: #ffffff;
}

.sok-btn--light {
	background-color: #ffffff;
	border-color: #ffffff;
	color: var(--sok-primary);
}

.sok-btn--light:hover,
.sok-btn--light:focus {
	background-color: var(--sok-tint);
	border-color: var(--sok-tint);
	color: var(--sok-primary-dark);
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */

.sok-hero {
	position: relative;
	overflow: hidden;
	padding: 116px 0 104px;
	background-color: #081428;
	background-image:
		radial-gradient(58% 76% at 50% 0%, rgba(30, 115, 190, .40) 0%, rgba(8, 20, 40, 0) 70%),
		linear-gradient(180deg, #0d2144 0%, #081428 62%, #060f20 100%);
	border-bottom: 0;
	color: #ffffff;
	text-align: center;
}

/*
 * Faint grid, faded out at the edges, so the wide flat band has some
 * texture on large screens without competing with the headline.
 */
.sok-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(68% 58% at 50% 32%, #000 0%, transparent 100%);
	mask-image: radial-gradient(68% 58% at 50% 32%, #000 0%, transparent 100%);
}

.sok-hero .sok-container {
	position: relative;
	z-index: 1;
}

.sok-hero__inner {
	max-width: 900px;
	margin: 0 auto;
}

.sok-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 26px;
	padding: 7px 16px 7px 13px;
	border-radius: 999px;
	background-color: rgba(94, 162, 245, .14);
	border: 1px solid rgba(94, 162, 245, .34);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: none;
	color: #d3e4fb;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.sok-hero__badge svg {
	flex: none;
	color: #6fb0ff;
}

.sok-hero h1 {
	margin: 0 0 22px;
	font-size: 64px;
	line-height: 1.06;
	letter-spacing: -.022em;
	font-weight: 700;
	color: #ffffff;
}

/*
 * The brand #004aaa is only ~1.6:1 against this navy, so the highlight
 * line is lifted to a tint that clears AA while reading as the same blue.
 */
.sok-hero h1 .sok-hl {
	color: #5ea2f5;
}

.sok-hero p {
	max-width: 680px;
	margin: 0 auto 36px;
	font-size: 20px;
	line-height: 1.6;
	color: rgba(226, 236, 250, .80);
}

.sok-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

/* The flat brand blue sits too close to the navy to read as a raised
   button, so the hero CTA alone is brightened. */
.sok-hero .sok-btn--primary {
	background-color: #1668d6;
	border-color: #1668d6;
	box-shadow: 0 10px 28px rgba(22, 104, 214, .34);
}

.sok-hero .sok-btn--primary:hover,
.sok-hero .sok-btn--primary:focus {
	background-color: #2b7dea;
	border-color: #2b7dea;
	box-shadow: 0 14px 34px rgba(22, 104, 214, .44);
}

/* --- Trust strip --------------------------------------------------- */

.sok-hero__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	max-width: 780px;
	margin: 40px auto 0;
	padding: 32px 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .10);
}

.sok-trust {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, .055);
	border: 1px solid rgba(255, 255, 255, .11);
	font-size: 15px;
	line-height: 1.3;
	color: rgba(226, 236, 250, .84);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.sok-trust svg {
	flex: none;
	color: #6fb0ff;
}

/* --- Compact variant - contact page, no CTAs or trust strip -------- */

.sok-hero--compact {
	padding: 88px 0 76px;
}

.sok-hero--compact h1 {
	font-size: 48px;
}

.sok-hero--compact p {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------
   Stats
   ------------------------------------------------------------------ */

.sok-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: -44px;
	position: relative;
	z-index: 2;
}

.sok-stat {
	padding: 28px 24px;
	text-align: center;
	background-color: #ffffff;
	border: 1px solid var(--sok-border);
	border-radius: var(--sok-radius);
	box-shadow: var(--sok-shadow);
}

.sok-stat__num {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--sok-primary);
}

.sok-stat__label {
	margin-top: 6px;
	font-size: 15px;
	color: var(--sok-muted);
}

/* ------------------------------------------------------------------
   Card grids - services and "why us"
   ------------------------------------------------------------------ */

/* Section headers centre their own text; card bodies stay left-aligned. */
.sok-grid--left,
.sok-grid--left * {
	text-align: left;
}

.sok-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.sok-card {
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	background-color: #ffffff;
	border: 1px solid var(--sok-border);
	border-radius: var(--sok-radius);
	box-shadow: var(--sok-shadow);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sok-card:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 74, 170, .28);
	box-shadow: var(--sok-shadow-lg);
}

.sok-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 12px;
	background-color: var(--sok-tint);
	color: var(--sok-primary);
}

.sok-card h3 {
	margin: 0 0 10px;
	font-size: 21px;
	font-weight: 600;
	color: var(--sok-text);
}

.sok-card p {
	margin: 0 0 18px;
	font-size: 16px;
	color: var(--sok-muted);
}

.sok-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	color: var(--sok-muted);
}

.sok-card li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 8px;
}

.sok-card li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .55em;
	width: 10px;
	height: 6px;
	border-left: 2px solid var(--sok-primary);
	border-bottom: 2px solid var(--sok-primary);
	transform: rotate(-45deg);
}

/* Horizontal variant used by the "why us" grid. */
/*
 * Four row-style cards. auto-fit produced three columns at 1200px, stranding
 * the fourth on its own row - pin to two columns so it reads as a 2x2.
 */
.sok-grid--why {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 780px) {
	.sok-grid--why {
		grid-template-columns: 1fr;
	}
}

.sok-card--row {
	flex-direction: row;
	gap: 20px;
	align-items: flex-start;
}

.sok-card--row .sok-card__icon {
	flex: none;
	width: 46px;
	height: 46px;
	margin-bottom: 0;
}

.sok-card--row p {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------
   OkPanel promotion
   ------------------------------------------------------------------ */

.sok-okpanel {
	background-image: linear-gradient(140deg, var(--sok-primary) 0%, var(--sok-primary-2) 100%);
	color: #ffffff;
}

.sok-okpanel__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.sok-okpanel .sok-label {
	color: #b9d4f7;
}

.sok-okpanel .sok-title,
.sok-okpanel h3 {
	color: #ffffff;
}

.sok-okpanel .sok-desc {
	color: #d8e6fa;
	margin-bottom: 28px;
}

.sok-okpanel__features {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	font-size: 16px;
	color: #d8e6fa;
}

.sok-okpanel__features li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
}

.sok-okpanel__features li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .5em;
	width: 11px;
	height: 6px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(-45deg);
}

.sok-okpanel__features strong {
	color: #ffffff;
	font-weight: 600;
}

/* Browser chrome around the dashboard screenshot. */
.sok-mockup {
	border-radius: var(--sok-radius);
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 26, 61, .38);
	background-color: #ffffff;
}

.sok-mockup__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 11px 14px;
	background-color: #e9eef5;
	border-bottom: 1px solid #d7dfea;
}

.sok-mockup__dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background-color: #c3ccd8;
}

.sok-mockup__dot--red { background-color: #ff5f57; }
.sok-mockup__dot--yellow { background-color: #febc2e; }
.sok-mockup__dot--green { background-color: #28c840; }

.sok-mockup__address {
	margin-left: 10px;
	font-size: 12px;
	/* 4.69:1 on the #e9eef5 bar; the old #6b7686 was 3.97:1. */
	color: #5f6b7d;
}

.sok-mockup img {
	display: block;
	width: 100%;
	height: auto;
}

/* ------------------------------------------------------------------
   Process steps
   ------------------------------------------------------------------ */

.sok-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
}

.sok-step {
	padding: 28px 24px;
	background-color: #ffffff;
	border: 1px solid var(--sok-border);
	border-radius: var(--sok-radius);
	border-top: 3px solid var(--sok-primary);
}

.sok-step__num {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--sok-primary);
}

.sok-step h3 {
	margin: 8px 0 8px;
	font-size: 19px;
	font-weight: 600;
	color: var(--sok-text);
}

.sok-step p {
	margin: 0;
	font-size: 15px;
	color: var(--sok-muted);
}

/* ------------------------------------------------------------------
   CTA band
   ------------------------------------------------------------------ */

.sok-cta {
	padding: 64px 40px;
	text-align: center;
	background-color: var(--sok-primary);
	border-radius: 16px;
	color: #ffffff;
}

.sok-cta h2 {
	margin: 0 0 14px;
	font-size: 32px;
	line-height: 1.25;
	font-weight: 700;
	color: #ffffff;
}

.sok-cta p {
	max-width: 620px;
	margin: 0 auto 30px;
	font-size: 18px;
	color: #d8e6fa;
}

/* ------------------------------------------------------------------
   Contact cards
   ------------------------------------------------------------------ */

.sok-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
}

.sok-contact-card {
	padding: 34px 26px;
	text-align: center;
	background-color: #ffffff;
	border: 1px solid var(--sok-border);
	border-radius: var(--sok-radius);
	box-shadow: var(--sok-shadow);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sok-contact-card:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 74, 170, .28);
	box-shadow: var(--sok-shadow-lg);
}

.sok-contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 16px;
	border-radius: 50%;
	background-color: var(--sok-tint);
	color: var(--sok-primary);
}

.sok-contact-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	color: var(--sok-text);
}

.sok-contact-card a {
	font-size: 16px;
	font-weight: 500;
	color: var(--sok-primary);
	overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------
   Contact page panels
   ------------------------------------------------------------------ */

.sok-panels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 28px;
}

.sok-panel {
	padding: 32px 28px;
	background-color: #ffffff;
	border: 1px solid var(--sok-border);
	border-radius: var(--sok-radius);
	box-shadow: var(--sok-shadow);
}

.sok-panel h3 {
	margin: 0 0 20px;
	font-size: 19px;
	font-weight: 600;
	color: var(--sok-primary);
}

.sok-panel dl {
	margin: 0;
	font-size: 16px;
}

.sok-panel dt {
	font-weight: 600;
	color: var(--sok-text);
}

.sok-panel dd {
	margin: 0 0 16px;
	color: var(--sok-muted);
}

.sok-panel dd:last-child {
	margin-bottom: 0;
}

.sok-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	color: var(--sok-muted);
}

.sok-checklist li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
}

.sok-checklist li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .55em;
	width: 10px;
	height: 6px;
	border-left: 2px solid var(--sok-primary);
	border-bottom: 2px solid var(--sok-primary);
	transform: rotate(-45deg);
}

/* ------------------------------------------------------------------
   Scroll reveal - see landing.js. The .is-revealed class is only ever
   added when motion is allowed, and the no-js/reduced-motion default
   below leaves content fully visible.
   ------------------------------------------------------------------ */

.sok-landing.sok-motion .sok-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .5s ease, transform .5s ease;
}

.sok-landing.sok-motion .sok-reveal.is-revealed {
	opacity: 1;
	transform: none;
}

.sok-landing.sok-motion .sok-reveal--d1 { transition-delay: .08s; }
.sok-landing.sok-motion .sok-reveal--d2 { transition-delay: .16s; }
.sok-landing.sok-motion .sok-reveal--d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	.sok-landing.sok-motion .sok-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 900px) {
	.sok-okpanel__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.sok-hero { padding: 88px 0 84px; }
	.sok-hero h1 { font-size: 46px; }
	.sok-hero p { font-size: 18px; }
	.sok-hero--compact { padding: 70px 0 60px; }
	.sok-hero--compact h1 { font-size: 36px; }
	.sok-title { font-size: 30px; }
	.sok-section { padding: 60px 0; }
}

@media (max-width: 768px) {
	.sok-stats {
		grid-template-columns: 1fr;
		margin-top: -30px;
	}

	.sok-hero { padding: 64px 0 70px; }
	.sok-hero h1 { font-size: 35px; }
	.sok-hero p { font-size: 17px; }
	.sok-hero__badge { margin-bottom: 20px; }
	.sok-desc { font-size: 16px; margin-bottom: 32px; }
	.sok-cta { padding: 44px 24px; }
	.sok-cta h2 { font-size: 25px; }

	.sok-hero__actions .sok-btn {
		flex: 1 1 auto;
		text-align: center;
	}

	/* Chips wrap to their own lines on a phone, so the strip tightens up. */
	.sok-hero__trust {
		gap: 10px;
		margin-top: 32px;
		padding-top: 26px;
	}

	.sok-trust {
		font-size: 14px;
		padding: 7px 14px;
	}
}
