/**
 * SIGOB Wiki internal landing.
 *
 * Layout notes, from reading the theme rather than guessing:
 *
 *   - `page.php` wraps content in `.entry-content` with no container and no width, so
 *     anything not constrained here runs to the viewport edge. Mixing Gutenberg blocks with
 *     shortcodes produced exactly that: some text centred, some flush left. The whole page
 *     is therefore rendered by one shortcode that owns its own layout.
 *   - The header is `position: sticky; z-index: 9999`. Everything here stays at z-index 0
 *     and creates no stacking context of its own, so the header always wins.
 *   - The theme's own container is 1200px with 20px padding; matching it keeps this page
 *     aligned with the rest of the site instead of looking like a bolted-on module.
 */

.sigob-lp {
	position: relative;
	z-index: 0;
	color: #1c2b3a;
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.sigob-lp__wrap {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 20px;
}

/* Full-bleed: escape the content column without breaking the horizontal scrollbar. */
.sigob-lp__bleed {
	width: 100vw;
	margin-left: calc( 50% - 50vw );
	margin-right: calc( 50% - 50vw );
}

/* ---------- Hero: the dark, luminous language of the document covers ---------- */

.sigob-lp__hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient( 120% 90% at 50% 118%, rgba( 62, 232, 255, 0.30 ) 0%, rgba( 62, 232, 255, 0 ) 58% ),
		radial-gradient( 80% 70% at 12% 8%, rgba( 74, 140, 255, 0.22 ) 0%, rgba( 74, 140, 255, 0 ) 60% ),
		linear-gradient( 180deg, #04141d 0%, #062331 62%, #020a10 100% );
	color: #eaf6ff;
	padding: 78px 0 0;
}

/* A soft horizon line, as on the covers, where the glow meets the floor. */
.sigob-lp__hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient( 90deg, transparent, rgba( 122, 245, 210, 0.5 ), transparent );
}

.sigob-lp__eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: #7af5d2;
}

.sigob-lp__title {
	margin: 0 0 18px;
	max-width: 20ch;
	font-size: clamp( 34px, 5.2vw, 58px );
	line-height: 1.06;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: #fff;
}

.sigob-lp__lead {
	margin: 0;
	max-width: 58ch;
	font-size: clamp( 17px, 1.7vw, 20px );
	line-height: 1.6;
	color: rgba( 234, 246, 255, 0.78 );
}

.sigob-lp__figures {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 160px, 1fr ) );
	gap: 1px;
	margin-top: 58px;
	background: rgba( 255, 255, 255, 0.09 );
	border-top: 1px solid rgba( 255, 255, 255, 0.09 );
}

.sigob-lp__figure {
	padding: 24px 4px 30px;
	background: transparent;
	text-align: center;
}

.sigob-lp__number {
	display: block;
	font-size: clamp( 32px, 3.6vw, 44px );
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.sigob-lp__caption {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: rgba( 234, 246, 255, 0.6 );
}

/* ---------- Sections ---------- */

.sigob-lp__section {
	padding: 74px 0;
}

.sigob-lp__section--tint {
	background: #f5f8fb;
}

.sigob-lp__kicker {
	margin: 0 0 10px;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: #2f6ba8;
}

.sigob-lp__h2 {
	margin: 0 0 14px;
	font-size: clamp( 25px, 3vw, 34px );
	line-height: 1.15;
	letter-spacing: -0.015em;
	font-weight: 700;
	color: #0f2233;
}

.sigob-lp__intro {
	margin: 0 0 34px;
	max-width: 66ch;
	color: #4a5c6e;
}

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

.sigob-lp__card {
	background: #fff;
	border: 1px solid rgba( 15, 34, 51, 0.09 );
	border-radius: 14px;
	padding: 26px 28px 22px;
}

.sigob-lp__card h3 {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 600;
	color: #0f2233;
}

.sigob-lp__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sigob-lp__list li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 22px;
	color: #4a5c6e;
	font-size: 15.5px;
}

.sigob-lp__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3ec9ff;
}

.sigob-lp__card--caution .sigob-lp__list li::before {
	background: #ffc24a;
}

/* ---------- The cycle ---------- */

.sigob-lp__cycle {
	counter-reset: sigob-cycle;
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 190px, 1fr ) );
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sigob-lp__cycle li {
	counter-increment: sigob-cycle;
	position: relative;
	padding-top: 18px;
	border-top: 2px solid rgba( 62, 201, 255, 0.35 );
}

/* The arrow makes the sequence read as a loop rather than four unrelated cards. */
.sigob-lp__cycle li:not( :last-child )::after {
	content: "→";
	position: absolute;
	top: -14px;
	right: -14px;
	font-size: 15px;
	color: #9db3c6;
}

.sigob-lp__cycle li::before {
	content: counter( sigob-cycle );
	display: inline-block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #2f6ba8;
}

.sigob-lp__cycle h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: #0f2233;
}

.sigob-lp__cycle p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: #4a5c6e;
}

/* ---------- Curation queue and access links ---------- */

.sigob-lp__queue,
.sigob-lp__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sigob-lp__queue li,
.sigob-lp__links li {
	padding: 10px 0;
	border-bottom: 1px solid rgba( 15, 34, 51, 0.07 );
	font-size: 15px;
}

.sigob-lp__queue li:last-child,
.sigob-lp__links li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sigob-lp__meta {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: #6b7c8d;
}

.sigob-lp__tag {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 600;
	background: #e8edf2;
	color: #5b6b7c;
	vertical-align: 1px;
}

.sigob-lp__tag--pending {
	background: #fbf0d8;
	color: #8a6d1f;
}

.sigob-lp__tag--ok {
	background: #dff2e6;
	color: #1f7a4d;
}

.sigob-lp__empty {
	margin: 0;
	color: #6b7c8d;
	font-size: 14.5px;
}

.sigob-lp__links a {
	font-weight: 600;
	color: #23557f;
	text-decoration: none;
}

.sigob-lp__links a:hover {
	text-decoration: underline;
}

/* ---------- Example questions ---------- */

.sigob-lp__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sigob-lp__chip {
	border: 1px solid rgba( 47, 107, 168, 0.28 );
	background: #fff;
	color: #23557f;
	border-radius: 999px;
	padding: 10px 18px;
	font: inherit;
	font-size: 14.5px;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.sigob-lp__chip:hover,
.sigob-lp__chip:focus-visible {
	border-color: #2f6ba8;
	transform: translateY( -1px );
	box-shadow: 0 6px 18px rgba( 15, 34, 51, 0.09 );
}

/* ---------- Embedded widgets ---------- */

.sigob-lp__widget {
	margin-top: 30px;
}

/* The chat and graph ship their own frames; here they sit on the page's rhythm. */
.sigob-lp__widget .sigob-wiki-chat,
.sigob-lp__widget .sigob-wiki-graph {
	max-width: none;
	border-radius: 14px;
	border-color: rgba( 15, 34, 51, 0.1 );
	box-shadow: 0 18px 46px -30px rgba( 15, 34, 51, 0.45 );
}

/* ---------- Contribute ---------- */

.sigob-lp__steps {
	counter-reset: sigob-step;
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 260px, 1fr ) );
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sigob-lp__steps li {
	counter-increment: sigob-step;
	position: relative;
	padding-top: 46px;
	color: #4a5c6e;
	font-size: 15.5px;
}

.sigob-lp__steps li::before {
	content: counter( sigob-step );
	position: absolute;
	top: 0;
	left: 0;
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #0f2233;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.sigob-lp__note {
	margin: 34px 0 0;
	padding: 18px 22px;
	border-left: 3px solid #3ec9ff;
	background: #fff;
	border-radius: 0 10px 10px 0;
	color: #4a5c6e;
	font-size: 15px;
}

.sigob-lp__locked {
	padding: 30px 20px;
	text-align: center;
}

@media ( max-width: 720px ) {
	.sigob-lp__hero {
		padding-top: 54px;
	}

	.sigob-lp__section {
		padding: 52px 0;
	}
}

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

/* Autoría y fecha de envío en la cola de revisión. */
.sigob-lp__envio {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: #5a6b7b;
}

/* ── Instructivo del servidor MCP ───────────────────────────────────────
   La dirección es lo único que hay que copiar de esta sección, así que se
   trata como un objeto propio y no como un párrafo con código adentro. */
.sigob-lp__mcp-url {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin: 0 0 34px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid rgba( 2, 48, 71, 0.12 );
	border-left: 4px solid #00689c;
	border-radius: 0 12px 12px 0;
}

.sigob-lp__mcp-label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5a6b7b;
}

.sigob-lp__mcp-code {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: 0.95rem;
	font-weight: 600;
	color: #0d3b52;
	background: transparent;
	padding: 0;
}

.sigob-lp__mcp-copy {
	flex: 0 0 auto;
	border: 1px solid #00689c;
	border-radius: 8px;
	background: #fff;
	color: #00689c;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 7px 16px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.sigob-lp__mcp-copy:hover,
.sigob-lp__mcp-copy:focus-visible {
	background: #00689c;
	color: #fff;
}

.sigob-lp__mcp-copy:focus-visible {
	outline: 3px solid #ffb703;
	outline-offset: 2px;
}

.sigob-lp__mcp-copy.is-copiado {
	background: #0f6b4f;
	border-color: #0f6b4f;
	color: #fff;
}

.sigob-lp__mcp-aviso:not( :empty ) {
	font-size: 0.85rem;
	font-weight: 600;
	color: #0f6b4f;
}

.sigob-lp__mcp-h3 {
	margin: 34px 0 14px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #023047;
}

.sigob-lp__mcp-tools {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.sigob-lp__mcp-tools li {
	display: grid;
	grid-template-columns: minmax(150px, 190px) 1fr;
	gap: 6px 18px;
	align-items: baseline;
	padding: 11px 16px;
	background: #fff;
	border: 1px solid rgba( 2, 48, 71, 0.1 );
	border-radius: 10px;
}

.sigob-lp__mcp-tools code {
	font-size: 0.9rem;
	font-weight: 700;
	color: #0d3b52;
	overflow-wrap: anywhere;
}

.sigob-lp__mcp-tools span {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #3d5566;
}

@media ( max-width: 640px ) {
	/* En una columna angosta, nombre y descripción se apilan: partir 150px de
	   ancho para `search_knowledge` deja una palabra por renglón. */
	.sigob-lp__mcp-tools li {
		grid-template-columns: 1fr;
	}
}
