/**
 * Alygio reklama — About page sections (Task 08): `ar-experience`,
 * `ar-stats-list` and the heading row of `ar-philosophy`.
 *
 * Reference: https://the7.io/fse-company/about/ (measured with headless
 * Chrome, 2026-11-26; docs/ABOUT-PAGE-SPECIFICATION.md). Shared parts are
 * reused, not redefined: `.ar-split` (components.css: 610 / 80 / 610, media
 * ≥ 600px, 320px stacked), `.ar-heading`, `.ar-heading-row`, `.ar-mark`,
 * `.ar-separator`, and for the philosophy cards `.ar-grid--hairline` +
 * `.ar-feature` (features.css). Tokens only; no new values or colours.
 *
 * Experience: paragraphs 17 / 28.9, 28px below the title, 16px apart; at
 * ≤ 1100px they keep the 900px content size, centred. Features bbe-90 above
 * and below, 2 columns with a 32px gap (1 column ≤ 600px); each 1px
 * neutral-200 top line + 32px, 28px primary-500 arrow, 16px gap, title
 * 21 / 27.3 weight 600, text 16 / 27.2 8px below.
 *
 * Statistics: two 50% columns, gap bbe-130, vertically centred (≤ 1100px:
 * stacked). Each row: 200px centred number (display-3: 68 / 60.11 / 52.8 /
 * 42px, weight 500, line-height 1, primary-700) + 16px + description; rows
 * 32px + 2px neutral-200 line + 32px apart. ≤ 600px: number above the text.
 *
 * Philosophy: title column grows, slogan bottom-right (title-3, weight 600,
 * line-height 1.25, primary-600, highlighted), note 16 / 22.4 16px below.
 */

/* ---------------------------------------------------------------- Experience */

.ar-experience .ar-experience__inner {
	min-width: 0;
}

/* The reference title spans the whole text column (not the 700px block). */
.ar-experience .ar-heading {
	max-width: none;
}

.ar-experience__text {
	margin-top: 28px;
}

.ar-experience__text .ar-text {
	max-width: var(--ar-container-narrow);
	margin: 0 auto;
}

.ar-experience__text .ar-text + .ar-text {
	margin-top: var(--ar-space-40);
}

.ar-experience .ar-inline-link,
.ar-experience .ar-inline-link:visited {
	color: var(--ar-primary-700);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--ar-transition-fast);
}

.ar-experience .ar-inline-link:hover {
	color: var(--ar-neutral-900);
}

.ar-experience .ar-experience__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ar-space-80);
	margin: var(--ar-space-90) 0;
	padding: 0;
	list-style: none;
}

.ar-experience__feature {
	display: flex;
	align-items: flex-start;
	gap: var(--ar-space-40);
	padding-top: var(--ar-space-80);
	border-top: var(--ar-border-width) solid var(--ar-color-border);
}

.ar-experience__feature .ar-experience__icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	color: var(--ar-primary-500);
}

.ar-experience__feature-body {
	flex: 1 1 auto;
	min-width: 0;
}

.ar-experience .ar-experience__feature-title {
	margin: 0;
}

.ar-experience .ar-experience__feature-text {
	margin: var(--ar-space-20) 0 0;
	color: var(--ar-color-text);
	font-size: var(--ar-font-size-md);
	line-height: var(--ar-line-height-body);
}

/* ---------------------------------------------------------------- Statistics */

.ar-statlist__split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ar-space-130);
}

.ar-statlist__split > .ar-statlist__intro {
	flex: 0 1 50%;
	min-width: 0;
	max-width: none;
}

.ar-statlist .ar-statlist__items {
	flex: 0 1 50%;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ar-statlist__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ar-space-40);
}

.ar-statlist__item + .ar-statlist__item {
	margin-top: var(--ar-space-80);
	padding-top: var(--ar-space-80);
	border-top: 2px solid var(--ar-color-border);
}

.ar-statlist .ar-statlist__number {
	flex: 0 0 200px;
	margin: 0;
	color: var(--ar-primary-700);
	font-family: var(--ar-font-family);
	font-size: var(--ar-font-size-display-3);
	font-weight: 500;
	line-height: 1;
	text-align: center;
}

.ar-statlist .ar-statlist__text {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

/* ---------------------------------------------------------------- Philosophy */

.ar-philosophy__head > .ar-heading {
	max-width: none;
}

.ar-philosophy__slogan {
	flex: 0 0 auto;
	text-align: right;
}

.ar-philosophy .ar-philosophy__motto {
	margin: 0;
	color: var(--ar-primary-600);
	font-size: var(--ar-font-size-title-3);
	font-weight: 600;
	line-height: 1.25;
}

.ar-philosophy .ar-philosophy__note {
	margin: var(--ar-space-40) 0 0;
	color: var(--ar-color-text);
	font-size: var(--ar-font-size-md);
	line-height: 1.4;
}

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

@media (max-width: 1100px) {

	.ar-statlist__split {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
	}

	.ar-statlist__split > .ar-statlist__intro,
	.ar-statlist .ar-statlist__items {
		flex: 0 0 auto;
	}

	/* Stacked: the reference stretches both blocks to the full width. */
	.ar-philosophy .ar-philosophy__head {
		align-items: stretch;
	}

	.ar-philosophy__slogan {
		text-align: left;
	}
}

@media (max-width: 600px) {

	.ar-experience .ar-experience__features {
		grid-template-columns: minmax(0, 1fr);
	}

	.ar-statlist__item {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}

	.ar-statlist .ar-statlist__number {
		flex: 0 0 auto;
	}
}
